A method, system, computer equipment and medium for calculating power flow in power system
Through the simplified power flow calculation method, the node power and voltage of the power system are calculated step by step, which solves the problem of slow calculation speed in the existing technology and achieves rapid transparency and efficient analysis of the distribution network.
Patent Information
- Application Number
- CN202410754422.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-12
AI Technical Summary
The current power flow calculation method in the existing power system is complex, resulting in slow calculation speed, difficulty in meeting actual needs, and affecting the transparency and automation of the distribution network.
By obtaining the topology of the power system, node power and voltage are calculated step by step to determine whether the power flow value meets the convergence conditions. If not, reassign the value and repeat the calculation, which simplifies the calculation process and improves calculation efficiency.
It achieves rapid distribution network transparency, improves calculation efficiency, facilitates safety and economic analysis of the power system, and helps identify weak nodes and propose improvement measures.
Smart Images

Figure CN118316055B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power system analysis, and in particular to a power system flow calculation method, system, computer equipment and medium. Background Art
[0002] In recent years, with the extensive use of distributed energy storage devices, electric vehicles and other distributed facilities, more and more distributed facilities are connected to the distribution network, resulting in voltage exceeding the limit of key nodes in local areas, and even insufficient absorption capacity of photovoltaic stations and photovoltaic dedicated transformers, and the phenomenon of feeding back to the main grid through feeders, which increases the operating power consumption of the main transformer and affects the safe and stable operation of the power grid. When distributed energy storage devices, electric vehicles and other loads are connected to the distribution network, it may cause power balance problems. Therefore, it is usually necessary to predict and simulate the conditions when distributed facilities are connected to the distribution network to support grid planning and power dispatching, and reduce the impact of uncertainty in power supply and load.
[0003] Due to the wide distribution network, if transparency is achieved by installing all data collection devices, the construction and operation and maintenance costs are high and cannot be effectively implemented. At present, the following problems exist in the automation construction of the distribution network: the "three remote controls" of the medium-voltage switches in the distribution network are not fully covered; the FA line coverage and FA action accuracy need to be further improved; the business digital transformation is not deep enough, and there is a lack of active operation and maintenance business applications driven by big data to achieve the observability and measurability of the medium-voltage distribution network. In response to the above problems, in the existing power system, the flow calculation method is usually used to achieve the transparency of the distribution network, but the current flow calculation method is relatively complex, resulting in a slow calculation speed and difficult to meet actual needs. Summary of the invention
[0004] In order to improve the calculation speed and thus quickly realize the transparency of the distribution network, the present application provides a power flow calculation method, system, computer equipment and medium for a power system.
[0005] In a first aspect, the present application provides a method for calculating power flow in a power system, which adopts the following technical solution:
[0006] A power flow calculation method for a power system, comprising:
[0007] S11, obtaining a topological structure of the power system; the topological structure includes a plurality of nodes, attribute information of the nodes, and connection relationships between the nodes;
[0008] S12, assigning an initial value to each of the nodes;
[0009] S13, calculating the node power of each node from the end node of the topology structure step by step according to the topology structure;
[0010] S14, calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure;
[0011] S15, determine whether all the flow values meet the convergence conditions, and the flow values include the node power and the node voltage of each node; if so, the flow calculation ends, if not, reassign each of the nodes according to the node power and the node voltage of each node, and return to step S13.
[0012] It can be understood that the power flow value also includes the current of each node, the power of each line, the loss of each line, etc.
[0013] By adopting the above technical scheme, the topological structure of the power system is obtained, the topological structure includes a number of nodes, attribute information of the nodes and the connection relationship between the nodes, and then an initial value is assigned to each node, and the node power of each node is calculated step by step from the end node of the topological structure forward according to the topological structure, and then the node voltage of each node is calculated step by step from the head node of the topological structure backward according to the topological structure, and finally it is judged whether the flow values all meet the convergence conditions, and the flow values include the node power and node voltage of each node; if the flow values all meet the convergence conditions, the flow calculation ends, if the flow values do not meet the convergence conditions, then each node is reassigned according to the node power and node voltage of each node, and the flow value is recalculated; the flow calculation method of the present application is simpler and more convenient, with high calculation efficiency and strong practicality. By analyzing and calculating the flow distribution of the power system, the state of each node is obtained, and then the transparency of the distribution network can be quickly realized, so that it is convenient for the staff to analyze and evaluate the safety and economy of the power system, so that the staff can propose improvement measures for weak nodes.
[0014] Optionally, before acquiring the topological structure of the power system, the method further includes:
[0015] Acquire line information and equipment information of the power system; the line information includes the length, resistivity, rated cross-sectional area, relative magnetic permeability and radius of each line, and the equipment information includes parameter information of each equipment on each line;
[0016] A topology structure of the power system is generated according to the line information and the device information.
[0017] By adopting the above technical solution, the line information and equipment information of the power system are first obtained, the line information includes the length, resistivity, rated cross-sectional area, relative permeability and radius of each line, and the equipment information includes the parameter information of the equipment on each line, and then the topological structure of the power system is generated according to the line information and equipment information.
[0018] Optionally, calculating the node power of each node from the end node of the topology structure step by step according to the topology structure specifically includes:
[0019] Acquiring the injected power of each node and the impedance data of each line according to the topological structure;
[0020] The node power of the previous node is calculated step by step from the end node of the topology structure according to the injected power and the impedance data, until the node power of the head-end node is calculated.
[0021] By adopting the above technical solution, the injection power of each node and the impedance data of each line are obtained according to the topological structure, and then the node power of the previous node is calculated step by step from the end node of the topological structure according to the injection power and impedance data until the node power of the head node is calculated.
[0022] Optionally, calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure specifically includes:
[0023] Obtaining the node voltage of the head-end node and the node power of each node;
[0024] The node voltage of the next node is calculated according to the node voltage of the head-end node and the node power of each node, until the node voltages of all nodes are calculated.
[0025] By adopting the above technical solution, the node voltage of the first-end node and the node power of each node are obtained, and then the node voltage of the next node is calculated according to the node voltage of the first-end node and the node power of each node, until the node voltages of all nodes are calculated.
[0026] Optionally, the nodes include PQ nodes, PV nodes and balancing nodes;
[0027] The PQ node is a node related to a power plant bus or a substation bus in the power system;
[0028] The PV nodes are nodes in the power system regarding power plants with reactive power reserves and substation buses with or without power supply;
[0029] The balancing node is a node of a power plant in the power system that can perform power regulation.
[0030] Optionally, before judging whether all the power flow values satisfy the convergence condition, the method further includes: the power flow values include node currents of each node;
[0031] The node current of each node in the topology structure is calculated according to the node power, the node voltage and the topology structure of each node.
[0032] Optionally, the impedance data of each line includes a line resistance and a line reactance corresponding to each line, and the calculation formula of the line resistance is:
[0033]
[0034] Where, l is the line length, ρ represents the resistivity, and S represents the rated cross-sectional area;
[0035] The calculation formula of the line reactance is:
[0036]
[0037] Where f is the current frequency, r is the line radius, and D m is the geometric mean distance of the three-phase conductors, u r Represents relative magnetic permeability.
[0038] In a second aspect, the present application also provides a power flow calculation system for a power system, which adopts the following technical solution:
[0039] A power flow calculation system for a power system, comprising:
[0040] A topology acquisition module, used to acquire the topology of the power system; the topology includes a plurality of nodes, attribute information of the nodes and connection relationships between the nodes;
[0041] An initial value assignment module, used for assigning initial values to each of the nodes;
[0042] A node power generation module, used to calculate the node power of each node from the end node of the topology structure forward step by step according to the topology structure;
[0043] A node voltage generating module, used for calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure;
[0044] The convergence judgment module is used to judge whether all the flow values meet the convergence conditions, and the flow values include the node power and the node voltage of each node; if so, the flow calculation ends, if not, each node is reassigned according to the node power and the node voltage of each node.
[0045] In a third aspect, the present application also provides a computer device, which adopts the following technical solution:
[0046] A computer device comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described in the first aspect when executing the computer program.
[0047] In a fourth aspect, the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0048] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute the method described in the first aspect.
[0049] In summary, the present application includes at least the following beneficial technical effects: obtaining the topological structure of the power system, the topological structure includes a number of nodes, attribute information of the nodes and the connection relationship between the nodes, then assigning an initial value to each node, and calculating the node power of each node step by step from the end node of the topological structure forward according to the topological structure, and then calculating the node voltage of each node step by step from the head node of the topological structure backward according to the topological structure, and finally judging whether the flow values all meet the convergence conditions, the flow values include the node power and node voltage of each node; if the flow values all meet the convergence conditions, the flow calculation ends, if the flow values do not meet the convergence conditions, then reassigning each node according to the node power and node voltage of each node, and recalculating the flow value; the flow calculation method of the present application is simpler and more convenient, with high calculation efficiency and strong practicality. By analyzing and calculating the flow distribution of the power system, the status of each node is obtained, and then the transparency of the distribution network can be quickly realized, so that the staff can analyze and evaluate the safety and economy of the power system, so that the staff can propose improvement measures for weak nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the specific implementation of the present application or the technical solution in the prior art, the following is a brief introduction to the drawings required for the specific implementation or the prior art description. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale.
[0051] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present application.
[0052] Figure 2 It is a schematic diagram of a simple radial distribution line according to an embodiment of the present application.
[0053] Figure 3 It is a schematic diagram of the structure of the system of the embodiment of the present application.
[0054] Figure 4 It is a structural block diagram of a computer device according to an embodiment of the present application.
[0055] The functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0056] In order to enable those skilled in the art to better understand the scheme of the present disclosure, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present disclosure.
[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0058] The embodiment of the present application discloses a power flow calculation method for a power system.
[0059] Reference Figure 1 , a power flow calculation method for a power system, comprising the following steps:
[0060] S11, obtaining the topological structure of the power system.
[0061] The topological structure of the power system includes several nodes, attribute information of the nodes and connection relationships between the nodes.
[0062] It should be noted that the nodes in the topological structure of the power system include PQ nodes, PV nodes and balancing nodes. The PQ node is a node in the power system about the power plant bus or substation bus. The active power P and reactive power Q of the PQ node (i.e., the load node) are given, and the parameters to be determined are the node voltage amplitude and phase angle; the PV node (i.e., the power supply node) is a node in the power system about the power plant with reactive power reserve and the substation bus with or without power supply. The injected active power and node voltage of the PV node are given, and the phase of the node voltage injected with reactive power is to be determined; the balancing node (i.e., the unknown node) is a node in the power plant that can perform power regulation in the power system. The initial voltage amplitude and phase angle of the balancing node are given, and the active power, reactive power, voltage amplitude and phase angle are to be determined.
[0063] It can be understood that each node in the topological structure of the power system usually corresponds to a device in the power system, and the devices in the circuit system include transformers, busbars, busbars, circuit breakers, etc.
[0064] S12, assigning initial values to each node.
[0065] S13, calculating the node power of each node from the end node of the topology structure step by step according to the topology structure.
[0066] S14, calculating the node voltage of each node from the head node of the topology structure step by step backward according to the topology structure.
[0067] S15, determine whether the power flow values all meet the convergence conditions, the power flow values include the node power and node voltage of each node; if so, the power flow calculation ends, if not, reassign each node according to the node power and node voltage of each node, and return to step S13.
[0068] It can be understood that when the power flow value meets the convergence condition, that is, when the node power and node voltage of each node meet the convergence condition, it means that the node power and node voltage of each node meet the requirements of the power system, and the power flow calculation is completed; when the power flow value does not meet the convergence condition, it means that there are nodes whose node power and node voltage do not meet the requirements, then the node power and node voltage calculated in step S13 and step S14 are reassigned to each node and recalculated.
[0069] In the above implementation, the topological structure of the power system is obtained, and the topological structure includes a number of nodes, attribute information of the nodes and connection relationships between the nodes. Then, an initial value is assigned to each node, and the node power of each node is calculated step by step from the end node of the topological structure forward according to the topological structure. Then, the node voltage of each node is calculated step by step from the head node of the topological structure backward according to the topological structure. Finally, it is determined whether the flow values all meet the convergence conditions, and the flow values include the node power and node voltage of each node; if the flow values all meet the convergence conditions, the flow calculation ends, if the flow values do not meet the convergence conditions, then each node is reassigned according to the node power and node voltage of each node, and the flow value is recalculated; the flow calculation method of the present application is simpler and more convenient, with high calculation efficiency and strong practicality. By analyzing and calculating the flow distribution of the power system, the status of each node is obtained, and then the transparency of the distribution network can be quickly realized, so that the staff can analyze and evaluate the safety and economy of the power system, so that the staff can propose improvement measures for weak nodes.
[0070] As a further implementation of the power flow calculation method of the power system, before obtaining the topological structure of the power system, the following steps are also included:
[0071] Step S21, obtaining line information and equipment information of the power system.
[0072] The line information includes the length, resistivity, rated cross-sectional area, relative magnetic permeability and radius of each line, and the equipment information includes parameter information of each equipment on each line.
[0073] It can be understood that the line information of each line includes the starting node resource ID, the ending node resource ID, the length, resistivity, rated cross-sectional area, relative magnetic permeability, radius and other line data of each line; the equipment on each line usually includes transformers, circuit breakers, and line switches (such as feeder switches, connecting switches, and section switches). Taking transformers and circuit breakers as examples, the parameter information of the transformer includes the resource ID, rated capacity, rated voltage, short-circuit loss, short-circuit voltage percentage, no-load current percentage, no-load loss and other parameter data of the transformer; the parameter information of the circuit breaker includes the resource ID, equipment status, rated voltage, rated current, grounding resistance and other parameter data of the circuit breaker.
[0074] Step S22: generating a topological structure of the power system according to the line information and the equipment information.
[0075] In the above implementation, the line information and equipment information of the power system are first obtained, the line information includes the length, resistivity, rated cross-sectional area, relative permeability and radius of each line, and the equipment information includes parameter information of the equipment on each line, and then the topological structure of the power system is generated based on the line information and equipment information.
[0076] As a further implementation method of the power flow calculation method of the power system, the node power of each node is calculated step by step from the end node of the topology structure forward according to the topology structure, which specifically includes the following steps:
[0077] Step S31, acquiring the injected power of each node and the impedance data of each line according to the topological structure.
[0078] It should be noted that the impedance data of each line includes the line resistance and line reactance corresponding to each line. The calculation formula of the line resistance is:
[0079]
[0080] Where, l is the line length, ρ represents the resistivity, and S represents the rated cross-sectional area;
[0081] The calculation formula for line reactance is:
[0082]
[0083] Where f is the current frequency, r is the line radius, and D mis the geometric mean distance of the three-phase conductors, u r Represents relative magnetic permeability.
[0084] It should be further explained that for the transformer, the calculation formula of the transformer resistance is:
[0085]
[0086] The transformer reactance calculation formula is:
[0087]
[0088] Among them, U k , P k , U n , S n They are short-circuit voltage percentage, short-circuit loss, rated capacity, and rated voltage respectively.
[0089] Step S32, calculating the node power of the previous node step by step from the end node of the topology structure forward according to the injected power and impedance data, until the node power of the head end node is calculated.
[0090] It should be noted that, taking a simple radial distribution line as an example, Figure 2 , node k is the front node of node i, node i is the front node of node j and node l, C i is the set of all associated nodes starting from node i, P Di , Q Di are the active power and reactive power of the i-connected load, respectively. In this application, the node voltage and node power of each node are corrected and calculated by utilizing the unique path between the child node and the parent node in the radial topology. The whole process is mainly divided into two processes: power forward and voltage back substitution. The calculation formula for the mth power forward of node k is:
[0091]
[0092] in, are the injected active power and reactive power of node k respectively, is the voltage amplitude at node i.
[0093] In the above implementation, the injection power of each node and the impedance data of each line are obtained according to the topology structure, and then the node power of the previous node is calculated step by step from the end node of the topology structure according to the injection power and impedance data until the node power of the head node is calculated.
[0094] As a further implementation method of the power flow calculation method of the power system, the node voltage of each node is calculated step by step from the head end node of the topology structure backward according to the topology structure, which specifically includes the following steps:
[0095] Step S41, obtaining the node voltage of the head-end node and the node power of each node;
[0096] Step S42, calculating the node voltage of the next node according to the node voltage of the head-end node and the node power of each node, until the node voltages of all nodes are calculated.
[0097] It should be noted that the calculation formula for the mth voltage back substitution of node i is:
[0098]
[0099] in, represents the complex form of the voltage at node k, and * indicates taking the conjugate.
[0100] In the above implementation, the node voltage of the head node and the node power of each node are obtained, and then the node voltage of the next node is calculated according to the node voltage of the head node and the node power of each node, until the node voltages of all nodes are calculated.
[0101] As a further implementation method of the power flow calculation method of the power system, before judging whether all power flow values meet the convergence condition, it also includes: the power flow value includes the node current of each node;
[0102] The node current of each node in the topology is calculated according to the node power, node voltage and topology of each node.
[0103] It should be noted that the reference Figure 3 , the calculation formula of the mth current of node k is:
[0104]
[0105] in, Represents the complex form of the voltage at node i.
[0106] It should be further explained that the convergence condition in step S15 is:
[0107]
[0108] The error between the calculated converged voltage value of each node and the collected value is: .
[0109] The embodiment of the present application also discloses a power flow calculation system for a power system.
[0110] refer to Figure 3 , a power flow calculation system for a power system, comprising:
[0111] A topology acquisition module is used to acquire the topology of the power system; the topology includes a number of nodes, attribute information of the nodes and connection relationships between the nodes;
[0112] The initial value module is used to assign initial values to each node;
[0113] A node power generation module, used for calculating the node power of each node step by step from the end node of the topology structure forward according to the topology structure;
[0114] A node voltage generation module, used to calculate the node voltage of each node step by step from the head node of the topology structure backward according to the topology structure;
[0115] The convergence judgment module is used to judge whether the power flow values all meet the convergence conditions. The power flow values include the node power and node voltage of each node. If so, the power flow calculation ends. If not, each node is reassigned according to the node power and node voltage of each node.
[0116] The power flow calculation system of the power system of the present invention can implement any one of the power flow calculation methods of the power system, and the specific working process of the power flow calculation system of the power system of the present invention can refer to the corresponding process in the above-mentioned power system power flow calculation method.
[0117] The embodiment of the present application also discloses a computer device.
[0118] refer to Figure 4 A computer device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, any of the above-mentioned power system flow calculation methods is implemented.
[0119] The embodiment of the present application also discloses a computer-readable storage medium.
[0120] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above-mentioned power system power flow calculation methods.
[0121] Among them, computer-readable storage media can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus or device; the program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0122] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0123] In the above embodiments disclosed in the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0126] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a non-volatile storage medium, including a number of instructions to enable a device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0128] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims
1. A method for calculating power flow in a power system, characterized in that: include: S11, obtaining a topological structure of the power system; the topological structure includes a plurality of nodes, attribute information of the nodes, and connection relationships between the nodes; S12, assigning an initial value to each of the nodes; S13, calculating the node power of each node from the end node of the topology structure step by step according to the topology structure; S14, calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure; S15, judging whether all power flow values satisfy the convergence condition, the power flow values including the node power and the node voltage of each node; If yes, the power flow calculation ends; if no, each node is reassigned according to the node power and the node voltage of each node, and the process returns to step S13; The step of calculating the node power of each node from the end node of the topology structure forward step by step according to the topology structure specifically includes: Acquiring the injected power of each node and the impedance data of each line according to the topological structure; Calculating the node power of the previous node step by step from the end node of the topology structure forward according to the injected power and the impedance data until the node power of the head end node is calculated; The step of calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure specifically includes: Obtaining the node voltage of the head-end node and the node power of each node; Calculating the node voltage of the next node according to the node voltage of the head-end node and the node power of each node until the node voltages of all nodes are calculated; Before judging whether all power flow values meet the convergence conditions, the following steps are also required: The power flow value includes the node current of each node; Calculating a node current of each node in the topology structure according to the node power, the node voltage and the topology structure of each node; In a radial distribution line, node k is the front-end node of node i, and node i is the front-end node of node j and node l. The calculation formula for the mth power push forward of node k is: in, and are the injected active power and reactive power of the node k respectively, is the voltage amplitude of the node i, and are respectively the active power and reactive power of the load connected to the node i, and Ci is the set of all associated nodes with the node i as the starting node; The calculation formula for the mth voltage back substitution of the node i is: in, represents the complex form of the voltage at the node k, and * represents taking the conjugate; The calculation formula of the mth current of the node k is: in, represents the complex form of the voltage at the node i.
2. A power flow calculation method for a power system according to claim 1, characterized in that: Before acquiring the topological structure of the power system, the method further includes: Acquire line information and equipment information of the power system; the line information includes the length, resistivity, rated cross-sectional area, relative magnetic permeability and radius of each line, and the equipment information includes parameter information of each equipment on each line; A topology structure of the power system is generated according to the line information and the device information.
3. A power flow calculation method for a power system according to claim 1, characterized in that: The nodes include PQ nodes, PV nodes and balance nodes; The PQ node is a node about the power plant bus or substation bus in the power system; the PV node is a node about the power plant with reactive power reserve and the substation bus with or without power supply in the power system; the balancing node is a node of the power plant capable of power regulation in the power system.
4. A power flow calculation method for a power system according to claim 1, characterized in that: The impedance data of each line includes line resistance and line reactance corresponding to each line, and the calculation formula of the line resistance is: Where, l is the line length, ρ represents the resistivity, and S represents the rated cross-sectional area; The calculation formula of the line reactance is: Where f is the current frequency, r is the line radius, and D m is the geometric mean distance of the three-phase conductors, u r Represents relative magnetic permeability.
5. A power flow calculation system for a power system, characterized in that: include: A topology acquisition module, used to acquire the topology of the power system; the topology includes a plurality of nodes, attribute information of the nodes and connection relationships between the nodes; An initial value assignment module, used for assigning initial values to each of the nodes; A node power generation module, used to calculate the node power of each node from the end node of the topology structure forward step by step according to the topology structure; A node voltage generating module, used for calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure; A convergence judgment module, used to judge whether all power flow values meet the convergence condition, wherein the power flow values include the node power and the node voltage of each node; If yes, the power flow calculation ends; if no, each node is reassigned according to the node power and the node voltage of each node; The step of calculating the node power of each node from the end node of the topology structure forward step by step according to the topology structure specifically includes: Acquiring the injected power of each node and the impedance data of each line according to the topological structure; Calculating the node power of the previous node step by step from the end node of the topology structure forward according to the injected power and the impedance data until the node power of the head end node is calculated; The step of calculating the node voltage of each node from the head end node of the topology structure step by step backward according to the topology structure specifically includes: Obtaining the node voltage of the head-end node and the node power of each node; Calculating the node voltage of the next node according to the node voltage of the head-end node and the node power of each node until the node voltages of all nodes are calculated; Before judging whether all the power flow values satisfy the convergence condition, the method further includes: the power flow values include node currents of each node; Calculating a node current of each node in the topology structure according to the node power, the node voltage and the topology structure of each node; In a radial distribution line, node k is the front-end node of node i, and node i is the front-end node of node j and node l. The calculation formula for the mth power push forward of node k is: in, and are the injected active power and reactive power of the node k respectively, is the voltage amplitude of the node i, and are respectively the active power and reactive power of the load connected to the node i, and Ci is the set of all associated nodes with the node i as the starting node; The calculation formula for the mth voltage back substitution of the node i is: in, represents the complex form of the voltage at the node k, and * represents taking the conjugate; The calculation formula of the mth current of the node k is: in, represents the complex form of the voltage at the node i.
6. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 4.
