1 Introduction

The increasing penetration of wind power into power systems has brought tremendous challenges to system operation and maintenance especially in the sense that power system stability analysis and control seem to be largely dependent on the reliability of wind farm models. If the modeling issue is not treated felicitously, relevant misleading analysis and control measures may improperly hamper the absorption of large scale wind power [14]. For the past few decades, several kinds of wind farm models have been established to study those problems such as security and economic operation [5], subsynchronous resonance [6], operational outage [7], etc. The research communities have made various efforts, mainly involving two categories of approaches, to cope with the modeling issue. Some researchers attempt to classify and cluster the wind turbine generators (WTGs) based on some dynamic parameters or response characteristics in a large wind farm [810]. However, the effectiveness of those clustering criterions including input wind speed, rotor slip and rotor current are difficult to be theoretically verified. The others make the whole wind farm equivalent to a single wind generator, which focus primarily on the whole wind farm’s response behaviors, yet omitting the complex location information and electrical connections [1113]. However, both kinds of approaches attempting to meet the parameter identification requirements establish reduced-order and simplified wind farm models at the cost of deteriorating some control effects and dynamic responses [14, 15].

In addition to the unreliable models, inaccurate model parameters further exacerbate the modeling problem. Generally, the parameters for manufacturer-specific models are regarded as classified commercial data, and not suit for each kinds of models [16]. Nowadays, the empirical parameters are widely used in practice by dispatchers for convenience. What’s worse, almost all of the wind farms within a region are usually modelled with the unified parameters, which is clearly not in accordance with the practical scenarios. A survey of a regional power grid in China conducted by the authors shows that almost 91% of the wind farm models (see Table A1 in Appendix A) are set by the same empirical parameters in power system stability simulation, which further illustrates this ubiquitous problem. Empirical parameters based models, ignoring the practical dynamics of wind farms, may cause potential hazards in power system security and stability analysis. For example, the simulation with a certain set of empirical parameters after power system faults may draw an optimistic conclusion, while probably drawing a pessimistic one with another set. Therefore, instead of adopting empirical parameters, it is imperative to identify the parameters based on field or practical measurements.

With the rapid development of wide-area measurement systems in recent years, phase measurement units (PMUs) and wide-area measurement systems (WAMS) based modeling approaches have been widely used on various occasions to effectively reflect the devices’ real dynamic characteristics, such as modeling of generator, excitation system and dynamic load [1719]. PMUs are capable of providing reliable field measurement data that contains synchronous and dynamic information, which can meet the requirement of respectively modeling and identifying individual wind farms within a region.

In this paper, a novel wind farm modeling approach based on WAMS is proposed to deal with the unreliability and inaccuracy of conventional wind farm modeling methods. Firstly, a dynamic equivalent model of doubly fed induction generator (DFIG) wind farm is elaborately constructed to simulate the overall characteristics of the wind farm for system analysis. Then, dominant parameters are selected by trajectory sensitivity analysis to tackle the intricate and laborious identification issue of multiple parameters. Additionally, a method incorporating model simulation and the improved genetic algorithm (IGA) is employed to search the wind farm’s optimal parameter combination based on the PMU data.

2 Generic model of wind farm

The equivalent model based on the G.E. standard DFIG model, recommended by Western Electricity Coordinating Council’s (WECC) [20], is established in the MATLAB/Simulink. As shown in Fig. 1, its main components are divided into four modules: two-mass shafting module, pitch angle control module, reactive control module and wind farm interface module. The frequency control and reactive power droop control are omitted.

Fig. 1
figure 1

Schematic diagram of the wind farm module

  1. 1)

    Two-mass shafting module

Actually, there will be some difference dynamic response characteristics due to the distinction between structure and mass of wind turbine shaft and wind generator shaft. So two-mass module is closer to the actual conditions than one mass module. Ignoring the gearbox, two blocks with different inertia coefficients are used to represent the mechanical driving system, which is described as

$$\left\{ {\begin{array}{l} {T_{wt} \frac{{{\text{d}}\omega_{wt} }}{{{\text{d}}t}} = \frac{{P_{mech} }}{{\omega_{wt} }} - K_{tg} (\theta_{wt} - \theta_{g} ) - D_{tg} (\omega_{wt} - \omega_{g} )} \\ {T_{g} \frac{{{\text{d}}\omega_{g} }}{{{\text{d}}t}} = - \frac{{P_{elec} }}{{\omega_{g} }} + K_{tg} (\theta_{wt} - \theta_{g} ) + D_{tg} (\omega_{wt} - \omega_{g} )} \\ \frac{{{\text{d}}\theta_{wt} }}{{{\text{d}}t}} = \omega_{wt} \\ \frac{{{\text{d}}\theta_{g} }}{{{\text{d}}t}} = \omega_{g} \end{array} } \right.$$
(1)

where \(T_{wt}\) and \(T_{g}\) represent the inertia coefficients of the equivalent wind turbine and generator, respectively; \(\theta _{wt}\) and \(\theta _{g}\) are the torsion angles; \(\omega _{wt}\) and \(\omega _{g}\) stand for the rotational speeds; \(P_{mech}\) and \(P_{elec}\) are mechanical and electromagnetic powers; \(K_{tg}\) is stiffness coefficient and \(D_{tg}\) is damping coefficient.

  1. 2)

    Pitch angle control module

The DFIG wind farms always adopt variable-speed constant-frequency (VSCF) control strategy. The pitch angle control module consists of two parts, pitch control and pitch compensation, as shown in Fig. 2. This module comes into play, when the wind speed exceeds the rated speed or when the wind farm suffers from serious transient faults.

Fig. 2
figure 2

Pitch angle control module

  1. 3)

    Reactive control module

The voltage of point of interconnection (POI) and reactive power are governed by closed-loop control strategy in this module. Constant power factor, constant reactive power and constant voltage control modules are optional according to different reactive power reference. The diagram is shown in Fig. A1 in Appendix A.

  1. 4)

    Wind farm interface module

The whole wind farm is considered as a controllable current source in this module. However, the equivalent generator is not particularly modeled, because the rotor part and excitation system are separately included in the two-mass shafting module and the reactive control module. The impedances of the wind generators and the collection system are all considered in a wind farm’s equivalent impedance. The diagram is shown in Fig. 3.

Compared with the conventional reduced-order model in [14, 15], the equivalent wind farm model composed of almost all the basic control units is able to better simulate the actual dynamic response, which will be verified by a comparison given in Section 5.

Fig. 3
figure 3

Wind farm interface module

3 Selection of dominant parameters

The wind farm model established in the Section 1 preserves the response features to a great extent. However, there are too many parameters needed to be identified. All the parameters and their empirical values [20] are listed in Table A2 in Appendix A. It is obvious that not all of them have significantly effects on the model response. Those parameters that dominate more in the model behaviors, namely dominant parameters, should be set accurately.

Identifiability generally means that the model parameters’ property of being recognized uniquely based on the model’s input and output variables. Most conventional parameter identifiability analysis approaches mainly rely on analytics. They can provide accurate analytical solutions based on linear models,but they are impractical for high-complexity models. Researches in [21, 22] have found that there is inner relationship between the identifiability and sensitivity. Those parameters with high sensitivities are easily to be identified. Hence the sensitivity analysis method is employed in this paper to selected the dominant parameters that easier to be identified as well.

The nonlinear model of wind farm can be expressed as differential–algebraic equations

$$\left\{ {\begin{array}{l} {\frac{\text{d}}{{{\text{d}}t}}\varvec{x} = f(\varvec{x} ,\varvec{y} ,\varvec{u} ,\varvec{\theta})} \\ {\varvec{y} = g(\varvec{x} ,\varvec{u} ,\varvec{\theta})} \end{array} } \right.$$
(2)

where the vector x represents the state variables (such as the q-axis subtransient electromotive force E ’’ q , rotor speed ω g etc.); vector u is the input variables (such as the wind speed V w , the POI bus voltage V term ); vector θ stands for the parameters; vector y is the output of the wind farm model.

The parameter sensitivity reflects the output variables’ level of sensitivity to the parameter variation. Thus the parameter sensitivity in a certain state is defined as

$$S_{{y_{i} /\theta_{i} }} = \frac{{\partial y_{i} /y_{i} }}{{\partial \theta_{i} /\theta_{i} }}{\kern 1pt} {\kern 1pt} {\kern 1pt} = \mathop {\lim }\limits_{{\Delta \theta_{i} \to 0}} \frac{{\frac{{y_{i} (\theta_{r} ,\theta_{i0} + \Delta \theta_{i} ) - y_{i0} (\theta_{r} ,\theta_{i0} )}}{{y_{i0} (\theta_{r} ,\theta_{i0} )}}}}{{\Delta \theta_{i} /\theta_{i0} }}$$
(3)

where \(S_{{y_{i} /\theta_{i} }}\) is the sensitivity of y i related to θ i ; y i0 is the model output when the θ i is θ i0; Δθ i is the change of θ i ; θ r represents the other parameters except θ i .

The parameter sensitivity can be expressed as an analytical expression, only if the model on an operation point is easy to be linearized. In this paper, a tiny disturbance is added to the parameter to change the wind farm response during a dynamic process. Then the parameter sensitivity is approximatively calculated by (3). Note that the variable y is a function of time, and the parameter sensitivities from different instances form a trajectory sensitivity curve.

Compared with the sensitivity, the trajectory sensitivity with dynamic features added, can be devoted to analyzing the parameters’ relation. The parameters whose trajectory sensitivity curves have same phases or contrary phases couple with each other, and cannot be independently identified.

The procedure of selecting dominant parameters is divided into two steps. First, the independent parameters are selected by the phase of the trajectory sensitivity. Then, the parameters with larger amplitudes of trajectory sensitivity are treated as the dominant parameters. To make comprehensive comparisons of those parameters’ magnitudes of trajectory sensitivity, the average of absolute values of each parameter’s trajectory sensitivity in the observed time is computed by

$$\bar{S}_{{y_{i} /\theta_{i} {\kern 1pt} [t_{1} ,t_{2} ]}} = \frac{1}{N}\sum\limits_{k = 0}^{N} {\left| {S_{{y_{i} /\theta_{i} {\kern 1pt} \left( {t_{1} + k \cdot \frac{{t_{2} - t_{1} }}{N}} \right)}} } \right|}$$
(4)

where \(\bar{S}_{{y_{i} /\theta_{i} {\kern 1pt} [t_{1} ,t_{2} ]}}\) is the average sensitivity in the time domain from t 1 to t 2; N is the number of samples; \(S_{{y_{i} /\theta_{i} {\kern 1pt} \left( {t_{1} + k \cdot \frac{{t_{2} - t_{1} }}{N}} \right)}}\) stands for the sensitivity at time instance t 1 + k(t 2 − t 1)/N.

4 Parameter identification based on IGA

4.1 Identification model

Essentially, model parameter identification is a procedure of optimization. The goal is to minimize the total square error of the actual output and the predicted output by reasonable adjustment of equivalent parameter under the constraints of state variables and structure parameters.

Because of the extensive application of wide-area measurements, the active and reactive power injection, as well as the voltage at a terminal bus can be obtained credibly. In terms of the identification model here, the active and reactive power injection serve as the output variables, while the terminal voltage and the equivalent wind speed are chosen as the input variables. Note that the equivalent wind speed is calculated with the consideration of wake and tower-shadow effects, which is not the main focus in this paper. There are more state variables than the reduced-order models, owing to the complicated model construction, such as the pitch angle θ p , the generator rotor speed ω g , the wind turbine shaft speed ω wt , and q-axis subtransient electromotive force E q ″. The dominant parameters selected for identification will be discussed in Section 5. Now they are represented as the vector θ. The model of parameter identification is given as

$$\begin{aligned} & \hbox{min} \int_{{t_{1} }}^{{t_{2} }} {{\kern 1pt} \left[ {\left| {\hat{P}(t) - P(t)} \right|^{2} + \left| {\hat{Q}(t) - Q(t)} \right|^{2} } \right]{\text{d}}t} {\kern 1pt} \hfill \\ & \text{s}\text{.t}\text{.}{\kern 1pt} {\kern 1pt} \left\{ {\begin{array}{l} {\theta {\kern 1pt}_{pmin} \le \hat{\theta }_{p} \le \theta_{pmax} ,E{\kern 1pt}_{qmin}^{''} {\kern 1pt} \le \hat{E}{\kern 1pt}_{q}^{''} \le E{\kern 1pt}_{qmax}^{''} {\kern 1pt} {\kern 1pt} } \hfill \\ \omega_{gmin} \le \hat{\omega }_{g} \le \omega_{gmax} ,\omega_{wtmin} \le \hat{\omega }_{wt} \le \omega_{wtmax} \hfill \\ \varvec{\theta}_{min} \le \hat{\varvec{\theta }} \le\varvec{\theta}_{max} \hfill \\ \end{array} } \right. \hfill \\ \end{aligned}$$
(5)

here the variables with hats mean estimation values. The dominant parameters’ boundaries θ min and θ max are determined by their empirical values, so as to guarantee the reasonability of the results.

4.2 Identification algorithm

To deal with the problem that the high-order models are too complex to perform efficient parameter identification, the genetic algorithm (GA) that less relies on the internal details of the model is taken into account in this paper. The whole wind farm model is treated as a black box. Only the input and output information is used to search for the optimal parameter combination that matches the dynamic response characteristic. Every parameter combination in GA corresponds to a chromosome, and each parameter in the combination is represented as a gene, as described in Fig. 4. Each parameter to be identified is expressed with a 15-bit binary number, indicating a resolution of 0.001.

Fig. 4
figure 4

Representation of parameter combination in GA

In order to enhance efficiency of identification, an improved genetic algorithm (IGA) is proposed in this paper based on the original version. Additionally, all the modifications based on the original GA aim to achieve a better balance between efficiency and reliability. The procedure of IGA, mainly involving four aspects, is shown in Fig. 5.

Fig. 5
figure 5

Procedure of parameter identification based on IGA

  1. 1)

    Parameters initialization

Although the optimization results are less affected by the initial values in the GA, the closer to the optimal values the initial values are, the fewer iterations the optimization procedure costs. The population size is set to 100. In contrast to the original GA initializing parameters completely at random, here the IGA performs initialization under the guidance of feasible region, making it more probable to approach optimal states. In particular, the feasible region of each parameter is divided into 10 parts. Then 10 samples are randomly selected in each part. This method can improve the probability of finding the range including the optimal solution at first generation.

  1. 2)

    Good individuals selection

