PI controller parameter optimization method and system in wind farm power control simulation system

By optimizing the PI controller parameters in the wind farm power control simulation system, the problem of insufficient research on the response characteristics of the simulation system in the existing technology is solved, the simulation accuracy is improved, and more accurate is provided for the grid impact analysis of the wind farm power control strategy. The basis of

CN112052568BActive Publication Date: 2024-12-27CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010816238.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-14
Publication Date
2024-12-27
Estimated Expiration
2040-08-14

AI Technical Summary

Technical Problem

The dynamic response characteristics of existing wind farm power control simulation systems are rarely studied when responding to scheduling AGC and AVC instructions, and the simulation results are inaccurately compared with the actual operating characteristics, resulting in the inability to guarantee the simulation accuracy.

Method used

Using the PI controller parameter optimization method, by obtaining the power control response value of the actual wind farm, substituting the pre-constructed PI controller parameter optimization model, obtaining the optimal value of the PI controller parameters in the wind farm power control simulation system, and optimizing the simulation system parameters to reduce power control response error.

Benefits of technology

The simulation accuracy of the wind farm power control simulation system is improved, providing a more accurate basis for the analysis of the impact of different power control strategies of wind power on the operation of the power grid, and ensuring the accuracy of system trend and stability analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112052568B_ABST
    Figure CN112052568B_ABST
Patent Text Reader

Abstract

The present invention relates to a PI controller parameter optimization method and system in a wind farm power control simulation system, comprising: obtaining a power control response value of an actual wind farm; substituting the power control response value of the actual wind farm into a pre-constructed PI controller parameter optimization model to obtain the optimal value of the PI controller parameter in the wind farm power control simulation system; wherein the PI controller parameter optimization model is constructed with the goal of minimizing the power control response error value between the actual wind farm and the wind farm in the wind farm power control simulation system. The present invention ensures the simulation accuracy of the system by optimizing the parameters of the wind farm power control simulation system, thereby providing a more accurate analysis basis for analyzing the impact of different wind power control strategies on power grid operation, and for analyzing the system flow and stability when executing dispatching AGC and AVC instructions after wind power is connected to the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of simulation modeling of renewable energy power generation, and in particular to a method and system for optimizing parameters of a PI controller in a wind farm power control simulation system. Background Art

[0002] With the continuous increase in installed capacity of renewable energy power generation, a high proportion of renewable energy power generation has become an important feature of power grid operation. As the smallest unit of renewable energy power dispatch, the power control capability of wind farms is an important means of responding to power dispatch.

[0003] In order to carry out the analysis and evaluation of the power control performance characteristics of a single wind farm or the dynamic regulation response performance analysis and grid power flow stability analysis when executing the active and reactive dispatching instructions of the power system after large-scale wind power is connected to the power system, it is necessary to use a wind farm power control simulation system with high accuracy;

[0004] At present, the analysis systems for wind farm grid connection are mainly static power flow analysis systems and transient fault ride-through analysis systems, and there are few studies on the dynamic response characteristics of the response dispatch AGC and AVC instructions.

[0005] At the same time, the dynamic response characteristic system of the response scheduling AGC and AVC instructions is generally built using mathematical models and control principles, and typical control parameters are used for parameter configuration. It does not take into account the control parameter distortion caused by wind turbine model simplification, line equivalence, etc., and the power control response lag caused by communication delays in the wind farm. In addition, the simulation results of the dynamic response characteristic system are not compared with the actual operating characteristics, and the simulation accuracy cannot be guaranteed. Summary of the invention

[0006] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method for optimizing the parameters of a PI controller in a wind farm power control simulation system. The method ensures the simulation accuracy of the system by optimizing the parameters of the wind farm power control simulation system, thereby providing a more accurate analysis basis for analyzing the impact of different wind power control strategies on grid operation, and for analyzing the system flow and stability when executing dispatching AGC and AVC instructions after wind power is connected to the grid.

[0007] The purpose of the present invention is achieved by adopting the following technical solutions:

[0008] The present invention provides a method for optimizing parameters of a PI controller in a wind farm power control simulation system, wherein the method comprises:

[0009] Obtaining the power control response value of the actual wind farm;

[0010] Substitute the actual wind farm power control response value into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameters in the wind farm power control simulation system;

[0011] The PI controller parameter optimization model is constructed with the goal of minimizing the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system.

[0012] Furthermore, the PI controller parameters in the wind farm power control simulation system include: d-axis outer loop proportional gain, d-axis outer loop integral gain, d-axis inner loop proportional gain, d-axis inner loop integral gain, q-axis outer loop proportional gain, q-axis outer loop integral gain, q-axis inner loop proportional gain and q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system.

[0013] The present invention provides a PI controller parameter optimization system in a wind farm power control simulation system, wherein the improvement lies in that the system comprises:

[0014] An acquisition module, used for acquiring a power control response value of an actual wind farm;

[0015] The solution module is used to substitute the power control response value of the actual wind farm into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameters in the wind farm power control simulation system.

[0016] Furthermore, the PI controller parameters in the wind farm power control simulation system include: d-axis outer loop proportional gain, d-axis outer loop integral gain, d-axis inner loop proportional gain, d-axis inner loop integral gain, q-axis outer loop proportional gain, q-axis outer loop integral gain, q-axis inner loop proportional gain and q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system.

[0017] Compared with the closest prior art, the present invention has the following beneficial effects:

[0018] The technical solution provided by the present invention obtains the power control response value of the actual wind farm; substitutes the power control response value of the actual wind farm into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameter in the wind farm power control simulation system; wherein the PI controller parameter optimization model is constructed with the goal of minimizing the power control response error value between the actual wind farm and the wind farm in the wind farm power control simulation system. The solution ensures the simulation accuracy of the system by optimizing the parameters of the wind farm power control simulation system, thereby providing a more accurate analysis basis for the analysis of the impact of different wind power control strategies on the operation of the power grid, and for the analysis of the system flow and stability when executing the dispatching AGC and AVC instructions after the wind power is connected to the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a flow chart of the PI controller parameter optimization method in the wind farm power control simulation system;

[0020] Figure 2 is a wind farm power control structure diagram in an embodiment of the present invention;

[0021] Figure 3 is a schematic diagram of a change curve of a wind farm active power setting value in an embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of a change curve of reactive power setting value of a wind farm in an embodiment of the present invention;

[0023] Figure 5 is a schematic diagram of response time, regulation time and overshoot in a wind farm power control response curve in an embodiment of the present invention;

[0024] Figure 6 is an active power response curve of a wind farm grid connection point and an active power setting curve of a wind farm grid connection point in an embodiment of the present invention;

