Data set construction method and system of integrated energy system
By modifying network topology, excluding island impacts and tide calculations on the QS file data of the integrated energy system, a data set that eliminates island impacts is built, solving the problem of data acquisition and labeling difficulties, realizing the diversity and accuracy of the data set, and supporting the construction of energy scheduling strategies.
Patent Information
- Application Number
- CN202510406836.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2045-04-02
AI Technical Summary
The complexity and dynamic nature of integrated energy systems make data acquisition and labeling very difficult. Deep learning models require a large amount of labeled data during training, but the existing technology is difficult to effectively solve this problem.
By obtaining the QS file data of the integrated energy system, determining the initial network topology, interrupting the transmission line, forming a new network topology, eliminating islands, processing the equivalent model of empty charging lines and transformer, performing trend calculations, updating data, and building a data set.
It realizes the rapid and accurate generation of data sets of the integrated energy system that eliminates the impact of silos, ensuring the diversity and accuracy of the data sets, supporting the construction of subsequent energy scheduling strategies, and ensuring the safe and efficient operation of the integrated energy system.
Smart Images

Figure CN119921323A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a data set construction method and system for an integrated energy system. Background Art
[0002] With the development of energy transformation and smart grid technology, Integrated Energy System (IES) has become an important research direction in the energy field. In order to achieve effective management and operation of IES, modeling and simulation analysis of the system has become particularly important.
[0003] In the modeling and simulation of IES, deep learning technology shows great potential due to its powerful feature learning and prediction capabilities. However, the training of deep learning models requires a large amount of labeled data, and the complexity and dynamics of the integrated energy system make data acquisition and labeling very difficult. In the dispatching D5000 system, the QS data model contains all the flow section data at a time point. Considering the fluctuation characteristics of time and climate, it is necessary to generate a variety of integrated energy system operation scenarios based on a QS file to ensure that timely adjustments can be made in various situations.
[0004] Therefore, how to process the existing system operation historical data to obtain the corresponding data set, facilitate the subsequent combination of system operation mechanism, establish more diverse system operation scenarios, and build corresponding energy scheduling strategies is crucial to ensure the safe and efficient operation of the integrated energy system. Summary of the invention
[0005] The present invention provides a method and system for constructing a data set for an integrated energy system, which can solve at least one of the above technical problems.
[0006] According to one aspect of the present invention, a method for constructing a data set of an integrated energy system is provided, comprising: Acquire first QS file data of the integrated energy system, wherein the first QS file data includes relevant power data of each node and each transmission line in the integrated energy system; Based on the first QS file data, determining a first network topology of the integrated energy system; Interrupting a plurality of transmission lines in a first network topology of the integrated energy system to obtain a second network topology; Based on the switch state of each transmission line in the second network topology and the voltage of each node, in the second network topology, starting from the first node with the highest voltage and following the principle of voltage from high to low, a connection path from the first node to other nodes is searched to obtain a target network topology; Based on the target network topology, the empty-charging line and transformer equivalent model in the first QS file data are processed to obtain the second QS file data; Mapping the second QS file data into a power flow calculation model, and performing power flow calculation on the mapped power flow calculation model to obtain a power flow calculation result; Based on the power flow calculation result, updating the first QS file data to obtain target QS file data; Based on the target QS file data, a data set of the integrated energy system is determined.
[0007] According to another aspect of the present invention, a data set construction device for an integrated energy system is provided, comprising: A file data acquisition module, used to acquire first QS file data of the integrated energy system, wherein the first QS file data includes relevant power data of each node and each transmission line in the integrated energy system; A first topology determination module, configured to determine a first network topology of the integrated energy system based on the first QS file data; A second topology determination module is used to interrupt multiple transmission lines in the first network topology of the integrated energy system to obtain a second network topology; A third topology determination module is used to search for a connection path from the first node with the highest voltage to other nodes in the second network topology according to the principle of high to low voltage based on the switch state of each transmission line in the second network topology and the voltage of each node, so as to obtain a target network topology; A data processing module, used for processing the empty-charging line and transformer equivalent model in the first QS file data based on the target network topology to obtain the second QS file data; A power flow calculation module, used for mapping the second QS file data into a power flow calculation model, and performing power flow calculation on the mapped power flow calculation model to obtain a power flow calculation result; A file data updating module, used for updating the first QS file data based on the power flow calculation result to obtain target QS file data; The data set determination module is used to determine the data set of the integrated energy system based on the target QS file data.
[0008] By adopting the technical solution of the present invention, the lines in the network topology in the QS file data of the integrated energy system are interrupted to modify its network topology and form a new network topology of the integrated energy system. Since new islands appear in the new network topology, the switching state of each transmission line in the second network topology and the voltage of each node are used to search the connection path from the first node to other nodes in the second network topology starting from the first node with the highest voltage according to the principle of voltage from high to low. The obtained target network topology can exclude islands. In this way, the influence of islands can be excluded when calculating the flow of the integrated energy system. The original QS file data can be updated using the flow calculation results that exclude the influence of islands, and new QS file data can be quickly generated. In this way, by repeating the above steps, a data set of the integrated energy system that excludes the influence of islands can be quickly and accurately generated. Subsequently, this data set can be used to construct models related to the integrated energy system.
[0009] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings are used to better understand the present invention and do not constitute a limitation of the present invention. Figure 1 is a flow chart of a method for constructing a data set of an integrated energy system according to an embodiment of the present invention; Figure 2 is a schematic diagram of a network topology according to an embodiment of the present invention; Figure 3 It is a schematic diagram of the mapping relationship between the QS file and the power flow calculation module according to an embodiment of the present invention; Figure 4 is a schematic diagram of a network topology search process according to an embodiment of the present invention; Figure 5 is a structural block diagram of a data set construction device for an integrated energy system according to an embodiment of the present invention; Figure 6 The block diagram is a block diagram of an electronic device for implementing the method according to the embodiment of the present invention. DETAILED DESCRIPTION
[0011] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present invention. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0012] Figure 1 It is a flowchart of a method for constructing a dataset of an integrated energy system according to an embodiment of the present invention.
[0013] As Figure 1 shown, the method for constructing a dataset of the integrated energy system may include: S110, obtaining first QS file data of the integrated energy system, where the first QS file data includes relevant power data of each node and each transmission line in the integrated energy system; S120, determining a first network topology of the integrated energy system based on the first QS file data; S130, interrupting multiple transmission lines in the first network topology of the integrated energy system to obtain a second network topology; S140, based on the switch states of each transmission line and the voltages of each node in the second network topology, in the second network topology, starting from the first node with the highest voltage, searching for the connected paths from the first node to other nodes according to the principle of decreasing voltage from high to low to obtain a target network topology; S150, based on the target network topology, processing the idle charging lines and transformer equivalent models in the first QS file data to obtain second QS file data; S160, mapping the second QS file data into a power flow calculation model and performing power flow calculation on the mapped power flow calculation model to obtain a power flow calculation result; S170, updating the first QS file data based on the power flow calculation result to obtain target QS file data; S180, determining a dataset of the integrated energy system based on the target QS file data.
[0014] Exemplarily, the QS file data may also be referred to as the QS data model of the integrated energy system. This model includes multiple models, and the models related to power flow calculation include TopoNode, Unit, Load, compensator_P, compensator_S, ACline, and Transformer modules. Each module in the QS model file has a starting tag, such as <BaseValue: test network type=all numbers> and < / BaseValue: test network>. Through these starting tags, the corresponding module data can be extracted from the QS model.
[0015] Exemplarily, the QS file data remembers to include relevant power data of each node and each transmission line in the integrated energy system. This power data may include node types, line types, transformers, loads, and generators, etc.
[0016] Exemplarily, based on the first QS file data, data sampling is performed on the integrated energy system, including the load, output power and output voltage of each node.
[0017] Exemplarily, multiple transmission lines in the first network topology of the integrated energy system are randomly interrupted to obtain the second network topology. The number of transmission line interruptions can also be randomly determined, for example, a number between 5 and 10 is randomly determined.
[0018] Exemplarily, the sampling data is used to determine the failure rate and fault line of the first network topology recorded in the first QS file data, and the topology modification method of the integrated energy system is determined using this information. Based on the topology modification method, multiple transmission lines in the first network topology of the integrated energy system are interrupted to obtain a second network topology. For example, the interrupted line is a fault line, so the fault condition of the system can be simulated to obtain the corresponding fault data. Subsequently, these data sets can be used to build a power fault prediction model.
[0019] In this example, since the newly generated second network topology will have new islands generated, and the original first QS file data does not record the information of these new islands, it is necessary to exclude the islands in the newly generated second network topology and obtain the target network topology before performing power flow calculation on the target network topology to eliminate the influence of the islands on the power flow calculation results and improve the accuracy of the power flow calculation results.
[0020] Exemplarily, a network topology diagram is formed based on the switch state of each transmission line in the second network topology and the voltage of each node. In the network topology diagram, starting from the first node with the highest voltage, according to the principle of voltage from high to low, the connection path from the first node to other nodes is searched, and the searched connection paths are combined into the target network topology. Nodes in the second network topology that are not the target network topology are island nodes.
[0021] For example, Figure 2 As shown, it is the target network topology after excluding the isolated nodes.
[0022] Exemplarily, a graph depth search algorithm can also be used to exclude isolated islands. For example, the network topology graph is input into the graph depth search algorithm, which starts from the first node with the highest voltage and searches for the connection path from the first node to other nodes according to the voltage of each node and the line status between each node, and follows the principle of voltage from high to low. In this way, the target network topology can be quickly searched.
[0023] Exemplarily, after determining the target network topology, topology modification is performed in the first QS file data, and the empty-charging line and transformer equivalent model in the modified network topology are processed to obtain the second QS file data.
[0024] It can be understood that the empty charging line to be simulated is a line without islands on both sides. Therefore, in this example, before processing the empty charging line and the transformer equivalent model, the islands in the network topology are excluded. In this way, before simulating the empty charging line model, it is not necessary to perform island detection on both sides of the line to be simulated, which improves the efficiency of the empty charging line simulation.
[0025] It is understandable that in the QS file data, the transformer is generally a two-winding transformer or a three-winding transformer. These transformers need to be treated equivalently to facilitate subsequent power flow calculations.
[0026] For example, a two-winding transformer is modeled as a 'T' type equivalent model and a three-winding transformer is modeled as a 'Y' type equivalent model.
[0027] Exemplarily, the second QS file data is mapped to a power flow calculation model. For example, the power flow calculation model may be a pandpower model file in the programming software python, such as Figure 3 As shown, the details are as follows: Generate the node data table bus of pandapower based on the fields of each node in the TopoNode module in the second QS file data; Generate the shunt data table of the shunt compensator of pandapower based on the fields of each shunt compensator in the Compensator_P module in the second QS file data; Generate the load data table load of pandapower based on each load field of the Load module in the second QS file data; Generate the generator data table gen of pandapower based on the fields of each power generation unit in the Unit module in the second QS file data; Generate the branch data table line of pandapower based on the fields of each transmission line in the Compensator_S module and the ACline module in the second QS file data, as well as the fields of each series compensation device; Based on the fields of each transformer in the Tranformer module in the second QS file data, generate the transformer data tables trafo and trafo3w of pandapower.
[0028] Therefore, the pandpower model file includes the node data table bus, the parallel compensation device data table shunt, the load data table load, the generator data table gen, the branch data table line, and the transformer data tables trafo and trafo3w.
[0029] In this way, the programming software Python can be used to perform power flow calculation on the newly generated pandpower model file to obtain the power flow calculation results of the target network topology.
[0030] Exemplarily, the power flow calculation result of the target network topology replaces the corresponding field in the first QS file data to obtain new QS file data, namely, the target QS file data.
[0031] Exemplarily, the "Ue" and "ang" values of the corresponding nodes in the first QS file data are replaced according to the "Ue" and "ang" values of each node in the net.res_bus data table in the power flow calculation result.
[0032] According to the "Ue", "ang", "P" and "Q" values of each node in the net.res_gen data table in the flow results, replace the "Ue", "ang", "P" and "Q" values of the corresponding nodes in the Unit field information in the first QS file data.
[0033] According to the "P" and "Q" values of each node in the net.res_gen data table in the power flow results, replace the "P" and "Q" values of the corresponding nodes in the Load field information in the first QS file data.
[0034] According to the "Q" value of each node in the net.res_gen data table in the power flow results, replace the "Q" value of the corresponding node in the Compensator_P field information in the first QS file data.
[0035] Similarly, for the switch status and transformer status of the line, the status information of the line and transformer in the corresponding fields in the first QS file data can be replaced according to the information recorded in the net.res_line, net.res_trao and net.res_trao3w data tables in the power flow results.
[0036] In this way, the first QS file data after replacing the field information is the target QS file data. Moreover, according to the above method, new QS file data can be quickly generated.
[0037] Exemplarily, the above steps S110 to S170 may be repeatedly performed multiple times, so that multiple different QS file data may be generated to construct the data set of step S180.
[0038] According to the above implementation, the lines in the network topology in the QS file data of the integrated energy system are interrupted to modify its network topology and form a new network topology of the integrated energy system. Since new islands appear in the new network topology, the switching state of each transmission line in the second network topology and the voltage of each node are used to search the connection path from the first node to other nodes in the second network topology starting from the first node with the highest voltage according to the principle of voltage from high to low. The obtained target network topology can exclude islands. In this way, when calculating the flow of the integrated energy system, the influence of islands can be excluded. By updating the original QS file data using the flow calculation results that exclude the influence of islands, new QS file data can be quickly generated. In this way, by repeating the above steps, a data set of the integrated energy system that excludes the influence of islands can be quickly and accurately generated. Subsequently, this data set can be used to construct a model related to the integrated energy system, and the model is not affected by islands.
[0039] In one embodiment, multiple transmission lines in a first network topology of an integrated energy system are interrupted to obtain a second network topology, including: determining a line failure rate of the first network topology based on first QS file data; determining the number of interrupted transmission lines based on the line failure rate of the first network topology and the total number of transmission lines in the first network topology; and interrupting a corresponding number of transmission lines in the first network topology of the integrated energy system based on the number of interrupted transmission lines to obtain a second network topology.
[0040] Exemplarily, based on the power information such as the load, output power and output voltage of each node and each line recorded in the first QS file data, power verification or simulation verification is performed on the first network topology to obtain the line failure rate of the first network topology.
[0041] Exemplarily, the line failure rate of the first network topology is multiplied by the total number of power transmission lines in the first network topology to obtain the number of interrupted power transmission lines. In this way, the network topology can be modified according to the failure rate.
[0042] Exemplarily, based on the number of interrupted transmission lines, a corresponding number of transmission lines in the first network topology of the integrated energy system are randomly interrupted or a designated transmission line is interrupted to obtain a second network topology, wherein the corresponding number is understood to be the same as or close to the number of interrupted transmission lines.
[0043] According to the above implementation, the network topology is modified according to the failure rate, and the failure situation can be simulated to perform power flow calculation, and subsequently a data set of the integrated energy system under the failure situation can be obtained.
[0044] In one embodiment, based on the number of interrupted transmission lines, a corresponding number of transmission lines in a first network topology of an integrated energy system are interrupted to obtain a second network topology, including: based on the number of islands in the first network topology, the number of interrupted transmission lines is updated; based on the updated number of interrupted transmission lines and the positions of the islands in the first network topology, a corresponding number and corresponding positions of transmission lines in the first network topology of the integrated energy system are randomly interrupted to obtain a second network topology.
[0045] Exemplarily, if the number of islands in the first network topology is greater than a preset number threshold, the number of interrupted transmission lines is increased; if the number of islands in the first network topology is less than the preset number threshold, the number of interrupted transmission lines remains unchanged.
[0046] Exemplarily, the corresponding number may be understood to be a number that is the same as or close to the updated number of interrupted power transmission lines.
[0047] For example, the transmission line at the corresponding position may be understood as a transmission line that is more than a specified distance away from the position of the island in the first network topology, wherein the specified distance may be a distance determined by the distribution of distances between each line and the island.
[0048] According to the above implementation, by considering the number and location of islands, the impact on the faulty line, excluding the impact of this information, and only considering line failures of other factors to modify the network topology, the accuracy of the subsequent construction of the fault prediction model can be improved.
[0049] In one embodiment, based on the switching state of each transmission line in the second network topology and the voltage of each node, in the second network topology, starting from the first node with the highest voltage, searching for the connection path from the first node to other nodes according to the principle of voltage from high to low, to obtain the target network topology, including: based on the switching state of each transmission line in the second network topology and the voltage of each node, constructing a network topology graph, wherein the network topology graph includes the switching state of the nodes at both ends of each transmission line, the switching state of each transmission line and the voltage of each node; inputting the network topology graph into a graph depth search algorithm to obtain the target network topology output by the graph depth search algorithm, wherein the graph depth search algorithm is used to start from the first node with the highest voltage, and according to the principle of voltage from high to low, search for each connection path from the first node to other nodes in the network topology graph, and compose each connection path into the target network topology.
[0050] For example, in the network topology diagram, the state of each branch ij can be represented by the switch states of the topological nodes i and j at both ends. When the sum is 0, it means that the branch is connected, and if it is greater than 0, the branch is disconnected. Combined with the formula, it can be specifically expressed as: if , then branch ij is in a closed state; if , then branch ij is in disconnected state. Among them, Indicates the switch state of terminal i, Indicates the switch state of terminal j.
[0051] For example, Figure 4 As shown in FIG. 1 , it shows the process of path search, wherein the shaded parts are valid nodes in the target network topology generated step by step.
[0052] Exemplarily, the deep search algorithm is a recursive algorithm because the same operation is performed for each node, as shown in the following formula: .
[0053] For example, if we start the deep search from node A, we first explore the path from node A to node B. At node B, we continue to search all its unvisited neighbor nodes and find two paths: B to D and B to E and then to F. After completing the search for the path from A to B, we return to the starting node A. Then, we start searching for the second path from A, that is, A to C. At node C, we continue the depth-first search and visit its only neighbor node F. In this way, the search process gives priority to exploring new paths at each node. Once all paths at a certain node have been explored, we go back to the previous node to continue the search.
[0054] According to the above implementation, the network topology is first encapsulated into a topology graph, and then a graph depth search algorithm is used to perform a graph search to eliminate isolated islands and obtain the final target network topology. In this way, the network topology after eliminating isolated islands can be quickly obtained.
[0055] In one implementation, based on the target network topology, the empty-charging line and transformer equivalent model in the first QS file data are processed to obtain the second QS file data, including: Based on the target network topology, determining the valid lines and valid transformer branches in the first QS file data; In the first QS file data, for any valid line, when the first side of the valid line is in operation and the second side is in shutdown, a first node without load and generator is added to the second side; and the switch on the second side is set at the first node, and the parameters of the first line from the first side to the first node are set to be the same as the parameters of the second line from the first side to the second side, so that the switches at both ends of the first line are closed, and the second line is disconnected at the same time, so as to simulate an empty charging line; In the first QS file data, for any effective transformer branch, the double-winding transformer in the effective transformer branch is equivalent to a T-type equivalent model to obtain the short-circuit impedance and magnetizing admittance of the T-type equivalent model, and the three-winding transformer in the effective transformer branch is equivalent to a Y-type equivalent model to obtain the short-circuit impedance and magnetizing admittance of the Y-type equivalent model; Based on the first QS file data after the empty-charging line simulation and the transformer equivalent conversion, the second QS file data is determined.
[0056] It can be understood that a valid line is a line without dead islands on both sides of the line. A valid transformer branch is a line with a branch including a transformer and without dead islands on both sides of the branch.
[0057] Exemplarily, since the target network topology has excluded isolated islands, any line therein is a valid line, and any branch including a transformer is a valid transformer branch.
[0058] Exemplarily, when the line I side is in operation and the J side is out of operation, a node K without load and generator is added on the J side, and the switch on the J side of the line is placed at K. The parameters of line IK are the same as those of line IJ, so that the switches at both ends of line 1-K are closed, and the original line IJ is disconnected at the same time, thereby simulating the line empty charging situation.
[0059] Exemplarily, in the case where the I side of the line is shut down and the J side is operating, a new node K is added on the I side, and the switch on the I side of the line is switched to K. The parameters of line JK are the same as those of line IJ, so that the switches at both ends of line JK are closed, and the original line IJ is disconnected at the same time to simulate the empty charging situation of the line.
[0060] For example, for a T-type equivalent model, its short-circuit impedance can be calculated from the short-circuit voltage percentage, the system base capacity and the transformer rated capacity. Specifically as follows: ; ; ; ; in, is the transformer short-circuit impedance amplitude, is the transformer short-circuit voltage percentage, is the system baseline capacity, is the rated capacity of the transformer, is the real part of the transformer short-circuit impedance, is the percentage of the real part of the transformer short-circuit voltage, is the imaginary part of the transformer short-circuit voltage, is the short-circuit impedance of the transformer.
[0061] For example, for a T-type equivalent model, its magnetizing admittance can be calculated from no-load loss, iron loss, system reference capacity and transformer capacity. Specifically, as follows: ; ; ; ; in, is the transformer magnetizing admittance amplitude, is the transformer no-load loss, is the transformer iron loss, is the real part of the transformer magnetizing admittance, is the imaginary part of the transformer magnetizing admittance, is the transformer magnetizing admittance.
[0062] For example, the short-circuit impedance and magnetizing admittance of the transformer calculated according to the above example are relative to the rated value of the transformer, and therefore, are subsequently converted into the rated value of the network topology, as follows: ; ; ; ; in, is the voltage of the node connected to the low voltage side of the transformer, is the rated apparent power, is the transformer low voltage side voltage, is the transformer equivalent branch impedance, is the transformer equivalent branch admittance.
[0063] In one embodiment, based on the power flow calculation results, the first QS file data is updated to obtain the target QS file data, including: based on the relevant power data of each node and each transmission line in the power flow calculation results, the relevant power data of the corresponding node and the corresponding transmission line in a QS file data is updated to obtain the target QS file data.
[0064] Exemplarily, the power flow calculation result of the target network topology replaces the corresponding field in the first QS file data to obtain new QS file data, namely, the target QS file data.
[0065] Exemplarily, the "Ue" and "ang" values of the corresponding nodes in the first QS file data are replaced according to the "Ue" and "ang" values of each node in the net.res_bus data table in the power flow calculation result.
[0066] According to the "Ue", "ang", "P" and "Q" values of each node in the net.res_gen data table in the flow results, replace the "Ue", "ang", "P" and "Q" values of the corresponding nodes in the Unit field information in the first QS file data.
[0067] According to the "P" and "Q" values of each node in the net.res_gen data table in the power flow results, replace the "P" and "Q" values of the corresponding nodes in the Load field information in the first QS file data.
[0068] According to the "Q" value of each node in the net.res_gen data table in the power flow results, replace the "Q" value of the corresponding node in the Compensator_P field information in the first QS file data.
[0069] Similarly, for the switch status and transformer status of the line, the status information of the line and transformer in the corresponding fields in the first QS file data can be replaced according to the information recorded in the net.res_line, net.res_trao and net.res_trao3w data tables in the power flow results.
[0070] In this way, the first QS file data after replacing the field information is the target QS file data. Moreover, according to the above method, new QS file data can be quickly generated.
[0071] According to the above implementation, new QS file data is generated by reverse mapping based on the power flow calculation results. In this way, multiple QS file data can be generated quickly and accurately to obtain a data set.
[0072] Figure 5 It is a structural block diagram of a data set construction device for an integrated energy system according to an embodiment of the present invention.
[0073] like Figure 5 As shown, the data set construction device of the integrated energy system may include: The file data acquisition module 510 is used to acquire first QS file data of the integrated energy system, wherein the first QS file data includes relevant power data of each node and each transmission line in the integrated energy system; A first topology determination module 520, configured to determine a first network topology of the integrated energy system based on the first QS file data; A second topology determination module 530 is used to interrupt multiple transmission lines in the first network topology of the integrated energy system to obtain a second network topology; A third topology determination module 540 is configured to search for a connection path from a first node with the highest voltage to other nodes in the second network topology according to the principle of voltage from high to low based on the switch state of each transmission line in the second network topology and the voltage of each node, so as to obtain a target network topology; A data processing module 550 is used to process the empty-charging line and transformer equivalent model in the first QS file data based on the target network topology to obtain second QS file data; A power flow calculation module 560, used for mapping the second QS file data into a power flow calculation model, and performing power flow calculation on the mapped power flow calculation model to obtain a power flow calculation result; A file data updating module 570, configured to update the first QS file data based on the power flow calculation result to obtain target QS file data; The data set determination module 580 is used to determine the data set of the integrated energy system based on the target QS file data.
[0074] In one implementation, the second topology determination module 530 includes: a failure rate determination unit, configured to determine a line failure rate of the first network topology based on the first QS file data; a line quantity determination unit, configured to determine the number of interrupted transmission lines based on the line failure rate of the first network topology and the total number of transmission lines in the first network topology; The network topology determination unit is used to randomly interrupt a corresponding number of transmission lines in the first network topology of the integrated energy system based on the number of interrupted transmission lines to obtain a second network topology.
[0075] In one implementation, the network topology determination unit is specifically configured to: Based on the number of islands in the first network topology, updating the number of interrupted power transmission lines; Based on the updated number of interrupted transmission lines and the locations of islands in the first network topology, transmission lines of corresponding number and location in the first network topology of the integrated energy system are randomly interrupted to obtain the second network topology.
[0076] In one implementation, the third topology determination module 540 includes: A topology map construction unit, configured to construct a network topology map based on the switch states of each transmission line in the second network topology and the voltage of each node, wherein the network topology map includes the switch states of the nodes at both ends of each transmission line, the switch states of each transmission line and the voltage of each node; A graph depth search unit is used to input the network topology graph into a graph depth search algorithm to obtain the target network topology output by the graph depth search algorithm, wherein the graph depth search algorithm is used to start from the first node with the highest voltage, and search for each connection path from the first node to other nodes in the network topology graph according to the principle of voltage from high to low, and each of the connection paths is combined into the target network topology.
[0077] In one implementation, the data processing module 550 includes: An effective line determination unit, configured to determine effective lines and effective transformer branches in the first QS file data based on the target network topology; an empty-charging simulation unit, for adding a first node without load and generator in the second side of any valid line in the first QS file data, when the first side of the valid line is in operation and the second side is in outage; and setting the switch of the second side at the first node, setting the parameters of the first line from the first side to the first node to be the same as the parameters of the second line from the first side to the second side, closing the switches at both ends of the first line, and disconnecting the second line, so as to simulate an empty-charging line; A transformer processing unit, for any of the effective transformer branches in the first QS file data, converting a two-winding transformer in the effective transformer branch into a T-type equivalent model to obtain the short-circuit impedance and magnetizing admittance of the T-type equivalent model, and converting a three-winding transformer in the effective transformer branch into a Y-type equivalent model to obtain the short-circuit impedance and magnetizing admittance of the Y-type equivalent model; The file determination unit is used to determine the second QS file data based on the first QS file data after empty-charging line simulation and transformer equivalent conversion.
[0078] In one implementation, the file data updating module 570 is specifically configured to: Based on the relevant power data of each node and each transmission line in the power flow calculation result, the relevant power data of the corresponding node and the corresponding transmission line in the QS file data are updated to obtain the target QS file data.
[0079] For the description of specific functions and examples of each module and submodule of the system in the embodiment of the present invention, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.
[0080] In the technical solution of the present invention, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0081] According to an embodiment of the present invention, the present invention also provides a system and a readable storage medium.
[0082] Figure 6 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0083] like Figure 6 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0084] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0085] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a data set construction method for an integrated energy system. For example, in some embodiments, the data set construction method for an integrated energy system may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the data set construction method for the integrated energy system described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the data set construction method for the integrated energy system in any other appropriate manner (e.g., by means of firmware).
[0086] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0087] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0088] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0090] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0091] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0092] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.
[0093] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing a data set for an integrated energy system, characterized in that: include: Acquire first QS file data of the integrated energy system, wherein the first QS file data includes relevant power data of each node and each transmission line in the integrated energy system; Based on the first QS file data, determining a first network topology of the integrated energy system; Interrupting a plurality of transmission lines in a first network topology of the integrated energy system to obtain a second network topology; Based on the switch state of each transmission line in the second network topology and the voltage of each node, in the second network topology, starting from the first node with the highest voltage and following the principle of voltage from high to low, a connection path from the first node to other nodes is searched to obtain a target network topology; Based on the target network topology, the empty-charging line and transformer equivalent model in the first QS file data are processed to obtain the second QS file data; Mapping the second QS file data into a power flow calculation model, and performing power flow calculation on the mapped power flow calculation model to obtain a power flow calculation result; Based on the power flow calculation result, updating the first QS file data to obtain target QS file data; Based on the target QS file data, a data set of the integrated energy system is determined.
2. The method according to claim 1, characterized in that The interrupting of multiple transmission lines in the first network topology of the integrated energy system to obtain a second network topology includes: Determining a line failure rate of the first network topology based on the first QS file data; Determining the number of interrupted transmission lines based on the line failure rate of the first network topology and the total number of transmission lines in the first network topology; Based on the number of interrupted transmission lines, a corresponding number of transmission lines in the first network topology of the integrated energy system are interrupted to obtain a second network topology.
3. The method according to claim 2, characterized in that The method of interrupting a corresponding number of transmission lines in the first network topology of the integrated energy system based on the number of interrupted transmission lines to obtain a second network topology includes: Based on the number of islands in the first network topology, updating the number of interrupted transmission lines; Based on the updated number of interrupted transmission lines and the locations of islands in the first network topology, transmission lines of corresponding number and location in the first network topology of the integrated energy system are randomly interrupted to obtain the second network topology.
4. The method according to claim 1, characterized in that: Based on the switch state of each transmission line in the second network topology and the voltage of each node, in the second network topology, starting from the first node with the highest voltage and following the principle of voltage from high to low, searching for a connection path from the first node to other nodes to obtain a target network topology includes: Based on the switch status of each transmission line in the second network topology and the voltage of each node, a network topology diagram is constructed, wherein the network topology diagram includes the switch status of the nodes at both ends of each transmission line, the switch status of each transmission line and the voltage of each node; The network topology diagram is input into a graph depth search algorithm to obtain the target network topology output by the graph depth search algorithm, wherein the graph depth search algorithm is used to start from the first node with the highest voltage, and search for each connection path from the first node to other nodes in the network topology diagram according to the principle of voltage from high to low, and the various connection paths are combined into the target network topology.
5. The method according to claim 1, characterized in that The method of processing the empty-charging line and transformer equivalent model in the first QS file data based on the target network topology to obtain the second QS file data includes: Based on the target network topology, determining valid lines and valid transformer branches in the first QS file data; In the first QS file data, for any of the valid lines, when the first side of the valid line is in operation and the second side is in outage, a first node without load and generator is added to the second side; and the switch on the second side is set at the first node, and the parameters of the first line from the first side to the first node are set to be the same as the parameters of the second line from the first side to the second side, so that the switches at both ends of the first line are closed, and the second line is disconnected, so as to simulate an empty charging line; In the first QS file data, for any of the effective transformer branches, the two-winding transformer in the effective transformer branch is equivalent to a T-type equivalent model to obtain the short-circuit impedance and magnetizing admittance of the T-type equivalent model, and the three-winding transformer in the effective transformer branch is equivalent to a Y-type equivalent model to obtain the short-circuit impedance and magnetizing admittance of the Y-type equivalent model; The second QS file data is determined based on the first QS file data after empty-charging line simulation and transformer equivalent conversion.
6. The method according to claim 1, characterized in that The updating of the first QS file data based on the power flow calculation result to obtain the target QS file data includes: Based on the relevant power data of each node and each transmission line in the power flow calculation result, the relevant power data of the corresponding node and the corresponding transmission line in the QS file data are updated to obtain the target QS file data.
7. A data set construction device for an integrated energy system, characterized in that: include: A file data acquisition module, used to acquire first QS file data of the integrated energy system, wherein the first QS file data includes relevant power data of each node and each transmission line in the integrated energy system; A first topology determination module, configured to determine a first network topology of the integrated energy system based on the first QS file data; A second topology determination module is used to interrupt multiple transmission lines in the first network topology of the integrated energy system to obtain a second network topology; A third topology determination module is used to search for a connection path from the first node with the highest voltage to other nodes in the second network topology according to the principle of high to low voltage based on the switch state of each transmission line in the second network topology and the voltage of each node, so as to obtain a target network topology; A data processing module, used for processing the empty-charging line and transformer equivalent model in the first QS file data based on the target network topology to obtain the second QS file data; A power flow calculation module, used for mapping the second QS file data into a power flow calculation model, and performing power flow calculation on the mapped power flow calculation model to obtain a power flow calculation result; A file data updating module, used for updating the first QS file data based on the power flow calculation result to obtain target QS file data; The data set determination module is used to determine the data set of the integrated energy system based on the target QS file data.
8. The device according to claim 7, characterized in that The second topology determination module includes: a failure rate determination unit, configured to determine a line failure rate of the first network topology based on the first QS file data; a line quantity determination unit, configured to determine the number of interrupted transmission lines based on the line failure rate of the first network topology and the total number of transmission lines in the first network topology; The network topology determination unit is used to interrupt a corresponding number of transmission lines in the first network topology of the integrated energy system based on the number of interrupted transmission lines to obtain a second network topology.
9. A data set construction system for an integrated energy system, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to make a computer execute the method according to any one of claims 1-6.
Citation Information
Patent Citations
Electric system splitting fracture surface searching method based on master-slave problem alternating optimization
CN103093037A
Electric power system line weakness evaluation system and method based on multi-attribute analysis
CN105574614A
Method for judging power grid frame structure change and calculating scheduling risk value
CN107844891A
Method for converting QS file into Matpower or Pypower load flow calculation data
CN110968635A
Online State Estimation and Topology Identification Using Advanced Metering Infrastructure (AMI) Measurements
US20230072795A1