Optimization method and system for dynamic reactive power compensation device of power system

Through sensitivity analysis and genetic algorithm optimization of the node voltage of the power system, the problem of insufficient reliability and accuracy of the dynamic reactive power compensation device optimization scheme in the existing technology is solved, and more efficient resource utilization and power system stability are achieved. promote.

CN118739328APending Publication Date: 2024-10-01STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410752609.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing power system dynamic reactive power compensation device optimization solutions rely on empirical methods, resulting in low reliability and accuracy, and setting too large a capacity may lead to idle resources and waste.

Method used

By obtaining the data information of the power system, conducting sensitivity analysis of the node voltage, selecting the installation location of the dynamic reactive power compensation device, and using genetic algorithms to optimize the reactive power output and determine the reactive power output of the dynamic reactive power compensation device, in order to achieve Dynamic reactive power compensation optimization of power systems.

Benefits of technology

It improves the reliability and accuracy of the dynamic reactive power compensation device of the power system, reduces the idleness and waste of resources, and improves the overall efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118739328A_ABST
    Figure CN118739328A_ABST
Patent Text Reader

Abstract

The invention discloses an optimization method for a dynamic reactive power compensation device of a power system. The optimization method comprises the following steps: acquiring data information of a target power system; performing sensitivity analysis on the node voltage of the target power system, and selecting the installation position of the dynamic reactive power compensation device; and performing optimization calculation on the reactive output quantity of the installed dynamic reactive power compensation device, determining the reactive output quantity of the dynamic reactive power compensation device, and completing optimization of the dynamic reactive power compensation device of the target power system. The invention also discloses a system for realizing the optimization method of the dynamic reactive power compensation device of the power system. According to the method, optimization of the dynamic reactive power compensation device of the power system can be realized, the reliability is higher, the accuracy is better, and the comprehensive efficiency is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electrical automation, and in particular relates to an optimization method and system for a dynamic reactive power compensation device of an electric power system. Background Art

[0002] With the development of economy and technology and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. Therefore, ensuring the stable and reliable supply of electricity has become one of the most important tasks of the power system.

[0003] At present, environmental problems are becoming more and more serious, so more and more new energy power generation systems are beginning to be connected to the grid for power generation. Although new energy power generation systems have the advantages of high efficiency and no pollution, their own intermittent and random output characteristics have brought great threats to the stable and reliable operation of the power system.

[0004] Configuring dynamic reactive power compensation devices in the power system is an important means to deal with such threats. However, the current optimization scheme for the dynamic reactive power compensation devices in the power system is often an empirical optimization scheme, that is, based on the historical operation data and future forecast data of the power system, several groups of dynamic reactive power compensation devices are empirically set in the power system; at the same time, in order to ensure the availability and long-term performance of the set dynamic reactive power compensation devices, the capacity of the dynamic reactive power compensation devices is often set larger. However, it is obvious that the existing empirical scheme, although simple, has high reliability and accuracy, and setting up a large-capacity dynamic reactive power compensation device may also lead to idleness and waste of resources. Summary of the invention

[0005] One of the purposes of the present invention is to provide an optimization method for a dynamic reactive power compensation device of an electric power system with high reliability, good accuracy and high overall efficiency.

[0006] A second object of the present invention is to provide a system for implementing the optimization method of the dynamic reactive power compensation device of the power system.

[0007] The optimization method of the power system dynamic reactive power compensation device provided by the present invention comprises the following steps:

[0008] S1. Obtain data information of the target power system;

[0009] S2. Perform sensitivity analysis on the node voltage of the target power system according to the data information obtained in step S1, and select the installation location of the dynamic reactive power compensation device in the target power system according to the analysis results;

[0010] S3. Based on the genetic algorithm, the reactive output of the installed dynamic reactive compensation device is optimized and calculated, the reactive output of the dynamic reactive compensation device is determined, and the optimization of the dynamic reactive compensation device of the target power system is completed.

[0011] Step S2, based on the data information obtained in step S1, performs sensitivity analysis on the node voltage of the target power system, and selects the installation location of the dynamic reactive power compensation device in the target power system according to the analysis result, specifically includes the following steps:

[0012] According to the data information obtained in step S1, based on the partial derivative of the node voltage of the power system power flow Jacobian matrix with respect to reactive power, a sensitivity analysis of the node voltage of the target power system is completed;

[0013] According to the obtained sensitivity analysis results, the analysis results are sorted in descending order, and the top N nodes are selected as the installation locations of the dynamic reactive power compensation device in the target power system; N is a set natural number.

[0014] The step S3 described in which the reactive output of the installed dynamic reactive compensation device is optimized and calculated based on the genetic algorithm to determine the reactive output of the dynamic reactive compensation device specifically includes the following steps:

[0015] Setting algorithm parameters of the NSGA-Ⅱ algorithm; the algorithm parameters include initializing the population, setting the crossover probability, setting the crossover operator, setting the mutation operator, setting the crowding distance, and setting the objective function;

[0016] The NSGA-II algorithm is used to optimize the reactive output of the installed dynamic reactive compensation device to determine the reactive output of the dynamic reactive compensation device.

[0017] The initialization of the population specifically includes the following steps:

[0018] The purpose of initializing the population is to make the initial population more widely and evenly distributed in the search space, so as to improve the diversity of the population and prevent the population from falling into the local optimum;

[0019] Based on the Tent chaotic map, the initial population is initialized using the following formula:

[0020]

[0021] In the formula is the k-th dimension position component of the i-th individual; is the lower limit of the k-th dimension position component of the i-th individual; is the upper limit of the k-th dimension position component of the ith individual; is the Tent chaotic map number of the k-dimensional position component of the i-th individual, and u is a random number between [0,1].

[0022] The setting of the crossover probability specifically includes the following steps:

[0023] The purpose of setting the crossover probability is to enhance population diversity and promote the algorithm to escape from the local optimum;

[0024] The crossover probability is calculated using the following formula:

[0025]

[0026] Where P is the crossover probability; d min is the minimum crowding distance of individuals in the population; d max is the maximum crowding distance of an individual in the population.

[0027] The setting of the crossover operator specifically includes the following steps:

[0028] The purpose of setting the crossover operator is to make the algorithm have better global search capabilities;

[0029] The crossover operator is calculated using the following formula:

[0030]

[0031] In the formula is the i-th individual in the t+1-th generation; is the i-th individual in the t-th generation; a is a random number between [0,1]; is the jth individual in the t+1th generation; is the jth individual in the tth generation.

[0032] The setting of the mutation operator specifically includes the following steps:

[0033] The purpose of setting the mutation operator is to enable the algorithm to generate better solutions during local search, so as to improve the convergence performance and distribution characteristics of the algorithm;

[0034] The following formula is used to calculate the i-th individual after mutation:

[0035]

[0036] In the formula is the i-th individual after mutation; is the i-th individual before mutation; t is the current iteration number; is the limit of the k-th dimension position component of the ith individual; rand is a random number between the interval [0,1]; Δ(t,z) is a function that returns a value between [0,z], and Δ(t,z)=z×(1-r(1-t / T)b ), r is a random number between [0,1], T is the maximum number of iterations, and b is a set constant.

[0037] The setting of the crowding distance specifically includes the following steps:

[0038] The purpose of setting the crowding distance is to enable the algorithm to more accurately evaluate the pros and cons of individuals;

[0039] The crowding distance is calculated using the following calculation:

[0040]

[0041] CDE in the formula i j is the crowding distance of the ith individual on the jth objective function; df i j is the difference between the solution of the ith individual and its predecessor on the jth objective function; pf i j is the first intermediate variable, and The second intermediate variable, and is the difference between the i-th individual and its next neighbor solution on the j-th objective function; is the third intermediate variable, and is the maximum value of all individuals on the jth objective function; is the minimum value of all individuals on the jth objective function.

[0042] The setting of the objective function specifically includes the following steps:

[0043] The objective function is set with the goal of minimizing voltage deviation and total system loss;

[0044] The following formula is used to express the minimum voltage deviation:

[0045]

[0046] Where N is the number of nodes; V i is the voltage of the i-th node;

[0047] The following formula is used to express the minimum total system loss:

[0048] min P loss +Q loss

[0049] Where P loss is the system active power loss; Q loss Reactive power loss of the system.

[0050] The present invention also provides a system for implementing the optimization method of the dynamic reactive power compensation device of the power system, comprising a data acquisition module, a sensitivity analysis module and a reactive power optimization module; the data acquisition module, the sensitivity analysis module and the reactive power optimization module are connected in series in sequence; the data acquisition module is used to acquire data information of the target power system, and upload the data information to the sensitivity analysis module; the sensitivity analysis module is used to perform sensitivity analysis on the node voltage of the target power system according to the acquired data information, and select the installation position of the dynamic reactive power compensation device in the target power system according to the analysis results, and upload the data information to the reactive power optimization module; the reactive power optimization module is used to optimize and calculate the reactive output of the installed dynamic reactive power compensation device based on a genetic algorithm, determine the reactive output of the dynamic reactive power compensation device, and complete the optimization of the dynamic reactive power compensation device of the target power system.

[0051] The optimization method and system of the dynamic reactive power compensation device of the power system provided by the present invention determine the installation position of the dynamic reactive power compensation device by performing sensitivity analysis on the node voltage of the power system, and calculate the reactive output of the dynamic reactive power compensation device through a genetic algorithm and corresponding parameter settings; therefore, the present invention can not only realize the optimization of the dynamic reactive power compensation device of the power system, but also has higher reliability, better accuracy and higher overall efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 The figure is a schematic diagram of the method flow of the present invention.

[0053] Figure 2 The schematic diagram of the structure of the IEEE 39-node system of the method embodiment of the present invention is shown in FIG.

[0054] Figure 3 Schematic diagram of node voltages for power flow simulation of an IEEE 39-node system according to an embodiment of the method of the present invention.

[0055] Figure 4 Schematic diagram of node sensitivity analysis results of an IEEE 39-node system according to an embodiment of the method of the present invention.

[0056] Figure 5 Schematic diagram of the Pareto front curve of the NSGA-Ⅱ algorithm of the present invention and the traditional NSGA-Ⅱ algorithm of the first embodiment of the method of the present invention.

[0057] Figure 6 Schematic diagram of the change in minimum voltage deviation between the NSGA-II algorithm of the present invention and the traditional NSGA-II algorithm of the first embodiment of the method of the present invention.

[0058] Figure 7This is a schematic diagram of the change in the minimum total system loss of the NSGA-II algorithm of the present invention and the traditional NSGA-II algorithm in the first embodiment of the method of the present invention.

[0059] Figure 8 It is a schematic diagram of the voltage at the system power flow simulation node before and after the dynamic reactive power compensation resources are installed according to the first embodiment of the method of the present invention.

[0060] Fig. 9 Schematic diagram of the Pareto front curve of the NSGA-Ⅱ algorithm of the present invention and the traditional NSGA-Ⅱ algorithm according to the second embodiment of the method of the present invention.

[0061] Fig.10 This is a schematic diagram of the change in minimum voltage deviation between the NSGA-II algorithm of the present invention and the traditional NSGA-II algorithm of the second embodiment of the method of the present invention.

[0062] Fig.11 This is a schematic diagram of the change in the minimum total system loss of the NSGA-II algorithm of the present invention and the traditional NSGA-II algorithm in the second embodiment of the method of the present invention.

[0063] Fig.12 It is a schematic diagram of the voltage at the system power flow simulation node before and after the dynamic reactive power compensation resources are installed according to the second embodiment of the method of the present invention.

[0064] Fig.13 Schematic diagram of Pareto front curves of the NSGA-Ⅱ algorithm of the present invention and the traditional NSGA-Ⅱ algorithm according to the third embodiment of the method of the present invention.

[0065] Fig.14 This is a schematic diagram of the change in minimum voltage deviation between the NSGA-II algorithm of the present invention and the traditional NSGA-II algorithm of the third embodiment of the method of the present invention.

[0066] Fig.15 This is a schematic diagram of the change in the minimum total system loss of the NSGA-II algorithm of the present invention and the traditional NSGA-II algorithm in the third embodiment of the method of the present invention.

[0067] Fig.16 It is a schematic diagram of the voltage at the system power flow simulation node before and after the dynamic reactive power compensation resources are installed according to the third embodiment of the method of the present invention.

[0068] Fig.17 Schematic diagram of the functional modules of the system of the present invention. DETAILED DESCRIPTION

[0069] like Figure 1 The method flow chart of the method of the present invention is shown as follows: The optimization method of the power system dynamic reactive power compensation device disclosed in the present invention comprises the following steps:

[0070] S1. Obtain data information of the target power system;

[0071] S2. According to the data information obtained in step S1, a sensitivity analysis is performed on the node voltage of the target power system, and the installation location of the dynamic reactive power compensation device is selected in the target power system according to the analysis results; specifically, the following steps are included:

[0072] According to the data information obtained in step S1, based on the partial derivative of the node voltage of the power system power flow Jacobian matrix with respect to reactive power, a sensitivity analysis of the node voltage of the target power system is completed;

[0073] According to the obtained sensitivity analysis results, the analysis results are sorted in descending order, and the top N nodes are selected as the installation locations of the dynamic reactive power compensation device in the target power system; N is a set natural number;

[0074] S3. Based on the genetic algorithm, the reactive output of the installed dynamic reactive compensation device is optimized and calculated, the reactive output of the dynamic reactive compensation device is determined, and the optimization of the dynamic reactive compensation device of the target power system is completed; specifically, the following steps are included:

[0075] Setting algorithm parameters of the NSGA-Ⅱ algorithm; the algorithm parameters include initializing the population, setting the crossover probability, setting the crossover operator, setting the mutation operator, setting the crowding distance, and setting the objective function;

[0076] The NSGA-II algorithm is used to optimize the reactive output of the installed dynamic reactive compensation device to determine the reactive output of the dynamic reactive compensation device.

[0077] When implementing:

[0078] The initialization of the population specifically includes the following steps:

[0079] The purpose of the initialization population of the solution of the present invention is to make the initial population more widely and evenly distributed in the search space, so as to improve the diversity of the population and prevent the population from falling into the local optimum;

[0080] Based on the Tent chaotic map, the initial population is initialized using the following formula:

[0081]

[0082] In the formula is the k-th dimension position component of the i-th individual; is the lower limit of the k-th dimension position component of the i-th individual; is the upper limit of the k-th dimension position component of the ith individual; is the Tent chaotic map number of the k-dimensional position component of the i-th individual, and u is a random number between [0,1].

[0083] The setting of the crossover probability specifically includes the following steps:

[0084] Considering that as the number of algorithm iterations increases, the similarity of individuals in the population may increase or approach, causing the optimization result to fall into a local optimum; therefore, the purpose of setting the following crossover probability in the scheme of the present invention is to enhance population diversity and promote the algorithm to jump out of the local optimum;

[0085] The crossover probability is calculated using the following formula:

[0086]

[0087] Where P is the crossover probability; d min is the minimum crowding distance of individuals in the population; d max is the maximum crowding distance of an individual in the population.

[0088] The setting of the crossover operator specifically includes the following steps:

[0089] The purpose of setting the crossover operator by adopting the following scheme of the present invention is to make the algorithm have better global search capability;

[0090] The crossover operator is calculated using the following formula:

[0091]

[0092] In the formula is the i-th individual in the t+1-th generation; is the i-th individual in the t-th generation; a is a random number between [0,1]; is the jth individual in the t+1th generation; is the jth individual in the tth generation.

[0093] The setting of the mutation operator specifically includes the following steps:

[0094] The purpose of setting the mutation operator by adopting the following scheme of the present invention is to enable the algorithm to generate a better solution during local search, so as to improve the convergence performance and distribution characteristics of the algorithm;

[0095] The following formula is used to calculate the i-th individual after mutation:

[0096]

[0097] In the formula is the i-th individual after mutation; is the i-th individual before mutation; t is the current iteration number; is the limit of the k-th dimension position component of the ith individual; rand is a random number between the interval [0,1]; Δ(t,z) is a function that returns a value between [0,z], and Δ(t,z)=z×(1-r(1-t / T) b ), r is a random number between [0,1], T is the maximum number of iterations, and b is a set constant.

[0098] The setting of the crowding distance specifically includes the following steps:

[0099] The purpose of setting the crowding distance by adopting the following scheme of the present invention is to enable the algorithm to more accurately evaluate the pros and cons of individuals;

[0100] The crowding distance is calculated using the following calculation:

[0101]

[0102] CDE in the formula i j is the crowding distance of the ith individual on the jth objective function; df i j is the difference between the solution of the ith individual and its predecessor on the jth objective function; pf i j is the first intermediate variable, and The second intermediate variable, and is the difference between the i-th individual and its next neighbor solution on the j-th objective function; is the third intermediate variable, and is the maximum value of all individuals on the jth objective function; is the minimum value of all individuals on the jth objective function.

[0103] The setting of the objective function specifically includes the following steps:

[0104] The objective function is set with the goal of minimizing voltage deviation and total system loss;

[0105] The following formula is used to express the minimum voltage deviation:

[0106]

[0107] Where N is the number of nodes; V i is the voltage of the i-th node;

[0108] The following formula is used to express the minimum total system loss:

[0109] min P loss +Q loss

[0110] Where P loss is the system active power loss; Q loss Reactive power loss of the system.

[0111] The scheme of the present invention improves the initialization population scheme, the crossover probability setting scheme, the crossover operator setting scheme, the mutation operator setting scheme, the crowding distance setting scheme and the objective function setting scheme of the NSGA-Ⅱ algorithm, so that the comprehensive performance of the scheme of the present invention is far superior to the traditional NSGA-Ⅱ algorithm.

[0112] At the same time, the improvements in the method of the present invention for the scheme of initializing the population, setting the crossover probability, setting the crossover operator, setting the mutation operator, setting the crowding distance and setting the objective function are independent of each other, that is, you can refer to the scheme of the present invention to improve one of the above parameters, or you can improve multiple parameters at the same time (for example, combine any 2 parameters of the 6 parameters, combine any 3 parameters, combine any 4 parameters, and combine any 5 parameters).

[0113] The method of the present invention is further described below with reference to three embodiments:

[0114] The IEEE 39-bus system is selected as the research object for example. Its system structure and line wiring are as follows: Figure 2 The power flow simulation of the node system is carried out to analyze the changes in the system node voltage. The results are as follows: Figure 3 As shown. Figure 3 It can be seen that the voltage drop of 10 nodes, including node 4, node 5, node 6, node 7, node 8, node 10, node 11, node 12, node 13, and node 14, is outside the voltage safety range (0.9pu~1.1pu) and is in the danger zone. Dynamic reactive power compensation devices need to be installed to raise the system node voltage. Then, a sensitivity analysis of the node system is performed based on the system network topology. The results are as follows: Figure 4 As shown. Figure 4 It can be seen that the sensitivity of the four nodes, node 5, node 6, node 10, and node 16, is in the top four of all PQ nodes, and their indicators are significantly ahead of the remaining nodes. Therefore, these four nodes are selected to install dynamic reactive power compensation devices.

[0115] Then, the improved NSGA-Ⅱ algorithm provided by the present invention is used to optimize the reactive output of the dynamic supplementary compensation device:

[0116] Scheme 1: The optimization parameters selected in this scheme are population initialization, crossover probability, crossover operator and objective function;

[0117] The improved NSGA-Ⅱ algorithm is used to optimize the reactive output of the dynamic supplementary compensation device. The output of the above four reactive compensation devices is obtained as shown in Table 1:

[0118] Table 1 Schematic diagram of reactive power output of dynamic reactive power compensation device

[0119] equipment Device 1 Device 2 Device 3 Device 4 Output -500 -500 -383.42 382.10

[0120] In order to verify the effectiveness of the algorithm improvement, the performance of the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm are compared and analyzed. The Pareto front curves of the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm are as follows: Figure 5 As shown in the figure, it can be seen that the Pareto front curve of the improved algorithm of the present invention is better than the unimproved curve. It can be found that the straight lines perpendicular to the horizontal axis and the vertical axis are closer to the horizontal axis and the vertical axis than the unimproved algorithm in the corresponding case, indicating that the improved algorithm of the present invention has achieved performance improvement and verified the effectiveness of the algorithm. Comparative analysis of the minimum voltage deviation change of the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm, such as Figure 6 As shown in the figure, the improved algorithm of the present invention has converged at the 9th iteration, while the unimproved algorithm has converged at the 40th iteration. The convergence values ​​of the two are the same, indicating that the improved algorithm of the present invention has a faster convergence speed than the unimproved algorithm in the process of minimum voltage deviation change, and will not converge to the local extreme value, thereby verifying the effectiveness of the algorithm. Comparative analysis of the changes in the minimum system total loss between the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm is shown in the figure. Figure 7 As shown in the figure, although the unimproved algorithm can converge earlier than the improved algorithm of the present invention, it converges to the local extreme value and fails to find the global optimal value during the iteration process. The improved algorithm of the present invention jumps out of the local extreme value and can further search for a better value, thereby improving the performance and verifying the effectiveness of the algorithm.

[0121] The improved NSGA-Ⅱ algorithm of the present invention has two objective functions: minimum voltage deviation and minimum total system loss, and four control variables: reactive power output of reactive power compensation devices 1 to 4. The control variable search range is [-500,500], unit MVAr. Compare the system voltage of 39 nodes before and after the dynamic reactive power compensation resources are installed, such as Figure 8 As shown. Figure 8 It can be seen that the voltages of all nodes in the system have returned to the safe range. The dynamic reactive power compensation device has a lifting effect on the system voltage, which can improve the safety and stability of the system.

[0122] Scheme 2: The optimization parameters selected in this scheme are mutation operator, crossover probability, crossover operator and objective function;

[0123] The improved NSGA-II algorithm of the present invention is used to optimize the system reactive voltage, and the outputs of the above four reactive compensation devices are obtained as shown in Table 2:

[0124] Table 2 Schematic diagram of reactive power output of reactive power compensation device

[0125] equipment Device 1 Device 2 Device 3 Device 4 Output 82.24 188.58 -166.00 95.91

[0126] In order to verify the effectiveness of the algorithm improvement, the performance of the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm are compared and analyzed. The Pareto front curves of the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm are as follows: Fig. 9 As shown by Fig. 9 It can be seen that the Pareto front curve of the improved algorithm of the present invention is better than that of the unimproved one. By drawing straight lines perpendicular to the horizontal axis and the vertical axis, it can be found that the improved algorithm of the present invention is closer to the horizontal axis and the vertical axis than the unimproved algorithm in the corresponding case, which shows that the improved algorithm of the present invention has achieved performance improvement and verifies the effectiveness of the algorithm. Comparative analysis of the minimum voltage deviation change between the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm, such as Fig.10 As shown. Fig.10 It can be seen that the improved algorithm of the present invention has converged at the 35th iteration, while the unimproved algorithm converged at about the 100th iteration, and the convergence value of the improved algorithm of the present invention is lower than that of the unimproved algorithm, indicating that the improved algorithm of the present invention has a faster convergence speed than the unimproved algorithm in the process of minimum voltage deviation change, and will not converge to the local extreme value, thereby verifying the effectiveness of the algorithm. Comparative analysis of the changes in the minimum system total loss between the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm is shown in the figure. Fig.11 As shown. Fig.11 It can be seen that the improved algorithm of the present invention has converged to the optimal value at the 100th iteration, while the unimproved algorithm only converges at the 480th iteration, and its convergence value is greater than that of the improved algorithm of the present invention, indicating that the improved algorithm of the present invention has a faster convergence speed than the unimproved algorithm in the process of changing the minimum system total loss, and will not converge to the local extreme value, thereby verifying the effectiveness of the algorithm.

[0127] The improved NSGA-Ⅱ algorithm of the present invention has two objective functions: minimum voltage deviation, minimum total system loss, and four control variables: reactive power output of reactive power compensation devices 1 to 4. The control variable search range is [-500, 500], unit MVAr. Compare the system voltage of 39 nodes before and after the dynamic reactive power compensation resources are installed, such as Fig.12 As shown. Fig.12 It can be seen that the voltages of all nodes in the system have returned to the safe range. The dynamic reactive power compensation device has a lifting effect on the system voltage, which can improve the safety and stability of the system.

[0128] Scheme 3: The optimization parameters selected in this scheme are initialization population, crossover probability, crossover operator, crowding distance and objective function;

[0129] The improved NSGA-II algorithm of the present invention is used to optimize the system reactive voltage, and the outputs of the above four reactive compensation devices are obtained as shown in Table 3:

[0130] Table 3 Schematic diagram of reactive power output of reactive power compensation device

[0131] equipment Device 1 Device 2 Device 3 Device 4 Output 35.61 177.38 -85.27 298.60

[0132] In order to verify the effectiveness of the algorithm improvement of the present invention, the performance of the improved NSGA-II algorithm of the present invention and the unimproved NSGA-II algorithm are compared and analyzed. The Pareto front curves of the improved NSGA-II algorithm of the present invention and the unimproved NSGA-II algorithm are as follows: Fig.13 As shown by Fig.13 It can be seen that the Pareto front curve of the improved algorithm of the present invention is better than that of the unimproved one. By drawing straight lines perpendicular to the horizontal axis and the vertical axis, it can be found that the improved algorithm of the present invention is closer to the horizontal axis and the vertical axis than the unimproved algorithm in the corresponding case, which shows that the improved algorithm of the present invention has achieved performance improvement and verifies the effectiveness of the algorithm. Comparative analysis of the minimum voltage deviation change between the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm, such as Fig.14 As shown. Fig.14 It can be seen that the improved algorithm of the present invention has converged at the 9th iteration, while the unimproved algorithm has converged at the 40th iteration. The convergence values ​​of the two are the same, indicating that the improved algorithm of the present invention has a faster convergence speed than the unimproved algorithm in the process of minimum voltage deviation change, and will not converge to the local extreme value, thereby verifying the effectiveness of the algorithm. Comparative analysis of the improved NSGA-Ⅱ algorithm of the present invention and the unimproved NSGA-Ⅱ algorithm on the change of the minimum system total loss, the results are as follows Fig.15 As shown. Fig.15 It can be seen that the improved algorithm of the present invention has converged at the 20th iteration, and has fluctuations in the later stage of convergence, while the unimproved algorithm has converged at the 50th iteration, and the convergence value is greater than that of the improved algorithm of the present invention, indicating that the improved algorithm of the present invention converges faster than the unimproved algorithm, and the final convergence result is good. Although there are fluctuations in the later stage, the fluctuation amplitude is not large, which verifies the effectiveness of the algorithm.