[0025] Figure 7 The three-phase voltage response curve of the wind farm grid connection point and the voltage setting curve of the wind farm grid connection point in the embodiment of the present invention;

[0026] Figure 8 is an active power response curve and a reactive power response curve of a wind farm grid connection point in an embodiment of the present invention;

[0027] Fig. 9 It is the structure diagram of the PI controller parameter optimization system in the wind farm power control simulation system. DETAILED DESCRIPTION

[0028] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.

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

[0030] The present invention provides a method for optimizing PI controller parameters in a wind farm power control simulation system. Figure 1 As shown, the method includes:

[0031] Step 101, obtaining a power control response value of an actual wind farm;

[0032] Step 102, substituting the actual wind farm power control response value into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameter in the wind farm power control simulation system;

[0033] The PI controller parameter optimization model is constructed with the goal of minimizing the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system.

[0034] In the best embodiment of the present invention, a genetic algorithm can be used to solve the PI controller parameter optimization model.

[0035] Specifically, the PI controller parameters in the wind farm power control simulation system include: d-axis outer loop proportional gain, d-axis outer loop integral gain, d-axis inner loop proportional gain, d-axis inner loop integral gain, q-axis outer loop proportional gain, q-axis outer loop integral gain, q-axis inner loop proportional gain and q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system.

[0036] In the best embodiment of the present invention, power control includes three types: active power control, reactive power control and reactive voltage control. For reactive voltage control, the station-level controller of the actual wind farm sends reactive power instructions to the wind turbines therein after receiving the voltage instructions, converts the reactive voltage control into reactive power control, and performs parameter identification. Since the structure of the reactive voltage (AVC) controller of the actual wind farm is generally a proportional link, the structure is simple, the parameters are fixed, and there is no equivalent calculation, the proportional coefficient of the controller does not need to be identified.

[0037] Furthermore, the objective function of the PI controller parameter optimization model is determined as follows:

[0038]

[0039] In the above formula, f is the minimum value of the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system, η i is the error value between the active output response value of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the active output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, η iis the error value between the reactive output response value of the wind farm during the response period when the actual wind farm is controlled by the jth reactive power preset value as the reactive power reference value and the reactive output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled by the jth reactive power preset value as the reactive power reference value, i∈(1~S i ), S i is the number of active power preset values, j∈(1~S j ), S j The number of preset values ​​for reactive power.

[0040] In the best embodiment of the present invention, the response output data of the wind farm when performing active power control, reactive power control and reactive voltage control on the actual wind farm is obtained through testing, and the actual wind farm needs to ensure a strong wind operating environment when performing active power control; that is, when the actual wind farm can generally reach 80% of the rated power, the actual wind farm needs to ensure a medium wind volume operating environment when performing reactive power control; that is, when the actual wind farm can generally reach 50% of the rated power, the actual wind farm is consistent with the initial operating state of the wind farm in the wind farm power control simulation system.

[0041] In addition, the actual wind farm S i The active power preset value can be set to a gradient sequence with a decrease or increase amplitude of 20% of the rated power, starting from 80% of the rated power to 0, and then increasing from 0 to 80% of the rated power. For example Figure 3 The active power preset value setting curve shown;

[0042] S j The reactive power preset values ​​can be set as a gradient sequence between the maximum inductive reactive power and the maximum capacitive reactive power with equal amplitude changes, for example Figure 4 The reactive power preset value setting curve shown;

[0043] When the active power / reactive power of the actual wind farm is controlled with each active power / reactive power preset value, the response period of the wind farm shall not be less than 2 minutes;

[0044] The actual wind farm S h The active power preset value can be set as a gradient sequence varying between the maximum inductive reactive power and the maximum capacitive reactive power. When the reactive voltage of the actual wind farm is controlled at each voltage preset value, the response period of the wind farm is not less than 5 minutes.

[0045] Further, η is determined as follows: i :

[0046]

[0047] In the above formula, λ τ is the first preset weight, λ σ is the second preset weight, λ e is the third preset weight, When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the wind farm is in the t-th period during the response period. * Active output response value at a moment, P i,t is the active power output response value of the wind farm at the tth moment during the response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, τ i * When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm reaches 90%P for the first time i The sequence number corresponding to the moment, τ i The active power output response value of the wind farm reaches 90% P for the first time when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value. i The sequence number corresponding to the moment of When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ i When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, e i is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, P i is the preset value of the i-th active power, P n is the rated operating active power of the actual wind farm, t∈(1~N i ), N i is the total number of serial numbers corresponding to the moments in the response period of the wind farm when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, is the total number of serial numbers corresponding to the moments in the response period of the wind farm when the active power of the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value;

[0048] Determine η as follows j :

[0049]

[0050] In the above formula, When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the wind farm is in the kth period during the response period. * The reactive output response value at a moment, Q j,k is the reactive power output response value of the wind farm at the kth moment during the response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, τ j * When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time j The sequence number corresponding to the moment, τ j When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time. j The sequence number corresponding to the moment of When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ j When the wind farm is controlled in the wind farm power control simulation system with the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm is input and does not exceed ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value, e j is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, Q j is the jth reactive power preset value, k∈(1~N j ), N jis the total number of serial numbers corresponding to the moments in the wind farm response period when the wind farm in the wind farm power control simulation system performs reactive power control on the wind farm with the jth reactive power preset value as the reactive power reference value, is the total number of sequence numbers corresponding to the moments during the response period of the wind farm when reactive power control is performed on the actual wind farm with the jth reactive power preset value as the reactive power reference value.

[0051] In the best embodiment of the present invention, the monitoring interval of the active power / reactive power of the wind farm is at the ms level. To simplify the calculation process, the time period between each two adjacent moments is set to 0.2S, and the average value of the active output response value / reactive output response value of the time period at each moment is taken as the active output response value / reactive output response value at that moment.

[0052] In the best embodiment of the present invention, the wind farm power control response characteristics are mainly determined by the control characteristics of the wind turbine. The wind turbine power control is a long-time dynamic response characteristic in the stable operation stage. Its response time, overshoot, control deviation and other characteristic quantities are mainly determined by the converter. The double-fed wind turbine machine-side converter is the core controller for controlling the power output of the unit, and the direct-drive wind turbine grid-side converter is the core controller for controlling the power output of the unit, and the control block diagram is basically the same, such as Figure 2 As shown in the figure, i d 、i q are the d-axis and q-axis components of the wind turbine current, P and Q are the active power and reactive power output by the wind turbine, i d * 、i q * is the d-axis and q-axis components of the wind turbine reference current, P * , Q * is the active power and reactive power output by the wind turbine, k pd1 is the d-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k id1 is the d-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pd2 is the d-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k id2 is the d-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, k pq1 is the q-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k iq1 is the q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pq2 is the q-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k iq2is the q-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, s is the pull-type transformation operator; L b is the converter filter inductor.

[0053] Therefore, the frequency domain models of the inner loop current control and outer loop power control of the wind turbine are:

[0054]

[0055] according to Figure 2 Available,

[0056]

[0057] Combining the above two formulas, we can get the transfer function of the d and q axes:

[0058]

[0059] According to the above transfer functions of d and q axes, the power time domain expression of the wind turbine is obtained. Since d-axis voltage orientation is adopted, P = u d i d , Q=-u d i q ; Assume that the wind turbine is connected to an infinite power grid, and u d Remains unchanged and can be regarded as a known constant.

[0060] Combining the above two formulas, we can get:

[0061]

[0062] in,

[0063] Converted to time domain expression:

[0064]

[0065] in,

[0066]

[0067]

[0068]

[0069] u d is the d-axis voltage of the wind farm in the wind farm power control simulation system;

[0070]

[0071]

[0072]

[0073]

[0074] Therefore, the P is determined as follows: i,t :

[0075]

[0076] Where, L d0 P i,t With P i The constant coefficient of the polynomial between L d1 P i,t With P i The coefficient of the first-order term in the polynomial between L d2 P i,t With P i The coefficient of the quadratic term in the polynomial between k pd1 is the d-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k id1 is the d-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pd2 is the d-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k id2 is the d-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, L b is the converter filter inductance of the wind farm in the wind farm power control simulation system, S d1 is the first intermediate coefficient of the d-axis, S d2 is the second intermediate coefficient of the d-axis, S d3 is the third intermediate coefficient of the d-axis;

[0077] in, T is the fourth intermediate coefficient of the d-axis, D is the fifth intermediate coefficient of the d-axis, n d3 is the third preset parameter of the d-axis, n d2 is the second preset parameter of the d-axis, n d1 is the first preset parameter of the d-axis, u d is the d-axis voltage of the wind farm in the wind farm power control simulation system;

[0078] The Q is determined as follows: j,t :

[0079]

[0080] Where, L q0 Q i,t With Q i The constant coefficient of the polynomial between L q1 Q i,t With Q i The coefficient of the first-order term in the polynomial between L q2 Q i,t With Q i The coefficient of the quadratic term in the polynomial between k pq1 is the q-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k iq1 is the q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pq2 is the q-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k iq2 is the q-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, S q1 is the first intermediate coefficient of the q axis, S q2 is the second intermediate coefficient of the q axis, S q3 is the third intermediate coefficient of the q-axis;

[0081] in, T q is the fourth intermediate coefficient of the q-axis, D q is the fifth intermediate coefficient of the q-axis, n q3 is the third preset parameter of the q axis, n q2 is the second preset parameter of the q axis, n q1 is the first preset parameter of the q axis,

[0082] Furthermore, the constraints corresponding to the objective function of the PI controller parameter optimization model include: response time constraints, adjustment time constraints, overshoot constraints, power average absolute deviation constraints, active output response value constraints, and reactive output response value constraints;

[0083] The response time constraint is determined as follows:

[0084]

[0085] In the formula, α κis the upper limit of the relative deviation allowed for the response time when active power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system, α # is the upper limit of the relative deviation allowed for the response time when performing reactive power control between the actual wind farm and the wind farm in the wind farm power control simulation system, α & is the upper limit of the relative deviation allowed for the response time when performing reactive power voltage control between the actual wind farm and the wind farm in the wind farm power control simulation system. is the relative deviation between the response time of the wind farm during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the response time of the wind farm during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the deviation between the response time of the wind farm during the response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value and the response time of the wind farm during the response period when the reactive power control of the wind farm in the wind farm power control simulation system is performed with the jth reactive power preset value as the reactive power reference value, is the deviation value between the response time of the wind farm within the response period when the reactive voltage control is performed on the actual wind farm with the h-th voltage setting value as the voltage reference value and the response time of the wind farm within the response period when the reactive voltage control is performed on the wind farm in the wind farm power control simulation system with the h-th voltage setting value as the voltage reference value;

[0086] The adjustment time constraint condition is determined as follows:

[0087]

[0088] In the formula, β κ is the upper limit of the relative deviation allowed for the adjustment time when the actual wind farm performs active power control compared with the wind farm in the wind farm power control simulation system, β # is the upper limit of the relative deviation allowed for the adjustment time when performing reactive power control between the actual wind farm and the wind farm in the wind farm power control simulation system, β & is the upper limit of the relative deviation allowed for the adjustment time when performing reactive power voltage control between the actual wind farm and the wind farm in the wind farm power control simulation system. is the relative deviation between the adjustment time of the wind farm during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the adjustment time of the wind farm during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the deviation between the adjustment time of the wind farm during the response period when the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value and the adjustment time of the wind farm during the response period when the reactive power of the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, is the deviation between the adjustment time of the wind farm during the response period when the reactive voltage control is performed on the actual wind farm with the h-th voltage setting value as the voltage reference value and the adjustment time of the wind farm during the response period when the reactive voltage control is performed on the wind farm in the wind farm power control simulation system with the h-th voltage setting value as the voltage reference value;

[0089] The overshoot constraint condition is determined as follows:

[0090]

[0091] In the formula, γ κ is the upper limit of the absolute deviation allowed for overshoot when active power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system, γ # is the upper limit of the absolute deviation allowed for overshoot when reactive power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system. is the absolute value of the deviation between the overshoot of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the overshoot of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, is the absolute value of the deviation between the overshoot of the wind farm during the response period when the actual wind farm is controlled for reactive power with the jth reactive power preset value as the reactive power reference value and the overshoot of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled for reactive power with the jth reactive power preset value as the reactive power reference value;

[0092] The power mean absolute deviation constraint condition is determined as follows:

[0093]

[0094] In the formula, is the upper limit of the absolute deviation of the average power value in the regulation phase when the actual wind farm performs active power control compared with the wind farm in the wind farm power control simulation system. is the upper limit of the absolute deviation of the average power value in the stable phase when the actual wind farm is compared with the wind farm in the wind farm power control simulation system for active power control. is the upper limit of the absolute deviation of the average power value in the regulation stage when the reactive power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system. is the upper limit of the absolute deviation of the average power value in the stable phase when reactive power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system. is the upper limit of the absolute deviation of the power average value in the regulation stage when the actual wind farm performs reactive power voltage control compared with the wind farm in the wind farm power control simulation system. is the upper limit of the absolute deviation of the average power value in the stable stage when the actual wind farm performs reactive power voltage control compared with the wind farm in the wind farm power control simulation system. is the absolute deviation between the average power value of the wind farm in the adjustment stage during the response period when the actual wind farm is controlled for active power with the i-th active power preset value as the active power reference value and the average power value of the wind farm in the adjustment stage during the response period when the wind farm in the wind farm power control simulation system is controlled for active power with the i-th active power preset value as the active power reference value, is the absolute deviation between the average power value of the wind farm in the stable stage during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the average power value of the wind farm in the stable stage during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the absolute deviation between the average power value of the wind farm in the adjustment stage during the response period when the reactive power control is performed on the actual wind farm with the jth reactive power preset value as the reactive power reference value and the average power value of the wind farm in the adjustment stage during the response period when the reactive power control is performed on the wind farm in the wind farm power control simulation system with the jth reactive power preset value as the reactive power reference value, is the absolute deviation between the average power value of the wind farm in the stable stage during the response period when the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value and the average power value of the wind farm in the stable stage during the response period when the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, is the absolute deviation value between the average power value of the wind farm in the regulation stage during the response period when the actual wind farm is subjected to reactive voltage control with the h-th voltage setting value as the voltage reference value and the average power value of the wind farm in the regulation stage during the response period when the wind farm in the wind farm power control simulation system is subjected to reactive voltage control with the h-th voltage setting value as the voltage reference value; is the absolute deviation between the average power value of the wind farm in the stable stage during the response period when the actual wind farm is subjected to reactive voltage control with the h-th voltage setting value as the voltage reference value and the average power value of the wind farm in the stable stage during the response period when the wind farm in the wind farm power control simulation system is subjected to reactive voltage control with the h-th voltage setting value as the voltage reference value;

[0095] When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the adjustment stage of the wind farm during the response period is from the 0th time to the 1st time. The stable stage is The moment to a moment;

[0096] When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the adjustment stage of the wind farm in the response period is from the 0th time to the The stable stage is The moment to a moment;

[0097] When the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, the regulation phase of the wind farm in the response period is from the 0th time to the hth time. The stable stage is The moment to a moment;

[0098] When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the adjustment stage of the wind farm in the response period is from the 0th moment to the σth moment. i moment, the stable stage is the σth i From the moment to the e i a moment;

[0099] When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the adjustment stage of the wind farm in the response period is from the 0th moment to the σth moment. j moment, the stable stage is the σth j From the moment to the e j a moment;

[0100] When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the regulation phase of the wind farm in the response period is from the 0th time to the σth time. h moment, the stable stage is the σth h From the moment to the e h a moment;

[0101] The active output response value constraint condition is determined as follows:

[0102]

[0103] In the above formula, P min is the lower limit of the actual wind farm’s active output, P max is the upper limit of the actual active output of the wind farm;

[0104] The reactive output response value constraint condition is determined as follows:

[0105]

[0106] In the above formula, Q min is the lower limit of reactive power output of actual wind farm, Q max It is the upper limit of reactive power output of actual wind farm.

[0107] In the best embodiment of the present invention, according to different simulation requirements of the wind farm power control simulation system, the application scenarios of the wind farm power control simulation system are divided into three categories, namely:

[0108] Category 1: Based on the simulation analysis of power control performance of a single wind farm:

[0109] To simulate the power control performance of a single wind farm, due to the rich wind farm power control test data, the simulation system parameters can be identified more comprehensively and accurately, and a wind farm power control simulation system with high simulation accuracy can be established;

[0110] Therefore, when conducting simulation analysis on the power control performance of a single wind farm, a model with comprehensive parameter identification and small simulation deviation is used for simulation calculation.

[0111] Category 2: System power flow and stability analysis of wind farms in areas with high wind power penetration when executing dispatching AGC and AVC instructions;

[0112] For areas with high wind power penetration (usually above 30%) that are far away from the load and have weak power grids, wind power has a significant impact on the power grid. In order to analyze the system flow trend and stability when executing AGC and AVC instructions after the wind farm is connected to the power grid, a more accurate wind farm power control simulation system is needed.

[0113] At the same time, since large-scale wind power simulation involves the complexity of the simulation system and the complexity of the grid structure, the accuracy requirements of the wind farm power control simulation system are lower than those in single wind farm applications.

[0114] Category 3: Analysis of system power flow and stability when executing dispatching AGC and AVC instructions after wind power is connected to the grid in the phase of low wind power penetration or regional wind power grid connection planning;

[0115] For wind farms with low wind power penetration, due to the low proportion of wind power, the power control characteristics of wind power after being connected to the grid have little impact on the entire grid, and the accuracy of the simulation has little impact on the simulation results;

[0116] Therefore, when conducting system simulation analysis, a wind farm power control simulation system with high accuracy is not required, and the range of simulation system verification deviation can be appropriately enlarged;

[0117] In addition, when regional wind power planning is carried out, the wind farm has not yet been established, and the power control characteristics of the wind farm in the region have not yet been tested, but a wind farm power control simulation system with certain realistic basis is also needed for simulation analysis;

[0118] A wind farm power control simulation system that has completed power control testing can be used as a reference. At this time, the accuracy requirement of the wind farm power control simulation system can be appropriately reduced.

[0119] According to the above three application scenarios, the wind farm power control simulation system is divided into a high-accuracy model, a relatively high-accuracy model and a relatively low-accuracy model based on the deviation calculation results of the simulation verification.

[0120] At the same time, taking into account the differences in power control content and control strategies, the verification results are further refined into three categories: active power / reactive power control and reactive voltage control, and simulation verification threshold indicators.

[0121] The classification of wind farm power control simulation accuracy is shown in Table 1. As can be seen from the table, the active power / reactive power control measures the accuracy of the simulation system from four perspectives: response time deviation, adjustment time deviation, overshoot deviation, and absolute deviation of power average value;

[0122] Reactive voltage control measures the accuracy of the simulation system from four perspectives: response time deviation, regulation time deviation, and absolute deviation of the power average value; while the absolute deviation of the power average value is considered from two aspects: the stable stage and the regulation stage;

[0123] Therefore, when determining the optimal parameter value, it is necessary to set the upper limit of the response in the constraint condition according to the required accuracy of the simulation system.

[0124] Table 1

[0125]

[0126] Furthermore, when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the response time, regulation time and overshoot of the wind farm during the response period are τ i * Δt, and

[0127] When the reactive power of an actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the response time, regulation time and overshoot of the wind farm during the response period are τ j * Δt, and

[0128] When the reactive voltage control is performed on the actual wind farm with the hth voltage setting value as the voltage reference value, the response time and adjustment time of the wind farm in the response period are τ h * Δt and

[0129] When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the response time, regulation time and overshoot of the wind farm in the response period are τ i Δt, σ i ·Δt and max(P i,t -P i )t∈(τ i ,e i );

[0130] When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the response time, regulation time and overshoot of the wind farm in the response period are τ respectively. j Δt, σ j ·Δt and max(Q j,t -Q j )t∈(τ j ,e j );

[0131] When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the wind farm is within the response period τ h Δt and σ h Δt;

[0132] Among them, Δt is the time interval between moments, τ h *is the serial number corresponding to the moment when the reactive power response value of the wind farm during the response period reaches the ±10% error range of the average value of the reactive power response value when the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, τ h is the sequence number corresponding to the moment when the reactive power response value of the wind farm during the response period reaches the ±10% error range of the average value of the reactive power response value when the wind farm in the wind farm power control simulation system is subjected to reactive voltage control with the hth voltage setting value as the voltage reference value, When the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, the reactive power response value of the wind farm during the response period enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ h When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the reactive power response value of the wind farm during the response period enters and no longer exceeds ±5%P n The sequence number corresponding to the time range, h∈(1~S h ), S h The number of preset voltage values.

[0133] In the best embodiment of the present invention, the schematic diagram of the response time, regulation time and overshoot in the wind farm power control response curve is as follows: Figure 5 The curve shown.

[0134] In the best embodiment of the present invention, taking the simulation verification of a wind farm power control simulation system as an example, a detailed power control simulation system of the wind farm is established based on the actual structure of wind turbine power control;

[0135] The simulation system includes wind turbines, reactive power compensation devices, wind turbine transformers, main transformers, and wind farm AGC and AVC control system models. The wind farm has completed field tests of active power control and reactive voltage control, but reactive power control has not yet been implemented;

[0136] Therefore, only the active power control and reactive voltage control functions that have been tested in this wind farm are model verified.

[0137] Calculate the active power, reactive power and voltage of the measured data, and obtain the test results of active power control and reactive voltage control of the wind farm as follows: Figure 6 , Figure 7 and Figure 8 The characteristic quantities of the test data are calculated, see Table 2 and Table 3.

[0138] Table 2

[0139]

[0140] Table 3

[0141]

[0142] The control instructions of the wind farm field test are used as the active power and voltage control instructions of the AGC and AVC control systems in the model. The initial state of the wind farm power flow is set to be the same as that of the field test. The wind farm power control simulation is carried out, and the improved genetic algorithm is used to identify the PI control parameters of the model power-current loop. The specific values ​​are as follows.

[0143] Table 4

[0144]

[0145] The identified parameters are used for simulation, and the characteristic quantities of the simulation results in the wind farm power control simulation system are calculated and shown in Tables 5 and 6.

[0146] Table 5

[0147]

[0148] Table 6

[0149]

[0150] According to the active power and reactive power values ​​of simulation and test, the model verification deviation index is calculated and shown in Table 7 and Table 8.

[0151] Table 7

[0152]

[0153] Table 8

[0154]

[0155] The verification calculation results in Table 7 and Table 8 show that the wind farm power control model has a high simulation accuracy of power control characteristics and the identified model parameters are effective.

[0156] The present invention provides a PI controller parameter optimization system in a wind farm power control simulation system, such as Fig. 9 As shown, the system comprises:

[0157] An acquisition module, used for acquiring a power control response value of an actual wind farm;

[0158] A solution module is used to substitute the power control response value of the actual wind farm into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameter in the wind farm power control simulation system;

[0159] The PI controller parameter optimization model is constructed with the goal of minimizing the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system.

[0160] Specifically, the PI controller parameters in the wind farm power control simulation system include: d-axis outer loop proportional gain, d-axis outer loop integral gain, d-axis inner loop proportional gain, d-axis inner loop integral gain, q-axis outer loop proportional gain, q-axis outer loop integral gain, q-axis inner loop proportional gain and q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system.

[0161] Furthermore, the objective function of the PI controller parameter optimization model is determined as follows:

[0162]

[0163] In the above formula, f is the minimum value of the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system, η i is the error value between the active output response value of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the active output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, η i is the error value between the reactive output response value of the wind farm during the response period when the actual wind farm is controlled by the jth reactive power preset value as the reactive power reference value and the reactive output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled by the jth reactive power preset value as the reactive power reference value, i∈(1~S i ), S i is the number of active power preset values, j∈(1~S j ), S j The number of preset values ​​for reactive power;

[0164] Further, η is determined as follows: i :

[0165]

[0166] In the above formula, λ τ is the first preset weight, λ σ is the second preset weight, λ e is the third preset weight, When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the wind farm is in the t-th period during the response period. *Active output response value at a moment, P i,t is the active power output response value of the wind farm at the tth moment during the response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, τ i * When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm reaches 90%P for the first time i The sequence number corresponding to the moment, τ i The active power output response value of the wind farm reaches 90% P for the first time when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value. i The sequence number corresponding to the moment of When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ i When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, e i is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, P i is the preset value of the i-th active power, P n is the rated operating active power of the actual wind farm, t∈(1~N i ), N i is the total number of serial numbers corresponding to the moments in the response period of the wind farm when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, is the total number of serial numbers corresponding to the moments in the response period of the wind farm when the active power of the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value;

[0167] Determine η as follows j :

[0168]

[0169] In the above formula, When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the wind farm is in the kth period during the response period. * The reactive output response value at a moment, Q j,k is the reactive power output response value of the wind farm at the kth moment during the response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, τ j * When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time j The sequence number corresponding to the moment, τ j When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time. j The sequence number corresponding to the moment of When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ j When the wind farm is controlled in the wind farm power control simulation system with the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm is input and does not exceed ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value, e j is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, Q j is the jth reactive power preset value, k∈(1~N j ), N j is the total number of serial numbers corresponding to the moments in the wind farm response period when the wind farm in the wind farm power control simulation system performs reactive power control on the wind farm with the jth reactive power preset value as the reactive power reference value, is the total number of sequence numbers corresponding to the moments during the response period of the wind farm when reactive power control is performed on the actual wind farm with the jth reactive power preset value as the reactive power reference value.

[0170] Furthermore, the P is determined by the following formula: i,t :

[0171]

[0172] Where, L d0 P i,t With P i The constant coefficient of the polynomial between L d1 P i,t With P i The coefficient of the first-order term in the polynomial between L d2 P i,t With P i The coefficient of the quadratic term in the polynomial between k pd1 is the d-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k id1 is the d-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pd2 is the d-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k id2 is the d-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, L b is the converter filter inductance of the wind farm in the wind farm power control simulation system, S d1 is the first intermediate coefficient of the d-axis, S d2 is the second intermediate coefficient of the d-axis, S d3 is the third intermediate coefficient of the d-axis;

[0173] in, T is the fourth intermediate coefficient of the d-axis, D is the fifth intermediate coefficient of the d-axis, n d3 is the third preset parameter of the d-axis, n d2 is the second preset parameter of the d-axis, n d1 is the first preset parameter of the d-axis, u d is the d-axis voltage of the wind farm in the wind farm power control simulation system;

[0174] The Q is determined as follows: j,t :

[0175]

[0176] Where, L q0 Q i,t With Q i The constant coefficient of the polynomial between L q1 Qi,t With Q i The coefficient of the first-order term in the polynomial between L q2 Q i,t With Q i The coefficient of the quadratic term in the polynomial between k pq1 is the q-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k iq1 is the q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pq2 is the q-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k iq2 is the q-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, S q1 is the first intermediate coefficient of the q axis, S q2 is the second intermediate coefficient of the q axis, S q3 is the third intermediate coefficient of the q-axis;

[0177] in, T q is the fourth intermediate coefficient of the q-axis, D q is the fifth intermediate coefficient of the q-axis, n q3 is the third preset parameter of the q axis, n q2 is the second preset parameter of the q axis, n q1 is the first preset parameter of the q axis,

[0178] Furthermore, the constraints corresponding to the objective function of the PI controller parameter optimization model include: response time constraints, adjustment time constraints, overshoot constraints, power average absolute deviation constraints, active output response value constraints, and reactive output response value constraints;

[0179] The response time constraint is determined as follows:

[0180]

[0181] In the formula, α κ is the upper limit of the relative deviation allowed for the response time when active power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system, α # is the upper limit of the relative deviation allowed for the response time when performing reactive power control between the actual wind farm and the wind farm in the wind farm power control simulation system, α &is the upper limit of the relative deviation allowed for the response time when performing reactive power voltage control between the actual wind farm and the wind farm in the wind farm power control simulation system. is the relative deviation between the response time of the wind farm during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the response time of the wind farm during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the deviation between the response time of the wind farm during the response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value and the response time of the wind farm during the response period when the reactive power control of the wind farm in the wind farm power control simulation system is performed with the jth reactive power preset value as the reactive power reference value, is the deviation value between the response time of the wind farm within the response period when the reactive voltage control is performed on the actual wind farm with the h-th voltage setting value as the voltage reference value and the response time of the wind farm within the response period when the reactive voltage control is performed on the wind farm in the wind farm power control simulation system with the h-th voltage setting value as the voltage reference value;

[0182] The adjustment time constraint condition is determined as follows:

[0183]

[0184] In the formula, β κ is the upper limit of the relative deviation allowed for the adjustment time when the actual wind farm performs active power control compared with the wind farm in the wind farm power control simulation system, β # is the upper limit of the relative deviation allowed for the adjustment time when performing reactive power control between the actual wind farm and the wind farm in the wind farm power control simulation system, β & is the upper limit of the relative deviation allowed for the adjustment time when performing reactive power voltage control between the actual wind farm and the wind farm in the wind farm power control simulation system. is the relative deviation between the adjustment time of the wind farm during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the adjustment time of the wind farm during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the deviation between the adjustment time of the wind farm during the response period when the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value and the adjustment time of the wind farm during the response period when the reactive power of the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, is the deviation between the adjustment time of the wind farm during the response period when the reactive voltage control is performed on the actual wind farm with the h-th voltage setting value as the voltage reference value and the adjustment time of the wind farm during the response period when the reactive voltage control is performed on the wind farm in the wind farm power control simulation system with the h-th voltage setting value as the voltage reference value;

[0185] The overshoot constraint condition is determined as follows:

[0186]

[0187] In the formula, γ κ is the upper limit of the absolute deviation allowed for overshoot when active power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system, γ # is the upper limit of the absolute deviation allowed for overshoot when reactive power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system. is the absolute value of the deviation between the overshoot of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the overshoot of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, It is the absolute value of the deviation between the overshoot of the wind farm during the response period when the actual wind farm is controlled by reactive power with the jth reactive power preset value as the reactive power reference value and the overshoot of the wind farm during the response period when the wind farm is controlled by reactive power with the jth reactive power preset value as the reactive power reference value in the wind farm power control simulation system.

[0188] Furthermore, when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the response time, regulation time and overshoot of the wind farm during the response period are τ i * Δt, and

[0189] When the reactive power of an actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the response time, regulation time and overshoot of the wind farm during the response period are τ j * Δt, and

[0190] When the reactive voltage control is performed on the actual wind farm with the hth voltage setting value as the voltage reference value, the response time and adjustment time of the wind farm in the response period are τ h * Δt and

[0191] When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the response time, regulation time and overshoot of the wind farm in the response period are τ i Δt, σ i ·Δt and max(P i,t -P i )t∈(τ i ,e i );

[0192] When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the response time, regulation time and overshoot of the wind farm in the response period are τ respectively. j Δt, σ j ·Δt and max(Q j,t -Q j )t∈(τ j ,e j );

[0193] When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the wind farm is within the response period τ h Δt and σ h Δt;

[0194] Among them, Δt is the time interval between moments, τ h * is the serial number corresponding to the moment when the reactive power response value of the wind farm during the response period reaches the ±10% error range of the average value of the reactive power response value when the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, τ h is the sequence number corresponding to the moment when the reactive power response value of the wind farm during the response period reaches the ±10% error range of the average value of the reactive power response value when the wind farm in the wind farm power control simulation system is subjected to reactive voltage control with the hth voltage setting value as the voltage reference value, When the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, the reactive power response value of the wind farm during the response period enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ h When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the reactive power response value of the wind farm during the response period enters and no longer exceeds ±5%P n The sequence number corresponding to the time range, h∈(1~S h), S h The number of preset voltage values.

[0195] Simulation analysis of the dynamic response characteristics of wind farm power control requires accurate simulation, and analysis of the power control characteristics of large-scale wind power access to the grid also requires an accurate simulation system as a basis. Currently, there is a lack of verification process for the simulation capability of power control in the simulation system, and the accuracy of the simulation performance of the simulation system in dynamic regulation cannot be guaranteed. The present invention can not only verify the accuracy of the simulation system in reflecting the actual wind farm power control characteristics, but also use characteristic quantity parameters to fit the control parameters of the simulation system; at the same time, it proposes accuracy classification indicators for simulation systems for different application scenarios, which is convenient for wind farm power control modeling research for different application scenarios.