The fitness function is inversion of the objective function in (5). So the parameter combination that diminish the objective function have larger fitness.

To avoid the loss of the optimal genes in the traditional roulette selection strategy. The 10% parameters with largest fitness are directly inherited to the next generation. The remaining 90% individuals are chosen by the roulette selection strategy.

  1. 3)

    Self-adaptive crossover and mutation

The individuals in a generation are randomly paired. And the crossover operation is carried out on the individuals in each pair to generate offspring. The crossover probability P c is used to control the frequency of crossover operation. A bigger P c can improve the search capability in the space, while a smaller P c can ensure the continuity of the search around the optimal value. So a self-adaptive technique is utilized in this paper, adjusting P c during the identification process by

$$P_{c}^{n} = P_{c}^{n - 1} + (0.5 - P_{c}^{0} )/N$$
(6)

where n means the current number of iterations; P n c is the crossover probability at nth iteration; N is the maximum number of generations, which is 100 here; P 0 c is the original value, which is set as 0.9 in this paper.

Multi-point mutation strategy is adopted in the mutation procedure. The purpose of mutation operation is to produce new individuals and expand the searching scope. Increasing the value of mutation probability P m can avoid falling into local optimum, while may destroy the optimum solution space. The recommended value range of P m is 0.001 to 0.1. The P m is also adjusted in (7), according to the search results.

