CN109687464B - Power grid power flow analysis method and device, storage medium and processor - Google Patents

Power grid power flow analysis method and device, storage medium and processor Download PDF

Info

Publication number
CN109687464B
CN109687464B CN201810798045.6A CN201810798045A CN109687464B CN 109687464 B CN109687464 B CN 109687464B CN 201810798045 A CN201810798045 A CN 201810798045A CN 109687464 B CN109687464 B CN 109687464B
Authority
CN
China
Prior art keywords
power grid
power
graph model
type
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810798045.6A
Other languages
Chinese (zh)
Other versions
CN109687464A (en
Inventor
鞠力
张欣
李伟
刘凤成
刘金鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Economic and Technological Research Institute of State Grid Beijing Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Economic and Technological Research Institute of State Grid Beijing Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Beijing Electric Power Co Ltd, Economic and Technological Research Institute of State Grid Beijing Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201810798045.6A priority Critical patent/CN109687464B/en
Publication of CN109687464A publication Critical patent/CN109687464A/en
Application granted granted Critical
Publication of CN109687464B publication Critical patent/CN109687464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/04Circuit arrangements for ac mains or ac distribution networks for connecting networks of the same frequency but supplied from different sources
    • H02J3/06Controlling transfer of power between connected networks; Controlling sharing of load between connected networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a power grid load flow analysis method and device, a storage medium and a processor. Wherein, the method comprises the following steps: converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing the nodes in the power grid system, and the edges are used for representing lines in the power grid system; detecting the type of the computational graph model; and selecting a mode corresponding to the type to carry out power flow analysis on the power grid according to the type. The invention solves the technical problems that the relational database is used, the reaction speed is low, the structure redundancy is complex, and the topology analysis of a large-scale power grid cannot be realized quickly in the prior art.

Description

Power grid power flow analysis method and device, storage medium and processor
Technical Field
The invention relates to the field of power grids, in particular to a power grid power flow analysis method and device, a storage medium and a processor.
Background
The grid geographic Information System (referred to as grid GIS) is a computer System used for collecting, storing, managing, analyzing, displaying and applying geographic related data as a spatial Information technology. At present, an Oracle spatial database storage technology is adopted by a power grid GIS system. For the full-voltage-level power grid topology, the storage mode and the storage technology have computation and processing bottlenecks in relation computation, search and tracking.
In the related technology, the grid GIS maintenance and use adopts an Oracle database for relational storage, and the graph relation of the GIS1.6 at present seriously restricts the rapid mapping of a graph model based on a graph database and graph calculation, because the existing storage structure of the GIS1.6 adopts a mode of associating nodes with terminalinID, the direct connection relation between the nodes cannot be directly mapped, and in order to solve the problem of rapid data processing between a GIS1.6 service system and the topology calculation, a high-speed topological ODS data model buffer middleware needs to be established between the GIS1.6 and the graph database to realize the direct mapping of the graph model (the graph model and the relational data model), the rapid extraction of node attribute data and the rapid extraction and calculation of running state data.
Aiming at the problem that the topological analysis of a large-scale power grid cannot be quickly realized due to the fact that a relational database is used in the prior art, the response speed is low, the structure is redundant and complex, and an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a power grid load flow analysis method and device, a storage medium and a processor, which are used for at least solving the technical problems that a relational database is used, the reaction speed is low, the structure redundancy is complex, and therefore the large-scale power grid topology analysis cannot be rapidly realized in the prior art.
According to an aspect of the embodiments of the present invention, there is provided a method for analyzing a power flow of a power grid, including: converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing the nodes in the power grid system, and the edges are used for representing lines in the power grid system; detecting the type of the computational graph model; and selecting a mode corresponding to the type to carry out power flow analysis on the power grid according to the type.
Optionally, according to the type, selecting a mode corresponding to the type to perform power flow analysis on the power grid, including: when the type of the calculation graph model is a radiation type network, carrying out load flow analysis on the power grid by using a first mode, wherein the first mode is as follows: carrying out layered processing on a calculation graph model for representing a power grid, and carrying out parallel calculation on nodes in the same layer to obtain distribution information of power parameters in the power grid; and when the type of the calculation graph model is a ring network, carrying out load flow analysis on the power grid by using a second mode, wherein the second mode is as follows: performing iterative processing on the edges with weights in the calculation graph model, wherein the weights are used for identifying admittance on a line in the power grid and voltage difference at two ends of the line; determining the weight of an edge connected with each node in the computational graph model; and determining the distribution information of the power parameters in the power grid according to the weight.
Optionally, the computation graph model for representing the power grid is processed hierarchically, including: and dividing nodes with the same power parameter value in the power grid into the same layer.
Optionally, the attributes of the points include at least one of; voltage, voltage amplitude, phase angle, node power.
Optionally, edges are used to represent a description of relationships between nodes; the edge has a direction; the attributes of the edge include at least one of: line impedance, line current, line loss.
Optionally, according to the type, selecting a mode corresponding to the type to perform power flow analysis on the power grid, including: obtaining a plurality of backups of the calculation graph model, wherein different backups in the plurality of backups correspond to different power grid states of the same power grid; and carrying out power flow analysis on the plurality of backups simultaneously.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for analyzing a power flow of a power grid, including: the conversion module is used for converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing the nodes in the power grid system, and the edges are used for representing lines in the power grid system; the detection module is used for detecting the type of the computational graph model; and the analysis module is used for selecting a mode corresponding to the type to carry out load flow analysis on the power grid according to the type.
Optionally, the analysis module comprises: the first analysis unit is used for performing load flow analysis on the power grid by using a first mode when the type of the calculation graph model is the radiation type network, and the first mode is as follows: carrying out layered processing on a calculation graph model for representing a power grid, and carrying out parallel calculation on nodes in the same layer to obtain distribution information of power parameters in the power grid; and the second analysis unit is used for performing load flow analysis on the power grid by using a second mode when the type of the calculation graph model is the ring network, wherein the second mode is as follows: performing iterative processing on the edges with weights in the calculation graph model, wherein the weights are used for identifying admittance on a line in the power grid and voltage difference at two ends of the line; determining the weight of an edge connected with each node in the computational graph model; and determining the distribution information of the power parameters in the power grid according to the weight.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus where the storage medium is located is controlled to execute the method for analyzing the power flow of the power grid.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the method for analyzing the power flow of the power grid.
In the embodiment of the invention, a graph calculation mode is adopted, a power grid system is converted into a calculation graph model, and the calculation graph model is subjected to load flow analysis, so that the aim of quickly and efficiently performing topology analysis on the power grid system is fulfilled, the technical effects of reducing the calculation amount of the power grid topology analysis and improving the efficiency of the power grid topology analysis are realized, and the technical problem that the large-scale power grid topology analysis cannot be quickly realized due to the fact that a relational database is used in the prior art and the reaction speed is low and the structure redundancy is complex is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flow chart of a method of analyzing a power grid flow according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an alternative grid graph conversion to a computational graph model according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of an alternative radiating grid system according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of an alternative radial-type computational graph model in accordance with embodiments of the present invention;
FIG. 4a is a schematic diagram of an alternative forward decomposition aggregation analysis process in accordance with an embodiment of the present invention;
FIG. 4b is a schematic diagram of an alternative reverse decomposition aggregation analysis process in accordance with embodiments of the present invention;
FIG. 5a is a schematic diagram of an alternative ring grid system according to an embodiment of the present invention;
FIG. 5b is a schematic diagram of an alternative ring-type computational graph model according to embodiments of the present invention;
fig. 6 is a structural diagram of an analysis apparatus for power flow of a power grid according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, a power grid topology is applied, and particularly, the power grid topology is applied to a power distribution network, and the power distribution network is characterized in that electrical elements are complex and various. The GIS using the Oracle spatial data technology is limited by the storage of self-relational data of an Oracle database, and has the problems of low reaction speed and complicated structure redundancy for the topology calculation of the power grid and the rapid analysis and extraction of GIS data, so that the topology analysis and calculation of the large power grid cannot be rapidly realized.
The relational data structure adopts 'index' to represent the interrelation between data, and meets the obvious technical bottleneck in the process of processing the problem of multilayer complex relationship of big data appearing in recent years, the cross-table query is complex, the retrieval response speed is slow, the waste of storage space caused by multi-scene comparison and selection is huge, an application model is difficult to copy and expand, and the unique design of graphic analysis just makes up for the defect.
In order to solve the above problems, embodiments of the present application provide corresponding solutions, which are described in detail below.
In accordance with an embodiment of the present invention, there is provided a method embodiment of grid flow analysis, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for analyzing a power flow of a power grid according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing the nodes in the power grid system, and the edges are used for representing lines in the power grid system;
in the embodiment of the present application, nodes and lines in the power grid may be represented by nodes and edges in the computational graph model. In an electric power system, buses, lines, generators, transformers, loads and various switches and protection devices exist, and all objects can be abstracted into nodes and edges to form topological connection at different voltage levels. The topology solving problem of the power system can be attributed to nodes of a power grid and connected lines (edges), and is a natural graph calculation problem. The power grid topology analysis calculation follows the topology relation of the network, the electrical characteristics of each node are only related to the adjacent nodes, the relation can be displayed in a most direct mode in a calculation graph through the mapping relation and the logic analysis of the attributes of the nodes and the edges, and the graph analysis technology is more suitable for being applied to the power grid topology calculation. In addition, data management and logic calculation are unified in a graphic calculation model and embedded into the system bottom layer, and the interaction of data and the model can be directly shown on the graph.
Step S102 may be executed by a computer, so as to obtain a computational graph model.
The embodiment of the present application provides an optional schematic diagram for converting a power grid graph into a computational graph model, where nodes in the power grid graph are represented by points, and lines in the power grid graph are represented by edges, as shown in fig. 2, a in the graph represents attributes of the nodes, and b represents attributes of the edges, where the attributes of the nodes in fig. 2 are: node voltage V, node power S, and the edge attributes in fig. 2 are: impedance Z, line current S, current I, for example, attribute a1 at point n1 is: node voltage V1Node power S2Property b of edge between n1 and n212Comprises the following steps: impedance Z12Line current S12Current I12
The attributes of the points in the embodiments of the present application include at least one of the following; voltage, voltage amplitude, phase angle, node power; the edges in the embodiment of the present application are used to represent the description of the relationship between the nodes, and the edges have directions. Wherein the attributes of the edge include at least one of: line impedance, line current, line loss. The attributes of the points and the edges include static attributes and dynamic attributes, the static attributes are inherent attributes of the power grid system, namely attributes of the power grid, such as voltage, and the dynamic attributes are calculated attributes of the power grid system, such as line load flow.
Step S104, detecting the type of the calculation graph model;
optionally, calculating the type of graph model at least includes: a radial network and a ring network.
And S106, selecting a mode corresponding to the type according to the type to perform power flow analysis on the power grid.
Optionally, the embodiment of the present application includes at least the following two computational graph models and analysis methods:
when the type of the computational graph model is a radiation type network, carrying out load flow analysis on a power grid by using a first mode, wherein the first mode is as follows: performing layered processing on a calculation graph model for representing a power grid, and performing parallel calculation on nodes in the same layer to obtain distribution information of power parameters in the power grid, namely performing load flow analysis on the calculation graph model corresponding to the power grid by adopting a decomposition and polymerization method (MapReduce);
firstly, before the power flow analysis is carried out on the power grid, the power grid diagram is converted. The embodiment of the present application provides a schematic diagram for converting a power grid diagram of an optional radiation-type network into a computation graph model, as shown in fig. 3a and 3b, fig. 3b is the computation graph model obtained by converting fig. 3a, a in fig. 3b represents an attribute of a node, b represents an attribute of an edge, where the node attribute includes: voltage amplitude V, phase angle theta, node power S, the edge attributes include: line impedance Z, line current S, line loss Δ S, for example, node V2 is attributed as: amplitude of voltage V2Phase angle theta2Node power S2The attributes of the edge between nodes V2 and V3 are: line impedance Z23Line current S23Line loss Δ S23And will not be described herein.
Wherein, the decomposition polymerization method can be represented as the following implementation processes: the active and reactive power of each node is calculated in the former process, the voltage of each node is calculated in the latter process, the two processes are carried out in a bidirectional interaction mode, and when the result precision of the current time and the previous time in the system is small enough, calculation convergence is achieved. The graph computation utilizes a decomposition aggregation method to perform radiation network topology computation, and can fully utilize a parallel mechanism of the graph computation, as shown in fig. 4a and 4 b:
from fig. 4a and 4b, it can be seen that the grid is layered by the disaggregation method { T0, T1, T2 … … }. Because the node calculations of the same layer in the radiation network are not related to each other, the nodes of the same layer are activated simultaneously to perform parallel calculation, and the calculation efficiency is higher when the network is flatter.
Wherein, the layering processing of the computational graph model for representing the power grid comprises the following steps: and dividing nodes with the same power parameter value in the power grid into the same layer. For example, nodes of the same voltage class are divided into the same layer.
When the type of the calculation graph model is a ring network, carrying out load flow analysis on the power grid by using a second mode, wherein the second mode is as follows: performing iterative processing on the edges with weights in the calculation graph model, wherein the weights are used for identifying admittance on a line in the power grid and voltage difference at two ends of the line; determining the weight of an edge connected with each node in the computational graph model; and determining the distribution information of the power parameters in the power grid according to the weight, namely performing flow analysis on a computational graph model corresponding to the power grid by adopting a Peltier sorting method (PageRank).
The peclet ordering method simply iterates on the edge with the weight reflected in the grid as the admittance and the voltage difference across the line, and correspondingly reflected in the graphical calculation model as the admittance and voltage difference attributes across the edge. For a node, the more edges it is connected to, or an edge with a high "weight" is connected to, the more "important" it is, the key node of the system. Based on this idea, the topology can be computed using the core idea of classical gauss. Fig. 5a is a schematic diagram of an alternative ring-type power grid system according to an embodiment of the present invention, and fig. 5b is a calculation graph model corresponding to the system of fig. 5 a. Based on the principle of Gauss-Seidel iteration, the core of the method is the transfer and exchange of information between nodes and the parallel computation between the nodes.
Optionally, obtaining a plurality of backups of the computational graph model, wherein different backups in the plurality of backups correspond to different power grid states of the same power grid; and carrying out power flow analysis on the plurality of backups simultaneously.
In the embodiment of the application, another characteristic of graph calculation is that a network snapshot (snapshot) is supported, that is, multiple backups in different states on the same graph can be calculated in parallel among the multiple backups without mutual influence, and the method is suitable for rapid speed ratio selection of a planning scheme.
Through the steps, the graphical database technology can be realized, billion-level intelligent power grid data management, billion-level multi-voltage-level power grid connectivity analysis of nodes and branches, billion-level equipment electrification state detection and query, billion switches, power supplies, lines, transformer areas, section switches, power grid outage range scanning, analysis and judgment of equipment such as 'distributing' junction boxes, various connectors, electric meters, falling insurance, bow sub-lines and the like can be effectively supported, and second-level traceability analysis of voltage-crossing levels of mass power supply equipment is realized.
By means of the pattern analysis technology, joint simulation of the power distribution network, users and distributed power supplies can be achieved; joint simulation between the power grid and the communication control equipment; and carrying out refined analysis and planning optimization calculation on the massive scenes of the power distribution network.
According to an embodiment of the present invention, there is provided an embodiment of a product for analyzing a power grid flow, and fig. 6 is a structural diagram of an apparatus for analyzing a power grid flow according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes
A conversion module 60, configured to convert the power grid graph into a computational graph model, where the computational graph model is composed of nodes and edges, the nodes are used for representing nodes in the power grid system, and the edges are used for representing lines in the power grid system;
a detection module 62 for detecting the type of the computational graph model;
and the analysis module 64 is used for selecting a mode corresponding to the type to perform power flow analysis on the power grid according to the type.
Optionally, the analysis module 64 comprises:
the first analysis unit is used for performing load flow analysis on the power grid by using a first mode when the type of the calculation graph model is the radiation type network, and the first mode is as follows: carrying out layered processing on a calculation graph model for representing a power grid, and carrying out parallel calculation on nodes in the same layer to obtain distribution information of power parameters in the power grid;
the first analysis unit is used for carrying out load flow analysis on the power grid by using a second mode when the type of the calculation graph model is the ring-type network, and the second mode is as follows: performing iterative processing on the edges with weights in the calculation graph model, wherein the weights are used for identifying admittance on a line in the power grid and voltage difference at two ends of the line; determining the weight of an edge connected with each node in the computational graph model; and determining the distribution information of the power parameters in the power grid according to the weight.
Optionally, the first analysis unit is further configured to divide nodes having values of the same power parameter in the power grid into the same layer.
Optionally, the attributes of the points include at least one of; voltage, voltage amplitude, phase angle, node power.
Optionally, edges are used to represent a description of relationships between nodes; the edge has a direction; the attributes of the edge include at least one of: line impedance, line current, line loss.
Optionally, the analysis module 64 further comprises:
the acquisition unit is used for acquiring a plurality of backups of the calculation graph model, wherein different backups in the plurality of backups correspond to different power grid states of the same power grid;
and the third analysis unit is used for carrying out power flow analysis on the multiple backups at the same time.
It should be noted that the converting module 60, the detecting module 62, and the analyzing module 64 correspond to steps S102 to S106 in the above embodiment, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure in the above embodiment. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
The embodiment of the application also provides a storage medium, wherein the storage medium comprises a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the method for analyzing the power flow of the power grid.
The storage medium described above stores a program that performs the following functions: converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing the nodes in the power grid system, and the edges are used for representing lines in the power grid system; detecting the type of the computational graph model; and selecting a mode corresponding to the type to carry out power flow analysis on the power grid according to the type.
The embodiment of the application further provides a processor, wherein the processor is used for running the program, and the method for analyzing the power flow is executed when the program runs.
The processor is configured to execute a program that implements the following functions: converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing the nodes in the power grid system, and the edges are used for representing lines in the power grid system; detecting the type of the computational graph model; and selecting a mode corresponding to the type to carry out power flow analysis on the power grid according to the type.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (7)

1. A method for analyzing power flow of a power grid is characterized by comprising the following steps:
converting a power grid graph into a computational graph model, wherein the computational graph model consists of nodes and edges, the nodes are used for representing nodes in a power grid system, and the edges are used for representing lines in the power grid system;
detecting the type of the computational graph model;
according to the type, selecting a mode corresponding to the type to carry out load flow analysis on the power grid;
selecting a mode corresponding to the type to perform power flow analysis on the power grid, wherein the method comprises the following steps:
when the type of the computational graph model is a radiation type network, carrying out load flow analysis on the power grid by using a first mode, wherein the first mode is as follows: carrying out layered processing on the calculation graph model used for representing the power grid, and carrying out parallel calculation on nodes in the same layer to obtain distribution information of power parameters in the power grid;
when the type of the calculation graph model is a ring network, performing load flow analysis on the power grid by using a second mode, wherein the second mode is as follows: performing iterative processing on an edge with a weight in the computational graph model, wherein the weight is used for identifying admittance on a line in the power grid and a voltage difference between two ends of the line; determining the weight of an edge connected with each node in the computational graph model; determining the distribution information of the power parameters in the power grid according to the weight;
according to the type, selecting a mode corresponding to the type to carry out power flow analysis on the power grid, and the method further comprises the following steps: obtaining a plurality of backups of the calculation graph model, wherein different backups in the plurality of backups correspond to different power grid states of the same power grid; and simultaneously carrying out power flow analysis on the plurality of backups.
2. The method of claim 1, wherein hierarchically processing the computational graph model representing the power grid comprises:
and dividing the nodes with the same power parameter value in the power grid into the same layer.
3. The method of claim 1, wherein the attributes of the points include at least one of; voltage, voltage amplitude, phase angle, node power.
4. The method of claim 1, wherein the edges are used to represent relationships between nodes; the edge has a direction; the attributes of the edge include at least one of: line impedance, line current, line loss.
5. An apparatus for analyzing a power flow of a power grid, comprising:
the conversion module is used for converting the power grid diagram into a computational diagram model, wherein the computational diagram model consists of nodes and edges, the nodes are used for representing nodes in the power grid system, and the edges are used for representing lines in the power grid system;
the detection module is used for detecting the type of the computational graph model;
the analysis module is used for selecting a mode corresponding to the type to carry out load flow analysis on the power grid according to the type;
wherein, the analysis module includes: a first analysis unit, configured to perform power flow analysis on the power grid by using a first mode when the type of the computation graph model is a radial network, where the first mode is: carrying out layered processing on the calculation graph model used for representing the power grid, and carrying out parallel calculation on nodes in the same layer to obtain distribution information of power parameters in the power grid; a second analysis unit, configured to perform load flow analysis on the power grid by using a second method when the type of the computation graph model is a ring network, where the second method is: performing iterative processing on an edge with a weight in the computational graph model, wherein the weight is used for identifying admittance on a line in the power grid and a voltage difference between two ends of the line; determining the weight of an edge connected with each node in the computational graph model; determining the distribution information of the power parameters in the power grid according to the weight;
wherein, the analysis module still includes: the acquisition unit is used for acquiring a plurality of backups of the calculation graph model, wherein different backups in the plurality of backups correspond to different power grid states of the same power grid; and the third analysis unit is used for carrying out power flow analysis on the multiple backups at the same time.
6. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device in the storage medium is controlled to execute the method for analyzing the power flow of the power grid according to any one of claims 1 to 4.
7. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to perform the method of analyzing a grid power flow according to any one of claims 1 to 4 when running.
CN201810798045.6A 2018-07-19 2018-07-19 Power grid power flow analysis method and device, storage medium and processor Active CN109687464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810798045.6A CN109687464B (en) 2018-07-19 2018-07-19 Power grid power flow analysis method and device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810798045.6A CN109687464B (en) 2018-07-19 2018-07-19 Power grid power flow analysis method and device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN109687464A CN109687464A (en) 2019-04-26
CN109687464B true CN109687464B (en) 2021-08-20

Family

ID=66185449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810798045.6A Active CN109687464B (en) 2018-07-19 2018-07-19 Power grid power flow analysis method and device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN109687464B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116882408B (en) * 2023-09-07 2024-02-27 南方电网数字电网研究院有限公司 Construction method and device of transformer graph model, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103762591B (en) * 2014-01-16 2016-04-20 国家电网公司 A kind of power distribution network topology layout method
US9954362B2 (en) * 2014-05-23 2018-04-24 California Institute Of Technology Systems and methods for optimal power flow on a radial network
CN104113061B (en) * 2014-07-30 2016-06-01 国家电网公司 A kind of distribution network three-phase power flow method containing distributed power source
CN105186494B (en) * 2015-08-31 2017-09-12 深圳库博能源科技有限公司 Electric network analysis system and method
CN107895953B (en) * 2017-10-18 2021-08-20 南京海兴电网技术有限公司 Distribution network flow calculation method of self-adaptive grid structure

Also Published As

Publication number Publication date
CN109687464A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN102750406B (en) Multi-version management method for model set and difference model-based power grid model
CN104615606B (en) A kind of Hadoop distributed file systems and its management method
Ravikumar et al. A common information model oriented graph database framework for power systems
CN105139281A (en) Method and system for processing big data of electric power marketing
CN106055590A (en) Power grid data processing method and system based on big data and graph database
CN103118132B (en) A kind of distributed cache system towards space-time data and method
CN105045869A (en) Multi-data center based natural resource geospatial data organization method and system
Liu et al. Graph computation and its applications in smart grid
CN104077438A (en) Power grid large-scale topological structure construction method and system
CN113706333A (en) Method and system for automatically generating topology island of power distribution network
Liu et al. Evolving graph based power system EMS real time analysis framework
CN109687464B (en) Power grid power flow analysis method and device, storage medium and processor
Chen et al. Multi-source and heterogeneous data integration model for big data analytics in power DCS
CN105635285A (en) State-sensing-based VM migration scheduling method
Lee et al. A big data management system for energy consumption prediction models
Saunders et al. Data-driven distributed analytics and control platform for smart grid situational awareness
Bakalov et al. A network model for the utility domain
CN115879742A (en) Power distribution network transformation method and system, electronic equipment and storage medium
Dai et al. Cyber physical power system modeling and simulation based on graph computing
Wang et al. Smart grid time series big data processing system
Sha [Retracted] A Graph Partition‐Based Large‐Scale Distribution Network Reconfiguration Method
Bao et al. Researching on the Placement of Data Replicas in the System of HDFS Cloud Storage Cluster
Yin et al. Research on network topology analysis method of distribution management based on gis
CN116976060B (en) Flexible networking method for dynamic reconfiguration of distributed new energy cluster-load-network
Chen et al. Research and Application of Topology Analysis Method for Large-scale Distribution Grids

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant