Distributed photovoltaic cluster frequency modulation coefficient optimization method based on improved PWSO algorithm, medium and equipment

Through the improved PWSO algorithm, the active power-frequency sag control response relationship of distributed photovoltaic clusters is analyzed, the adaptive frequency sag control scheme is designed and optimization model is established, which solves the problem of frequency modulation optimization of distributed photovoltaic clusters in the existing technology, and achieves accurate Improved frequency control and system stability.

CN119010071APending Publication Date: 2024-11-22JIANGSU FRONTIER ELECTRIC TECH +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411018860.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing distributed photovoltaic cluster frequency modulation optimization methods have problems such as inefficient resource use and poor solution algorithm effects, and it is difficult to effectively deal with the challenges of power grid operation safety and stability, especially in complex nonlinear and non-convex optimization problems.

Method used

Using the improved PWSO algorithm, by analyzing the active power-frequency sag control response relationship of distributed photovoltaic clusters, an adaptive frequency sag control scheme is designed, and an adaptive frequency sag control optimization model is established, and a particle swarm and Gaussian variation method is used to solve it. Output the optimal solution to optimize the frequency modulation coefficient of the distributed photovoltaic cluster.

Benefits of technology

Accurate frequency control of distributed photovoltaic clusters is realized, system robustness and environmental adaptability are improved, local optimal solutions are avoided, and system performance is optimized and stable operation is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010071A_ABST
    Figure CN119010071A_ABST
Patent Text Reader

Abstract

The invention provides a distributed photovoltaic cluster frequency modulation coefficient optimization method based on an improved PWSO algorithm, a medium and equipment, and the method comprises the steps: firstly, analyzing an active power-frequency droop control response relation of distributed photovoltaic cluster power generation; secondly, designing an adaptive frequency droop control scheme based on a power tracking operation strategy; then, establishing an adaptive frequency droop control coefficient optimization model of the distributed photovoltaic cluster participating in frequency modulation; and finally, solving the distributed photovoltaic cluster frequency modulation coefficient optimization model based on an improved PWSO algorithm, and realizing accurate control of the distributed photovoltaic cluster frequency. According to the method, the drop or rise of the frequency of the distributed photovoltaic cluster is effectively inhibited, and the new energy consumption capability is greatly improved under the condition that the frequency modulation operation stability of the distributed photovoltaic cluster is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distributed photovoltaic cluster optimization parameter configuration, and specifically relates to a distributed photovoltaic cluster frequency modulation coefficient optimization method, medium and equipment based on an improved PWSO algorithm. Background Art

[0002] Due to the uncertainty and volatility of photovoltaic power generation, it poses a challenge to the stability and regulation capacity of the power grid. Therefore, studying how to optimize the frequency regulation performance of distributed photovoltaic clusters can improve the integration of photovoltaic power generation systems and power grids, improve the stability and reliability of power grids, and promote the large-scale application of clean energy.

[0003] Existing parameter optimization methods face many challenges in the actual operation of power grids, such as the difficulty in accurately obtaining system topology and network parameters, and the inability to effectively deal with the problem of power grid operation safety. In order to overcome these difficulties, mathematical optimization methods, machine learning methods, and optimized droop control methods are often used. For mathematical optimization methods, a mathematical programming model is established to mathematically describe the objective function and constraints, and then a mathematical optimization algorithm is used to solve the optimal solution. This method is difficult to solve complex problems and is not suitable for some nonlinear and non-convex optimization problems. For machine learning methods, deep learning technology is used to establish a model to predict the relationship between photovoltaic cluster parameters and performance, and then parameter optimization is achieved by optimizing network parameters. This method requires a large amount of data for training and has poor interpretability of the model; for heuristic algorithms, the biological evolution process is simulated, and the optimal solution is searched through population selection, crossover, mutation and other operations. These algorithms may fall into local optimal solutions and have limited global search capabilities for complex problems. For optimizing droop control, distributed photovoltaic clusters mainly perform load shedding droop control by setting three control parameters, namely load shedding rate, droop coefficient and dead zone width, in accordance with the static frequency characteristic curve of synchronous generators. The parameters of the static frequency characteristic curve set by this method may not be sufficient to achieve precise control of the distributed cluster system.