[0196] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0197] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0198] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0199] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0200] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for optimizing PI controller parameters in a wind farm power control simulation system, characterized in that: The method comprises: Obtaining the power control response value of the actual wind farm; Substitute the actual wind farm power control response value into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameters in the wind farm power control simulation system; The PI controller parameter optimization model is constructed with the goal of minimizing the power control response error value between the actual wind farm and the wind farm in the wind farm power control simulation system; The objective function of the PI controller parameter optimization model is determined as follows: In the above formula, f is the minimum value of the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system, η i is the error value between the active output response value of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the active output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, η i is the error value between the reactive output response value of the wind farm during the response period when the actual wind farm is controlled by the jth reactive power preset value as the reactive power reference value and the reactive output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled by the jth reactive power preset value as the reactive power reference value, i∈(1~S i ), S i is the number of active power preset values, j∈(1~S j ), S j The number of preset values ​​for reactive power; Determine η as follows i : In the above formula, λ τ is the first preset weight, λ σ is the second preset weight, λ e is the third preset weight, When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the wind farm is in the t-th period during the response period. * Active output response value at a moment, P i,t is the active power output response value of the wind farm at the tth moment during the response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, τ i * When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm reaches 90%P for the first time i The sequence number corresponding to the moment, τ i The active power output response value of the wind farm reaches 90% P for the first time when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value. i The sequence number corresponding to the moment of When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ i When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, e i is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, P i is the preset value of active power, P n is the rated operating active power of the actual wind farm, t∈(1~N i ), Ni is the total number of serial numbers corresponding to the moments in the wind farm response period when the active power control of the actual wind farm is performed with the i-th active power preset value as the active power reference value. is the total number of serial numbers corresponding to the moments in the response period of the wind farm when the active power of the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value; Determine η as follows j : In the above formula, When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the wind farm is in the kth period during the response period. * The reactive output response value at a moment, Q j,k is the reactive power output response value of the wind farm at the kth moment during the response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, τ j * When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time j The sequence number corresponding to the moment, τ j When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time. j The sequence number corresponding to the moment of When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ j When the wind farm is controlled in the wind farm power control simulation system with the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm is input and does not exceed ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value, e j is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, Qj is the jth reactive power preset value, k∈(1~N j ), N j is the total number of serial numbers corresponding to the moments in the wind farm response period when the wind farm in the wind farm power control simulation system performs reactive power control on the wind farm with the jth reactive power preset value as the reactive power reference value, is the total number of sequence numbers corresponding to the moments during the response period of the wind farm when reactive power control is performed on the actual wind farm with the jth reactive power preset value as the reactive power reference value.

2. The method according to claim 1, characterized in that The PI controller parameters in the wind farm power control simulation system include: d-axis outer loop proportional gain, d-axis outer loop integral gain, d-axis inner loop proportional gain, d-axis inner loop integral gain, q-axis outer loop proportional gain, q-axis outer loop integral gain, q-axis inner loop proportional gain and q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system.

3. The method according to claim 1, characterized in that Determine the P as follows: i,t : Where, L d0 P i,t With P i The constant coefficient of the polynomial between L d1 P i,t With P i The coefficient of the first-order term in the polynomial between L d2 P i,t With P i The coefficient of the quadratic term in the polynomial between k pd1 is the d-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k id1 is the d-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pd2 is the d-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k id2 is the d-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, L b is the converter filter inductance of the wind farm in the wind farm power control simulation system, S d1 is the first intermediate coefficient of the d-axis, S d2 is the second intermediate coefficient of the d-axis, S d3 is the third intermediate coefficient of the d-axis; in, T is the fourth intermediate coefficient of the d-axis, D is the fifth intermediate coefficient of the d-axis, n d3 is the third preset parameter of the d-axis, n d2 is the second preset parameter of the d-axis, n d1 is the first preset parameter of the d-axis, u d is the d-axis voltage of the wind farm in the wind farm power control simulation system; The Q is determined as follows: j,t : Where, L q0 Q i,t With Q i The constant coefficient of the polynomial between L q1 Q i,t With Q i The coefficient of the first-order term in the polynomial between L q2 Q i,t With Q i The coefficient of the quadratic term in the polynomial between k pq1 is the q-axis inner loop proportional gain of the PI controller in the wind farm power control simulation system, k iq1 is the q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system, k pq2 is the q-axis outer loop proportional gain of the PI controller in the wind farm power control simulation system, k iq2 is the q-axis outer loop integral gain of the PI controller in the wind farm power control simulation system, S q1 is the first intermediate coefficient of the q axis, S q2 is the second intermediate coefficient of the q axis, S q3 is the third intermediate coefficient of the q-axis; in, T q is the fourth intermediate coefficient of the q-axis, D q is the fifth intermediate coefficient of the q axis n q3 is the third preset parameter of q axis, n q2 is the second preset parameter of q axis, n q1 is the first preset parameter of the q axis, 4. The method according to claim 1, characterized in that The constraints corresponding to the objective function of the PI controller parameter optimization model include: response time constraints, adjustment time constraints, overshoot constraints, power average absolute deviation constraints, active output response value constraints, and reactive output response value constraints; The response time constraint is determined as follows: In the formula, α κ is the upper limit of the relative deviation allowed in the response time of active power control between the actual wind farm and the wind farm in the wind farm power control simulation system, α # is the upper limit of the relative deviation allowed for the response time when performing reactive power control between the actual wind farm and the wind farm in the wind farm power control simulation system, α & is the upper limit of the relative deviation allowed for the response time when performing reactive power voltage control between the actual wind farm and the wind farm in the wind farm power control simulation system. is the relative deviation between the response time of the wind farm during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the response time of the wind farm during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the deviation between the response time of the wind farm during the response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value and the response time of the wind farm during the response period when the reactive power control of the wind farm in the wind farm power control simulation system is performed with the jth reactive power preset value as the reactive power reference value, is the deviation value between the response time of the wind farm within the response period when the reactive voltage control is performed on the actual wind farm with the h-th voltage setting value as the voltage reference value and the response time of the wind farm within the response period when the reactive voltage control is performed on the wind farm in the wind farm power control simulation system with the h-th voltage setting value as the voltage reference value; The adjustment time constraint condition is determined as follows: In the formula, β κ is the upper limit of the relative deviation allowed for the adjustment time when the actual wind farm performs active power control compared with the wind farm in the wind farm power control simulation system, β # is the upper limit of the relative deviation allowed for the adjustment time when performing reactive power control between the actual wind farm and the wind farm in the wind farm power control simulation system, β & is the upper limit of the relative deviation allowed for the adjustment time when performing reactive voltage control between the actual wind farm and the wind farm in the wind farm power control simulation system. is the relative deviation between the adjustment time of the wind farm during the response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value and the adjustment time of the wind farm during the response period when the active power of the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, is the deviation between the adjustment time of the wind farm during the response period when the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value and the adjustment time of the wind farm during the response period when the reactive power of the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, is the deviation between the adjustment time of the wind farm during the response period when the reactive voltage control is performed on the actual wind farm with the h-th voltage setting value as the voltage reference value and the adjustment time of the wind farm during the response period when the reactive voltage control is performed on the wind farm in the wind farm power control simulation system with the h-th voltage setting value as the voltage reference value; The overshoot constraint condition is determined as follows: In the formula, γ κ is the upper limit of the absolute deviation allowed for overshoot when active power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system, γ # is the upper limit of the absolute deviation allowed for overshoot when reactive power control is performed between the actual wind farm and the wind farm in the wind farm power control simulation system. is the absolute value of the deviation between the overshoot of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the overshoot of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, It is the absolute value of the deviation between the overshoot of the wind farm during the response period when the actual wind farm is controlled by reactive power with the jth reactive power preset value as the reactive power reference value and the overshoot of the wind farm during the response period when the wind farm is controlled by reactive power with the jth reactive power preset value as the reactive power reference value in the wind farm power control simulation system.