$$\left\{ {\begin{array}{*{20}l} {P_{m}^{n} = P_{m}^{n - 1} + (0.001 - P_{m}^{0} )/N,{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\text{if}}{\kern 1pt} {\kern 1pt} \tau = 0} \hfill \\ {P_{m}^{n} = P_{m}^{0} ,{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\text{if}}{\kern 1pt} {\kern 1pt} \tau = 1} \hfill \\ \end{array} } \right.{\kern 1pt} {\kern 1pt} {\kern 1pt}$$
(7)

where P n m is the mutation probability at nth iteration; P 0 m is set as 0.1; τ is the flag variable that decides whether to reset the P n m as the original value. When the situation that incensement of the best fitness value of the current generation is less than 1% of the last generation occurs ten times continually, τ is equal to 1. This means that the search range will change, if better values cannot be found after repeatedly search.

  1. 4)

    Iterative identification

The model simulation is incorporated in the IGA. Every new parameter combination created by the genetic manipulation is passed to the model simulation to calculate its object function value and fitness. Then good individuals are selected to be renew in a new round of genetic manipulation. The optimal parameter combination is obtained in the process of iterative identification.

The algorithm process will stop when the output error is in the range of the allowable error or the number of iterations reaches its maximum limit. In the latter situation, the optimum results,the optimal parameter combination in the last interaction probably is not the global optimum, considering the influence of crossover and mutation. So the best parameter combination must be selected from the optima in all generations.

5 Simulation and verification

5.1 Model test based on the benchmark system

A model simulation test is conducted on a simple system to verify the dynamic response of the model, as shown in Fig. 6. The test system is a benchmark system proposed by the WECC’s Wind Generator Modeling Group [23]. There are 20 DFIGs that are rated at 1.5 MW in the wind farm. The standard capacity of this system is 33 MVA. The power grid is represented by an infinite voltage source. The parameters of lines and transformers are given on per unit value (p.u).

Fig. 6
figure 6

Benchmark test system

Different forms of disturbances are imposed to test the response characteristics of the electrical control parts and the mechanical transmission parts. Several comparisons are made among the G.E. standard model (model 1), the equivalent model in this paper (model 2) and the traditional reduced-order model (model 3).

  1. 1)

    Test with grid voltage disturbance

A small step change of the grid voltage is carried out to test the control effects of reactive power and voltage control. The setting is that the voltage of grid drops from 1.05 p.u. to 0.97 p.u. at 1.0 s. The voltage and the reactive power at Bus 2 (POI) are shown in Fig. 7.

Fig. 7
figure 7

Voltage and reactive power at Bus 2

The test results show that the equivalent model can timely increase reactive power to provide assistance for the voltage recovery, which is as same as the standard model, when the model is under constant-voltage control mode. While, the traditional model always uses constant reactive power control modes by setting the reactive power reference. So it’s helpless for the voltage drop. It is obvious that the property of DFIGs is lost, although the model is simplified.

  1. 2)

    Test on the wind speed disturbance

The pitch angle control and regulation of active power are tested in this part by a wind ramp. The wind farm works under the rated condition. A wind ramp starts from 11.8 m/s at 10.0 s, and reaches 17.8 m/s. Then, the wind speed remains steady for 30.0 s. Its rise time and fall time are both 30.0 s. The pitch angle and active power are shown in Fig. 8.

Fig. 8
figure 8

Pitch angle and active power of the wind farm

It is evident that the traditional reduced-order model that ignores the pitch angle control exhibits some undesirable characteristics in the period of wind disturbance. However, the equivalent model has almost the same features as the standard model, which can approximately maintain the output power approximate as a constant. The results demonstrate that the active control and pitch angle control are effective and more tally with the practical conditions.

5.2 Validation of the identification algorithm

The identification algorithm based on the IGA is verified on the CEPRI 36 bus system, as shown in Fig. 9. The wind farm containing 240 × 1.5 MW DFIGs is connected to the system at Bus8. A PMU is installed at the Bus31 to measure the dynamic information. The simulation data including amplitudes and phase angles of bus voltages, active power and reactive power outputs, are acquired to simulate PMU measurements. The standard capacity of this system is 100 MVA. Bus1 is treated as a slack point.

Fig. 9
figure 9

CEPRI 36 bus system

  1. 1)

    Parameters selection and classification

It is known that different dynamic modes may be stimulated by different disturbances [24]. In the model verification, it can be seen that the voltage and reactive power control may significantly affect the dynamic process when a transient disturbance occurs. Analogously, the same relationship exists between the pitch angle control and the wind disturbances. So the parameters may have different observability under different disturbances.

There will be two kinds of disturbances in this paper to classify and select the dominant parameters. One kind disturbance is a three-phase short-circuit fault at the Bus31 that lasts for 0.1 s (Case 1). The other kind disturbance is a gust that starts at 2.0 s with an initial speed of 14 m/s and lasts for 20 s. The maximum of the speed is 20 m/s (Case 2). The parameters’ trajectory sensitivity curves under both kinds of disturbances are given in Fig. A2 and Fig. A3 in Appendix A. The parameters of PI controllers are assumed to be similar to individual wind turbines. And they are also less affected by the wind farms’ operating conditions, service life, etc. So they are preset and regarded as unchanged. Only the parameters that are sensitive and variable, such as X eq , E IQmax , E IQmin , T g , T wt , K tg and D tg are analyzed in this paper. The parameters X eq , E IQmax and E IQmin that are more associated with electrical response characteristics are referred to as electrical parameters. Meanwhile, the parameters T g , T wt , K tg and D tg are referred to as mechanical parameters.

From the results, it is found that those parameters are uncoupled to each other except that some parameters’ sensitivities are too small to identify. In order to compare the identifiability of those parameters, the average sensitivities are listed in Table 1. Every number in the table represents the corresponding sensitivity with respect to P or Q.

Table 1 Average sensitivities of the parameters

It indicates that the parameters playing an important role at the voltage and reactive power controls such as X eq and E IQmax are easier to be identified under the transient fault. The parameters such as T g , T wt and K tg have some identifiable degrees in both cases. But they are relatively more sensitive under the gust disturbance. However, it is difficult to identify E IQmin and D tg in either case. Therefore, X eq and E IQmax are identified under the transient fault, while T g , T wt and K tg are under the gust disturbance.

  1. 2)

    Parameter identification

The parameter identification method can play an effective role, when there is a disturbance in the wind farm operation. Different parameters are identified under different situations. The simulation experiment is also in the CEPRI 36 bus system with the same disturbances in the Case 1 and Case 2.

The POI bus is probably not equipped with PMU, just as this case in the Fig. 9. If the resistance and ratio of the transformer between bus 8 and bus 31 is known, the information of the wind farm can be calculated from the PMU measurements by some state estimation methods.

The identified values of those parameters based on IGA are compared with the actual values in Table 2. It is obvious that the identified values are rather close to the actual values. The relative errors are all within the range of the errors permitted. The results verify the effectiveness of the method.

Table 2 Comparisons of parameter identification results

Furthermore, the identification results are shown in Fig. 10 and Fig. 11, where the response results of measured data, identified data and the outputs based on empirical parameters are comprehensively compared.

The comparisons show that the response based on identification is in general agreement with the practical measurement results, whereas the response based on empirical parameters are greatly different. It further suggests that power system security analysis using empirical parameters of wind farm models is likely to deviate from the actual situation. Moreover, it reveals the parameter identified from measurement data of WAMS is of desirable reliability.

