Power grid cime file and qs file based power flow calculation model construction method

CN122532977APending Publication Date: 2026-08-07SHANGHAI BOBAN DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI BOBAN DATA TECH CO LTD
Filing Date
2026-05-13
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0003]本发明的目的在于提供一种基于电网CIME文件和QS文件的潮流计算模型构建方法、系统、电子设备、存储介质及计算机程序产品,以解决电网CIME模型与QS遥测文件在潮流计算模型构建过程中的障碍

Benefits of technology

[0015] This invention provides a method for constructing a power flow calculation model based on power grid CIME and QS files, comprising the following steps: providing power grids with overlapping management areas based on power grid CIME and QS files, wherein the CIME file includes several first power grid node information entries, and the QS file includes several second power grid node information entries, each second power grid node information entry including power data at both ends of a line; matching and integrating the first and second power grid node information entries with the same region field according to the region field of the first and second power grid node information entries to form combined node information; adjusting the combined node information according to the information characteristics of the second power grid node information, and constructing a power flow calculation model based on the adjusted combined node information. This invention can efficiently and accurately extract topology, equipment parameters, and operating data from power grid source data (CIME and QS files) from different regions, manufacturers, and formats, realizing the construction of standardized, parameterized, and reusable power system simulation models, and achieving automatic conversion from raw data to executable models on power simulation platforms. Relying on the construction of subnetworks and equivalent networks, it can quickly analyze and identify network structure or parameter issues, improving the efficiency and accuracy of network communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122532977A_ABST
    Figure CN122532977A_ABST
Patent Text Reader

Abstract

The application provides a power flow calculation model construction method based on power grid CIME files and QS files, comprising the following steps: providing a power grid with intersecting management areas, based on power grid CIME and QS files, wherein the CIME file comprises a plurality of first power grid node information, and the QS file comprises a plurality of second power grid node information, each of the second power grid node information comprises power data of each functional terminal; matching and integrating the first power grid node information and the second power grid node information with the same area field according to the area field of the first power grid node information and the second power grid node information, to form combined node information; adjusting the combined node information according to the information characteristics of the second power grid node information, and constructing a power flow calculation model based on the adjusted combined node information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power grid technology, specifically to a method for constructing a power flow calculation model based on power grid CIME files and QS files, system electronic equipment, storage media, and computer program products. Background Technology

[0002] Inconsistencies in data structure and naming conventions between the CIME model and QS telemetry files in the power grid lead to reliance on manual intervention in constructing standard power flow calculation examples, resulting in low efficiency and a high risk of errors. Furthermore, the lack of automated mapping mechanisms for merging models between different systems makes it difficult to guarantee topology consistency and parameter integrity, impacting the accuracy of power flow calculations. Simulation models primarily used for teaching have relatively small topologies (less than 200 nodes), making them unsuitable for real-world power grids. Real-world power grids often require technical researchers to handle these models, presenting a high technical barrier and complex processes. The industry needs a new method for constructing power flow calculation models based on power grid CIME and QS files to address these technical challenges. Summary of the Invention

[0003] The purpose of this invention is to provide a method, system, electronic device, storage medium, and computer program product for constructing a power flow calculation model based on power grid CIME files and QS files, so as to overcome the obstacles in the process of constructing a power flow calculation model using power grid CIME models and QS telemetry files.

[0004] To achieve the above objectives, this invention provides a method for constructing a power flow calculation model based on power grid CIME and QS files, comprising the following steps: providing CIME and QS files of power grids with overlapping management areas, wherein the CIME file includes several first power grid node information entries, and the QS file includes several second power grid node information entries, each second power grid node information entry including power data of each functional terminal; the first and second power grid node information entries have regional information; based on the regional information of the first and second power grid node information entries, matching and integrating the first and second power grid node information entries with the same regional field in the regional information to form combined node information; adjusting the combined node information based on the information characteristics of the second power grid node information, and constructing a power flow calculation model based on the adjusted combined node information.