[0133] The improved NSGA-Ⅱ algorithm of the present invention has two objective functions: minimum voltage deviation, minimum total system loss, and four control variables: reactive power output of reactive power compensation devices 1 to 4. The control variable search range is [-500, 500], unit MVAr. Compare the system voltage of 39 nodes before and after the dynamic reactive power compensation resources are installed, such as Fig.16 As shown. Fig.16 It can be seen that the voltages of all nodes in the system have returned to the safe range. The dynamic reactive power compensation device has a lifting effect on the system voltage, which can improve the safety and stability of the system.

[0134] like Fig.17 The figure shows a schematic diagram of the functional modules of the system of the present invention: the system disclosed in the present invention for realizing the optimization method of the dynamic reactive power compensation device of the power system comprises a data acquisition module, a sensitivity analysis module and a reactive power optimization module; the data acquisition module, the sensitivity analysis module and the reactive power optimization module are connected in series in sequence; the data acquisition module is used to acquire data information of the target power system, and upload the data information to the sensitivity analysis module; the sensitivity analysis module is used to perform sensitivity analysis on the node voltage of the target power system according to the acquired data information, and select the installation position of the dynamic reactive power compensation device in the target power system according to the analysis results, and upload the data information to the reactive power optimization module; the reactive power optimization module is used to optimize and calculate the reactive output of the installed dynamic reactive power compensation device based on a genetic algorithm, determine the reactive output of the dynamic reactive power compensation device, and complete the optimization of the dynamic reactive power compensation device of the target power system.

Claims

1. A method for optimizing a dynamic reactive power compensation device of a power system, comprising the following steps: S1. Obtain data information of the target power system; S2. Perform sensitivity analysis on the node voltage of the target power system according to the data information obtained in step S1, and select the installation location of the dynamic reactive power compensation device in the target power system according to the analysis results; S3. Based on the genetic algorithm, the reactive output of the installed dynamic reactive compensation device is optimized and calculated, the reactive output of the dynamic reactive compensation device is determined, and the optimization of the dynamic reactive compensation device of the target power system is completed.

2. The optimization method of the power system dynamic reactive power compensation device according to claim 1, characterized in that Step S2, based on the data information obtained in step S1, performs sensitivity analysis on the node voltage of the target power system, and selects the installation location of the dynamic reactive power compensation device in the target power system according to the analysis result, specifically includes the following steps: According to the data information obtained in step S1, based on the partial derivative of the node voltage of the power system power flow Jacobian matrix with respect to reactive power, a sensitivity analysis of the node voltage of the target power system is completed; According to the obtained sensitivity analysis results, the analysis results are sorted in descending order, and the top N nodes are selected as the installation locations of the dynamic reactive power compensation device in the target power system; N is a set natural number.

3. The optimization method of the power system dynamic reactive power compensation device according to claim 2 is characterized in that The step S3 described in which the reactive output of the installed dynamic reactive compensation device is optimized and calculated based on the genetic algorithm to determine the reactive output of the dynamic reactive compensation device specifically includes the following steps: Setting algorithm parameters of the NSGA-Ⅱ algorithm; the algorithm parameters include initializing the population, setting the crossover probability, setting the crossover operator, setting the mutation operator, setting the crowding distance, and setting the objective function; The NSGA-II algorithm is used to optimize the reactive output of the installed dynamic reactive compensation device to determine the reactive output of the dynamic reactive compensation device.