To validate the advantages of the IGA related to the traditional GA, the iterative process of the two kinds algorithms in both identification cases are shown in the Fig. 12, where the objective function values are given at same iterations.

Fig. 10
figure 10

Comparisons of responses under the transient fault

Fig. 11
figure 11

Comparisons of responses under the gust disturbance

Fig. 12
figure 12

Comparisons between the GA and IGA

It is shown that the convergence rate of the errors is greatly improved in the IGA with the adaptive crossover operator and mutation operator. Therefore, the IGA proposed in this paper is effective to enhance the global search capability of genetic algorithm during the procedure of both identification cases.

To prove that the sensitivity is a good index for the identifiability, the parameters with small sensitivities, such as E IQmin and D tg , were added into the parameter set for identification. The fitting degrees of active power and identified results of X eq and E IQmin in five experiments are listed in Table 3.

Table 3 Identified values of parameters and fitting degrees

In some high fitting degree situations, the values of X eq are relative steady, while the values of E IQmin are randomly distributed in its feasible regions, which shows that those parameters with small sensitivities are difficult to be accurately identified. So they are usually specified as empirical values. It also implies that the parameters selection based on sensitivity can effectively remove those intractable parameters and improve the identification efficiency.

  1. 3)

    Parameter validation

However, there may exist several sets of parameters that produce similar responses from the model. So the parameters identified by the IGA need to be further selected by the responses under stochastic wind that frequently appears in practice (Case 3).

To validate the effectiveness of the optimized model parameters, a new set of parameters (Set B, Table 4) producing comparable responses as the previously identified parameters (Set A, see Table 2) is obtained from identification processes by expanding the feasible regions of parameters, as listed in Table A1 in Appendix A.

Table 4 Values of parameter Set B

The measured results and the responses based on the parameter Set A and Set B are compared in Fig. 13.

The fitting degree of active power based on the parameters of Set A is 98.55%, while the counterpart based on Set B is 92.15%. Meanwhile, the fitting degrees of reactive power corresponding to Set A and B are 97.32% and 91.08%, respectively. It is obvious that the results based on parameter Set A stay much closer to the practical measurements than the parameter Set B in Case 3. So the parameters of Set A are selected as the optimal parameters. Such a verification also reveals that the optimal parameters should be well adaptive under other disturbance occasions.

Fig. 13
figure 13

Comparisons of responses based on Set A and Set B in Case 3

6 Conclusion

In this paper, a wind farm modeling and parameter identification approach based on measured data of PMUs is proposed to solve the problem of unreliable models and the inaccurate parameters. An equivalent wind farm model involving basic structural characters and control principles is built to effectively simulate the actual response of the wind farm. Dominant parameters are selected and classified by trajectory sensitivity analysis under two kinds of disturbances, which helps to tackle the intricate and laborious identification issue of multiple parameters. Besides, an improved generic algorithm, enhancing the capability of globally and efficiently searching optimal parameters, is developed. In particular, the genetic manipulation is optimized with the self-adaptive cross and selection operators, attempting to find a balance between efficiency and reliability.

The test on the WECC benchmark system under voltage steps and wind ramps demonstrates that the response of this model is coincided with the standard model, which can reflect the real dynamic characteristics better than the traditional model. In addition, the validation of the identification algorithm is carried out on the CEPRI 36-bus system, which suggests the model response with identified parameters based on WAMS are more accurate and reasonable than with the empirical parameters. Then the IGA is compared with the traditional GA. which validates the better global search capability of this method. Finally, the optimal parameters are selected and validated under the stochastic wind condition in case of multi-solution situations.

This paper has provided a reliable modeling method based on WAMS for wind farms. In relevant future work, further validations using field data will be necessary to demonstrate the effectiveness in the real system. Additionally, the modeling method can be also employed to assist power system analysis and control strategies with large-scale wind power integrated in the future.