Distribution network equivalent line loss calculation method and system considering distributed power supply

By acquiring and processing distribution network data, establishing a distribution network-transmission network equivalent model, and using Newton-Ravson method calculation, the problem of line loss calculation of distribution network under distributed power access is solved, achieving accurate and efficient Line loss calculation.

CN118965708AActive Publication Date: 2024-11-15STATE GRID ANHUI ELECTRIC POWER CO LTD ELECTRIC POWER SCI RES INST +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410966779.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-15
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

The prior art is difficult to accurately calculate the distribution network line loss in the case of distributed power access, especially when the components and topological relationship between the distribution network and the transmission network are large, and the access of distributed power access is likely to lead to calculations. Problem of difficulty convergence.

Method used

By obtaining the source data of the distribution network, dynamic and static data are processed, including judging the impact of distributed power access, topology analysis and component conversion, establishing a distribution network-transmission network equivalent model, and using Newton-Ravson The method performs the current calculation and outputs the linear loss calculation result.

Benefits of technology

It realizes the accuracy and efficiency of the distribution network line loss calculation under distributed power supply access, can effectively smooth the volatility of distributed power supply, improve calculation accuracy, and avoid the convergence problem of trend calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965708A_ABST
    Figure CN118965708A_ABST
Patent Text Reader

Abstract

The invention discloses a power distribution network equivalent line loss calculation method considering a distributed power supply. The method comprises the following steps: acquiring source end data; processing the data, wherein the processing of the static data comprises the steps of topology analysis; main element conversion is carried out to establish a power distribution network-power transmission network main element conversion relation, including head end outgoing line conversion, loss-free distribution transformer conversion, loss-based distribution transformer conversion and distributed power supply conversion; reconstructing a power distribution network model; carrying out load flow calculation by using a Newton-Raphson algorithm based on the reconstructed power distribution network model; and outputting a line loss calculation result of the target power distribution network. The invention further provides a system for calculating the equivalent line loss of the power distribution network considering the distributed power supply. According to the method, the operation state and the topological structure of the power distribution network are deeply analyzed and comprehensively considered with the operation characteristics of the power transmission network, a novel power distribution network-power transmission network main element equivalent model is established, Newton-Raphson method calculation is carried out based on the equivalent model, and compared with a traditional equivalent resistance method and an average current method, the method has the advantages that the calculation efficiency is improved, and the calculation cost is reduced. The method provided by the invention is higher in calculation precision, and can reflect the line loss level of the power distribution network more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of electric power grid, in particular to a method for calculating the loss of grid lines. Background Art

[0002] At present, the power flow algorithm commonly used for line loss calculation in the transmission network is the Newton-Raphson method, which is based on the establishment of a nonlinear equation group between the node voltage and the injected power of the power system, and the use of an iterative method to solve the voltage amplitude and phase angle of all nodes in the power grid. After obtaining the node voltage solution, the current in the line is calculated based on the impedance parameters of the line and the node voltage, and then the active and reactive losses of the line are calculated.

[0003] Currently, the Newton-Raphson method performs well in calculating transmission line losses, but it has obvious shortcomings when it comes to distribution networks, as follows:

[0004] First, the main components and topological relationships of the distribution network and the transmission network are quite different, and the Newton-Raphson method cannot be directly used to calculate the line loss of the distribution network.

[0005] Second, with the development of new energy technologies, there are a large number of distributed power sources in the distribution network. The access of these power sources has changed the operation status of the distribution network. Directly using the Newton-Raphson method to calculate line losses can easily cause difficulties in convergence. Summary of the invention

[0006] The technical problem to be solved by the present invention is how to accurately calculate the line loss of the distribution network when a distributed power source is connected.

[0007] The present invention solves the above technical problems through the following technical means: a method for calculating equivalent line loss of a distribution network taking into account distributed power sources, comprising the following steps:

[0008] S1. Obtain source data, and obtain distribution network source data based on the source system;

[0009] S2. Data processing, including:

[0010] S21. Processing of dynamic data, including determining whether the area with distributed power generation access will affect the line loss of the distribution network, and reducing the impact of its volatility on the line loss calculation through data processing;

[0011] S22. Processing of static data, specifically including:

[0012] S221, performing topological analysis on static data;

[0013] S222. Main component conversion to establish the main component conversion relationship between the distribution network and the transmission network, as follows:

[0014] (1) Head-end outgoing line conversion: The head-end outgoing line of the distribution network is equivalent to a combination structure consisting of a virtual bus and a balancing node. Impedance equivalence, current injection, and power injection are performed at the same time. The parameters of the components after conversion should be consistent with those before conversion.

[0015] (2) Distributing transformer conversion without loss: refers to the distribution transformer without loss calculation, which is equivalent to a combination structure consisting of a virtual bus and a load. The component parameters before and after the conversion should be consistent;

[0016] (3) Loss-calculating distribution transformer conversion: refers to the public transformer, which is equivalent to a combination structure consisting of two coil transformers, virtual jumper wires on both sides and load. The loss of each distribution transformer is calculated through this structure. The component parameters before and after the conversion should be consistent;

[0017] (4) Distributed power conversion, which is equivalent to a combination of a virtual bus and a generator. Before the conversion, this step needs to determine the monthly average photovoltaic return power PPGFS of the distribution transformer i corresponding to the substation at time j. ij Is the value greater than 0? Conversion is required only when it is greater than 0. The component parameters before and after the conversion should be consistent.

[0018] S223, model reconstruction, reconstructing the distribution network model according to the distribution network topology analysis result in step S221 and the main component conversion result in step S222;

[0019] Step S3: flow calculation: using the Newton-Raphson algorithm to perform flow calculation based on the reconstructed distribution network model;

[0020] Step S4: Output the result, and output the line loss calculation result of the target distribution network.

[0021] As a further specific technical solution, in step S21, judging whether the area with distributed power supply access will affect the line loss of the distribution network includes: monthly statistics of the amount of electricity returned by the distributed power supply area, and the specific calculation is as follows:

[0022]

[0023] i∈{1,2,...,N}#(2)

[0024] {t∈N|1≤t≤31}#(3)

[0025] {j∈N|1≤j≤24}#(4)

[0026] In the above formula (1), PGFS itjIt indicates the value of photovoltaic power generation in the distribution area corresponding to distribution transformer i at time j on day t of the month that cannot be consumed locally and is sent back to the distribution network; PGFD itj It represents the total photovoltaic power generation of the distribution transformer i corresponding to the area at the time j on the tth day of the month; PFH itj represents the load demand of the distribution area corresponding to the distribution transformer i at the time j on the tth day of the month. Formulas (2)-(4) represent the value ranges of the subscripts i, t, and j respectively.

[0027] As a further specific technical solution, in step S21, reducing the impact of the volatility of distributed power sources on line loss calculation by data processing includes:

[0028] (1) Calculate the average value of the amount of electricity returned by the distributed generation at the same time every day of the month, as follows:

[0029]

[0030] In the above formula (5), PPGFS ij It represents the monthly average photovoltaic return power of the distribution area corresponding to distribution transformer i at time j;

[0031] (2) Using PPGFS ij The value of represents the value of the amount of electricity returned by all distribution transformers in the corresponding areas at time j in the daily line loss calculation.

[0032] As a further specific technical solution, step S222, the main component conversion also includes the conversion of operation data:

[0033] (1) After the head-end outgoing line is equivalent to a balancing node, the balancing node needs to add the voltage operation data of the head-end outgoing line;

[0034] (2) After the loss-ignoring distribution transformer is equivalent to a combination of a virtual busbar and a load, the load needs to add the power factor data of the distribution transformer, using PF bj It is expressed as follows:

[0035]

[0036] Among them, P is , Q is They represent the active power and reactive power of the ith distribution transformer without loss respectively;

[0037] (3) After the loss distribution transformer is equivalent to a combination structure consisting of two coils, virtual jumper wires on both sides and load, the load needs to add the power factor data of the distribution transformer, using PF j It is expressed as follows:

[0038]

[0039] Among them, P is ', Q is 'represent the active power and reactive power of the i-th loss distribution transformer respectively;

[0040] (4) After the distributed generation is equivalent to a combination structure consisting of a virtual bus and a generator, the generator needs to add the power factor data of the distributed generation, using PF fj It is expressed as follows:

[0041]

[0042] Among them, P is ”, Q is ” represent the active power and reactive power of the ith distributed generation respectively.

[0043] As a further specific technical solution, step S3, power flow calculation specifically includes:

[0044] The basic equation for the power flow calculation problem is established as

[0045]

[0046] Among them, P i is the active power injected into the ith node, Q i is the reactive power injected into the ith node, Y ij is the node admittance matrix element, is the node voltage column vector element;

[0047] For a PQ node, the node power P is known. is , Q is , then the corresponding equation is

[0048]

[0049] For a PV node, the node power P is known. is 、V is , then the corresponding equation is

[0050]

[0051] The general form of the power flow equation is constructed by combining equations (19) to (20).

[0052]

[0053] If there is X * , so that Y(X * )=0, then X * is the solution of equation (21);

[0054] Introducing the parameter t in equation (21), we construct a family of images: Z(X,t) such that when t = 1, Z is Y, and when t = 0, the solution of the equation Y0(X) = 0 is X 0 ; That is, the solution X defined as Z(X,0)=Y0(X), where Y0(X)=0 0 As the initial value is known, the equation Z(X,1)=0 is equivalent to the original nonlinear equation (21), so we only need to calculate the following equivalent equation:

[0055] Z(X,t)=0,t∈[0,1] (22)

[0056] The equivalent equation is not unique, so it is assumed to be:

[0057] Z(X,t)=Y(X)-(1-t)Y(X 0 ) (twenty three)

[0058] If Y'(X) is continuous and non-singular, and equation (23) has a unique solution x = x(t) that satisfies X(0) = X 0 , and X * =X(1) is the solution of equation (21). Therefore, solving equation (23) is equivalent to solving the initial value problem of the following Davidenko differential equation:

[0059]

[0060] Where M(X)=Y'(X) is M(θ,V) in formula (21), and the curve formed by the solution X=X(t) in formula (24) is called a homotopy curve. The homotopy curve in formula (21) is calculated using the midpoint integral formula, and its calculation formula is:

[0061]

[0062] N in the formula represents the number of segments of t, from which the step size h = 1 / N is obtained. Since the homotopy curve X = X(t) is close to a straight line, any numerical integration method of order 2 is used to solve it;

[0063] If the initial value calculated by formula (25) cannot meet the convergence requirements of Newton-Raphson, the number of segments N is increased until the convergence requirements of Newton-Raphson are met. A variable step size is used to shorten the calculation time. The variable step size means that the system will adjust the size of the time step according to the needs, and at the same time improve the accuracy of the homotopy curve as a whole. If a certain segment value is taken, it is calculated using formula (25), and then the Newton-Raphson calculation formula (26) is used to expand the calculation. If the obtained ||x N+1 -x N || is small enough, or satisfies ||x k+1 -x k||<|x k -x k-1 ||Just think X N is a good enough initial value for the Newton-Raphson iteration, otherwise X N Assume it as the initial value, and repeat the calculation of formula (25) to calculate the new X N ,

[0064] X k+1 =x k -[M(x k )] -1 Y(X) k ,K=N,N+1,... (26)

[0065] When performing equation (24) to find the homotopy curve, the initial value is given, and x 0 =[0,1] T , in some cases it appears as M(X 0 ) is strange and M(X * ) is non-singular, which makes the calculation process impossible, or M(X k ) Strange, in fact, when X 0 With X * On the surface det(Z X )=0, if we connect X 0 With X * The homotopy curve C exists, Z X There must be singular points on C, especially when a line in the power system is overloaded or near the stability boundary, the homotopy curve has singular points. To prevent this, the homotopy equation with parameters is used:

[0066] Z[x,t,α,x 0 ]=Y(x)-(1-t 3 )α(xx 0 ) (27)

[0067] Where α is a parameter matrix, and its value changes automatically according to whether M(X) is singular or not. For any x 0 ∈R, let α be determined, and the constructed homotopy equation, i.e., equation (27), satisfies the condition Z(x 0 ,0)=0, Z(x,1)=Y(X), so the solution when Z(x,1)=0 is the solution of the original equation (21);

[0068] The method for solving equation (27) is unified as solving the following initial value problem of Davidenko differential equation, which can be written as:

[0069]

[0070] The calculation method is the same as formula (25).

[0071] The present invention also provides a distribution network equivalent line loss calculation system taking into account distributed power sources, comprising the following modules:

[0072] A source-end data acquisition module is used to acquire source-end data of the distribution network based on the source-end system;

[0073] Data processing module, including:

[0074] The dynamic data processing unit performs the following steps: determining whether the distribution area with distributed power generation access will affect the line loss of the distribution network, and reducing the impact of its volatility on the line loss calculation by means of data processing;

[0075] The static data processing unit includes:

[0076] A static data topology analysis subunit, used for performing topology analysis on static data;

[0077] The main component conversion subunit is used to establish the distribution network-transmission network main component conversion relationship. The specific execution steps are as follows:

[0078] (1) Head-end outgoing line conversion: The head-end outgoing line of the distribution network is equivalent to a combination structure consisting of a virtual bus and a balancing node. Impedance equivalence, current injection, and power injection are performed at the same time. The parameters of the components after conversion should be consistent with those before conversion.

[0079] (2) Distributing transformer conversion without loss: refers to the distribution transformer without loss calculation, which is equivalent to a combination structure consisting of a virtual bus and a load. The component parameters before and after the conversion should be consistent;

[0080] (3) Loss-calculating distribution transformer conversion: refers to the public transformer, which is equivalent to a combination structure consisting of two coil transformers, virtual jumper wires on both sides and load. The loss of each distribution transformer is calculated through this structure. The component parameters before and after the conversion should be consistent;

[0081] (4) Distributed power conversion, which is equivalent to a combination of a virtual bus and a generator. Before the conversion, this step needs to determine the monthly average photovoltaic return power PPGFS of the distribution transformer i corresponding to the substation at time j. ij Is the value greater than 0? Conversion is required only when it is greater than 0. The component parameters before and after the conversion should be consistent.

[0082] A model reconstruction module reconstructs the distribution network model according to the distribution network topology analysis results in the static data topology analysis subunit and the main component conversion results in the main component conversion subunit;

[0083] The power flow calculation module is used to perform power flow calculation based on the reconstructed distribution network model using the Newton-Raphson algorithm;

[0084] The result output module is used to output the line loss calculation results of the target distribution network.

[0085] As a further specific technical solution, in the dynamic data processing unit, judging whether the area with distributed power access will affect the line loss of the distribution network includes: monthly statistics of the distributed power return power situation, and the specific calculation is as follows:

[0086]

[0087] i∈{1,2,...,N}#(2)

[0088] {t∈N|1≤t≤31}#(3)

[0089] {j∈N|1≤j≤24}#(4)

[0090] In the above formula (1), PGFS itj It indicates the value of photovoltaic power generation in the distribution area corresponding to distribution transformer i at time j on day t of the month that cannot be consumed locally and is sent back to the distribution network; PGFD itj It represents the total photovoltaic power generation of the distribution transformer i corresponding to the area at the time j on the tth day of the month; PFH itj represents the load demand of the distribution area corresponding to the distribution transformer i at the time j on the tth day of the month. Formulas (2)-(4) represent the value ranges of the subscripts i, t, and j respectively.

[0091] As a further specific technical solution, in the dynamic data processing unit, the influence of the volatility of the distributed power source on the line loss calculation is reduced by data processing, including:

[0092] (1) Calculate the average value of the amount of electricity returned by the distributed generation at the same time every day of the month, as follows:

[0093]

[0094] In the above formula (5), PPGFS ij It represents the monthly average photovoltaic return power of the distribution area corresponding to distribution transformer i at time j;

[0095] (3) Using PPGFS ij The value of represents the value of the amount of electricity returned by all distribution transformers in the corresponding areas at time j in the daily line loss calculation.

[0096] As a further specific technical solution, the main component conversion subunit also includes the conversion of operation data:

[0097] (1) After the head-end outgoing line is equivalent to a balancing node, the balancing node needs to add the voltage operation data of the head-end outgoing line;

[0098] (2) After the loss-ignoring distribution transformer is equivalent to a combination of a virtual busbar and a load, the load needs to add the power factor data of the distribution transformer, using PF bj It is expressed as follows:

[0099]

[0100] Among them, P is , Q is They represent the active power and reactive power of the ith distribution transformer without loss respectively;

[0101] (3) After the loss distribution transformer is equivalent to a combination structure consisting of two coils, virtual jumper wires on both sides and load, the load needs to add the power factor data of the distribution transformer, using PF j It is expressed as follows:

[0102]

[0103] Among them, P is ', Q is 'represent the active power and reactive power of the i-th loss distribution transformer respectively;

[0104] (4) After the distributed generation is equivalent to a combination structure consisting of a virtual bus and a generator, the generator needs to add the power factor data of the distributed generation, using PF fj It is expressed as follows:

[0105]

[0106] Among them, P is ”, Q is ” represent the active power and reactive power of the ith distributed generation respectively.

[0107] As a further specific technical solution, the steps performed by the power flow calculation module specifically include:

[0108] The basic equation for the power flow calculation problem is established as

[0109]

[0110] Among them, P i is the active power injected into the ith node, Q i is the reactive power injected into the ith node, Y ij is the node admittance matrix element, is the node voltage column vector element;

[0111] For a PQ node, the node power P is known. is , Q is , then the corresponding equation is

[0112]

[0113] For a PV node, the node power P is known. is 、V is , then the corresponding equation is

[0114]

[0115] The general form of the power flow equation is constructed by combining equations (19) to (20).

[0116]

[0117] If there is X * , so that Y(X * )=0, then X * is the solution of equation (21);

[0118] Introducing the parameter t in equation (21), we construct a family of images: Z(X,t) such that when t = 1, Z is Y, and when t = 0, the solution of the equation Y0(X) = 0 is X 0 ; That is, the solution X defined as Z(X,0)=Y0(X), where Y0(X)=0 0 As the initial value is known, the equation Z(X,1)=0 is equivalent to the original nonlinear equation (21), so we only need to calculate the following equivalent equation:

[0119] Z(X,t)=0,t∈[0,1] (22)

[0120] The equivalent equation is not unique, so it is assumed to be:

[0121] Z(X,t)=Y(X)-(1-t)Y(X 0 ) (twenty three)

[0122] If Y'(X) is continuous and non-singular, and equation (23) has a unique solution x = x(t) that satisfies X(0) = X 0 , and X * =X(1) is the solution of equation (21). Therefore, solving equation (23) is equivalent to solving the initial value problem of the following Davidenko differential equation:

[0123]

[0124] Where M(X)=Y'(X) is M(θ,V) in formula (21), and the curve formed by the solution X=X(t) in formula (24) is called a homotopy curve. The homotopy curve in formula (21) is calculated using the midpoint integral formula, and its calculation formula is:

[0125]

[0126] N in the formula represents the number of segments of t, from which the step size h = 1 / N is obtained. Since the homotopy curve X = X(t) is close to a straight line, any numerical integration method of order 2 is used to solve it;

[0127] If the initial value calculated by formula (25) cannot meet the convergence requirements of Newton-Raphson, the number of segments N is increased until the convergence requirements of Newton-Raphson are met. A variable step size is used to shorten the calculation time. The variable step size means that the system will adjust the size of the time step according to the needs, and at the same time improve the accuracy of the homotopy curve as a whole. If a certain segment value is taken, it is calculated using formula (25), and then the Newton-Raphson calculation formula (26) is used to expand the calculation. If the obtained ||x N+1 -x N || is small enough, or satisfies ||x k+1 -x k ||<|x k -x k-1 ||Just think X N is a good enough initial value for the Newton-Raphson iteration, otherwise X N Assume it as the initial value, and repeat the calculation of formula (25) to calculate the new X N ,

[0128] X k+1 =x k -[M(x k )] -1 Y(X) k ,K=N,N+1,... (26)

[0129] When performing equation (24) to find the homotopy curve, the initial value is given, and x 0 =[0,1] T , in some cases it appears as M(X 0 ) is strange and M(X * ) is non-singular, which makes the calculation process impossible, or M(X k ) Strange, in fact, when X 0 With X * On the surface det(Z X )=0, if we connect X 0 With X * The homotopy curve C exists, Z XThere must be singular points on C, especially when a line in the power system is overloaded or near the stability boundary, the homotopy curve has singular points. To prevent this, the homotopy equation with parameters is used:

[0130] Z[x,t,α,x 0 ]=Y(x)-(1-t 3 )α(xx 0 ) (27)

[0131] Where α is a parameter matrix, and its value changes automatically according to whether M(X) is singular or not. For any x 0 ∈R, let α be determined, and the constructed homotopy equation, i.e., equation (27), satisfies the condition Z(x 0 ,0)=0, Z(x,1)=Y(X), so the solution when Z(x,1)=0 is the solution of the original equation (21);

[0132] The method for solving equation (27) is unified as solving the following initial value problem of Davidenko differential equation, which can be written as:

[0133]

[0134] The calculation method is the same as formula (25).

[0135] The advantages of the present invention are:

[0136] 1. The present invention deeply analyzes the operating status and topological structure of the distribution network and comprehensively considers it with the operating characteristics of the transmission network, establishes a new equivalent model of the main components of the distribution network-transmission network, and carries out Newton-Raphson method calculation based on the equivalent model. Compared with the traditional equivalent resistance method and average current method, the method proposed in the present invention has higher calculation accuracy and can more accurately reflect the line loss level of the distribution network.

[0137] 2. In view of the problem that when distributed power sources are connected, the power generation of distributed power sources is greatly affected by the environment, resulting in large fluctuations and difficult to accurately calculate the line loss of the distribution network, the present invention adopts data averaging technology to effectively smooth the fluctuations of the output of distributed power sources and more accurately calculate the line loss of the distribution network when distributed power sources are connected.

[0138] 3. Due to the large R / X ratio of the distribution network components, directly using the Newton-Raphson method to carry out power flow calculation may lead to the problem of non-convergence. At the same time, the grid connection of the distributed power grid will change the voltage distribution of the distribution network, further weakening the convergence of its power flow calculation. Therefore, the present invention proposes an improved power flow algorithm to solve the nonlinear equations, which can effectively solve the problem of the difficulty in convergence of the power flow calculation of the distributed power generation connected to the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS

[0139] Figure 1 It is an overall flow chart of a method for calculating equivalent line loss of a distribution network taking into account distributed power sources of the present invention;

[0140] Figure 2 is the model diagram reconstructed in the model reconstruction step of the present invention; DETAILED DESCRIPTION

[0141] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0142] See also Figure 1 The present invention provides a method for calculating line loss based on distribution network equivalence, comprising the following steps:

[0143] S1. Get source data

[0144] Based on the source system, the source data of the distribution network is obtained, including static data such as equipment information, equipment parameter information, and topology wiring information, as well as dynamic data such as voltage, active power, and reactive power of each load node of the distributed power source;

[0145] S2. Data processing, including:

[0146] S21. Processing of dynamic data

[0147] For distributed power sources, when the electricity generated by them can be consumed locally, it will not affect the line loss of the distribution network; on the contrary, when the electricity generated by them cannot be consumed locally, it will be returned to the distribution network, thereby increasing the line loss of the distribution network. In addition, the main component of distributed power sources in the distribution network is photovoltaic power generation, which is highly volatile due to environmental influences. Therefore, in order to more accurately calculate the line loss of the distribution network, the processing of distributed power supply operation data is divided into two aspects: one is to accurately determine whether it will affect the line loss of the distribution network, and the other is to reduce the impact of its volatility on the line loss calculation through data processing, as follows:

[0148] S211. Accurately determine whether the area with distributed power supply will affect the line loss of the distribution network. The amount of electricity returned by distributed power supply is counted by area on a monthly basis. The specific calculation is as follows:

[0149]

[0150] i∈{1,2,...,N}#(2)

[0151] {t∈N|1≤t≤31}#(3)

[0152] {j∈N|1≤j≤24}#(4)

[0153] In the above formula (1), PGFS itj It indicates the value of photovoltaic power generation in the distribution area corresponding to distribution transformer i at time j on day t of the month that cannot be consumed locally and is sent back to the distribution network; PGFD itj It represents the total photovoltaic power generation of the distribution transformer i corresponding to the area at the time j on the tth day of the month; PFH itt It represents the load demand of the distribution transformer i at the time j on the tth day of the month. Formulas (2)-(4) respectively represent the value range of the subscripts i, t, and j. From the above formula (1), it can be accurately judged whether the distribution area with distributed generation access will affect the distribution network line loss, and the specific data of the impact can be calculated. ijj ;

[0154] S212. Reduce the impact of the volatility of distributed power sources on line loss calculation by means of data processing. Including:

[0155] (1) Calculate the average value of the amount of electricity returned by the distributed generation at the same time every day of the month, as follows:

[0156]

[0157] In the above formula (5), PPGFS ij It represents the monthly average photovoltaic return power of the distribution area corresponding to distribution transformer i at time j;

[0158] (2) Using PPGFS ij The value of represents the value of the returned electricity at time j in the corresponding area of ​​all distribution transformers in the daily line loss calculation. The data averaging technology can effectively smooth the volatility of the distributed power output, thus laying the foundation for a more accurate calculation of the distribution network line loss when distributed power is connected.

[0159] S22. Processing of static data, specifically including:

[0160] S221. Topological analysis of static data

[0161] Analyze the topological wiring diagram of the distribution network, including the connection methods of all nodes and lines, as well as possible loops and network branches, to provide business logic support for subsequent model reconstruction;

[0162] S222, main component conversion

[0163] In order to calculate the line loss of the target distribution network using the Newton-Raphson power flow algorithm, it is necessary to establish the conversion relationship between the main components of the distribution network and the transmission network, as follows:

[0164] (1) Conversion of the outgoing line at the head end: The power flow algorithm requires that the grid structure must contain a balancing node. Therefore, the outgoing line at the head end of the distribution network is equivalent to a combination structure consisting of a virtual bus and a balancing node. At the same time, impedance equivalence, current injection, and power injection should be carried out. The parameters of the components after conversion should be consistent with those before conversion.

[0165] (2) Distributing transformer conversion without loss: usually refers to the distribution transformer without loss calculation. The loss of such equipment is not considered in the distribution network, so it is equivalent to a combination structure consisting of a virtual bus and a load. Similar to the above step (1), the component parameters before and after the conversion should be consistent.

[0166] (3) Loss-counting distribution transformer conversion: usually refers to public transformers. In contrast to step (2), this type of equipment considers the calculated losses of distribution transformers in the distribution network, so it is equivalent to a combination structure consisting of two transformers, virtual jumper wires on both sides and loads. Through this structure, the loss of each distribution transformer can be calculated. Similarly, the component parameters before and after the conversion should be consistent;