[0005] Optionally, adjusting the combined node information based on the information characteristics of the second grid node information specifically includes: for any piece of the second grid node information, if the power data of one of its functional terminals is 0, then defining that terminal in the combined node information as a virtual power source or virtual load, and deleting the area information of that terminal.

[0006] Optionally, adjusting the combined node information based on the information characteristics of the second grid node information specifically includes: for any piece of the second grid node information, if the line corresponding to the second grid node information is classified as a virtual power source or virtual load in the QS file, then the output end of the line in the combined node information is defined as a virtual power source or virtual load.

[0007] Optionally, it also includes: obtaining the boundary of the target management area, defining the end of the line that crosses the boundary outside the boundary as a virtual power source or virtual load, and updating it to the combined node information.

[0008] Optionally, it also includes: setting a preset voltage threshold, dividing the target management area into several sub-networks according to the preset voltage threshold, with each sub-network having a boundary; defining the end of the line crossing the boundary located outside the boundary as a virtual power source or virtual load, and updating it to the combined node information.

[0009] Optionally, it also includes: setting a preset voltage threshold, defining the portion of the voltage value less than the preset voltage threshold as a virtual power source or virtual load, and updating it in the combined node information.

[0010] To achieve the above objectives, a power flow calculation model construction system is provided for executing any of the power flow calculation model construction methods based on power grid CIME files and QS files described above. The system is characterized by comprising: a matching and integration module, used to match and integrate the first power grid node information and the second power grid node information that have the same region field according to the region field of the first power grid node information and the second power grid node information, forming combined node information; and an adjustment and construction module, used to adjust the combined node information according to the information characteristics of the second power grid node information, and construct a power flow calculation model based on the adjusted combined node information.

[0011] To achieve the above objectives, the present invention also provides an electronic device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, it implements the power flow calculation model construction method based on the power grid CIME file and QS file described above.

[0012] To achieve the above objectives, the present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the power flow calculation model construction method based on power grid CIME files and QS files described above.

[0013] To achieve the above objectives, the present invention also provides a computer program product, including a computer program that, when executed, implements the power flow calculation model construction method based on the power grid CIME file and QS file described above.

[0014] The power flow calculation model construction method, system, electronic device, storage medium, and computer program product based on power grid CIME files and QS files provided by this invention have the following beneficial effects:

[0015] This invention provides a method for constructing a power flow calculation model based on power grid CIME and QS files, comprising the following steps: providing power grids with overlapping management areas based on power grid CIME and QS files, wherein the CIME file includes several first power grid node information entries, and the QS file includes several second power grid node information entries, each second power grid node information entry including power data at both ends of a line; matching and integrating the first and second power grid node information entries with the same region field according to the region field of the first and second power grid node information entries to form combined node information; adjusting the combined node information according to the information characteristics of the second power grid node information, and constructing a power flow calculation model based on the adjusted combined node information. This invention can efficiently and accurately extract topology, equipment parameters, and operating data from power grid source data (CIME and QS files) from different regions, manufacturers, and formats, realizing the construction of standardized, parameterized, and reusable power system simulation models, and achieving automatic conversion from raw data to executable models on power simulation platforms. Relying on the construction of subnetworks and equivalent networks, it can quickly analyze and identify network structure or parameter issues, improving the efficiency and accuracy of network communication. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating a method for constructing a power flow calculation model based on power grid CIME files and QS files according to an embodiment of the present invention.

[0017] Figure 2 This is a block diagram of an electronic device provided according to an embodiment of the present invention;

[0018] The accompanying figure is labeled as follows:

[0019] Processor-101; Communication interface-102; Memory-103; Communication bus-104. Detailed Implementation

[0020] To make the objectives, advantages, and features of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to facilitate and clarify the explanation of the embodiments of this invention. Furthermore, the structures shown in the drawings are often part of the actual structures. In particular, different figures may emphasize different aspects and may sometimes use different scales.