5. The method according to claim 4, characterized in that When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the response time, regulation time and overshoot of the wind farm during the response period are respectively and When the reactive power of an actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the response time, regulation time and overshoot of the wind farm during the response period are τ j * Δt, and When the reactive voltage control is performed on the actual wind farm with the hth voltage setting value as the voltage reference value, the response time and adjustment time of the wind farm in the response period are τ h * Δt and When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the response time, regulation time and overshoot of the wind farm in the response period are τ i Δt, σ i ·Δt and max(P i,t -P i )t∈(τ i ,e i ); When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the response time, regulation time and overshoot of the wind farm in the response period are τ respectively. j Δt, σ j ·Δt and max(Q j,t -Q j )t∈(τ j ,e j ); When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the wind farm is within the response period τ h Δt and σ h Δt; Among them, Δt is the time interval between moments, τ h * is the serial number corresponding to the moment when the reactive power response value of the wind farm during the response period reaches the ±10% error range of the average value of the reactive power response value when the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, τ h is the sequence number corresponding to the moment when the reactive power response value of the wind farm during the response period reaches the ±10% error range of the average value of the reactive power response value when the wind farm in the wind farm power control simulation system is subjected to reactive voltage control with the hth voltage setting value as the voltage reference value, When the reactive voltage control of the actual wind farm is performed with the hth voltage setting value as the voltage reference value, the reactive power response value of the wind farm during the response period enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ h When the wind farm power control simulation system uses the hth voltage setting value as the voltage reference value to control the reactive voltage of the wind farm, the reactive power response value of the wind farm during the response period enters and no longer exceeds ±5%P n The sequence number corresponding to the time range, h∈(1~S h ), S h The number of preset voltage values.

6. PI controller parameter optimization system in wind farm power control simulation system, characterized by: The system comprises: An acquisition module, used for acquiring a power control response value of an actual wind farm; As a module, it is used to substitute the power control response value of the actual wind farm into the pre-built PI controller parameter optimization model to obtain the optimal value of the PI controller parameters in the wind farm power control simulation system; The PI controller parameter optimization model is constructed with the goal of minimizing the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system; The objective function of the PI controller parameter optimization model is determined by the following formula: In the above formula, f is the minimum value of the power control response error between the actual wind farm and the wind farm in the wind farm power control simulation system, η i is the error value between the active output response value of the wind farm during the response period when the actual wind farm is controlled with the i-th active power preset value as the active power reference value and the active output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value, η i is the error value between the reactive output response value of the wind farm during the response period when the actual wind farm is controlled by the jth reactive power preset value as the reactive power reference value and the reactive output response value of the wind farm during the response period when the wind farm in the wind farm power control simulation system is controlled by the jth reactive power preset value as the reactive power reference value, i∈(1~S i ), S i is the number of active power preset values, j∈(1~S j ), S j The number of preset values ​​for reactive power; Determine η as follows i : In the above formula, λ τ is the first preset weight, λ σ is the second preset weight, λ e is the third preset weight, When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the wind farm is in the t-th period during the response period. * Active output response value at a moment, P i,t is the active power output response value of the wind farm at the tth moment during the response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, τ i * When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm reaches 90%P for the first time i The sequence number corresponding to the moment, τ i The active power output response value of the wind farm reaches 90% P for the first time when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value. i The sequence number corresponding to the moment of When the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ i When the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, the active output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the active power of the actual wind farm is controlled by taking the i-th active power preset value as the active power reference value, e i is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is controlled by taking the i-th active power preset value as the active power reference value, P i is the preset value of active power, P n is the rated operating active power of the actual wind farm, t∈(1~N i ), Ni is the total number of serial numbers corresponding to the moments in the wind farm response period when the active power control of the actual wind farm is performed with the i-th active power preset value as the active power reference value. is the total number of serial numbers corresponding to the moments in the response period of the wind farm when the active power of the wind farm in the wind farm power control simulation system is controlled with the i-th active power preset value as the active power reference value; Determine η as follows j : In the above formula, When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the wind farm is in the kth period during the response period. * The reactive output response value at a moment, Q j,k is the reactive power output response value of the wind farm at the kth moment during the response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, τ j * When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time j The sequence number corresponding to the moment, τ j When the wind farm in the wind farm power control simulation system is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm reaches 90% Q for the first time. j The sequence number corresponding to the moment of When the reactive power of the actual wind farm is controlled by taking the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm enters and no longer exceeds ±5%P n The sequence number corresponding to the time in the range, σ j When the wind farm is controlled in the wind farm power control simulation system with the jth reactive power preset value as the reactive power reference value, the reactive output response value of the wind farm is input and does not exceed ±5%P n The sequence number corresponding to the time in the range, is the sequence number corresponding to the end time of the wind farm response period when the reactive power control of the actual wind farm is performed with the jth reactive power preset value as the reactive power reference value, e j is the sequence number corresponding to the end time of the wind farm response period when the wind farm in the wind farm power control simulation system is subjected to reactive power control with the jth reactive power preset value as the reactive power reference value, Qj is the jth reactive power preset value, k∈(1~N j ), N j is the total number of serial numbers corresponding to the moments in the wind farm response period when the wind farm in the wind farm power control simulation system performs reactive power control on the wind farm with the jth reactive power preset value as the reactive power reference value, is the total number of sequence numbers corresponding to the moments during the response period of the wind farm when reactive power control is performed on the actual wind farm with the jth reactive power preset value as the reactive power reference value.

7. The system according to claim 6, characterized in that The PI controller parameters in the wind farm power control simulation system include: d-axis outer loop proportional gain, d-axis outer loop integral gain, d-axis inner loop proportional gain, d-axis inner loop integral gain, q-axis outer loop proportional gain, q-axis outer loop integral gain, q-axis inner loop proportional gain and q-axis inner loop integral gain of the PI controller in the wind farm power control simulation system.