[0167] (4) Distributed power conversion, which is equivalent to a combination of a virtual bus and a generator. It should be noted that this step requires the determination of PPGFS before conversion. ij Whether the value is greater than 0, conversion is required only when it is greater than 0. In addition, the component parameters before and after the conversion should also be consistent.

[0168] Run the data transformation:

[0169] (1) After the head-end outgoing line is equivalent to a balancing node, the balancing node needs to add the voltage operation data of the head-end outgoing line.

[0170] (2) After the loss-ignoring distribution transformer is equivalent to a combination of a virtual busbar and a load, the load needs to add the power factor data of the distribution transformer, using PF bj It is expressed as follows:

[0171]

[0172] Among them, P is , Q is They respectively represent the active power and reactive power of the i-th distribution transformer without loss.

[0173] (3) After the loss distribution transformer is equivalent to a combination structure consisting of two coils, virtual jumper wires on both sides and load, the load needs to add the power factor data of the distribution transformer, using PF j It is expressed as follows:

[0174]

[0175] Among them, P is ', Q is 'represent the active power and reactive power of the i-th loss distribution transformer respectively.

[0176] (4) After the distributed generation is equivalent to a combination structure consisting of a virtual bus and a generator, the generator needs to add the power factor data of the distributed generation, using PF fj It is expressed as follows:

[0177]

[0178] Among them, P is ”, Q is ” represent the active power and reactive power of the ith distributed generation respectively.

[0179] S223, Model Reconstruction

[0180] According to the distribution network topology analysis result in step S221 and the component conversion result in step S222, the distribution network model is reconstructed. The reconstructed model is as follows: Figure 2 As shown;

[0181] Step S3: Power flow calculation

[0182] The power system flow calculation is a calculation that studies the steady-state operation of the power system. It determines the operating status of each part of the entire power system based on given operating conditions, system topology, and component parameters: the voltage of each bus, the power flowing through each component, the power loss of the system, etc. In the planning and design of the power system and the study of the operation mode of the existing power system, it is necessary to use flow calculation to quantitatively analyze and compare the rationality, reliability and economy of the power supply scheme or operation mode. It should be noted that there are no nodes required for flow calculation in the distribution network. The balancing node here is the equivalent node of the head-end outgoing line, and the other nodes are the equivalent nodes of the distributed power source. The conversion of other main components refers to step S222.

[0183] First, assume that the number of equivalent nodes in the distribution network is n, where the number of PV nodes is n1 and the number of PQ nodes is n2. Define the following node set:

[0184]

[0185] The mathematical model of the power network uses the following node voltage equation

[0186] I=YV (9)

[0187] Its expansion formula is

[0188]

[0189] In the formula, Y, Y ij are the node admittance matrices and their corresponding elements, Y ij =G ij +jB ij ;;I. are the node net injected current column vector and its corresponding elements respectively; V, are the node voltage column vectors and their corresponding elements respectively; n is the number of nodes in the power system.

[0190] In actual power systems, the known node injection quantity is often not the node current but the node power. The node current can be expressed as

[0191]

[0192] Among them, P i is the active power injected into the ith node, Q i is the reactive power injected into the ith node. Substituting the above equation into equation (10), we get

[0193]

[0194] This is the most basic equation for power flow calculation, which is a set of nonlinear algebraic equations with node voltage V as a variable. Separating the real and imaginary parts of this complex equation will give two real equations. Depending on the coordinate form used for the node voltage, the power flow equation obtained after separating the real and imaginary parts also has two forms, namely rectangular coordinate form and polar coordinate form.

[0195] (1) Flow equation in rectangular coordinate form

[0196] If the voltage phasor of each node is expressed in the form of rectangular coordinates

[0197]

[0198] Then the equation (10) can be obtained by separating the real and imaginary parts:

[0199]

[0200] In formula (14), “jεi” represents the node j associated with the node i.

[0201] For the PQ node, it is known that the active and reactive powers of the distribution transformer node without loss are P is , Q is , the active and reactive power of the distribution transformer node are P is ', Q is ', the active and reactive power of distributed generation are P is ”, Q is ", then the corresponding equation is

[0202]

[0203] Formula (15) represents the PQ node equation of the distribution transformer without loss. is , Q is Replace with P is ', Q is ', which can be expressed as the PQ node equation of the loss distribution transformer; when P in the formula is , Q is Replace with P is ”, Q is ", which can represent the distributed photovoltaic PQ node equation.

[0204] It should be noted that not all distributed power sources can provide reactive power. For distributed power sources that can provide reactive power, the magnitude of reactive power and active power can be obtained by adjusting the power factor. For distributed power sources that cannot provide reactive power, the magnitude of reactive power is zero.

[0205] For the PV node, it is known that the active power and voltage of the distribution transformer node are P respectively, ignoring the loss. is 、V is , the active power and voltage of the distribution transformer node are P is '、V is ', then the corresponding equation is

[0206]

[0207] Formula (16) represents the PV node equation of the distribution transformer without loss. is 、V is Replace with P is '、V is ', which can be expressed as the PV node equation of the loss distribution transformer; when P in the formula is 、V is Replace with P is ”、V is ", which can represent the distributed power PV node equation.

[0208] For a system with n nodes, there are 2(n-1) equations in total.

[0209] (2) Tidal flow equation in polar coordinate form

[0210] If the voltage phasor of each node is expressed in the form of polar coordinates

[0211]

[0212] Then (10) is obtained by separating the real and imaginary parts

[0213]

[0214] For a PQ node, the node power P is known. is , Q is , then the corresponding equation is

[0215]

[0216] For a PV node, the node power P is known. is 、V is , then the corresponding equation is

[0217]

[0218] The problem of power flow calculation is to solve the nonlinear equations of equations (13) to (14) (in rectangular coordinate form) or equations (19) to (20) (in polar coordinate form).

[0219] Considering the large R / X ratio of distribution network components, directly using Newton-Raphson to perform power flow calculation may lead to non-convergence problems. At the same time, the connection of distributed power grids will change the voltage distribution of the distribution network, further weakening the convergence of its power flow calculation. Therefore, this proposal proposes an improved power flow algorithm to solve the nonlinear equations. The following is the detailed process of solving equations (19) to (20):

[0220] The general form of the power flow equation is constructed by combining equations (19) to (20).

[0221]

[0222] If there is X * , so that Y(X * )=0, then X * It is the solution of equation (21).

[0223] Introducing the parameter t in equation (21), we construct a family of images: Z(X,t) such that when t = 1, Z is Y, and when t = 0, the solution of the equation Y0(X) = 0 is X 0; That is, the solution X defined as Z(X,0)=Y0(X), where Y0(X)=0 0 As the initial value is known, the equation Z(X,1)=0 is equivalent to the original nonlinear equation (21), so we only need to calculate the following equivalent equation:

[0224] Z(X,t)=0,t∈[0,1] (22)

[0225] The equivalent equation is not unique and can be assumed to be:

[0226] Z(X,t)=Y(X)-(1-t)Y(X 0 ) (twenty three)