[0021] It should be understood that when an element or layer is referred to as "on" or "connected to" other elements or layers, it may be directly on or connected to other elements or layers, or there may be intervening elements or layers. Conversely, when an element is referred to as "directly on" or "directly connected to" other elements or layers, there are no intervening elements or layers. Although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or portions, these elements, components, areas, layers, and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or portion from another element, component, area, layer, or portion. Therefore, without departing from the teachings of this invention, the first element, component, area, layer, or portion discussed below may be referred to as a second element, component, area, layer, or portion. Spatial relation terms such as "below," "under," "below," "above," "on top," "above," etc., may be used herein for convenience of description to describe the relationship between one element or feature shown in the figures and other elements or features. It should be understood that, in addition to the orientations shown in the figures, spatial relational terms are intended to also include different orientations of the devices in use and operation. For example, if the devices in the figures are flipped, then elements or features described as “below,” “under,” or “below” will be oriented “on” other elements or features. Devices may be oriented additionally (rotated 90 degrees or otherwise) and the spatial descriptive terms used herein will be interpreted accordingly. The terminology used herein is intended only to describe particular embodiments and is not intended to limit the invention. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “comprising” is used to identify the presence of features, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups. When used herein, the terms “and / or” include any and all combinations of the associated listed items.

[0022] The purpose of this invention is to provide a method, system, electronic device, storage medium, and computer program product for constructing a power flow calculation model based on power grid CIME files and QS files, so as to overcome the obstacles in the process of constructing a power flow calculation model using power grid CIME models and QS telemetry files.

[0023] To achieve the above objectives, this invention provides a method for constructing a power flow calculation model based on power grid CIME and QS files, comprising the following steps: providing CIME and QS files of power grids with overlapping management areas, wherein the CIME file includes several first power grid node information entries, and the QS file includes several second power grid node information entries, each second power grid node information entry including power data of each functional terminal (it should be understood that it may also include bus voltage, power data of each transformer terminal, power data of both ends of the line, switch opening and closing status, generator power, and load power); it should be noted that the functional terminal can be both ends of a line in the power grid, or the high-voltage end and low-voltage end of a device. The first power grid node information and the second power grid node information have regional information; based on the regional information of the first power grid node information and the second power grid node information, the first power grid node information and the second power grid node information with the same regional field in the regional information are matched and integrated to form combined node information; based on the information characteristics of the second power grid node information, the combined node information is adjusted, and a power flow calculation model is constructed based on the adjusted combined node information.

[0024] With this configuration, the present invention can efficiently and accurately extract topology, equipment parameters, and operational data from power grid source data (CIME files, QS files) from different regions, manufacturers, and formats. This enables the construction of standardized, parameterized, and reusable power system simulation models, achieving automatic conversion from raw data to an executable model for the power simulation platform. By constructing subnetworks and equivalent networks, it can quickly analyze and identify network structure or parameter issues, improving the efficiency and accuracy of network operations.

[0025] Specifically, adjusting the combined node information based on the information characteristics of the second grid node information includes: for any piece of the second grid node information, if the power data at one end of its functional terminals is 0, then that end in the combined node information is defined as a virtual power source or virtual load, and the area information at that end is deleted. This setting corresponds to a scenario where, among the grid nodes, some are specific high-power users (e.g., steel mills). These nodes are generally not further analyzed in detail by the grid, so one end of their data is 0 in the QS file. However, this information is not synchronized in the CIME file. In this case, the above method is used to synchronize the two, thereby more effectively matching and facilitating the establishment of a power flow calculation model. Another scenario for the QS file is that the QS file has already integrated specific high-power users. For this scenario, the present invention further provides the following technical solution: adjusting the combined node information based on the information characteristics of the second grid node information specifically includes: for any piece of the second grid node information, if the line corresponding to the second grid node information is classified as a virtual power source or virtual load in the QS file, then the output end of that line in the combined node information is defined as a virtual power source or virtual load. Deleting the area information at this end is beneficial for the construction of the topology network, as it removes unnecessary information in the construction of the topology network.

[0026] It should be noted that the power flow calculation model should take into account the division of management areas. Based on this, the present invention also includes: obtaining the boundary of the target management area, defining the end of the line that crosses the boundary outside the boundary as a virtual power source or virtual load, and updating it in the combined node information.