[0004] In summary, the existing methods have a series of problems such as low resource utilization efficiency and poor solution algorithm effect. Therefore, how to overcome the frequency anti-disturbance ability of distributed photovoltaic clusters and quickly develop an adaptive frequency droop control coefficient optimization scheme to ensure the safe, stable and economic operation of the power grid has become a very challenging task. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a method, medium and device for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on an improved PWSO algorithm.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on an improved PWSO algorithm is characterized by comprising the following steps:

[0008] S1: Analyze the active power-frequency droop control response relationship of distributed photovoltaic cluster power generation;

[0009] S2: Based on the active power-frequency droop control response relationship, an adaptive frequency droop control scheme based on power tracking operation strategy is designed;

[0010] S3: To optimize the droop control gain in the droop control scheme, an adaptive frequency droop control optimization model for distributed photovoltaic clusters participating in frequency modulation is established;

[0011] S4: Solve the adaptive frequency droop control optimization model based on the PWSO algorithm, and output the optimal solution to optimize the frequency modulation coefficient of the distributed photovoltaic cluster.

[0012] To optimize the above technical solutions, the specific measures taken also include:

[0013] Furthermore, in step S1, the analysis of the active power-frequency droop control response relationship of the distributed photovoltaic cluster power generation is specifically:

[0014] Assume that there are N inverters in the distributed photovoltaic cluster, and the actual output power of each inverter is P i , i=1,2,.....,N,the frequency f of the i-th inverter in the distributed photovoltaic cluster i , the frequency change rate of the i-th inverter in the distributed photovoltaic cluster at time t The active power-frequency droop control response relationship is expressed as:

[0015] P i =P i,ref +K0·(f i,ref -f i );

[0016] Where P i,ref is the reference active power output of the ith inverter; K0 is the droop control gain, which is used to adjust the response of the inverter output power to the frequency change; f i,ref It is the reference frequency of the distributed photovoltaic cluster.

[0017] Further, in step S2, the design of an adaptive frequency droop control scheme based on a power tracking operation strategy is specifically as follows:

[0018]

[0019] In the formula, K iis the nonlinear droop control gain of the i-th inverter; is the deviation of the frequency of the i-th inverter relative to the reference frequency; is the rate of change of the frequency deviation of the i-th inverter; the droop control gain K i Divided into left droop control gain K i1 and right droop control gain K i2 , the left droop control gain is used when the frequency is lower than the reference frequency, and the right droop control gain is used when the frequency is higher than the reference frequency. The specific expression is as follows:

[0020]

[0021] Furthermore, the establishment of the adaptive frequency droop control optimization model for the distributed photovoltaic cluster participating in frequency modulation specifically includes establishing an objective function and constraint conditions; the establishment of the objective function is specifically as follows:

[0022] Establish frequency stability target:

[0023]

[0024] Establish system response speed goals:

[0025]

[0026] In the formula, τ i is the response time of the i-th inverter;

[0027] Establish energy loss goals:

[0028]

[0029] Finally, the comprehensive objective function is established:

[0030] F(X)=min(F1+F2+F3);

[0031] Among them, X is the distributed photovoltaic cluster optimization parameter matrix. For a distributed photovoltaic cluster with N inverters, the optimization parameter matrix X is:

[0032]

[0033] In the formula, K i1 , K i2 are the left and right droop control gain coefficients of the i-th inverter respectively.

[0034] Furthermore, the constraints specifically include:

[0035] Inverter response time constraints:

[0036] τ min ≤τi ≤τ max ;

[0037] In the formula, τ min , τ max The maximum and minimum response time of the inverter;

[0038] Inverter Limitation Constraints:

[0039]

[0040] Where P i,min and P i,max are the minimum and maximum power outputs of the i-th inverter respectively; is the maximum limit of the power change rate of the i-th inverter;

[0041] Stability constraints:

[0042] f min ≤f i ≤f max ;

[0043] In the formula, f min and f max The minimum and maximum permissible frequencies of the distributed photovoltaic cluster system.

[0044] Further, in step S4, solving the adaptive frequency droop control optimization model based on the PWSO algorithm specifically includes the following sub-steps:

[0045] S41: Initialize the parameters of the white shark optimization algorithm, the white shark population represents the number of independent variables X, the prey represents the solution X of the objective function, and the initial fitness value of the white shark is equal to the initial value of the objective function;

[0046] S42: Update the speed of the white shark moving towards the prey stage, which represents the speed at which the white shark population searches for the independent variable solution;

[0047] S43: White shark towards optimal prey stage position X i,G An update is made to indicate where the white shark population has found a local solution;

[0048] S44: Compare White Shark Position X i,G The fitness value and the average position of white sharks The fitness value of

[0049] S45: If Use the PSO algorithm to update the speed of the white shark moving toward the prey stage, and return to S43; if Use Gaussian mutation method to update the positions of all white sharks;

[0050] S46: Output the global optimal solution as the optimized distributed photovoltaic cluster frequency modulation coefficient.

[0051] Further, in step S43, the white shark moves toward the position X of the optimal prey stage. i,G Update, specifically:

[0052]

[0053] In the formula, a1 and a2 represent one-dimensional binary vectors, f is the frequency of wave motion, and L high and L low are the upper and lower boundaries of the white shark, m is the threshold, and rand is a random number in the range of [0, 1]. Is an operation symbol.

[0054] Furthermore, in step S45, the PSO algorithm is used to update the moving speed of the white shark towards the prey stage, specifically:

[0055]

[0056] Where w is the inertia weight, which is used to adjust the influence of the previous moment's speed on the current speed; d1 and d2 are random numbers in the interval [0, 1]; k1 and k2 are acceleration constants; S3 is a constant that adjusts the influence of the white shark on the prey; L prey is the direction of the prey; X i (k) prey is the direction of the white shark; |L prey -X i (k) prey | is the direction of the white shark towards its prey;

[0057] The Gaussian mutation method is used to update the positions of all white sharks, specifically:

[0058] Gaussian mutation is used to update the white shark's position for the last time to obtain the global optimal position for the white shark to catch prey.

[0059]

[0060] In the formula, σ is the standard deviation of variation;

[0061] Get the global optimal solution X i (k+1):

[0062]

[0063] Where r1, r2 and r3 are random numbers in the range of [0, 1]; S1 is the olfactory parameter of the white shark; S2 is the visual parameter of the white shark, D is a random constant that conforms to the normal distribution, and sgn is the sign function.

[0064] Accordingly, the present invention proposes a computer-readable storage medium storing a computer program, characterized in that the computer program enables a computer to execute the distributed photovoltaic cluster frequency modulation coefficient optimization method based on the improved PWSO algorithm as described above.

[0065] Accordingly, the present invention proposes an electronic device, characterized in that it includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the distributed photovoltaic cluster frequency modulation coefficient optimization method based on the improved PWSO algorithm as described above is implemented.

[0066] The beneficial effects of the present invention are as follows: the present invention aims to realize precise frequency control of distributed photovoltaic clusters. Firstly, the active power-frequency droop control response relationship is analyzed to provide a basis for subsequent design. Secondly, an adaptive frequency droop control scheme based on power tracking is designed, and a left and right droop control coefficient operation method is proposed. Compared with the traditional droop control, the system robustness and environmental adaptability can be improved. Then, an adaptive frequency droop control optimization model is established, and the particle swarm algorithm and Gaussian mutation are introduced into the white shark optimization algorithm for speed and position update. Compared with the traditional optimization algorithm, the combination of particle swarm and white shark optimization algorithm can more effectively explore the search space and avoid falling into the local optimum. At the same time, Gaussian mutation can fine-tune the speed and position of particles, so as to maintain a certain exploration ability in the later stage of the search. Finally, the improved PWSO algorithm is used to solve the adaptive frequency droop control coefficient optimization model, and parameter optimization is realized, so as to realize the precise control of the frequency of the distributed photovoltaic cluster, and at the same time ensure the optimization of system performance and stable operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a flow chart of the distributed photovoltaic cluster frequency modulation coefficient optimization method based on the improved PWSO algorithm of the present invention.

[0068] Figure 2 It is a flow chart of the improved PWSO algorithm of the present invention.

[0069] Figure 3 It is a schematic diagram of a calculation example of the distributed photovoltaic cluster participating in frequency modulation according to the present invention.