[0227] If Y'(X) is continuous and non-singular, and equation (23) has a unique solution x = x(t) that satisfies X(0) = X 0 , and X * =X(1) is the solution of equation (21). It follows that solving equation (23) is equivalent to solving the following initial value problem of Davidenko differential equation.

[0228]

[0229] Where M(X)=Y'(X) is M(θ,V) in formula (21). The curve formed by the solution X=X(t) in formula (24) is called a homotopy curve. The homotopy curve in formula (21) can be calculated using the midpoint integral formula, which can ensure the calculation accuracy and reduce the amount of calculation. The calculation formula is:

[0230]

[0231] The N in the formula represents the number of segments of t, from which we can derive the step length h=1 / N.

[0232] Since the homotopy curve X=X(t) is close to a straight line, any numerical integration method of order 2, such as the Runge-Kutta method, can be used to solve it.

[0233] After solving X(1), it is generally impossible to obtain the exact X *, but if it enters the convergence domain of Newton-Raphson, it can be accurately obtained using Newton-Raphson. If the initial value calculated by formula (25) cannot meet the convergence requirements of Newton-Raphson, the number of segments N can be increased until the convergence requirements of Newton-Raphson are met, so the selection of the number of segments in the calculation is particularly important. Theoretically, it can be proved that the value of N that meets the convergence requirements, but the calculation process is time-consuming. In order to solve this problem, it is necessary to use a variable step size to shorten the calculation time. The variable step size means that the system will adjust the size of the time step according to the needs, and at the same time improve the accuracy of the homology curve as a whole. If a certain segment value is taken, it can be calculated using formula (25), and then the Newton-Raphson calculation formula (26) is used to expand the calculation. If the obtained ||x N+1 -x N || is small enough, or satisfies ||x k+1 -x k ||<|x k -x k-1 || then we can assume that X N is a good enough initial value for the Newton-Raphson iteration, otherwise X N Assume it as the initial value, and repeat the calculation of formula (25) to calculate the new X N .

[0234] X k+1 =x k -[M(x k )] -1 Y(X) k ,K=N,N+1,... (26)

[0235] When performing equation (24) to find the homotopy curve, the initial value is given and is generally taken as x 0 =[0,1] T , in some cases it may appear as M(X 0 ) is strange and M(X * ) is non-singular, which makes the calculation process impossible. Or when calculating the homotopy curve, M(X k ) Strange, in fact, when X 0 With X * On the surface det(Z X )=0, if we connect X 0 With X * The homotopy curve C exists, Z X There must be singular points on C, especially when a line in the power system is running under heavy load or near the stability boundary, the homotopy curve may have singular points. To prevent this situation, the homotopy equation with parameters is used.

[0236] Z[x,t,α,x 0 ]=Y(x)-(1-t 3)α(xx 0 ) (27)

[0237] Where α is a parameter matrix, and its value can be automatically changed according to whether M(X) is singular or not. 0 ∈R, let α be determined, and the constructed homotopy equation, i.e., equation (27), satisfies the condition Z(x 0 ,0)=0, Z(x,1)=Y(X). Therefore, the solution when Z(x,1)=0 is the solution of the original equation (21).

[0238] The method for solving equation (27) is unified as solving the following initial value problem of Davidenko differential equation, which can be written as:

[0239]

[0240] The calculation method is the same as formula (25).

[0241] Step S4: Result output

[0242] Output the line loss calculation results of the target distribution network.

[0243] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for calculating equivalent line loss of distribution network taking into account distributed power sources, Features: The steps include: S1. Obtain source data, and obtain distribution network source data based on the source system; S2. Data processing, including: S21. Processing of dynamic data, including determining whether the area with distributed power generation access will affect the line loss of the distribution network, and reducing the impact of its volatility on the line loss calculation through data processing; S22. Processing of static data, specifically including: S221, performing topological analysis on static data; S222. Main component conversion to establish the main component conversion relationship between the distribution network and the transmission network, as follows: (1) Head-end outgoing line conversion: The head-end outgoing line of the distribution network is equivalent to a combination structure consisting of a virtual bus and a balancing node. Impedance equivalence, current injection, and power injection are performed at the same time. The parameters of the components after conversion should be consistent with those before conversion. (2) Distributing transformer conversion without loss: refers to the distribution transformer without loss calculation, which is equivalent to a combination structure consisting of a virtual bus and a load. The component parameters before and after the conversion should be consistent; (3) Loss-calculating distribution transformer conversion: refers to the public transformer, which is equivalent to a combination structure consisting of two coil transformers, virtual jumper wires on both sides and load. The loss of each distribution transformer is calculated through this structure. The component parameters before and after the conversion should be consistent; (4) Distributed power conversion, which is equivalent to a combination of a virtual bus and a generator. Before the conversion, it is necessary to determine the monthly average photovoltaic return power PPGFS of the distribution transformer i corresponding to the substation at time j. ij Is the value greater than 0? Conversion is required only when it is greater than 0. The component parameters before and after the conversion should be consistent. S223, model reconstruction, reconstructing the distribution network model according to the distribution network topology analysis result in step S221 and the main component conversion result in step S222; Step S3: flow calculation: using the Newton-Raphson algorithm to perform flow calculation based on the reconstructed distribution network model; Step S4: Output the result, and output the line loss calculation result of the target distribution network.

2. A method for calculating equivalent line loss of a distribution network taking into account distributed power sources as claimed in claim 1, Features: In step S21, judging whether the area with distributed power supply access will affect the line loss of the distribution network includes: monthly statistics of the amount of electricity returned by the distributed power supply area, and the specific calculation is as follows: i∈{1,2,...,N}#(2) {t∈N|1≤t≤31}#(3) {j∈N|1≤j≤24}#(4) In the above formula (1), PGFS itj It indicates the value of photovoltaic power generation in the distribution area corresponding to distribution transformer i at time j on day t of the month that cannot be consumed locally and is sent back to the distribution network; PGFD itj It represents the total photovoltaic power generation of the distribution transformer i corresponding to the area at the jth time on the tth day of the month; PFH itj represents the load demand of the distribution transformer i at the time j on the tth day of the month. Formulas (2) to (4) represent the value ranges of subscripts i, t, and j respectively.

3. A method for calculating equivalent line loss of a distribution network taking into account distributed power sources as claimed in claim 2, Features: In step S21, the influence of the volatility of the distributed power source on the line loss calculation is reduced by data processing, including: (1) Calculate the average value of the amount of electricity returned by the distributed generation at the same time every day of the month, as follows: In the above formula (5), PPGFS ij It represents the monthly average photovoltaic return power of the distribution area corresponding to distribution transformer i at time j; (4) Using PPGFS ij The value of represents the value of the amount of electricity returned by all distribution transformers in the corresponding areas at time j in the daily line loss calculation.