[0027] To further streamline the construction process, this invention proposes a simplified subnet construction method. Based on this, the invention further includes: setting a preset voltage threshold; dividing the target management area into several subnets according to the preset voltage threshold, with boundaries between each subnet; defining the end of a line crossing the boundary outside the boundary as a virtual power source or virtual load, and updating it in the combined node information. This setting mainly addresses the segmentation of the overall power grid into subnets. For each subnet, internal simplification is also necessary. Therefore, this invention further includes: setting a preset voltage threshold; defining the portion of voltage below the preset voltage threshold as a virtual power source or virtual load, and updating it in the combined node information. It should be noted that the subnet range can also be determined based on the power supply range of the high-voltage substation.

[0028] To achieve the above objectives, the present invention also provides an electronic device, please refer to... Figure 2 A block diagram illustrating an embodiment of the electronic device provided by the present invention is shown. Figure 2As shown, the electronic device includes a processor 101 and a memory 103. The memory 103 stores a computer program. When the computer program is executed by the processor 101, it implements the power flow calculation model construction method based on the power grid CIME file and QS file described above. Since the electronic device provided by this invention and the power flow calculation model construction method based on the power grid CIME file and QS file described above belong to the same inventive concept, the electronic device provided by this invention has all the advantages of the power flow calculation model construction method based on the power grid CIME file and QS file described above. Therefore, the beneficial effects of the electronic device provided by this invention will not be described in detail here.

[0029] like Figure 2 As shown, the electronic device also includes a communication interface 102 and a communication bus 104, wherein the processor 101, the communication interface 102, and the memory 103 communicate with each other via the communication bus 104. The communication bus 104 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus 104 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not indicate that there is only one bus or one type of bus. The communication interface 102 is used for communication between the aforementioned electronic device and other devices.

[0030] The processor 101 referred to in this invention can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 101 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and lines.

[0031] The memory 103 can be used to store the computer program. The processor 101 implements various functions of the electronic device by running or executing the computer program stored in the memory 103 and calling the data stored in the memory 103.

[0032] The memory 103 may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0033] This invention also provides a readable storage medium storing a computer program. When executed by a processor, the computer program can implement the power flow calculation model construction method based on power grid CIME files and QS files described above. Since the readable storage medium provided by this invention and the power flow calculation model construction method based on power grid CIME files and QS files described above belong to the same inventive concept, the readable storage medium provided by this invention possesses all the advantages of the power flow calculation model construction method based on power grid CIME files and QS files described above. Therefore, the beneficial effects of the readable storage medium provided by this invention will not be elaborated further here.

[0034] The readable storage medium of embodiments of the present invention can be any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable computer hard disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device.

[0035] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.

[0036] To achieve the above objectives, a power flow calculation model construction system is provided for executing any of the power flow calculation model construction methods based on power grid CIME files and QS files described above. The system is characterized by comprising: a matching and integration module, used to match and integrate the first power grid node information and the second power grid node information that have the same region field according to the region field of the first power grid node information and the second power grid node information, forming combined node information; and an adjustment and construction module, used to adjust the combined node information according to the information characteristics of the second power grid node information, and construct a power flow calculation model based on the adjusted combined node information.

[0037] To achieve the above objectives, the present invention also provides a computer program product, including a computer program that, when executed, implements the power flow calculation model construction method based on the power grid CIME file and QS file described above.

[0038] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.

[0039] It should also be noted that although the present invention has been disclosed above with reference to preferred embodiments, these embodiments are not intended to limit the present invention. For any person skilled in the art, many possible variations and modifications can be made to the technical solutions of the present invention based on the disclosed technical content, or equivalent embodiments can be modified accordingly, without departing from the scope of the present invention. Therefore, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the present invention shall still fall within the scope of protection of the present invention.