[0070] Figure 4 It is a frequency response diagram of the distributed photovoltaic cluster participating in the grid frequency modulation of the present invention.

[0071] Figure 5It is a comparison diagram of the convergence of the method of the present invention and different algorithms. DETAILED DESCRIPTION

[0072] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0073] In one embodiment, the present invention proposes a distributed photovoltaic cluster frequency modulation coefficient optimization method based on an improved PWSO algorithm, such as Figure 1 As shown, the following steps are included.

[0074] S1: Analyze the active power-frequency droop control response relationship of distributed photovoltaic cluster power generation.

[0075] Active power-frequency droop control of distributed photovoltaic cluster power generation systems is a common power system control strategy used to maintain the frequency stability of the power system. The basic idea of ​​droop control is to adjust the active power output of the photovoltaic power generation system according to the changes in the grid frequency to keep the system frequency within the normal range. Droop control is usually achieved by controlling the output power of the photovoltaic inverter.

[0076] Assume that there are N inverters in the distributed photovoltaic cluster, and the actual output power of each inverter is P i , i = 1, 2, ....., N. The frequency f of the i-th inverter in the distributed photovoltaic cluster system i , the frequency change rate of the i-th inverter at time t in the distributed photovoltaic cluster system The droop control is specifically expressed as:

[0077] P i =P i,ref +K0·(f i,ref -f i );

[0078] Where P i,ref is the reference active power output of the ith inverter; K0 is the droop control gain, which is used to adjust the response of the inverter output power to the frequency change; f i,ref is the reference frequency of the distributed photovoltaic cluster, that is, the reference frequency of the entire distributed photovoltaic cluster system is f i,ref .

[0079] S2: Based on the active power-frequency droop control response relationship, an adaptive frequency droop control scheme based on power tracking operation strategy is designed.

[0080] The adaptive frequency droop control scheme based on nonlinear droop control strategy adopts a dynamic adjustment method based on the system frequency change rate. The droop control parameters are adaptively adjusted according to the speed of system frequency change to improve the system response speed and stability.

[0081]

[0082] Where, K is the nonlinear droop control gain of the i-th inverter; is the deviation of the frequency of the i-th inverter relative to the reference frequency; is the change rate of the frequency deviation of the i-th inverter; the nonlinear droop control gain can be adaptively adjusted according to the size of the system frequency change rate to enhance the dynamic response capability of the system.

[0083] S3: With the purpose of optimizing the droop control gain in the droop control scheme, an adaptive frequency droop control coefficient optimization model for distributed photovoltaic clusters participating in frequency regulation is established.

[0084] The left droop control gain and the right droop control gain are the gain parameters for the two directions of inverter output power regulation when the power system frequency deviates from the reference frequency. The left droop control gain is usually used when the frequency is lower than the reference frequency, while the right droop control gain is used when the frequency is higher than the reference frequency.

[0085] Set the droop control gain K i Divided into the left droop control gain K i1 and right droop control gain K i2 , the specific expression can be as follows:

[0086]

[0087] Set the distributed photovoltaic cluster optimization parameter matrix X. For a distributed photovoltaic cluster with N inverters, the parameter matrix X is:

[0088]

[0089] In the formula, K i1 , K i2 are the left and right droop control gain coefficients of the i-th inverter respectively.

[0090] The adaptive frequency droop control coefficient optimization model specifically includes establishing an objective function and constraint conditions.

[0091] The objective function specifically includes:

[0092] Frequency stability objective: Optimize the control gain parameters to maximize the frequency stability of the power system so that the system can quickly recover to a stable state under frequency disturbances, as shown in the following formula:

[0093]

[0094] System response speed target: Optimize the control gain parameters to minimize the response delay between the system frequency deviation and the frequency change rate to improve the system response speed, as shown in the following formula:

[0095]

[0096] In the formula, τ i is the response time of the i-th inverter.

[0097] Energy loss target: Optimize the control gain parameters to minimize the energy loss in the system and ensure that the system's operating efficiency is maximized, as shown in the following formula:

[0098]

[0099] Establish a comprehensive objective function:

[0100] F(X)=min(F1+F2+F3).

[0101] The constraints include:

[0102] Inverter response time constraint: Limit the inverter response time to ensure that the inverter can respond to frequency changes in a shorter time, as shown in the following formula:

[0103] τ min ≤τ i ≤τ max ;

[0104] In the formula, τ min , τ max The maximum and minimum response time of the inverter.

[0105] Inverter limitation constraints: Consider the working limitations of the inverter, such as maximum power output limit, change rate limit, etc., to ensure that the optimized control gain parameters meet the working requirements of the inverter, as shown in the following formula:

[0106]

[0107] Where P i,min , P i,max is the minimum and maximum power output of the i-th inverter; is the maximum limit of the power change rate of the i-th inverter.

[0108] Stability constraint: Ensure that the optimized control gain parameters do not introduce system instability, that is, the frequency response of the system should remain within a safe range, as shown in the following formula:

[0109] f min ≤f i ≤f max ;

[0110] In the formula, f min 、f max For this purpose, the minimum and maximum permissible frequencies of distributed photovoltaic cluster systems are determined.

[0111] S4: Based on the improved Particle-White Shark Optimizer (PWSO) algorithm, the distributed photovoltaic cluster frequency modulation optimization model is solved. The improved PWSO algorithm is as follows: Figure 2 As shown, the following steps are included.

[0112] S41: Initialize white shark optimization algorithm parameters, including white shark population, which represents the population number of the independent variable. The prey usually represents the solution X of the objective function, and determines the fitness function value of the initial white shark, that is, the initial value of the objective function.

[0113] S42: White Shark's movement speed towards prey phase updated V i (k+1), represents the speed at which the white shark population searches for solutions to the independent variables:

[0114] V i (k+1)=α[V i (k)+β1b1(X Gbest (k)-X i (k))+β2b2(X ibest (k)-X i (k))];

[0115] Where V i (t+1) is the speed of the ith white shark in the k+1th iteration; α is the speed decay factor, which is used to control the inertial part in the speed update; V i (k) is the speed of the ith white shark in the kth iteration; β1 and β2 are acceleration coefficients used to control the force of the white shark moving to the optimal position (prey); b1 and b2 are random numbers, usually between [0, 1], used to introduce randomness; X Gbest (k) is the optimal position of the local white shark in the kth iteration; X ibest (k) is the optimal position of the best individual white shark in the kth iteration.

[0116] S43: White shark moves towards optimal prey stage position X i,G The update indicates that the white shark population has found the location of the local solution and updated to this location:

[0117]

[0118] In the formula, a1 and a2 represent one-dimensional binary vectors, f is the frequency of wave motion, and L high and L loware the upper and lower boundaries of the white shark, m is the threshold, and rand is a random number in the range of [0, 1]. Is an operation symbol.

[0119] S44: Compare White Shark Position X i,G The fitness value and the average position of white sharks The fitness value of .

[0120] S45: If Use the improved PSO algorithm to update the movement speed of the white shark towards the prey stage, and return to S43; if Update all white shark positions using Gaussian mutation method.

[0121] In this embodiment, the improved PSO algorithm is used to update the movement speed of the white shark towards the prey stage, specifically:

[0122]

[0123] Where w is the inertia weight, which is used to adjust the influence of the previous moment's speed on the current speed; d1 and d2 are random numbers in the interval [0, 1]; k1 and k2 are acceleration constants; S3 is a constant that adjusts the influence of the white shark toward the prey; L prey is the direction of the prey; X i (k) prey is the direction of the white shark; |L prey -X i (k) prey | is the direction from the shark towards the prey.

[0124] In this embodiment, the Gaussian mutation method is introduced to update the positions of all white sharks, specifically:

[0125] Gaussian mutation is used to update the position of the white shark for the last time to obtain the global optimal position for the white shark to catch prey.

[0126]

[0127] In the formula, σ is the standard deviation of variation;

[0128] Get the global optimal solution:

[0129]

[0130] Where r1, r2 and r3 are random numbers in the range of [0, 1]; S1 is the olfactory parameter of the white shark; S2 is the visual parameter of the white shark, D is a random constant that conforms to the normal distribution, and sgn is the sign function.

[0131] S46: Output the optimal solution to optimize the frequency modulation coefficient of the distributed photovoltaic cluster.