4. A method for calculating equivalent line loss of a distribution network taking into account distributed power sources as claimed in claim 1, Features: Step S222: The conversion of the main components also includes the conversion of the operating data: (1) After the head-end outgoing line is equivalent to a balancing node, the balancing node needs to add the voltage operation data of the head-end outgoing line; (2) After the loss-ignoring distribution transformer is equivalent to a combination of a virtual busbar and a load, the load needs to add the power factor data of the distribution transformer, using PF bj It is expressed as follows: Among them, P is , Q is They represent the active power and reactive power of the ith distribution transformer without loss respectively; (3) After the loss distribution transformer is equivalent to a combination structure consisting of two coils, virtual jumper wires on both sides and load, the load needs to add the power factor data of the distribution transformer, using PF j It is expressed as follows: Among them, P is ', Q is 'represent the active power and reactive power of the i-th loss distribution transformer respectively; (4) After the distributed generation is equivalent to a combination structure consisting of a virtual bus and a generator, the generator needs to add the power factor data of the distributed generation, using PF fj It is expressed as follows: Among them, P is ”, Q is ” represent the active power and reactive power of the ith distributed generation respectively.

5. A method for calculating equivalent line loss of a distribution network taking into account distributed power sources as claimed in claim 4, Features: Step S3, power flow calculation specifically includes: The basic equation for the power flow calculation problem is established as Among them, P i is the active power injected into the ith node, Q i is the reactive power injected into the ith node, Y ij is the node admittance matrix element, is the node voltage column vector element; For a PQ node, the node power P is known. is , Q is , then the corresponding equation is For a PV node, the node power P is known. is 、V is , then the corresponding equation is The general form of the power flow equation is constructed by combining equations (19) to (20). If there is X * , so that Y(X * )=0, then X * is the solution of equation (21); Introducing the parameter t in equation (21), we construct a family of images: Z(X,t) such that when t = 1, Z is Y, and when t = 0, we get the equation Y 0 The solution of (X)=0 is X 0 ; That is, it is defined as Z(X,0)=Y 0 (X), where Y 0 The solution X of (X)=0 0 As the initial value is known, the equation Z(X,1)=0 is equivalent to the original nonlinear equation (21), so we only need to calculate the following equivalent equation: Z(X,t)=0,t∈[0,1] (22) The equivalent equation is not unique, so it is assumed to be: Z(X,t)=Y(X)-(1-t)Y(X 0 ) (23) If Y'(X) is continuous and non-singular, and equation (23) has a unique solution x = x(t) that satisfies X(0) = X 0 , and X * =X(1) is the solution of equation (21). Therefore, solving equation (23) is equivalent to solving the initial value problem of the following Davidenko differential equation: Where M(X)=Y'(X) is M(θ,V) in formula (21), and the curve formed by the solution X=X(t) in formula (24) is called a homotopy curve. The homotopy curve in formula (21) is calculated using the midpoint integral formula, and its calculation formula is: N in the formula represents the number of segments of t, from which the step size h = 1 / N is obtained. Since the homotopy curve X = X(t) is close to a straight line, any numerical integration method of order 2 is used to solve it; If the initial value calculated by formula (25) cannot meet the convergence requirements of Newton-Raphson, the number of segments N is increased until the convergence requirements of Newton-Raphson are met. A variable step size is used to shorten the calculation time. The variable step size means that the system will adjust the size of the time step according to the needs, and at the same time improve the accuracy of the homotopy curve as a whole. If a certain segment value is taken, it is calculated using formula (25), and then the Newton-Raphson calculation formula (26) is used to expand the calculation. If the obtained ||x N+1 -x N || is small enough, or satisfies ||x k+1 -x k ||<|x k -x k-1 ||Just think X N is a good enough initial value for the Newton-Raphson iteration, otherwise X N Assume it as the initial value, and repeat the calculation of formula (25) to calculate the new X N , X k+1 =x k -[M(x k )] -1 Y(X) k ,K=N,N+1,... (26) When performing equation (24) to find the homotopy curve, the initial value is given, and x 0 =[0,1] T , in some cases it appears as M(X 0 ) is strange and M(X * ) is non-singular, which makes the calculation process impossible, or M(X k ) Strange, in fact, when X 0 With X * On the surface det(Z X )=0, if we connect X 0 With X * The homotopy curve C exists, Z X There must be singular points on C, especially when a line in the power system is overloaded or near the stability boundary, the homotopy curve has singular points. To prevent this, the homotopy equation with parameters is used: Z[x,t,α,x 0 ]=Y(x)-(1-t 3 )α(x-x 0 ) (27) Where α is a parameter matrix, and its value changes automatically according to whether M(X) is singular or not. For any x 0 ∈R, let α be determined, and the constructed homotopy equation, i.e., equation (27), satisfies the condition Z(x 0 ,0)=0, Z(x,1)=Y(X), so the solution when Z(x,1)=0 is the solution of the original equation (21); The method for solving equation (27) is unified as solving the following initial value problem of Davidenko differential equation, which can be written as: The calculation method is the same as formula (25).

6. A distribution network equivalent line loss calculation system taking into account distributed power sources, Features: Includes the following modules: A source data acquisition module is used to acquire distribution network source data based on a source system; Data processing module, including: The dynamic data processing unit performs the following steps: determining whether the distribution area with distributed power generation access will affect the line loss of the distribution network, and reducing the impact of its volatility on the line loss calculation by means of data processing; The static data processing unit includes: A static data topology analysis subunit, used for performing topology analysis on static data; The main component conversion subunit is used to establish the distribution network-transmission network main component conversion relationship. The specific execution steps are as follows: (1) Head-end outgoing line conversion: The head-end outgoing line of the distribution network is equivalent to a combination structure consisting of a virtual bus and a balancing node. Impedance equivalence, current injection, and power injection are performed at the same time. The parameters of the components after conversion should be consistent with those before conversion. (2) Distributing transformer conversion without loss: refers to the distribution transformer without loss calculation, which is equivalent to a combination structure consisting of a virtual bus and a load. The component parameters before and after the conversion should be consistent; (3) Loss-calculating distribution transformer conversion: refers to the public transformer, which is equivalent to a combination structure consisting of two coil transformers, virtual jumper wires on both sides and load. The loss of each distribution transformer is calculated through this structure. The component parameters before and after the conversion should be consistent; (4) Distributed power conversion, which is equivalent to a combination of a virtual bus and a generator. Before the conversion, it is necessary to determine the monthly average photovoltaic return power PPGFS of the distribution transformer i corresponding to the substation at time j. ij Is the value greater than 0? Conversion is required only when it is greater than 0. The component parameters before and after the conversion should be consistent. A model reconstruction module reconstructs the distribution network model according to the distribution network topology analysis results in the static data topology analysis subunit and the main component conversion results in the main component conversion subunit; The power flow calculation module is used to perform power flow calculation based on the reconstructed distribution network model using the Newton-Raphson algorithm; The result output module is used to output the line loss calculation results of the target distribution network.