[0040] It should also be understood that, unless otherwise specified or indicated, the terms “first,” “second,” “third,” etc., in the specification are used only to distinguish the various components, elements, and steps in the specification, and not to indicate the logical or sequential relationships between the various components, elements, and steps.

[0041] Furthermore, it should be recognized that the terminology described herein is used only to describe particular embodiments and not to limit the scope of the invention. It must be noted that the singular forms “a” and “an” used herein and in the appended claims include plural bases unless the context clearly indicates otherwise. For example, a reference to “a step” or “an apparatus” means a reference to one or more steps or apparatuses, and may include secondary steps and secondary apparatuses. All conjunctions used should be understood in the broadest sense. And the word “or” should be understood to have the definition of logical “or” rather than logical “exclusive OR”, unless the context clearly indicates otherwise. Furthermore, implementation of embodiments of the invention may include performing selected tasks manually, automatically, or in combination.

Claims

1. A method for constructing a power flow calculation model based on power grid CIME files and QS files, characterized in that, Includes the following steps: Provide CIME and QS files for power grids with overlapping management areas. The CIME file includes several first power grid node information entries, and the QS file includes several second power grid node information entries. Each second power grid node information entry includes power data for each functional terminal. The first power grid node information and the second power grid node information have regional information. Based on the regional information of the first power grid node information and the second power grid node information, the first power grid node information and the second power grid node information with the same regional field in the regional information are matched and integrated to form combined node information. Based on the information characteristics of the second power grid node information, the combined node information is adjusted, and a power flow calculation model is constructed based on the adjusted combined node information.

2. The method for constructing a power flow calculation model based on power grid CIME files and QS files as described in claim 1, characterized in that, The step of adjusting the combined node information based on the information characteristics of the second power grid node information specifically includes: For any second grid node information, if the power data of one of its functional terminals is 0, then that terminal in the combined node information is defined as a virtual power source or virtual load, and the area information of that terminal is deleted.

3. The method for constructing a power flow calculation model based on power grid CIME files and QS files as described in claim 1, characterized in that, The step of adjusting the combined node information based on the information characteristics of the second power grid node information specifically includes: For any second grid node information, if the line corresponding to the second grid node information is classified as a virtual power source or virtual load in the QS file, then the output end of the line in the combined node information is defined as a virtual power source or virtual load.

4. The method for constructing a power flow calculation model based on power grid CIME files and QS files as described in claim 1, characterized in that, Also includes: Obtain the boundary of the target management area, define the end of the line that crosses the boundary outside the boundary as a virtual power source or virtual load, and update it in the combined node information.

5. The method for constructing a power flow calculation model based on power grid CIME files and QS files as described in claim 1, characterized in that, Also includes: A preset voltage threshold is set, and the target management area is divided into several sub-networks according to the preset voltage threshold, with boundaries between each sub-network; The end of the line that crosses the boundary located outside the boundary is defined as a virtual power source or virtual load and updated in the combined node information.

6. The method for constructing a power flow calculation model based on power grid CIME files and QS files as described in claim 1, characterized in that, Also includes: A preset voltage threshold is set, and the portion of the voltage value that is less than the preset voltage threshold is defined as a virtual power source or virtual load, and updated to the combined node information.

7. A power flow calculation model construction system, used to execute the power flow calculation model construction method based on power grid CIME files and QS files as described in any one of claims 1 to 6, characterized in that, include: The matching and integration module is used to match and integrate the first power grid node information and the second power grid node information that have the same region field according to the region field of the first power grid node information and the second power grid node information to form combined node information; The adjustment module is used to adjust the combined node information according to the information characteristics of the second power grid node information, and to construct a power flow calculation model based on the adjusted combined node information.

8. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the power flow calculation model construction method based on the power grid CIME file and QS file as described in any one of claims 1 to 8.

9. A readable storage medium, characterized in that, The readable storage medium stores a computer program, which, when executed by a processor, implements the power flow calculation model construction method based on the power grid CIME file and QS file as described in any one of claims 1 to 8.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed, it implements the power flow calculation model construction method based on the power grid CIME file and QS file as described in any one of claims 1 to 8.