4. The optimization method of the power system dynamic reactive power compensation device according to claim 3 is characterized in that The initialization of the population specifically includes the following steps: The purpose of initializing the population is to make the initial population more widely and evenly distributed in the search space, so as to improve the diversity of the population and prevent the population from falling into the local optimum; Based on the Tent chaotic map, the initial population is initialized using the following formula: In the formula is the k-th dimension position component of the i-th individual; is the lower limit of the k-th dimension position component of the i-th individual; is the upper limit of the k-th dimension position component of the ith individual; is the Tent chaotic map number of the k-dimensional position component of the i-th individual, and u is a random number between [0,1].

5. The optimization method of the power system dynamic reactive power compensation device according to claim 3 is characterized in that The setting of the crossover probability specifically includes the following steps: The purpose of setting the crossover probability is to enhance population diversity and promote the algorithm to escape from the local optimum; The crossover probability is calculated using the following formula: Where P is the crossover probability; d min is the minimum crowding distance of individuals in the population; d max is the maximum crowding distance of an individual in the population.

6. The optimization method of the power system dynamic reactive power compensation device according to claim 3 is characterized in that The setting of the crossover operator specifically includes the following steps: The purpose of setting the crossover operator is to make the algorithm have better global search capabilities; The crossover operator is calculated using the following formula: In the formula is the i-th individual in the t+1-th generation; is the i-th individual in the t-th generation; a is a random number between [0,1]; is the jth individual in the t+1th generation; is the jth individual in the tth generation.

7. The optimization method of the power system dynamic reactive power compensation device according to claim 3 is characterized in that The setting of the mutation operator specifically includes the following steps: The purpose of setting the mutation operator is to enable the algorithm to generate better solutions during local search, so as to improve the convergence performance and distribution characteristics of the algorithm; The following formula is used to calculate the i-th individual after mutation: In the formula is the i-th individual after mutation; is the i-th individual before mutation; t is the current iteration number; is the limit of the k-th dimension position component of the ith individual; rand is a random number between the interval [0,1]; Δ(t,z) is a function that returns a value between [0,z], and Δ(t,z)=z×(1-r(1-t / T) b ), r is a random number between [0,1], T is the maximum number of iterations, and b is a set constant.

8. The optimization method of the power system dynamic reactive power compensation device according to claim 3 is characterized in that The setting of the crowding distance specifically includes the following steps: The purpose of setting the crowding distance is to enable the algorithm to more accurately evaluate the pros and cons of individuals; The crowding distance is calculated using the following calculation: CDE in the formula i j is the crowding distance of the ith individual on the jth objective function; df i j is the difference between the solution of the ith individual and its predecessor on the jth objective function; pf i j is the first intermediate variable, and The second intermediate variable, and is the difference between the i-th individual and its next neighbor solution on the j-th objective function; is the third intermediate variable, and is the maximum value of all individuals on the jth objective function; is the minimum value of all individuals on the jth objective function.

9. The optimization method of the power system dynamic reactive power compensation device according to claim 3, characterized in that The setting of the objective function specifically includes the following steps: The objective function is set with the goal of minimizing voltage deviation and total system loss; The following formula is used to express the minimum voltage deviation: Where N is the number of nodes; V i is the voltage of the i-th node; The following formula is used to express the minimum total system loss: min P loss +Q loss Where P loss is the system active power loss; Q loss Reactive power loss of the system.

10. A system for implementing the optimization method of a power system dynamic reactive power compensation device according to any one of claims 1 to 9, characterized in that It includes a data acquisition module, a sensitivity analysis module and a reactive power optimization module; the data acquisition module, the sensitivity analysis module and the reactive power optimization module are connected in series in sequence; the data acquisition module is used to acquire data information of the target power system and upload the data information to the sensitivity analysis module; The sensitivity analysis module is used to perform sensitivity analysis on the node voltage of the target power system according to the acquired data information, select the installation location of the dynamic reactive power compensation device in the target power system according to the analysis results, and upload the data information to the reactive power optimization module; The reactive power optimization module is used to optimize the installed dynamic reactive power based on genetic algorithm. The reactive output of the reactive power compensation device is optimized and calculated to determine the reactive output of the dynamic reactive power compensation device. Complete the optimization of the dynamic reactive power compensation device of the target power system.

Citation Information

Patent Citations

  • Multi-target planning method for power grid of wind farms based on improved NSGA-II

    CN104866919A

  • Distribution network reactive power compensation energy saving method

    CN108306346A

  • Power distribution network regulation and control method and device and terminal equipment

    CN113364057A

  • Power distribution network reactive power optimization method and system considering source load uncertainty

    CN118174311A