[0132] Next, the effectiveness of the method of this embodiment is illustrated by using a specific example.

[0133] This example is applied to the IEEE 9-node example system for simulation verification. The basic data parameters refer to the national standard three-machine nine-node system data. In this example, a generator is replaced by 6 distributed photovoltaics. The 6 distributed photovoltaics constitute a distributed photovoltaic cluster, and the total capacity is the same as the original generator. The distributed photovoltaic cluster system constructed in this example participates in frequency modulation. Figure 3 shown.

[0134] Taking a typical disturbance of a 1MW load surge at noon as an example, the improved droop control scheme proposed in this embodiment is compared with the traditional control scheme without considering the secondary frequency modulation and subsequent frequency response. The frequency response of distributed photovoltaic participating in grid frequency modulation is as follows: Figure 4 .

[0135] according to Figure 4 The results show that the distributed photovoltaic cluster parameter optimization method designed in this embodiment effectively alleviates the impact of load surge on the power grid, allowing the system frequency to quickly return to stability. Compared with the traditional method, the steady-state frequency is significantly improved, showing the significant advantages of this method in improving the stability of the power grid.

[0136] In order to further verify the effectiveness of the PWSO algorithm proposed in this embodiment, the PWSO algorithm proposed in this embodiment is compared with the particle swarm optimization algorithm (PSO), the white shark optimization algorithm (WSO), and the sparrow search algorithm (SSA). The convergence of different algorithms is shown in Figure 2. Figure 5 shown.

[0137] from Figure 5 It can be seen that the algorithm proposed in this embodiment shows extremely strong robustness in the iterative optimization process. The convergence curve is relatively smooth, and the final convergence degree reaches the optimal state. This shows that the algorithm not only has high stability when dealing with complex problems, but also can effectively avoid falling into the local optimal solution, thereby ensuring the finding of the global optimal solution. By comparing with other algorithms, it can be clearly seen that the algorithm proposed in the present invention has significant advantages in convergence speed and optimization effect, showing its great potential in practical applications.

[0138] In another embodiment, the present invention proposes a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on an improved PWSO algorithm as described in the first embodiment.

[0139] In another embodiment, the present invention proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on an improved PWSO algorithm as described in Example 1 is implemented.

[0140] In the embodiments disclosed in the present application, the computer storage medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. The computer storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of computer storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0141] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0142] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A distributed photovoltaic cluster frequency modulation coefficient optimization method based on an improved PWSO algorithm is characterized in that: The steps include: S1: Analyze the active power-frequency droop control response relationship of distributed photovoltaic cluster power generation; S2: Based on the active power-frequency droop control response relationship, an adaptive frequency droop control scheme based on power tracking operation strategy is designed; S3: To optimize the droop control gain in the droop control scheme, an adaptive frequency droop control optimization model for distributed photovoltaic clusters participating in frequency modulation is established; S4: Solve the adaptive frequency droop control optimization model based on the PWSO algorithm, and output the optimal solution to optimize the frequency modulation coefficient of the distributed photovoltaic cluster.

2. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 1, characterized in that: In step S1, the analysis of the active power-frequency droop control response relationship of the distributed photovoltaic cluster power generation is specifically as follows: Assume that there are N inverters in the distributed photovoltaic cluster, and the actual output power of each inverter is P i , i=1,2,.....,N,the frequency f of the i-th inverter in the distributed photovoltaic cluster i , the frequency change rate of the i-th inverter in the distributed photovoltaic cluster at time t The active power-frequency droop control response relationship is expressed as: P i =P i,ref +K0·(f i,ref -f i ); Where P i,ref is the reference active power output of the ith inverter; K0 is the droop control gain, which is used to adjust the response of the inverter output power to the frequency change; f i,ref It is the reference frequency of the distributed photovoltaic cluster.

3. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 2, characterized in that: In step S2, the design of an adaptive frequency droop control scheme based on a power tracking operation strategy is specifically as follows: In the formula, K i is the nonlinear droop control gain of the i-th inverter; is the deviation of the frequency of the i-th inverter relative to the reference frequency; is the rate of change of the frequency deviation of the i-th inverter; the droop control gain K i Divided into left droop control gain K i1 and right droop control gain K i2 , the left droop control gain is used when the frequency is lower than the reference frequency, and the right droop control gain is used when the frequency is higher than the reference frequency. The specific expression is as follows:

4. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 3, characterized in that: The establishment of the adaptive frequency droop control optimization model for the distributed photovoltaic cluster participating in frequency modulation specifically includes establishing an objective function and constraint conditions; the establishment of the objective function is specifically as follows: Establish frequency stability target: Establish system response speed goals: In the formula, τ i is the response time of the i-th inverter; Establish energy loss goals: Finally, the comprehensive objective function is established: F(X)=min(F1+F2+F3); Among them, X is the distributed photovoltaic cluster optimization parameter matrix. For a distributed photovoltaic cluster with N inverters, the optimization parameter matrix X is: In the formula, K i1 , K i2 are the left and right droop control gain coefficients of the i-th inverter respectively.

5. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 4, characterized in that: The constraints specifically include: Inverter response time constraints: t min ≤τ i ≤τ max ; In the formula, τ min , τ max The maximum and minimum response time of the inverter; Inverter Limitation Constraints: Where P i,min and P i,max are the minimum and maximum power outputs of the i-th inverter respectively; is the maximum limit of the power change rate of the i-th inverter; Stability constraints: f min ≤f i ≤f max ; In the formula, f min and f max The minimum and maximum permissible frequencies of the distributed photovoltaic cluster system.

6. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 4, characterized in that: In step S4, solving the adaptive frequency droop control optimization model based on the PWSO algorithm specifically includes the following sub-steps: S41: Initialize the parameters of the white shark optimization algorithm, the white shark population represents the number of independent variables X, the prey represents the solution X of the objective function, and the initial fitness value of the white shark is equal to the initial value of the objective function; S42: Update the speed of the white shark moving towards the prey stage, which represents the speed at which the white shark population searches for the independent variable solution; S43: White shark towards optimal prey stage position X i,G An update is made to indicate where the white shark population has found a local solution; S44: Compare White Shark Position X i,G The fitness value and the average position of white sharks The fitness value of S45: If Use the PSO algorithm to update the speed of the white shark moving toward the prey stage, and return to S43; if Use Gaussian mutation method to update the positions of all white sharks; S46: Output the global optimal solution as the optimized distributed photovoltaic cluster frequency modulation coefficient.

7. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 6, characterized in that: In step S43, the white shark moves toward the position X of the optimal prey stage. i,G Update, specifically: In the formula, a1 and a2 represent one-dimensional binary vectors, f is the frequency of wave motion, and L high and L low are the upper and lower boundaries of the white shark, m is the threshold, and rand is a random number in the range of [0, 1]. Is the operator symbol.

8. The method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm according to claim 6, characterized in that: In step S45, the PSO algorithm is used to update the speed of the white shark moving towards the prey stage, specifically: Where w is the inertia weight, which is used to adjust the influence of the previous moment's speed on the current speed; d1 and d2 are random numbers in the interval [0, 1]; k1 and K2 are acceleration constants; S3 is a constant that adjusts the influence of the white shark toward the prey; L prey is the direction of the prey; X i (k) prey is the direction of the white shark; |L prey -X i (k) prey | is the direction of the white shark towards its prey; The Gaussian mutation method is used to update the positions of all white sharks, specifically: Gaussian mutation is used to update the white shark's position for the last time to obtain the global optimal position for the white shark to capture prey. In the formula, σ is the standard deviation of variation; Get the global optimal solution X i (k+1): Where r1, r2 and r3 are random numbers in the range of [0, 1]; S1 is the olfactory parameter of the white shark; S2 is the visual parameter of the white shark, D is a random constant that conforms to the normal distribution, and sgn is the sign function.

9. A computer-readable storage medium storing a computer program, characterized in that: The computer program enables the computer to execute the method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm as described in any one of claims 1 to 8.

10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for optimizing the frequency modulation coefficient of a distributed photovoltaic cluster based on the improved PWSO algorithm as described in any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • DPVs fast active power regulation method based on optimal dynamic droop coefficient

    CN119401576A

  • Fast active power regulation method of DPVs based on optimal dynamic droop coefficient

    CN119401576B