A multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution networks

By adopting a multi-stage voltage control method of distributed photovoltaic participating in reactive optimization of distribution networks in the distribution network, using linear decreasing weighted particle swarm algorithm and multi-stage voltage response control, the voltage is solved and the voltage is realized Quality improvement and cost savings.

CN115411743BInactive Publication Date: 2024-11-26WUHAN UNIV +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211144416.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-20
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Changes in the single power supply structure of traditional distribution networks lead to the inverted power supply of large-scale distributed photovoltaics to raise the node voltage, causing the voltage to exceed the limit and affect the voltage quality of the distribution network.

Method used

The multi-stage voltage control method used to participate in the reactive power optimization of distributed photovoltaic distribution network is adopted. By establishing a mathematical model, the linear decreasing weight particle swarm algorithm is used to solve the reactive power of the distribution network, and the multi-stage voltage response control method is used to provide reactive power. Support to meet the system's voltage control needs.

Benefits of technology

It effectively reduces the additional investment cost of reactive voltage control in the distribution network, fully taps the reactive power regulation capabilities of photovoltaic inverters, ensures that the node voltage is within the safe range, and improves the voltage quality of the distribution network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115411743B_ABST
    Figure CN115411743B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of power system optimization and control, and discloses a multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution networks. The method includes establishing a mathematical model for reactive power optimization of distribution networks in which distributed photovoltaics participate; solving the mathematical model for reactive power optimization of distribution networks using a linear decreasing weight particle swarm algorithm to obtain the optimal reactive output of each distributed photovoltaic in the distribution network; and providing reactive power and performing voltage control on the system using a multi-stage voltage response control method based on the reactive power demand of the distributed photovoltaics by the system. The present invention incorporates distributed photovoltaics into the reactive power optimization model of distribution networks, fully considers the reactive power regulation characteristics of distributed photovoltaic inverters, and adopts a multi-stage voltage response control method to fully tap the reactive power regulation capability of photovoltaic inverters. It is a practical and effective reactive power optimization control method for distributed photovoltaics participating in distribution networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system optimization control, and in particular relates to a multi-stage voltage control method for reactive power optimization of a distributed photovoltaic participating distribution network. Background Art

[0002] With the large-scale distributed photovoltaics connected to the distribution network, the single power supply structure of the traditional distribution network will change, and the size and direction of the distribution network power flow may change. The power backflow generated by large-scale distributed photovoltaics will raise the node voltage and cause the voltage to exceed the limit, affecting the voltage quality of the distribution network.

[0003] In order to ensure the voltage quality of the distribution network with high penetration rate of photovoltaic, it is possible to consider controlling the distributed photovoltaic grid-connected inverter to provide reactive support for the system. At present, the power factor of most photovoltaic inverters is generally between -0.9 (lagging) and 0.9 (leading). Therefore, the photovoltaic inverter itself has a certain capacity. By reasonably controlling and utilizing this part of the remaining capacity, the photovoltaic inverter can emit a certain amount of reactive power, which plays a role in improving the voltage of the distribution network. Distributed photovoltaics are involved in the reactive optimization of the distribution network. The reactive output of distributed photovoltaics is used as the optimization variable. A mathematical model for reactive optimization of the distribution network considering various safe operation constraints is established. The optimal reactive output of each distributed photovoltaic in the distribution network is obtained by optimization.

[0004] In order to make distributed photovoltaic inverters respond to the reactive power demand of the system, the current single control method of decoupling the active and reactive power of the inverter is mostly used. The present invention proposes a distributed photovoltaic multi-stage voltage response control method, which fully exploits the reactive power regulation capability of photovoltaic inverters and provides reactive power support for distribution network nodes.

[0005] Through the above analysis, the problems and defects of the prior art are as follows:

[0006] Changes in the single power supply structure of the traditional distribution network may cause changes in the size and direction of the distribution network's power flow. The power backflow generated by large-scale distributed photovoltaics will raise the node voltage and cause the voltage to exceed the limit, affecting the voltage quality of the distribution network. Summary of the invention

[0007] In view of the problems existing in the prior art, the present invention provides a multi-stage voltage control method for reactive power optimization of distributed photovoltaic participating distribution network.

[0008] The present invention is implemented as follows: a multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution networks, comprising:

[0009] A mathematical model of reactive power optimization of the distribution network involving distributed photovoltaics is established; a linear decreasing weight particle swarm algorithm is used to solve the mathematical model of reactive power optimization of the distribution network; a multi-stage voltage response control method is used to provide reactive power and control the voltage of the system.

[0010] Furthermore, the multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution network comprises the following steps:

[0011] Step 1: Establish a mathematical model for reactive power optimization of distributed photovoltaic power distribution network, taking the minimum total active network loss and total voltage deviation of the distribution network as the objective function, and comprehensively considering the constraints such as power balance constraint, photovoltaic inverter operation constraint, node voltage safety constraint, node active and reactive power injection constraint, and reactive power compensation device output upper and lower limit constraint;

[0012] Step 2: Use the linear decreasing weight particle swarm algorithm to solve the reactive power optimization mathematical model of the distribution network to obtain the optimal reactive power output of each distributed photovoltaic in the distribution network;

[0013] Step three, perform reactive voltage control on distributed photovoltaic inverters. According to the reactive power demand of the system for distributed photovoltaics, distributed photovoltaics adopt a multi-stage voltage response control method to provide reactive power and provide reactive support for the system.

[0014] Furthermore, in step 1, a mathematical model for reactive power optimization of distributed photovoltaics participating in distribution network is established, which comprehensively considers the economy and safety of distribution network operation, and the optimization objective function is:

[0015]

[0016] Among them, P loss is the active network loss of the distribution network; N N is the total number of nodes in the distribution network; U m is the voltage of node m; U m0 is the expected voltage value of node m; λ1 is the weight coefficient of active network loss in the objective function; λ2 is the weight coefficient of total voltage deviation in the objective function.

[0017] Furthermore, the power balance constraint in step 1 is:

[0018]

[0019]

[0020] Among them, P G,m Inject active power into the mth node in the distribution network; Q G,m Inject reactive power to the mth node in the distribution network; P PV,m is the output active power of the photovoltaic power source at the mth node in the distribution network; Q PV,m is the output reactive power of the photovoltaic power source at the mth node in the distribution network; Q C,m is the output reactive power of the reactive compensation capacitor at the mth node in the distribution network; PL,m is the active load on the mth node in the distribution network; Q L,m is the reactive load on the mth node in the distribution network; V m is the voltage amplitude of the mth node in the distribution network; V n is the voltage amplitude of the nth node in the distribution network; G m,n is the branch conductance between the mth node and the nth node in the distribution network; B m,n is the branch susceptance between the mth node and the nth node in the distribution network; θ m,n is the voltage phase angle difference between the mth node and the nth node in the distribution network;

[0021] The operating constraints of the PV inverter are:

[0022]

[0023] Among them, P PV,m is the output active power of the photovoltaic power source at the mth node in the distribution network; Q PV,m is the output reactive power of the photovoltaic power source at the mth node in the distribution network; S PV,m is the apparent power of the photovoltaic power inverter at the mth node in the distribution network;

[0024] The node voltage safety constraints are:

[0025]

[0026] Among them, V m is the voltage amplitude of the mth node in the distribution network; is the lower limit of the voltage of the mth node in the distribution network; is the voltage upper limit of the mth node in the distribution network;

[0027] The constraints for node injection of active and reactive power are:

[0028]

[0029]

[0030] Among them, N G is the number of generators in the distribution network; P G,i is the active output of the i-th generator in the distribution network; Q G,i is the reactive power output of the i-th generator in the distribution network; is the upper limit of active output of the i-th generator in the distribution network; is the lower limit of active output of the i-th generator in the distribution network; is the upper limit of reactive power output of the i-th generator in the distribution network; is the lower limit of reactive power output of the i-th generator in the distribution network;

[0031] The upper and lower limit constraints of the reactive power compensation device output are:

[0032]

[0033] Among them, N C is the number of reactive power compensation capacitors in the distribution network; Q C,j is the output of the jth reactive power compensation capacitor in the distribution network; is the output upper limit of the jth reactive compensation capacitor; It is the lower limit of the output of the jth reactive compensation capacitor.

[0034] Furthermore, the linear decreasing weight particle swarm algorithm in step 2 is based on the basic particle swarm algorithm, and adopts a linearly changing inertia weight in the iteration process. The change of the inertia weight in the iteration process is:

[0035]

[0036] Among them, ω max is the maximum value of the inertia weight; ω min is the minimum value of the inertia weight; G is the current number of iterations; G max is the maximum number of iterations.

[0037] Furthermore, the optimal reactive power output of each distributed photovoltaic in the distribution network in step 2 is: the output reactive power Q of the photovoltaic power source at the mth node after optimization PV,m .

[0038] Furthermore, the multi-stage voltage response control method in step 3 performs multi-stage voltage response control on the photovoltaic inverter to respond to the optimal reactive power output Q of the distributed photovoltaic obtained by optimization in step 2. PV,m .

[0039] Furthermore, the multi-stage voltage response control method in step 3 is specifically divided into two stages:

[0040] In stage 1, the distributed photovoltaic output active power is maintained constant, and the residual capacity of the inverter is used for reactive power compensation control. The maximum reactive power limit provided by the distributed photovoltaic in this stage is:

[0041]

[0042] Phase 2: In phase 1, the inverter has reached its capacity limit but the remaining capacity is insufficient to respond to the system's optimal reactive power output Q for distributed photovoltaics. PV,m , reactive power is increased by reducing active power output to perform reactive compensation control. The maximum reactive power limit that distributed photovoltaics can provide in this stage is:

[0043]

[0044] Where θ is the power factor angle of the PV inverter in phase 2.

[0045] Furthermore, the specific process of the multi-stage voltage response control method in step 3 includes:

[0046] The remaining capacity of the inverter in phase 1 is used for reactive power compensation control. If phase 1 can meet the system's optimal reactive power output demand for distributed photovoltaics, the voltage control ends.

[0047] If the inverter has reached its capacity limit in stage 1 but the remaining capacity is insufficient to meet the system's optimal reactive power output demand for distributed photovoltaics, the reactive power is increased by reducing the active power output in stage 2 for reactive power compensation control;

[0048] If the maximum reactive power limit that the inverter can provide in stage 2 meets the system's optimal reactive power output demand for distributed photovoltaics, the voltage control ends;

[0049] If the maximum reactive power limit that the inverter can provide in stage 2 is still insufficient to meet the system's optimal reactive output demand for distributed photovoltaics, then modify the operating constraints of the photovoltaic inverter in step one to operate according to the capacity limit, repeat steps one and two, recalculate the reactive optimization output after the photovoltaic active output is reduced, and repeat step three for the multi-stage voltage response control method.

[0050] Another object of the present invention is to provide a distributed photovoltaic participating in the distribution network reactive power optimization multi-stage voltage response control system that implements the distributed photovoltaic participating in the distribution network reactive power optimization multi-stage voltage control method, the distributed photovoltaic participating in the distribution network reactive power optimization multi-stage voltage response control system comprising:

[0051] Distributed photovoltaic modules are used to participate in the mathematical model of reactive power optimization of distribution networks;

[0052] The linear decreasing weight particle swarm module is used to solve the mathematical model of reactive power optimization of distribution network;

[0053] A multi-stage voltage response control module is used for reactive voltage control of distributed photovoltaic inverters.

[0054] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are analyzed from the following aspects:

[0055] The present invention provides a multi-stage voltage control method for reactive power optimization of a distribution network in which distributed photovoltaics participate. The method establishes a mathematical model for reactive power optimization of a distribution network in which distributed photovoltaics participate. The mathematical model for reactive power optimization of a distribution network is solved by a linear decreasing weight particle swarm algorithm to obtain the optimal reactive power output of each distributed photovoltaic in the distribution network. According to the reactive power demand of the system for distributed photovoltaics, the distributed photovoltaics use a multi-stage voltage response control method to provide reactive power and perform voltage control on the system.

[0056] The present invention incorporates distributed photovoltaics into the reactive power optimization model of the distribution network, fully considers the reactive power regulation capability of distributed photovoltaics, and can effectively save the additional reactive power investment cost of reactive power voltage control of the distribution network. The linear decreasing weight particle swarm algorithm is used to solve the mathematical model of reactive power optimization of the distribution network, which effectively avoids the shortcomings of the traditional particle swarm algorithm that is prone to premature maturity and oscillation near the global optimal solution in the later stage. The distributed photovoltaic multi-stage voltage response control method fully exploits the reactive power regulation capability of the photovoltaic inverter and provides reactive power support for the distribution network nodes. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of a multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution networks provided by an embodiment of the present invention;

[0058] Figure 2 is a structural diagram of an IEEE 33 Bus system provided by an embodiment of the present invention;

[0059] Figure 3 It is a schematic diagram for comparing node voltage amplitudes before and after voltage control provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0061] In order to enable those skilled in the art to fully understand how to implement the present invention in detail, this section is an explanatory embodiment that expands and describes the technical solution of the claims.

[0062] Figure 1 This is a flowchart of the method of the embodiment of the present invention. The implementation of the present invention selects the IEEE 33 Bus distribution network system as the data basis, and newly connects the distributed photovoltaic field station at nodes 14, 18, and 32. In order to ensure that the connected distributed photovoltaic has a certain reactive power regulation capacity, the photovoltaic inverter capacity is set to 1.1 times the photovoltaic active capacity. The modified IEEE 33 Bus system structure diagram is as follows Figure 2 shown.

[0063] The multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution network comprises the following steps:

[0064] Step 1: Establish a mathematical model for reactive power optimization of distributed photovoltaic power distribution network, taking the minimum total active network loss and total voltage deviation of the distribution network as the objective function, and comprehensively considering the constraints such as power balance constraint, photovoltaic inverter operation constraint, node voltage safety constraint, node active and reactive power injection constraint, and reactive power compensation device output upper and lower limit constraint;

[0065] Step 2: Use the linear decreasing weight particle swarm algorithm to solve the reactive power optimization mathematical model of the distribution network to obtain the optimal reactive power output of each distributed photovoltaic in the distribution network;

[0066] Step three, perform reactive voltage control on distributed photovoltaic inverters. According to the reactive power demand of the system for distributed photovoltaics, distributed photovoltaics adopt a multi-stage voltage response control method to provide reactive power and provide reactive support for the system.

[0067] Furthermore, in step 1, a mathematical model for reactive power optimization of distributed photovoltaics participating in distribution network is established, which comprehensively considers the economy and safety of distribution network operation, and the optimization objective function is:

[0068]

[0069] Among them, P loss is the active network loss of the distribution network; N N is the total number of nodes in the distribution network; U m is the voltage of node m; U m0 is the expected voltage value of node m; λ1 is the weight coefficient of active network loss in the objective function; λ2 is the weight coefficient of total voltage deviation in the objective function.

[0070] Furthermore, the power balance constraint in step 1 is:

[0071]

[0072]

[0073] Among them, P G,m Inject active power into the mth node in the distribution network; Q G,m Inject reactive power to the mth node in the distribution network; P PV,m is the output active power of the photovoltaic power source at the mth node in the distribution network; Q PV,m is the output reactive power of the photovoltaic power source at the mth node in the distribution network; Q C,m is the output reactive power of the reactive compensation capacitor at the mth node in the distribution network; P L,mis the active load on the mth node in the distribution network; Q L,m is the reactive load on the mth node in the distribution network; V m is the voltage amplitude of the mth node in the distribution network; V n is the voltage amplitude of the nth node in the distribution network; G m,n is the branch conductance between the mth node and the nth node in the distribution network; B m,n is the branch susceptance between the mth node and the nth node in the distribution network; θ m,n is the voltage phase angle difference between the mth node and the nth node in the distribution network;

[0074] The operating constraints of the PV inverter are:

[0075]

[0076] Among them, P PV,m is the output active power of the photovoltaic power source at the mth node in the distribution network; Q PV,m is the output reactive power of the photovoltaic power source at the mth node in the distribution network; S PV,m is the apparent power of the photovoltaic power inverter at the mth node in the distribution network; the apparent power S of the photovoltaic power inverter PV,m According to the photovoltaic active capacity P PV,m 1.1 times setting.

[0077] The node voltage safety constraints are:

[0078]

[0079] Among them, V m is the voltage amplitude of the mth node in the distribution network; is the lower limit of the voltage of the mth node in the distribution network; the value is 0.95 pu.; is the upper limit of the voltage at the mth node in the distribution network, and its value is 1.05 pu.

[0080] The constraints for node injection of active and reactive power are:

[0081]

[0082]

[0083] Among them, N G is the number of generators in the distribution network; P G,i is the active output of the i-th generator in the distribution network; Q G,i is the reactive power output of the i-th generator in the distribution network; is the upper limit of active output of the i-th generator in the distribution network; is the lower limit of active output of the i-th generator in the distribution network; is the upper limit of reactive power output of the i-th generator in the distribution network; is the lower limit of reactive power output of the i-th generator in the distribution network;

[0084] The upper and lower limit constraints of the reactive power compensation device output are:

[0085]

[0086] Among them, N C is the number of reactive power compensation capacitors in the distribution network; Q C,j is the output of the jth reactive power compensation capacitor in the distribution network; is the output upper limit of the jth reactive compensation capacitor; It is the lower limit of the output of the jth reactive compensation capacitor.

[0087] Furthermore, the linear decreasing weight particle swarm algorithm in step 2 is based on the basic particle swarm algorithm, and adopts a linearly changing inertia weight in the iteration process. The change of the inertia weight in the iteration process is:

[0088]

[0089] Among them, ω max is the maximum value of the inertia weight; ω min is the minimum value of the inertia weight; G is the current number of iterations; G max is the maximum number of iterations.

[0090] Furthermore, the optimal reactive power output of each distributed photovoltaic in the distribution network in step 2 is: the output reactive power Q of the photovoltaic power source at the mth node after optimization PV,m .

[0091] Furthermore, the multi-stage voltage response control method in step 3 performs multi-stage voltage response control on the photovoltaic inverter to respond to the optimal reactive power output Q of the distributed photovoltaic obtained by optimization in step 2. PV,m .

[0092] Furthermore, the multi-stage voltage response control method in step 3 is specifically divided into two stages:

[0093] In stage 1, the distributed photovoltaic output active power is maintained constant, and the residual capacity of the inverter is used for reactive power compensation control. The maximum reactive power limit provided by the distributed photovoltaic in this stage is:

[0094]

[0095] Phase 2: In phase 1, the inverter has reached its capacity limit but the remaining capacity is insufficient to respond to the system's optimal reactive power output Q for distributed photovoltaics. PV,m , reactive power is increased by reducing active power output to perform reactive compensation control. The maximum reactive power limit that distributed photovoltaics can provide in this stage is:

[0096]

[0097] Where θ is the power factor angle of the PV inverter in phase 2.

[0098] Furthermore, the specific process of the multi-stage voltage response control method in step 3 includes:

[0099] The remaining capacity of the inverter in stage 1 is used for reactive compensation control. If stage 1 can meet the optimal reactive output demand of the system for distributed photovoltaics, the voltage control ends; if the inverter has reached the capacity limit in stage 1 but the remaining capacity is insufficient to meet the optimal reactive output demand of the system for distributed photovoltaics, the reactive power is increased by reducing the active output in stage 2 for reactive compensation control; if the maximum reactive power limit that the inverter can provide in stage 2 meets the optimal reactive output demand of the system for distributed photovoltaics, the voltage control ends; if the maximum reactive power limit that the inverter can provide in stage 2 is still insufficient to meet the optimal reactive output demand of the system for distributed photovoltaics, the operating constraint conditions of the photovoltaic inverter in step one are modified to operate according to the capacity limit, steps one and two are repeated, the reactive optimization output after the photovoltaic active output is reduced is recalculated, and step three is repeated for the multi-stage voltage response control method.

[0100] Another object of the present invention is to provide a distributed photovoltaic participating in the distribution network reactive power optimization multi-stage voltage response control system that implements the distributed photovoltaic participating in the distribution network reactive power optimization multi-stage voltage control method, the distributed photovoltaic participating in the distribution network reactive power optimization multi-stage voltage response control system comprising:

[0101] Distributed photovoltaic modules are used to participate in the mathematical model of reactive power optimization of distribution networks;

[0102] The linear decreasing weight particle swarm module is used to solve the mathematical model of reactive power optimization of distribution network;

[0103] A multi-stage voltage response control module is used for reactive voltage control of distributed photovoltaic inverters.

[0104] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0105] The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with data, charts, etc. of the test process.

[0106] The initial power flow when the distributed photovoltaics participate in the voltage optimization control of the comparative example system is not considered, and the changes in node voltage and output reactive power after the distributed photovoltaics participate in the optimization control are shown in Table 1.

[0107] Table 1 Changes in node voltage and output reactive power before and after distributed photovoltaics participate in voltage optimization control

[0108]

[0109] The comparison curve of the voltage amplitude of 33 nodes in the example system before and after voltage control is as follows: Figure 3 After adopting the multi-stage voltage control method for distributed photovoltaic participating in reactive power optimization of distribution network proposed by the present invention, all node voltages are within the voltage safety range of [0.95, 1.05].

[0110] Through the above example analysis, it can be seen that the present invention fully considers the reactive regulation characteristics of distributed photovoltaic inverters, incorporates distributed photovoltaics into the reactive optimization model of the distribution network, adopts a multi-stage voltage response control method, fully exploits the reactive regulation capability of photovoltaic inverters, and can effectively realize the optimal control of the distribution network voltage.

[0111] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution networks, characterized in that: The multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution networks comprises: Establish a mathematical model for reactive power optimization of the distribution network using distributed photovoltaics; use a linear decreasing weight particle swarm algorithm to solve the mathematical model for reactive power optimization of the distribution network; use a multi-stage voltage response control method to provide reactive power and control the voltage of the system; The multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution network comprises the following steps: Step 1: Establish a mathematical model for reactive power optimization of distributed photovoltaic power distribution network, taking the minimum total active network loss and total voltage deviation of the distribution network as the objective function, and comprehensively considering the constraints such as power balance constraint, photovoltaic inverter operation constraint, node voltage safety constraint, node active and reactive power injection constraint, and reactive power compensation device output upper and lower limit constraint; Step 2: Use the linear decreasing weight particle swarm algorithm to solve the reactive power optimization mathematical model of the distribution network to obtain the optimal reactive power output of each distributed photovoltaic in the distribution network; Step 3: Perform reactive voltage control on distributed photovoltaic inverters. According to the reactive power demand of the distributed photovoltaic system, the distributed photovoltaic system adopts a multi-stage voltage response control method to provide reactive power and provide reactive support for the system. In the step 1, a mathematical model for reactive power optimization of distributed photovoltaics participating in the distribution network is established, which comprehensively considers the economy and safety of the distribution network operation, and the optimization objective function is: Among them, P loss is the active network loss of the distribution network; N N is the total number of nodes in the distribution network; U m is the voltage of node m; U m0 is the expected voltage value of node m; λ1 is the weight coefficient of active network loss in the objective function; λ2 is the weight coefficient of total voltage deviation in the objective function; The power balance constraint condition in step 1 is: Among them, P G,m Inject active power into the mth node in the distribution network; Q G,m Inject reactive power to the mth node in the distribution network; P PV,m is the output active power of the photovoltaic power source at the mth node in the distribution network; Q PV,m is the output reactive power of the photovoltaic power source at the mth node in the distribution network; Q C,m is the output reactive power of the reactive compensation capacitor at the mth node in the distribution network; P L,m is the active load on the mth node in the distribution network; Q L,m is the reactive load on the mth node in the distribution network; V m is the voltage amplitude of the mth node in the distribution network; V n is the voltage amplitude of the nth node in the distribution network; G m,n is the branch conductance between the mth node and the nth node in the distribution network; B m,n is the branch susceptance between the mth node and the nth node in the distribution network; θ m,n is the voltage phase angle difference between the mth node and the nth node in the distribution network; The operating constraints of the PV inverter are: Among them, P PV,m is the output active power of the photovoltaic power source at the mth node in the distribution network; Q PV,m is the output reactive power of the photovoltaic power source at the mth node in the distribution network; S PV,m is the apparent power of the photovoltaic power inverter at the mth node in the distribution network; The node voltage safety constraints are: Among them, V m is the voltage amplitude of the mth node in the distribution network; is the lower limit of the voltage of the mth node in the distribution network; is the upper limit of the voltage of the mth node in the distribution network; The constraints for node injection of active and reactive power are: Among them, N G is the number of generators in the distribution network; P G,i is the active output of the i-th generator in the distribution network; Q G,i is the reactive power output of the i-th generator in the distribution network; is the upper limit of active output of the i-th generator in the distribution network; is the lower limit of active output of the i-th generator in the distribution network; is the upper limit of reactive power output of the i-th generator in the distribution network; is the lower limit of reactive power output of the i-th generator in the distribution network; The upper and lower limit constraints of the reactive power compensation device output are: Among them, N C is the number of reactive power compensation capacitors in the distribution network; Q C,j is the output of the jth reactive power compensation capacitor in the distribution network; is the output upper limit of the jth reactive compensation capacitor; It is the lower limit of the output of the jth reactive compensation capacitor.

2. The multi-stage voltage control method for distributed photovoltaics participating in reactive power optimization of distribution network as claimed in claim 1 is characterized in that: The linear decreasing weight particle swarm algorithm in step 2 is based on the basic particle swarm algorithm and adopts a linearly changing inertia weight in the iteration process. The change of the inertia weight in the iteration process is: Among them, ω max is the maximum value of the inertia weight; ω min is the minimum value of the inertia weight; G is the current number of iterations; G max is the maximum number of iterations.

3. The multi-stage voltage control method for distributed photovoltaic participating in reactive power optimization of distribution network as claimed in claim 1 is characterized in that: The optimal reactive power output of each distributed photovoltaic in the distribution network in step 2 is: the output reactive power Q of the photovoltaic power source at the mth node after optimization PV,m .

4. The multi-stage voltage control method for distributed photovoltaic participating in reactive power optimization of distribution network as claimed in claim 1 is characterized in that: The multi-stage voltage response control method in step 3 performs multi-stage voltage response control on the photovoltaic inverter to respond to the optimal reactive power output Q of the distributed photovoltaic obtained by optimization in step 2. PV,m .

5. The multi-stage voltage control method for distributed photovoltaic participating in reactive power optimization of distribution network as claimed in claim 1 is characterized in that: The multi-stage voltage response control method in step 3 is specifically divided into two stages: In stage 1, the distributed photovoltaic output active power is maintained constant, and the residual capacity of the inverter is used for reactive power compensation control. The maximum reactive power limit provided by the distributed photovoltaic in this stage is: Phase 2: In phase 1, the inverter has reached its capacity limit but the remaining capacity is insufficient to respond to the system's optimal reactive power output Q for distributed photovoltaics. PV,m , reactive power is increased by reducing active power output to perform reactive compensation control. The maximum reactive power limit that distributed photovoltaics can provide in this stage is: Where θ is the power factor angle of the PV inverter in phase 2.

6. The multi-stage voltage control method for distributed photovoltaic participating in reactive power optimization of distribution network as claimed in claim 1, characterized in that: The specific process of the multi-stage voltage response control method in step 3 includes: The remaining capacity of the inverter in phase 1 is used for reactive power compensation control. If phase 1 can meet the system's optimal reactive power output demand for distributed photovoltaics, the voltage control ends. If the inverter has reached its capacity limit in stage 1 but the remaining capacity is insufficient to meet the system's optimal reactive power output demand for distributed photovoltaics, the reactive power is increased by reducing the active power output in stage 2 for reactive power compensation control; If the maximum reactive power limit that the inverter can provide in stage 2 meets the system's optimal reactive power output demand for distributed photovoltaics, the voltage control ends; If the maximum reactive power limit that the inverter can provide in stage 2 is still insufficient to meet the system's optimal reactive output demand for distributed photovoltaics, then modify the operating constraints of the photovoltaic inverter in step one to operate according to the capacity limit, repeat steps one and two, recalculate the reactive optimization output after the photovoltaic active output is reduced, and repeat step three for the multi-stage voltage response control method.

7. A multi-stage voltage response control system for distributed photovoltaic participating in distribution network reactive power optimization implementing the multi-stage voltage control method for distributed photovoltaic participating in distribution network reactive power optimization as claimed in any one of claims 1 to 6, characterized in that: The multi-stage voltage response control system for distributed photovoltaics participating in reactive power optimization of distribution network includes: Distributed photovoltaic modules are used to participate in the mathematical model of reactive power optimization of distribution networks; The linear decreasing weight particle swarm module is used to solve the mathematical model of reactive power optimization of distribution network; A multi-stage voltage response control module is used for reactive voltage control of distributed photovoltaic inverters.