A fast tracking optimization method for wind farms based on gradient tracking algorithm
Through the wind farm fast tracking optimization method based on the gradient tracking algorithm, the voltage limit and system network loss problems caused by short-term fluctuations in turbine power in the wind farm are solved, efficient optimization and safe operation are achieved, and the operational safety of the wind farm is improved. sex and economy.
Patent Information
- Application Number
- CN202210247637.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-14
AI Technical Summary
The intermittency and uncertainty of wind farms make it difficult for centralized optimization methods to achieve real-time power grid control. Distributed optimization methods have poor maintenance and safety, and the optimization converges slowly, and cannot effectively deal with short-term fluctuations in wind turbine power, resulting in voltage overshoots. Limit and system network loss.
A wind farm fast tracking optimization method based on the gradient tracking algorithm is adopted. A period optimization model is established through the opportunity constrained programming method, with a voltage safety margin reserved. The interior point method is used to solve the model to obtain the optimal operating state, and gradient tracking is used within the period. The algorithm quickly adjusts the reactive power of the wind turbine to achieve tracking and optimization of short-term fluctuations in wind turbine power.
It reduces the calculation burden and communication cost of the wind farm, shortens the optimization time scale, effectively tracks the optimal operating point of short-term wind turbine power fluctuations, reduces system network losses, prevents voltage over-limits, and improves operational safety and economy.
Smart Images

Figure CN114825423B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of power system optimization, and in particular relates to a wind farm fast tracking optimization method based on a gradient tracking algorithm. Background Art
[0002] Wind power has entered a stage of rapid development, but its intermittent nature and uncertainty pose great challenges to the safety, stability and economic operation of the power grid.
[0003] Many centralized and distributed algorithms have been proposed to solve voltage and reactive power optimization problems. Centralized optimization methods usually collect and monitor the status of each node in the system by the central controller, obtain optimal control by solving the optimal power flow problem, and realize unified command control, but this also makes the flexibility and scalability of centralized optimization methods relatively poor. With the expansion of the scale of the power grid, the computational burden of the central controller increases rapidly, and the data communication of the power grid is prone to delays or congestion. In addition, the intermittent and uncertain nature of wind power makes it difficult for centralized optimization methods to optimize and control the power grid in real time. Distributed optimization methods are widely used to solve the above problems, such as cross-directional multiplier algorithms, consistency algorithms, and distributed algorithms based on event trigger mechanisms. Distributed optimization methods do not need to dispatch all power generation units through a central controller, but use local information interaction or distributed control algorithms to achieve coordinated optimization among units. Therefore, distributed optimization methods have the advantages of uniform communication and computing loads and strong scalability, but their maintainability and security are poor, the optimization convergence is slow, and the requirements for local communication are high.
[0004] At present, wind farms almost all use traditional centralized control. Considering the computing cost and communication delay, wind farms can only perform centralized optimization once every period. However, at every moment in the period, due to the short-term fluctuation of wind turbine power, the actual operating state of the system will deviate from the optimal operating point of centralized optimization, which may cause voltage over-limit on the one hand and increase system network loss on the other. Summary of the invention
[0005] In view of the problems existing in the background technology, the present invention provides a wind farm fast tracking optimization method based on a gradient tracking algorithm to improve the optimization efficiency of the wind farm and shorten the wind farm optimization time scale.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solution: a wind farm fast tracking optimization method based on a gradient tracking algorithm, comprising the following steps:
[0007] Step 1: Establish a wind farm time optimization model based on the chance-constrained programming method, and control voltage over-limit by reserving voltage safety margin. Use the interior point method to solve the model, so as to obtain the optimal operating state of the wind farm in this period;
[0008] Step 2: Send the time period optimization result to each wind turbine to guide the rapid tracking optimization of the wind farm within the time period;
[0009] Step 3: At each moment in the time period, each wind turbine control unit uses a gradient tracking algorithm to quickly adjust the wind turbine reactive power according to the measured power of its own wind turbine, thereby achieving tracking and optimization of short-term fluctuations in wind turbine power;
[0010] Step 4: Superimpose the fast tracking optimization of all wind turbines to form the fast tracking optimization of the entire wind farm.
[0011] In the above-mentioned wind farm fast tracking optimization method based on the gradient tracking algorithm, the implementation of step 1 includes:
[0012] Step 1.1: Wind farm master control unit measurement period T k Initial operating status of each fan;
[0013] Step 1.2, taking the minimum grid loss as the objective function, taking the reactive power, voltage amplitude and voltage phase angle of each node as variables, considering the uncertainty of short-term fluctuation of wind turbine power, and establishing a wind farm optimization model based on chance-constrained programming;
[0014] Step 1.2.1, the objective function of the optimization model is the wind farm network loss, including branch loss, transformer copper loss, transformer iron loss and grounding conductance loss at the node;
[0015] Expressed as
[0016] Among them, V i ,θ i are the voltage amplitude and voltage phase angle of node i, n l and n are the total number of system branches and nodes respectively, k l ,θ shift,l are the transformer ratio and phase shift angle on branch l, respectively. For branches without transformers, k l is equal to 1, θ shift,l =0, G l is the conductance of branch l, Gk 0 is the ground conductance of node k, L is the set of all branches, and B is the set of all nodes;
[0017] Step 1.2.2, the model variables include reactive power, voltage amplitude and voltage phase angle of each node, and the equality constraint of the model is the power balance equation:
[0018]
[0019] The inequality constraints of the model include branch transmission power constraints and variable boundary constraints. The branch transmission power constraint condition is S l ≤Sl,max ,l∈L, the variable boundary constraints are:
[0020]
[0021] Among them, P gen,i and Q gen,i are the active power and reactive power of the generator injected into node i, P load,i and Q load,i are the active power and reactive power of the load at node i, G ij and B ij are the conductance and susceptance between nodes i and j in the node admittance matrix, θ ij is the phase angle difference between node i and node j, S l is the transmission power of branch l, and its maximum transmission capacity is S l,max , Q gen,i is the reactive power of the wind turbine at node i, and its upper and lower limits are Qmax gen,i and Qmingen,i respectively, V i,min and V i,max is the upper and lower limits of the voltage amplitude at node i, ΔV i is the voltage safety margin of node i, θ i,min and θ i,max are the upper and lower limits of the voltage phase angle at node i;
[0022] Step 1.3: Control voltage over-limit by reserving voltage safety margin;
[0023] Assume that the wind turbine power fluctuation follows a normal distribution with a mean of 0, and the linear affine function of the sensitivity matrix is After the transformation, the voltage amplitude and phase angle of each node are obtained to obey the normal distribution; the sensitivity matrix is obtained by inverting the Jacobian matrix:
[0024] Among them, ΔP and ΔQ are the vectors of wind turbine active power and reactive power fluctuation values, ΔV and Δθ are the vectors of voltage amplitude and phase angle fluctuation values, S VP and S VQ is the sensitivity matrix of voltage amplitude to active and reactive power. Similarly, S θP and S θQ , the matrix N, H, L and J form the Jacobian matrix. After the linear affine transformation, the mean value of the voltage amplitude fluctuation of each node is 0; the wind farm covariance matrix is: R = [ΔP δ,1 ΔP δ,2 L ΔP δ,n ] T ×A ρ ×[ΔP δ,1 ΔP δ,2 L ΔP δ,n], the variance of node i is The normal distribution function of node i is
[0025] pass Obtain the voltage fluctuation ΔV allowed for node i voltage amplitude not exceeding the limit under the confidence level β i , and use it as the voltage safety margin, and control the voltage limit by reserving the voltage safety margin in the voltage constraint condition;
[0026] in, is the average value of voltage amplitude fluctuation, A ρ is the correlation coefficient matrix, R is the covariance matrix, ΔP δ,i and δ ΔVi is the standard deviation of active power fluctuation and voltage fluctuation of node i, S VP,i,j is the matrix S VP elements, N(x) is the standard normal distribution function, Φ(x) is the cumulative normal distribution function, and β is the confidence level;
[0027] Step 1.4, using the interior point method to solve the time period optimization model based on chance-constrained programming;
[0028] A wind farm optimization model based on chance constrained programming is established in Matlab. The improved interior point method of analytical gradient matrix is used to solve it. The interior point method of fmincom is called, and the gradient matrix of the objective function and constraint conditions is given in the program in advance.
[0029] In the above-mentioned wind farm fast tracking optimization method based on the gradient tracking algorithm, the implementation of step 2 includes:
[0030] The time period optimization results are sent to each wind turbine, including the reactive power of each wind turbine in optimal operation during the time period, the sensitivity matrix of the wind farm system, and the network loss slight increase rate, to guide the tracking and optimization of short-term fluctuations in wind turbine power at each moment during the time period.
[0031] In the above-mentioned wind farm fast tracking optimization method based on the gradient tracking algorithm, the implementation of step 3 includes:
[0032] Step 3.1, at each moment in the time period, the wind turbine actually measures its own power;
[0033] At each moment in the time period, each wind turbine measures its own power and obtains the power fluctuation amplitude at that moment; through ΔV j =S VP,i,j ΔP i ,i,j∈Β calculates the voltage offset of each node in the wind farm and determines whether the wind farm has voltage over-limit phenomenon;
[0034] Step 3.2: When the wind farm output is large, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power, thereby achieving tracking optimization of short-term fluctuations in wind turbine power; including the following specific steps:
[0035] Step 3.2.1: If the wind farm system does not exceed the voltage limit, the reactive power of the wind turbine at node i will be adjusted along the negative network loss slight increase rate direction, and the system voltage is always within the allowable range; according to Calculate the reactive power regulation amount allowed for node i along the direction of negative grid loss slight increase rate when the voltage of each node j is within the allowable range; i =min(ΔQ i,j ),i,j,∈Β takes the minimum value so that only one node voltage in the system just reaches its boundary, while the other nodes are still within the boundary range; where ΔQ i,j It indicates the reactive power regulation amount allowed for node i when the voltage at node j is within the allowed range, S VQ,i,j represents the sensitivity coefficient of node j voltage to node i reactive power, V 0,j is the voltage of node j after time period optimization, ΔQ i Indicates the reactive power regulation allowed for node i when all node voltages are within the allowed range;
[0036] Step 3.2.2: If the voltage exceeds the limit in the power system, the reactive power of the wind turbine at node i should be adjusted first in the direction of eliminating the voltage exceeding the limit, and then in the direction of the negative network loss slight increase rate; according to The reactive power regulation amount of node i required to eliminate the voltage over-limit of node j is calculated in sequence; for nodes that have not exceeded the limit, the required reactive power regulation amount of node i is 0; where B Ω is the set of nodes where voltage exceeds the limit, through ΔQ i =max(ΔQ i,j ), i, j∈Β takes the maximum value to make the system satisfy that all the voltages of the nodes that exceed the limit return to the allowable voltage range;
[0037] Step 3.3: When the wind farm output is small, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power to achieve tracking optimization of short-term fluctuations in wind turbine power; the specific steps are as follows:
[0038] Step 3.3.1: If the wind farm system does not exceed the voltage limit, the reactive power of the wind turbine at node i will be adjusted along the negative network loss slight increase rate direction, and the system voltage is always within the allowable range; according to Calculate the reactive power regulation amount allowed for node i along the direction of negative grid loss slight increase rate when the voltage of each node j is within the allowable range; i =min(ΔQ i,j),i,j,∈Β takes the minimum value so that only one node voltage in the system reaches its boundary, while the rest of the nodes are still within the boundary range;
[0039] Step 3.3.2: If the voltage exceeds the limit in the power system, the reactive power of the wind turbine at node i should be adjusted first in the direction of eliminating the voltage exceeding the limit, and then in the direction of the negative network loss slight increase rate; according to The reactive power regulation amount of node i required to eliminate the voltage over-limit of node j is calculated in sequence; for nodes that have not exceeded the limit, the required reactive power regulation amount of node i is 0; through ΔQ i =max(ΔQ i,j ), i, j∈Β takes the maximum value to make the system satisfy that all the voltages of the nodes that exceed the limit return to the allowable voltage range;
[0040] Step 3.4: When the wind farm output is medium, there is no need to adjust the wind turbine reactive power, ΔQ i =0,i∈Β.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] 1. The gradient tracking algorithm uses sensitivity and network loss increment rate to calculate the reactive power regulation required due to short-term fluctuations in wind turbine power. It does not require iterative solution or information exchange with the outside world, which can greatly reduce the computing burden and communication costs of wind farms.
[0043] 2. Thanks to the fast computing capability of the gradient tracking algorithm, the wind farm fast tracking optimization technology based on the gradient tracking algorithm proposed in the present invention can greatly save the time cost of optimization, thereby shortening the time scale of wind farm optimization.
[0044] 3. The wind farm fast tracking optimization technology based on the gradient tracking algorithm proposed in the present invention can effectively track the optimal operating point during short-term fluctuations in wind turbine power. On the one hand, it can reduce system network losses, and on the other hand, it can prevent the system from exceeding the voltage limit, thereby improving the safety and economy of wind farm operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a framework diagram of a wind farm fast tracking optimization technology based on a gradient tracking algorithm provided by an embodiment of the present invention;
[0046] Figure 2 is a wind farm topology diagram provided by an embodiment of the present invention;
[0047] Figure 3 is a voltage distribution diagram optimized for different working conditions provided by an embodiment of the present invention;
[0048] FIG4( a ) is a voltage to active power sensitivity coefficient of a wind farm in Group A operating condition provided by an embodiment of the present invention;
[0049] FIG4( b ) is a diagram showing the voltage to active power sensitivity coefficient of a wind farm in Group B operating condition provided by an embodiment of the present invention;
[0050] FIG4( c ) is a diagram showing the voltage to active power sensitivity coefficient of a wind farm in group C operating conditions provided by an embodiment of the present invention;
[0051] FIG4( d ) is a diagram showing the voltage to active power sensitivity coefficient of a wind farm in Group D operating condition provided by an embodiment of the present invention;
[0052] FIG5(a) is a voltage to reactive power sensitivity coefficient of a wind farm in Group A operating condition provided by an embodiment of the present invention;
[0053] FIG5( b ) is a voltage to reactive power sensitivity coefficient of a wind farm in Group B operating condition provided by an embodiment of the present invention;
[0054] FIG5(c) is a voltage to reactive power sensitivity coefficient of a wind farm in group C operating condition provided by an embodiment of the present invention;
[0055] FIG5(d) is a voltage to reactive power sensitivity coefficient of a wind farm in group D operating condition provided by an embodiment of the present invention;
[0056] Figure 6 is the slight increase rate of active network loss under different working conditions provided by the embodiment of the present invention;
[0057] Figure 7 It is the reactive network loss slight increase rate under different working conditions provided by the embodiment of the present invention;
[0058] Figure 8 is a flow chart of a gradient tracking algorithm provided by an embodiment of the present invention;
[0059] Fig. 9 is the sequential power of wind turbines in different regions provided by the embodiment of the present invention;
[0060] FIG. 10( a ) is a reactive power curve of a wind turbine according to different optimization methods #1 provided in an embodiment of the present invention;
[0061] FIG. 10( b ) is a reactive power curve of a wind turbine according to a different optimization method #10 provided in an embodiment of the present invention;
[0062] FIG. 10( c ) is a wind turbine reactive power curve of different optimization methods #13 provided in an embodiment of the present invention;
[0063] FIG. 10( d ) is a reactive power curve of wind turbine #25 provided by different optimization methods according to an embodiment of the present invention;
[0064] FIG. 10( e ) is a reactive power curve of an SVG node according to different optimization methods provided in an embodiment of the present invention;
[0065] FIG. 10( f ) is a reactive power curve of a balanced node according to different optimization methods provided in an embodiment of the present invention;
[0066] Fig.11 is a system maximum voltage curve of different optimization methods provided by the embodiments of the present invention;
[0067] Fig.12 It is the network loss of different optimization methods provided by the embodiments of the present invention. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0069] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0070] The present invention will be further described below in conjunction with specific embodiments, but the present invention is not limited thereto.
[0071] This embodiment achieves optimization of the wind farm on a smaller time scale through a gradient tracking algorithm, which can reduce the calculation cost and system communication burden of the wind farm master control unit, reduce the wind farm network loss, and improve voltage quality.
[0072] Firstly, a wind farm time period optimization model is established based on the chance constrained programming method, and the voltage over-limit risk is controlled by reserving a voltage safety margin. The model is solved using the interior point method to obtain the optimal operating state of the wind farm during this period. Then, the time period optimization results are sent to each wind turbine to guide the rapid tracking optimization of the wind farm during this period. Secondly, at each moment in the time period, the control unit of each wind turbine uses the gradient tracking algorithm to quickly adjust the reactive power of the wind turbine according to the measured power of its own wind turbine, thereby realizing the tracking optimization of the short-term fluctuations of the wind turbine power. Finally, the rapid tracking optimization of all wind turbines is superimposed to form the rapid tracking optimization of the entire wind farm.
[0073] This embodiment is implemented by the following technical solutions: Figure 1 As shown, a wind farm fast tracking optimization method based on a gradient tracking algorithm comprises the following steps:
[0074] S1: Based on the chance-constrained programming method, a wind farm time optimization model is established, and the voltage over-limit risk is controlled by reserving a voltage safety margin. The model is solved using the interior point method to obtain the optimal operating state of the wind farm during this period.
[0075] S2: Send the optimization results of the time period to each wind turbine to guide the rapid tracking optimization of the wind farm within the time period;
[0076] S3: At each moment in the time period, each wind turbine control unit uses the gradient tracking algorithm to quickly adjust the wind turbine reactive power according to the measured power of its own wind turbine, thereby achieving tracking and optimization of short-term fluctuations in wind turbine power;
[0077] S4: The fast tracking optimization of all wind turbines is superimposed to form the fast tracking optimization of the entire wind farm.
[0078] In addition, the specific implementation of S1 includes:
[0079] S1.1: Wind farm master control unit measurement period T k Initial operating status of each fan;
[0080] like Figure 2 As shown in Figure 1, the wind farm master control unit is responsible for time period optimization based on chance-constrained programming, while the wind turbine control unit is responsible for moment optimization based on the gradient tracking algorithm. Assume that by controlling the wind turbine inverter, the wind turbine reactive power can be adjusted quickly enough. In a time period T k At the initial time t0, the wind farm master control unit monitors the power of each wind turbine, that is, each wind turbine control unit uploads the measured wind turbine power to the master control unit.
[0081] S1.2: Taking the minimum grid loss as the objective function, the reactive power, voltage amplitude and voltage phase angle of each node as variables, and considering the uncertainty of short-term fluctuation of wind turbine power, a wind farm optimization model based on chance-constrained programming is established;
[0082] The objective function of the optimization model is the wind farm network loss, which includes branch loss, transformer copper loss, transformer iron loss, and grounding conductivity loss at the node, etc., which can be expressed as:
[0083]
[0084] Among them, V i ,θ i are the voltage amplitude and voltage phase angle of node i, n l and n are the total number of system branches and nodes respectively, k l ,θ shift,l are the transformer ratio and phase shift angle on branch l, respectively. For branches without transformers, k l is equal to 1, θ shift,l Equal to 0. G l is the conductance of branch l, Gk 0 is the ground conductance of node k, L is the set of all branches, and B is the set of all nodes.
[0085] The model variables include the reactive power, voltage amplitude and voltage phase angle of each node. The equality constraint of the model is the power balance equation, which is expressed as:
[0086]
[0087] The inequality constraints of the model include branch transmission power constraints and variable boundary constraints. The branch transmission power constraint condition is S l ≤S l,max ,l∈L, the variable boundary constraints are:
[0088]
[0089] Among them, P gen,i and Q gen,i are the active power and reactive power of the generator injected into node i, P load,i and Q load,i are the active power and reactive power of the load at node i, G ij and B ij are the conductance and susceptance between nodes i and j in the node admittance matrix, θ ij is the phase angle difference between node i and node j, S l is the transmission power of branch l, and its maximum transmission capacity is S l,max , Q gen,i is the reactive power of the wind turbine at node i, and its upper and lower limits are Qmax gen,i and Qmingen,i respectively, V i,min and V i,max is the upper and lower limits of the voltage amplitude at node i, ΔV i is the voltage safety margin of node i, θ i,min and θ i,max are the upper and lower limits of the voltage phase angle at node i.
[0090] S1.3: Control voltage over-limit risk by reserving voltage safety margin;
[0091] According to the relevant theorem of probability theory, any linear combination of multivariate normal distributions obeys a one-dimensional normal distribution. This embodiment assumes that the wind turbine power fluctuation obeys a normal distribution with a mean of 0, and the linear affine function of the sensitivity matrix After the transformation, the voltage amplitude and phase angle of each node will also obey the normal distribution. The sensitivity matrix is obtained by inverting the Jacobian matrix, which is
[0092] Among them, ΔP and ΔQ are the vectors of wind turbine active power and reactive power fluctuation values, ΔV and Δθ are the vectors of voltage amplitude and phase angle fluctuation values, S VP and S VQ is the sensitivity matrix of voltage amplitude to active and reactive power. Similarly, S θP and S θQ, the matrices N, H, L and J constitute the Jacobian matrix. Since the mean value of the wind turbine power fluctuation is 0, after the linear affine transformation, the mean value of the voltage amplitude fluctuation of each node is also 0.
[0093] The covariance matrix of the wind farm is R = [ΔP δ,1 ΔP δ,2 L ΔP δ,n ] T ×A ρ ×[ΔP δ,1 ΔP δ,2 L ΔP δ,n ], the variance of node i is The normal distribution function of node i is pass Obtain the voltage fluctuation ΔV allowed for node i voltage amplitude not exceeding the limit under the confidence level β i , and use it as the voltage safety margin, and control the voltage over-limit risk by reserving the voltage safety margin in the voltage constraint conditions, thereby improving the voltage quality. is the average value of voltage amplitude fluctuation, A ρ is the correlation coefficient matrix, R is the covariance matrix, ΔP δ,i and δ ΔVi is the standard deviation of active power fluctuation and voltage fluctuation of node i, S VP,i,j is the matrix S VP elements, N(x) is the standard normal distribution function, Φ(x) is the cumulative normal distribution function, and β is the confidence level.
[0094] S1.4: Use the interior point method to solve the time period optimization model based on chance-constrained programming;
[0095] The above-mentioned wind farm optimization model based on chance constrained programming is established in Matlab, and the improved interior point method of analytical gradient matrix is used to solve it, that is, the interior point method of fmincom is called, and the gradient matrix of the objective function and constraint conditions is given in the program in advance.
[0096] After step S1, we can get the k The optimal operation state of the wind farm considering the voltage safety margin is that the probability of no voltage exceeding the limit in the system is the confidence level β, and the network loss of the wind farm is the minimum. Under four different output conditions of the wind farm (Group A 4MW, Group B 2MW, Group C 0.9MW and Group D 0.5MW), the voltage safety margin is reserved, and the system voltage distribution curve after the wind farm is optimized for the time period is shown in the figure below: Figure 3As shown by the black solid line, it can be seen that when the wind turbine power of the wind farm is 4MW and 2MW, the overall voltage is close to the voltage upper limit, and the reserved voltage safety margin will reduce the voltage level; when the wind turbine power is 0.5MW, the overall voltage is close to the voltage lower limit, and the reserved voltage safety margin will increase the voltage level; when the wind turbine power is 0.9MW, the reserved voltage safety margin has no effect on the optimized voltage level.
[0097] In addition, the specific implementation of S2 includes: sending the time period optimization results to each wind turbine, including the reactive power of each wind turbine in the optimal operation of the time period, the sensitivity matrix of the wind farm system, and the network loss slight increase rate, which are used to guide the tracking and optimization of the short-term fluctuations of wind turbine power at each moment in the time period.
[0098] The voltage sensitivity coefficient of the wind farm to active power under group A working condition is shown in Figure 4(a), the voltage sensitivity coefficient of the wind farm to active power under group B working condition is shown in Figure 4(b), the voltage sensitivity coefficient of the wind farm to active power under group C working condition is shown in Figure 4(c), and the voltage sensitivity coefficient of the wind farm to active power under group D working condition is shown in Figure 4(d).
[0099] The voltage to reactive power sensitivity coefficient of the wind farm under group A working condition is shown in Figure 5(a), the voltage to reactive power sensitivity coefficient of the wind farm under group B working condition is shown in Figure 5(b), the voltage to reactive power sensitivity coefficient of the wind farm under group C working condition is shown in Figure 5(c), and the voltage to reactive power sensitivity coefficient of the wind farm under group D working condition is shown in Figure 5(d).
[0100] By using the linear affine effect of active power sensitivity, it is possible to determine the voltage fluctuation caused by a certain active power fluctuation. The reactive power sensitivity is always positive, and the greater the wind farm load, the greater the active power loss increase rate. Figure 7 As shown in the figure, when the wind turbine power is large (4MW), the reactive network loss micro-increase rate is negative, and the wind turbine can reduce the system network loss by increasing reactive power at this time; when the wind turbine power is reduced (for example, 2MW), the absolute value of the reactive network loss micro-increase rate becomes smaller; when the wind farm power is about 0.9MW, the reactive network loss micro-increase rate is almost reduced to 0, and the effect of adjusting reactive power to change the system network loss is very small; when the wind power continues to decrease (for example, 0.5MW), the reactive network loss micro-increase rate becomes a smaller positive value, and reducing the reactive power of the wind turbine will help reduce the system network loss. Therefore, the reactive network loss micro-increase rate provides a reactive adjustment direction for reducing system network loss under different working conditions.
[0101] In addition, the S3 specific implementation includes:
[0102] S3.1: The wind turbine measures its own power at each moment in the time period;
[0103] At each moment in the time period, each wind turbine measures its own power and obtains the power fluctuation amplitude at that moment.j =S VP,i,j ΔP i ,i,j∈Β calculates the voltage offset of each node in the wind farm and determines whether the wind farm has voltage over-limit phenomenon.
[0104] For example: At each moment t in the time period n =4s Each wind turbine measures its own power and obtains the power fluctuation amplitude at that moment. Each wind turbine assumes that only its own wind turbine experiences power fluctuation, while other wind turbines do not experience power fluctuation. j =S VP,i,j ΔP i ,i,j∈Β calculates the voltage offset of each node in the wind farm and determines whether the wind farm has voltage over-limit phenomenon. The flowchart of the gradient tracking algorithm is as follows: Figure 8 shown.
[0105] S3.2: When the wind farm output is large, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power, thereby achieving tracking and optimization of short-term fluctuations in wind turbine power;
[0106] The gradient tracking algorithm is an algorithm that uses the sensitivity coefficient and the network loss increment rate to quickly calculate the reactive power regulation of wind turbines. During the optimization, the gradient tracking algorithm does not need to be solved through iteration or information exchange with adjacent wind turbines. It only needs the sensitivity coefficient and the network loss increment rate of the wind farm system in the current period. Under different wind farm output conditions, the gradient tracking algorithm adjusts the reactive power to prevent voltage over-limit or reduce network loss in different directions. Therefore, the gradient tracking algorithm under different wind farm output operating conditions is classified and discussed.
[0107] When the output of a wind farm is large, series losses dominate the network losses. After time period optimization, the overall voltage level of the system will be close to the voltage upper limit, and wind turbine power fluctuations may cause the voltage to exceed the upper limit.
[0108] If it is determined that the wind farm system will not exceed the voltage limit, the reactive power of the wind turbine at node i will be adjusted along the negative network loss slight increase rate direction to further reduce the system network loss, but the system voltage must always be within the allowable range. Calculate the reactive power regulation amount allowed for node i along the direction of negative grid loss slight increase rate when the voltage of each node j is within the allowable range. i =min(ΔQ i,j ),i,j,∈Β takes the minimum value so that only one node voltage in the system just reaches its boundary, while the other nodes are still within the boundary range. i,j Indicates that the voltage at node j is within the allowable range and the reactive power regulation allowed at node i. VQ,i,j represents the sensitivity coefficient of node j voltage to node i reactive power, V 0,j is the voltage of node j after time period optimization. ΔQi It indicates the reactive power regulation allowed for node i when all node voltages are within the allowable range.
[0109] If it is determined that the power system has voltage over-limit phenomenon, the reactive power of the wind turbine at node i should be adjusted in the direction of eliminating voltage over-limit, and then adjusted in the direction of negative network loss slight increase rate. The reactive power regulation amount of node i required to eliminate the voltage over-limit of node j is calculated in sequence. For nodes that have not exceeded the limit, the required reactive power regulation amount of node i is 0. Ω is the set of nodes where voltage exceeds the limit. i =max(ΔQ i,j ), i, j∈Β takes the maximum value to make the system satisfy that all voltages of the over-limit nodes return to the allowable voltage range. The subsequent steps are the same as the above case where no voltage over-limit occurs.
[0110] S3.3: When the wind farm output is small, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power, thereby achieving tracking and optimization of short-term fluctuations in wind turbine power;
[0111] When the output of the wind farm is small, the network loss of the parallel part is dominant. After the time period optimization, the overall voltage level of the system will be close to the lower voltage limit, and the power fluctuation of the wind turbine may cause the voltage to exceed the lower limit.
[0112] If it is determined that the wind farm system will not exceed the voltage limit, the reactive power of the wind turbine at node i will be adjusted along the negative network loss slight increase rate direction to further reduce the system network loss, but the system voltage must always be within the allowable range. Calculate the reactive power regulation amount allowed for node i along the direction of negative grid loss slight increase rate when the voltage of each node j is within the allowable range. i =min(ΔQ i,j ),i,j,∈Β takes the minimum value so that exactly only one node voltage in the system just reaches its boundary, while the rest of the nodes are still within the boundary range.
[0113] If it is determined that the power system has voltage over-limit phenomenon, the reactive power of the wind turbine at node i should be adjusted in the direction of eliminating voltage over-limit, and then adjusted in the direction of negative network loss slight increase rate. The reactive power regulation amount of node i required to eliminate the voltage exceeding the limit at node j is calculated in sequence.
[0114] For nodes that have not exceeded the limit, the required reactive power regulation of node i is 0. i =max(ΔQ i,j ), i, j∈Β takes the maximum value to make the system satisfy that all voltages of the over-limit nodes return to the allowable voltage range. The subsequent steps are the same as the above case where no voltage over-limit occurs.
[0115] S3.4: When the wind farm output is medium, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power, thereby achieving tracking and optimization of short-term fluctuations in wind turbine power;
[0116] When the wind farm output is medium, after time period optimization, the overall voltage of the system is neither close to the upper limit nor the lower limit. At this time, the parallel part of the network loss and the series part of the network loss are equivalent, the voltage safety margin is large, and when the wind turbine power fluctuates, there is no need to adjust the wind turbine reactive power. That is, ΔQ i =0,i∈Β.
[0117] For example, the wind farm master control unit performs a time period optimization based on opportunity constraint programming every 1 minute according to the detection status, and performs a time optimization based on the gradient tracking algorithm every 4 seconds. Assume that the power of wind turbines in area 1, area 2, and area 3 within 10 minutes is as follows: Fig. 9 As shown, it is assumed that each wind turbine control unit can adjust the reactive power quickly enough by controlling the wind turbine inverter. After the rapid tracking optimization of the gradient tracking algorithm, the reactive power of each wind turbine or node in the wind farm is close to the optimal reactive operation curve. The reactive curve of the wind turbine with different optimization methods #1 is shown in Figure 10 (a), the reactive curve of the wind turbine with different optimization methods #10 is shown in Figure 10 (b), the reactive curve of the wind turbine with different optimization methods #13 is shown in Figure 10 (c), the reactive curve of the wind turbine with different optimization methods #25 is shown in Figure 10 (d), the reactive curve of the SVG node with different optimization methods is shown in Figure 10 (e), and the reactive curve of the balancing node with different optimization methods is shown in Figure 10 (f). Only the reactive curves of the SVG node, the balancing node and the wind turbine {#1, #10, #13, #25} nodes are listed here. Therefore, this embodiment can realize the tracking optimization of the short-term fluctuation of the wind turbine power at each moment in the time period.
[0118] Moreover, the specific implementation of step S4 includes: each wind turbine uses the gradient tracking algorithm to independently track its optimal operating point to respond to its own wind turbine power fluctuation, and it is assumed that other wind turbines do not experience power fluctuations. According to the principle of linear superposition, near a certain operating point, when a wind turbine uses the gradient tracking algorithm for rapid tracking optimization, the system does not experience voltage over-limit, then multiple wind turbines perform rapid tracking optimization at the same time, and the system does not experience voltage over-limit. Similarly, when multiple wind turbines simultaneously adjust the wind turbine reactive power in the direction of the negative grid loss slight increase rate, the system grid loss will be reduced. Therefore, the rapid tracking optimization of all wind turbines together constitutes the rapid tracking optimization of the entire wind farm.
[0119] like Fig.11As shown, it is the maximum voltage curve of the wind farm within 10 minutes. The maximum voltage of the system after optimization by the optimal power flow method is always 1.1pu. When the traditional time period optimization method is used, the obtained maximum system voltage is generally lower than 1.1pu, but the voltage over-limit phenomenon occurs at 332s-340s. When a wind farm rapid tracking optimization method (rapid tracking optimization method) based on a gradient tracking algorithm of this embodiment is used, the maximum voltage of the system is closer to 1.1pu than the time period optimization method, but the over-limit phenomenon never occurs. Therefore, compared with the traditional time period optimization method, the rapid tracking optimization method can effectively prevent the voltage over-limit phenomenon caused by short-term fluctuations in wind turbine power. As Fig.12 As shown, the system network loss of the fast tracking optimization method of this embodiment is generally smaller than the network loss of the traditional time period optimization method, but at 332s-340s, the network loss comparison results of the two are opposite, because the system voltage of the time period optimization method exceeds the limit. Table 1 is the average network loss of different optimization methods within 10 minutes. The wind farm network loss of the fast tracking optimization method is only 0.043% higher than the network loss of the optimal power flow method, and is 2.528% lower than the network loss of the traditional time period optimization method. Therefore, compared with the traditional time period optimization method, the fast tracking optimization method based on the gradient tracking algorithm in this embodiment can effectively reduce the system network loss.
[0120] Table 1 Average network loss of different optimization methods
[0121]
[0122] The calculation time cost of the optimal power flow method is 3.901s / time, as shown in Table 2. Combined with the time consumption of system information communication, it is difficult for the wind farm to achieve optimization at this time scale. The method of this embodiment uses the gradient tracking algorithm to perform tracking calculations with a time cost of only 0.421ms / time, which is about 1 / 9266 of the calculation time cost of the optimal power flow method. Moreover, when the gradient tracking algorithm performs time optimization, it does not need to interact with the outside world. Therefore, the fast tracking optimization method can greatly reduce the time scale of wind farm optimization.
[0123] Table 2 Average time cost of different optimization methods
[0124]
[0125] This embodiment proves the feasibility of realizing the fast tracking optimization of wind farms with short-term fluctuations of wind power based on the gradient tracking algorithm proposed in this embodiment. The proposed fast tracking optimization method can reduce the computing cost and communication burden of wind farms, reduce system network losses, improve voltage quality, and shorten the optimization time scale of wind farms.
[0126] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of the specification of the present invention should be included in the protection scope of the present invention.
Claims
1. A wind farm fast tracking optimization method based on a gradient tracking algorithm, characterized in that: The following steps are involved: Step 1: Establish a wind farm time optimization model based on the chance-constrained programming method, and control voltage over-limit by reserving voltage safety margin. Use the interior point method to solve the model, so as to obtain the optimal operating state of the wind farm in this period; Step 2: Send the time period optimization result to each wind turbine to guide the rapid tracking optimization of the wind farm within the time period; Step 3: At each moment in the time period, each wind turbine control unit uses a gradient tracking algorithm to quickly adjust the wind turbine reactive power according to the measured power of its own wind turbine, thereby achieving tracking and optimization of short-term fluctuations in wind turbine power; The implementation of step 3 includes: Step 3.1, at each moment in the time period, the wind turbine actually measures its own power; At each moment in the time period, each wind turbine measures its own power and obtains the power fluctuation amplitude at that moment; Calculate the voltage offset of each node in the wind farm and determine whether the wind farm has voltage over-limit phenomenon; Step 3.2: When the wind farm output is large, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power, thereby achieving tracking optimization of short-term fluctuations in wind turbine power; including the following specific steps: Step 3.2.1: If the wind farm system does not exceed the voltage limit, the node i The reactive power of the wind turbine will be adjusted along the negative network loss slight increase rate direction, and ensure that the system voltage is always within the allowable range; according to Calculate each node in turn j The voltage is within the allowable range, the node i The reactive power regulation allowed in the direction of the negative grid loss slight increase rate; Taking the minimum value makes only one node voltage in the system just reach its boundary, while the other nodes are still within the boundary range; where Δ Q i,j Representation Node j Voltage within the allowable range node i Allowable reactive power regulation, S VQ,i,j express j Node voltage pair i Node reactive power sensitivity coefficient ,V 0,j After time period optimization j Node voltage, Δ Q i Indicates that all node voltages are within the allowable range. i Allowable reactive power regulation; Step 3.2.2: If the voltage exceeds the limit in the power system, the node i The reactive power of the wind turbine should be adjusted first in the direction of eliminating voltage over-limit, and then in the direction of negative grid loss slight increase rate; Calculate the elimination j Node voltage exceeds the limit i Node reactive power regulation; for nodes that have not exceeded the limit, the required i The node reactive power regulation is 0; among them, B Ω is the set of nodes where voltage exceeds the limit, through Taking the maximum value makes the system satisfy that all the voltages of the nodes that exceed the limit return to the allowable voltage range; Step 3.3: When the wind farm output is small, the gradient tracking algorithm is used to quickly adjust the wind turbine reactive power to achieve tracking optimization of short-term fluctuations in wind turbine power; the specific steps are as follows: Step 3.3.1: If the wind farm system does not exceed the voltage limit, the node i The reactive power of the wind turbine will be adjusted along the negative network loss slight increase rate direction, and ensure that the system voltage is always within the allowable range; according to Calculate each node in turn j The voltage is within the allowable range, the node i The reactive power regulation allowed in the direction of the negative grid loss slight increase rate; Taking the minimum value makes only one node voltage in the system reach its boundary, while the rest of the nodes are still within the boundary range; Step 3.3.2: If the voltage exceeds the limit in the power system, the node i The reactive power of the wind turbine should be adjusted first in the direction of eliminating voltage over-limit, and then in the direction of negative grid loss slight increase rate; Calculate the elimination j Node voltage exceeds the limit i Node reactive power regulation; for nodes that have not exceeded the limit, the required i The node reactive power regulation is 0; Taking the maximum value makes the system satisfy that all the voltages of the nodes that exceed the limit return to the allowable voltage range; Step 3.4: When the wind farm output is medium, there is no need to adjust the wind turbine reactive power. ; Step 4: Superimpose the fast tracking optimization of all wind turbines to form the fast tracking optimization of the entire wind farm.
2. The method for rapid tracking and optimization of a wind farm based on a gradient tracking algorithm according to claim 1 is characterized in that: The implementation of step 1 includes: Step 1.1: Wind farm master control unit measurement period T k Initial operating status of each fan; Step 1.2, taking the minimum grid loss as the objective function, taking the reactive power, voltage amplitude and voltage phase angle of each node as variables, considering the uncertainty of short-term fluctuation of wind turbine power, and establishing a wind farm optimization model based on chance-constrained programming; Step 1.2.1, the objective function of the optimization model is the wind farm network loss, including branch loss, transformer copper loss, transformer iron loss and grounding conductance loss at the node; Expressed as ; in, V i , θ i Node i The voltage amplitude and voltage phase angle, n l and n are the total number of system branches and nodes respectively, k l , θ shift,l Branch l Transformer ratio and phase shift angle, for branches without transformers, k l is equal to 1, θ shift,l =0, G l For branch l The conductivity, Gk 0 For Node k The grounding conductance of L is the set of all branches, and B is the set of all nodes; Step 1.2.2, the model variables include reactive power, voltage amplitude and voltage phase angle of each node, and the equality constraint of the model is the power balance equation: ; The inequality constraints of the model include branch transmission power constraints and variable boundary constraints. The branch transmission power constraint is: , the variable boundary constraints are: ; in, P gen,i and Q gen,i The injection nodes are i The active power and reactive power of the generator, P load,i and Q load,i Node i The active power and reactive power of the load, G ij and B ij They are the node admittance matrices i Node and j The conductance and susceptance between nodes, θ ij For Node i With Node j The phase angle difference between S l It is a branch road l The transmission power of the device is S l,max , Q gen,i for i The reactive power of wind turbines at the node has upper and lower limits. Q max gen,i and Q min gen,i, V i,min and V i,max For Node i The upper and lower limits of the voltage amplitude, Δ V i For Node i The voltage safety margin is θ i,min and θ i,max For Node i The upper and lower limits of the voltage phase angle; Step 1.3: Control voltage over-limit by reserving voltage safety margin; Assume that the wind turbine power fluctuation follows a normal distribution with a mean of 0, and the linear affine function of the sensitivity matrix is After the transformation, the voltage amplitude and phase angle of each node are obtained to obey the normal distribution; the sensitivity matrix is obtained by inverting the Jacobian matrix: ; Among them, Δ P and Δ Q are the vectors of wind turbine active power and reactive power fluctuation values, Δ V and Δ θ is the vector of voltage amplitude and phase angle fluctuation value, S VP and S VQ is the sensitivity matrix of voltage amplitude to active and reactive power. Similarly, S θP and S θ Q , the matrix N, H, L and J form the Jacobian matrix. After the linear affine transformation, the mean value of the voltage amplitude fluctuation of each node is 0; The wind farm covariance matrix is: ,node i The variance of ,node i The normal distribution function of ; pass Obtain β Confidence i The voltage fluctuation Δ of the node voltage amplitude that does not exceed the limit V i , and use it as the voltage safety margin, and control the voltage limit by reserving the voltage safety margin in the voltage constraint condition; in, is the average value of voltage amplitude fluctuation, A ρ is the correlation coefficient matrix, R is the covariance matrix, Δ P δ,i and δ ΔVi For Node i Standard deviation of active power fluctuation and voltage fluctuation, S VP,i,j is the matrix S VP Elements of N ( x ) is the standard normal distribution function, Φ( x ) is the cumulative normal distribution function, β is the confidence level; Step 1.4, using the interior point method to solve the time period optimization model based on chance-constrained programming; A wind farm optimization model based on chance constrained programming is established in Matlab. The improved interior point method of analytical gradient matrix is used to solve it. The interior point method of fmincom is called, and the gradient matrix of the objective function and constraint conditions is given in the program in advance.
3. The method for rapid tracking and optimization of wind farms based on the gradient tracking algorithm according to claim 1 is characterized in that: The implementation of step 2 includes: The time period optimization results are sent to each wind turbine, including the reactive power of each wind turbine in optimal operation during the time period, the sensitivity matrix of the wind farm system, and the network loss slight increase rate, to guide the tracking and optimization of short-term fluctuations in wind turbine power at each moment during the time period.
Citation Information
Patent Citations
Strategy of reactive power optimization in wind power plant based on particle swarm optimization algorithm
CN108306334A
Power grid direct-current flexible loop closing control device and control method thereof
CN113964836A