7. A distribution network equivalent line loss calculation system taking into account distributed power sources as claimed in claim 6, Features: In the dynamic data processing unit, judging whether the area with distributed power supply access will affect the line loss of the distribution network includes: monthly statistics of the distributed power supply return power supply, the specific calculation is as follows: i∈{1,2,...,N}#(2) {t∈N|1≤t≤31}#(3) {j∈N|1≤j≤24}#(4) In the above formula (1), PGFS itj It indicates the value of photovoltaic power generation in the distribution area corresponding to distribution transformer i at time j on day t of the month that cannot be consumed locally and is sent back to the distribution network; PGFD itj It represents the total photovoltaic power generation of the distribution transformer i corresponding to the area at the jth time on the tth day of the month; PFH itj represents the load demand of the distribution transformer i at the time j on the tth day of the month. Formulas (2) to (4) represent the value ranges of subscripts i, t, and j respectively.

8. A distribution network equivalent line loss calculation system taking into account distributed power sources as claimed in claim 6, Features: In the dynamic data processing unit, the influence of the volatility of the distributed power source on the line loss calculation is reduced by data processing, including: (1) Calculate the average value of the amount of electricity returned by the distributed generation at the same time every day of the month, as follows: In the above formula (5), PPGFS ij It represents the monthly average photovoltaic return power of the distribution area corresponding to distribution transformer i at time j; (5) Using PPGFS ij The value of represents the value of the amount of electricity returned by all distribution transformers in the corresponding areas at time j in the daily line loss calculation.

9. A distribution network equivalent line loss calculation system taking into account distributed power sources as claimed in claim 6, Features: The main component conversion subunit also includes the conversion of operating data: (1) After the head-end outgoing line is equivalent to a balancing node, the balancing node needs to add the voltage operation data of the head-end outgoing line; (2) After the loss-ignoring distribution transformer is equivalent to a combination of a virtual busbar and a load, the load needs to add the power factor data of the distribution transformer, using PF bj It is expressed as follows: Among them, P is , Q is They represent the active power and reactive power of the ith distribution transformer without loss respectively; (3) After the loss distribution transformer is equivalent to a combination structure consisting of two coils, virtual jumper wires on both sides and load, the load needs to add the power factor data of the distribution transformer, using PF j It is expressed as follows: Among them, P is ', Q is 'represent the active power and reactive power of the i-th loss distribution transformer respectively; (4) After the distributed generation is equivalent to a combination structure consisting of a virtual bus and a generator, the generator needs to add the power factor data of the distributed generation, using PF fj It is expressed as follows: Among them, P is ”, Q is ” represent the active power and reactive power of the ith distributed generation respectively.

10. A distribution network equivalent line loss calculation system taking into account distributed power sources as claimed in claim 9, Features: The steps performed by the power flow calculation module specifically include: The basic equation for the power flow calculation problem is established as Among them, P i is the active power injected into the ith node, Q i is the reactive power injected into the ith node, Y ij is the node admittance matrix element, is the node voltage column vector element; For a PQ node, the node power P is known. is , Q is , then the corresponding equation is For a PV node, the node power P is known. is 、V is , then the corresponding equation is The general form of the power flow equation is constructed by combining equations (19) to (20). If there is X * , so that Y(X * )=0, then X * is the solution of equation (21); Introducing the parameter t in equation (21), we construct a family of images: Z(X,t) such that when t = 1, Z is Y, and when t = 0, we get the equation Y 0 The solution of (X)=0 is X 0 ; That is, it is defined as Z(X,0)=Y 0 (X), where Y 0 The solution X of (X)=0 0 As the initial value is known, the equation Z(X,1)=0 is equivalent to the original nonlinear equation (21), so we only need to calculate the following equivalent equation: Z(X,t)=0,t∈[0,1] (22) The equivalent equation is not unique, so it is assumed to be: Z(X,t)=Y(X)-(1-t)Y(X 0 ) (23) If Y'(X) is continuous and non-singular, and equation (23) has a unique solution x = x(t) that satisfies X(0) = X 0 , and X * =X(1) is the solution of equation (21). Therefore, solving equation (23) is equivalent to solving the initial value problem of the following Davidenko differential equation: Where M(X)=Y'(X) is M(θ,V) in formula (21), and the curve formed by the solution X=X(t) in formula (24) is called a homotopy curve. The homotopy curve in formula (21) is calculated using the midpoint integral formula, and its calculation formula is: N in the formula represents the number of segments of t, from which the step size h = 1 / N is obtained. Since the homotopy curve X = X(t) is close to a straight line, any numerical integration method of order 2 is used to solve it; If the initial value calculated by formula (25) cannot meet the convergence requirements of Newton-Raphson, the number of segments N is increased until the convergence requirements of Newton-Raphson are met. A variable step size is used to shorten the calculation time. The variable step size means that the system will adjust the size of the time step according to the needs, and at the same time improve the accuracy of the homotopy curve as a whole. If a certain segment value is taken, it is calculated using formula (25), and then the Newton-Raphson calculation formula (26) is used to expand the calculation. If the obtained ||x N+1 -x N || is small enough, or satisfies ||x k+1 -x k ||<|x k -x k-1 ||Just think X N is a good enough initial value for the Newton-Raphson iteration, otherwise X N Assume it as the initial value, and repeat the calculation of formula (25) to calculate the new X N , X k+1 =x k -[M(x k )] -1 Y(X) k ,K=N,N+1,... (26) When performing equation (24) to find the homotopy curve, the initial value is given, and x 0 =[0,1] T , in some cases it appears as M(X 0 ) is strange and M(X * ) is non-singular, which makes the calculation process impossible, or M(X k ) Strange, in fact, when X 0 With X * On the surface det(Z X )=0, if we connect X 0 With X * The homotopy curve C exists, Z X There must be singular points on C, especially when a line in the power system is overloaded or near the stability boundary, the homotopy curve has singular points. To prevent this, the homotopy equation with parameters is used: Z[x,t,α,x 0 ]=Y(x)-(1-t 3 )α(x-x 0 ) (27) Where α is a parameter matrix, and its value changes automatically according to whether M(X) is singular or not. For any x 0 ∈R, let α be determined, and the constructed homotopy equation, i.e., equation (27), satisfies the condition Z(x 0 ,0)=0, Z(x,1)=Y(X), so the solution when Z(x,1)=0 is the solution of the original equation (21); The method for solving equation (27) is unified as solving the following initial value problem of Davidenko differential equation, which can be written as: The calculation method is the same as formula (25).

Citation Information

Patent Citations

  • Method for assessing risk and reliability of power distribution network

    CN104715423A

  • Bus load prediction accuracy analysis method and device and computer equipment

    CN112465266A

  • Power distribution network topology identification and line loss calculation method based on basis tracking algorithm

    CN114759548A

  • Power network system, and power adjustment apparatus and method

    US20160134109A1