1 Introduction

In power systems, frequency constitutes a parameter indicating the equilibrium between power demanded by load and energy produced by generation systems [1]. When this relationship is unbalanced, control structures are in place to return the system frequency to operational values in the so-called Load Frequency Control (LFC) of power systems. However, traditional frequency control strategies have been developed for power systems with almost complete reliance on conventional energy sources, but penetration of Renewable Energy Sources (RES) may require the participation of these new units in the control loops [2].

Wind is the fastest growing and most widely deployed renewable energy source worldwide [3]. Variable Speed Wind Turbine Generators (VSWTG) are the most popular devices for extracting electrical power from wind. VSWTG operation requires action of electronic power converters, which effectively decouple the rotor angular speed of the wind generating unit from the electrical frequency of the grid. Consequently, VSWTG does not contribute directly to the natural inertial response of the system under frequency disturbances and other operational events [4].

However, the increase of wind generators and the unpredictability and variability associated with the wind resource also raise the difficulty level of the frequency regulation tasks in power systems. In future grid operating normative, the participation of wind turbine generators in system frequency regulation might become mandatory. Hence, several studies have been proposed about control strategies for the active inclusion of VSWTG in LFC loops. Complete reviews can be found in [4,5,6]. Among many techniques, the required primary reserves for frequency regulation contributions from Wind Turbine generators (WT) can be supplied through de-loaded operation (under the point of maximum power extraction) of the WT and the addition of control loops, emulating the response of conventional units (inertia and droop controllers) [4, 7, 8].

This chapter focuses on analyzing the effects of parameter variations in the frequency regulation structure of power systems involving wind generation. Sensitivity functions are established using linearized models and transfer function representations for the system components. Sensitivity analysis has been previously employed in the assessment of the dynamic performance of power systems. Nanda and Kaul [9] explored the optimal tuning of automatic generation controllers in a multi-area power system with conventional steam generation units. The role of inertia was studied through sensitivity tests in the development of a composite load model with conventional machines [10]. For scenarios considering renewable energy sources, the impacts of damping and inertia in the dynamic performance of grid frequency were studied in [11], where authors analyzed different locations to provide emulated inertia. Additionally, the behavior of Doubly-Fed Induction Generator (DFIG) wind units in power systems was studied using eigenvalue sensitivities about inertia variations [12]. However, these works did not consider an explicit function for system sensitivities. In this regard, transfer functions for power systems frequency regulation elements are developed in [13,14,15,16] for conventional-only scenarios, and extended in [7] for assessing the effects of load damping including wind farms.

Amidst this context, this chapter studies the effects of varying different system parameters on the overall performance of the traditional LFC system when including contributions of renewable energy systems such as VSWTG. Through both theoretical analysis and performance simulations, the impact of an inaccurate representation of system inertia is established. Results indicate more robustness to parameter variations for systems that include wind turbine participation. However, the frequency deviation rate increases when the uncertainty in system parameters grows. This behavior would lead to instability scenarios under frequency disturbances for the power system.

2 Modeling of the Variable Speed Wind Turbine Generator Control Loops

The relationship between rotor speed and power for a wind turbine (WT) is inherently non-linear. The maximum power point (MPP) is the operational rotor speed value that causes the maximum power extraction from the WT. Given the non-linear dynamic of the system, the MPP needs to be tracked continually in order to guarantee the efficiency of the WT. The MPP tracking (MPPT) process starts with Eq. (1), which represents the mechanical power of the WT:

$$\begin{aligned} {P_m} = \frac{1}{2}\rho A{C_p}\left( {\lambda _w, \beta _w } \right) \,\nu _w^3. \end{aligned}$$
(1)

where A denotes the turbine sweeping area, \(\rho \) represents the air density, \(\beta _w\) is the pitch-angle, \(\lambda _w\) is Tip Speed Ratio (TSR), \({C_p}\left( {\lambda _w, \beta _w } \right) \) is the performance coefficient for the WT, and \(\nu _w\) represents the per-unitized values of measured wind speed.

By definition, the TSR is a relation between the tangential speed at the tip of a WT blade and the actual wind speed. Therefore, in per-unit system, \(\lambda _{w,p.u.} = \frac{\omega }{\nu }\), with \(\nu \) and \(\omega \) denoting the rotor speed and the wind speed per-unit for a reference speed of 12 m/s. Additionally, Eq. (2) presents the mechanical torque \(T_{m,p.u.}\) of the WT in per-unit system, where \(\omega _m\) represents the per-unitized values of measured rotor speed, \(C_{p,\max }\) is the maximum value of \({C_p}\left( {\lambda _w, \beta _w } \right) \), and \(K_w\) is a constant defined in Eq. (3).

$$\begin{aligned} {{{T}}_{{{m,}}{{p}}{{.u}}{{.}}}} =&\frac{{0.5\,\mathrm{{\rho }}\,{{A}}\,\,{{{C}}_p}(\lambda _{w}, \mathrm{{\beta _w }})\mathrm{{\nu }}_{{w}}^3}}{{{\mathrm{{\omega }}_{{m}}}{{{P}}_{\mathrm{\mathrm{base}}}}}} = \frac{{{{{K}}_{{w}}}{{{C}}_{{p}}}\mathrm{{\nu }}_{}^3}}{\mathrm{{\omega }}}, \end{aligned}$$
(2)
$$\begin{aligned} \text {with} \quad {K_w} =&\frac{{0.5\,\rho \;A\;{C_{p,\max }}}}{{{P_\mathrm{base}}}}\quad \end{aligned}$$
(3)

If wind turbines are contributing to frequency regulation, the linearized representation must include changes of the area frequency \(\varDelta f\) and wind speed variations v. In the same way as the LFC, frequency regulation contributions can come from the variation of mechanical or electrical power in response to grid frequency changes.

Frequency contribution from wind turbines is possible due to the so called de-loaded operation [4]. In this mode, the wind turbine operates under the MPP to generate the active power reserve employed to contribute to frequency control tasks. This active power reserve \(P_{cont}\) (p.u.) is:

$$\begin{aligned} {P_{cont}} = {P_{MPP}} - {P_{und}} = (1 - X_u)\;{K_{wind}}\;{\omega ^3} \end{aligned}$$
(4)

where \(\omega \) denotes the rotor speed, \(X_u \in (0,1)\) is a weighting factor expressing the fraction of maximum power at de-loaded operating point [7], \(P_{und}\) is the de-loaded power, \({P_{MPP}}\) is the maximum power extracted at the operating speed, and \(K_{wind}\) is a constant parameter depending on the characteristics of the wind turbine [17]. In operation, \(\omega _{MPP}\) and \(\omega _{und}\) are the rotor angular speeds at \({P_{MPP}}\) and \(P_{und}\), respectively. According to [18], the power \(P_{uref}\) and torque \(\tau _{uref}\) for operating at determined wind speed are:

$$\begin{aligned} {P_{uref}} =&{P_{und}} + ({P_{MPP}} - {P_{und}})\frac{{\,({\omega _{und}} - \omega )}}{{({\omega _{und}} - {\omega _{MPP}})}}\end{aligned}$$
(5)
$$\begin{aligned} =&X_u \,\,{K_{wind}}\,{\omega ^3} + {K_{wind}}\,{\omega ^3}\frac{{(1 - X_u)\,\,({\omega _{und}} - \omega )}}{{({\omega _{und}} - {\omega _{MPP }})}} \end{aligned}$$
(6)
$$\begin{aligned} {\tau _{uref}} =&X_u \;{K_{wind}} \;{\omega ^2} + {K_{wind}}\;{\omega ^2}\;\;\frac{{(1 - X_u)\;({\omega _{und}} - \omega )}}{{({\omega _{und}} - {\omega _{MPP }})}} \end{aligned}$$
(7)

Figure 1 illustrates the model of WT with control loops for frequency contribution from wind turbines. According to this figure, variations in electrical torque \(\varDelta \tau _{e,cont}\) can be expressed as:

$$\begin{aligned} \varDelta \tau _{e,cont}(s) = \frac{{\varDelta P_{e,cont}(s)}}{{{\omega _0}}} = (- 1)\,\left[ {\frac{{1/{R_w} + {K_n}s}}{{{\omega _0}}}} \right] \varDelta f(s) \end{aligned}$$
(8)
Fig. 1
figure 1

Model of variable speed WT for LFC support

In Eq. (8), \(\varDelta P_{e,cont}\) denotes electrical power variations related to changes in frequency, \(\omega _0\) is the current angular speed of the rotor, \(K_n\) is a parameter weighting the inertia control loop, and \(R_w\) is a parameter similar to the speed droop R of the LFC regulation. The latter parameters are responsible for inertial emulation from WT, with dynamic performance improving with both low values of \(R_w\) and high values of \(K_n\) [18]. Let the linearized dynamic operating electrical torque be:

$$\begin{aligned}&\varDelta {\tau _{uref}}(s) = \frac{{\partial {\tau _{uref}}}}{{\partial \omega }}\varDelta \omega (s) = \\ \nonumber&\left[ 2{K_{wind}}\;{\omega _0}\;X_u + 2{K_{wind}}\;{\omega _0}(1 - X_u) \cdot \frac{{({\omega _{und}} - {\omega _0})}}{{({\omega _{und}} - {\omega _{MPP}})}}\right. \left. - \frac{{{K_{wind}}\;\omega _0^2\;(1 - X_u)}}{{({\omega _{und}} - {\omega _{MPP}})}} \right] \varDelta \omega (s). \end{aligned}$$
(9)

The total variation in electrical torque (\(\varDelta \tau _e\)) can be presented in terms of \(\varDelta f(s)\) and \(\varDelta \omega (s)\) as follows:

$$\begin{aligned} \varDelta {\tau _e}(s) = \varDelta \tau _{e,cont}(s) + \varDelta {\tau _{uref}}(s) = (- 1)\,\left[ {\frac{{1/{R_w} + {K_n}s}}{{{\omega _0}}}} \right] \varDelta f(s) + \frac{{\partial {\tau _{uref}}}}{{\partial \omega }}\varDelta \omega (s). \end{aligned}$$
(10)

Denote \(v_0\) as the wind speed (p.u.) and \(\omega _0\) as the initial angular speed of the rotor at de-loading operating point, and let, \(\lambda _{ref}\) and \(C_{p,ref}\) be the operational values of the tip speed ratio \(\lambda \) and the performance coefficient \(C_p(\lambda ,\beta )\) of WT for a reference pitch-angle \(\beta _{ref}\). The mechanical torque \(\tau _m\) of the turbine is:

$$\begin{aligned} \tau _m = \dfrac{K_{wind} C_p v^3}{\omega } \end{aligned}$$
(11)

From Eq. (11), the linearized mechanical torque \(\varDelta \tau _m (s)\) can be expressed as:

$$\begin{aligned} \varDelta {\tau _m}(s) =&\frac{{\partial {\tau _m}}}{{\partial \omega }} \cdot \varDelta \omega (s)+ \frac{{\partial {\tau _m}}}{{\partial v }} \cdot \varDelta v (s) + \frac{{\partial {\tau _m}}}{{\partial f}} \cdot \varDelta f(s); \,\, \text {with} \\ \nonumber \frac{{\partial {\tau _m}}}{{\partial \omega }} =&\left( {\frac{{{K_{wind}}\,\varsigma \;{v _0}^2}}{{{\omega _0}}}\,\, - \,\,\frac{{{K_{wind}}\,{C_{p,\mathrm ref}}\,{v _0}^3}}{{{\omega _0}^2}}} \right) \\ \nonumber \frac{{\partial {\tau _m}}}{{\partial v }} =&\left( {\frac{{3{K_{wind}}\,{C_{p,\mathrm ref}}\,{v _0}^2}}{{{\omega _0}}} + \frac{{{K_{wind}}\,\varsigma \;{\lambda _\mathrm{ref}}\,{v _0}^2}}{{{\omega _0}}}} \right) \\ \nonumber \frac{{\partial {\tau _m}}}{{\partial f}} =&\left( {\frac{{\varepsilon \;{K_{wind}}\;{K_b}\;{v _0}^3}}{{{\omega _0}}}} \right) . \end{aligned}$$
(12)

The expressions for \(\varepsilon = \frac{\partial C_p}{\partial \beta } \vert _{op}\) and \(\varsigma = \frac{\partial C_p}{\partial \lambda } \vert _{op}\) should be calculated depending on the operational conditions \(\lambda _{ref}\) and \(C_{p,ref}\). Also, \({{{K}}_{{b}}} = \frac{{\varDelta \mathrm{{\beta }}}}{{\varDelta {{f}}}} = \frac{{\partial \mathrm{{\beta }}}}{{\partial {{f}}}}\).

For a wind turbine with a inertia \(H_w\), the swing equation can be employed to obtain and expression for the variations in rotor angular speed \(\varDelta \omega \) in terms of the grid frequency variations \(\varDelta f\) and wind speed changes \(\varDelta v\). Using the functions for \(\varDelta {\tau _e}(s)\) and \(\varDelta {\tau _m}(s)\), the power swing equation becomes:

$$\begin{aligned} \varDelta \omega \mathrm{{(}}s\mathrm{{)}} = \frac{{{{\varDelta }}{\tau _m}\mathrm{{(}}s\mathrm{{)}} - {{\varDelta }}{\tau _e}\mathrm{{(}}s\mathrm{{)}}}}{{2{H_w\,s}}}. \end{aligned}$$
(13)

As illustrated in [19], the current parameter values related with active power production in WT can be obtained with small-signal analysis. Denote by \(\varDelta P_e\), \(\varDelta \tau \) and \(\varDelta \omega \) the small deviations in electrical power \(P_e\), electrical torque \(\tau _e\) and the angular rotor speed \(\omega \) respectively. Then,

$$\begin{aligned} \mathrm{{\omega }} =\,&{\mathrm{{\omega }}_0} + \varDelta \mathrm{{\omega }}; \end{aligned}$$
(14)
$$\begin{aligned} {{{\tau }}_{{e}}} =\,&{{{\tau }}_{ e0}} + \varDelta {{{\tau }}_{{e}}}; \end{aligned}$$
(15)
$$\begin{aligned} {P_e} =\,&{P_{ e0}} + {{\varDelta }}{P_e} = {\tau _e}\,\omega = \left( {{\tau _{ e0}} + {{\varDelta }}{\tau _e}} \right) \left( {{\omega _0} + {{\varDelta }}\omega } \right) , \end{aligned}$$
(16)

where \(P_{e0}\), \(\tau _{e0}\), and \(\omega _0\) are the initial values for the corresponding parameters previously mentioned. After expanding Eq. (16) and neglecting the terms of superior order, \(\varDelta {{{P}}_e}\) can be expressed in terms of the angular speed and electrical torque deviations as:

$$\begin{aligned} \varDelta {{{P}}_e} = {\mathrm{{\omega }}_{{0}}}\,\varDelta {{{\tau }}_e} + {{{\tau }}_{e0}}\,\varDelta {{\omega }}\mathrm{{.}} \end{aligned}$$
(17)

In this context, the initial operating electrical torque \(\tau _{e0}\) equates the de-loaded torque \(\tau _{uref}\) presented in Eq. (7). Using the previously developed expressions for \(\varDelta {\omega }\), \(\varDelta {{{\tau }}_e}\), and \(\tau _{e0}\), the linearized electrical power \({\varDelta }{P_e}\) for a wind turbine in terms of the grid frequency variations \(\varDelta f\) and wind speed changes \(\varDelta v\) is:

$$\begin{aligned} {{\varDelta }}{P_e}\mathrm{{(}}s\mathrm{{)}} =&\mathrm{{\Big (}} \frac{-1}{s + r}\mathrm{{\Big )}}\left( {\frac{{a{s^2} + bs + c}}{{qs + 1}}} \right) {{\varDelta }}f\mathrm{{(}}s\mathrm{{)}} + \left( {\frac{g}{{qs + 1}}} \right) {{\varDelta }} v \mathrm{{(}}s\mathrm{{)}}, \; with \; \end{aligned}$$
(18)
$$\begin{aligned} G_{wf} (s) =&\mathrm{{\Big (}} \frac{-1}{s + r}\mathrm{{\Big )}}\left( {\frac{{a{s^2} + bs + c}}{{qs + 1}}} \right) \end{aligned}$$
(19)
$$\begin{aligned} G_{wv} (s) =&\left( {\frac{g}{{qs + 1}}} \right) . \end{aligned}$$
(20)

Parameters g, q, r, a, b, and c are constant terms left omitted because of their extension. They are the result of long algebraic operations among system parameters.

3 Extraction of Sensitivity Functions

Frequency regulation can be classified in three main stages according to the nature and timescales of the control efforts: primary actions proportional to the frequency deviations, secondary actions allowing correction of steady-state errors, and tertiary actions related with predefined dispatches and some emergency conditions. These three stages constitute the Load Frequency Control (LFC) system [1, 20]. Grid elements must be modeled for the design of LFC controllers. First order models are assumed for the governor and turbine of conventional units, and for the representation of the frequency response characteristic of any control area in the power system.

Fig. 2
figure 2

Load frequency regulation system with linearized WT model for RES power contributions

Figure 2 illustrates the complete system representation for \(m_1\) conventional units with contribution of \(m_2\) wind generation systems. Note that wind speed variations \(\varDelta v_j\) are acting as input parameters, just as the load variations (\(\varDelta P_L\)). From Fig. 2 parameters for the i-th area are: \(\varDelta P_{mki}\) the change in mechanical power of the generator k, \(\varDelta P_{gki}\) the change in the active power output of generator k, \(\varDelta P_{L}\) the load perturbation, \(\varDelta f_i\) the frequency change, \(D_i\) the damping coefficient. \(H_i\) the equivalent inertia, \(\varDelta P_{cki}\) the control action of the LFC for the k-th generator, \(T_{ij}\) the power exchange coefficient between area i and area j, \(\varDelta P_{tiei}\) the total change in the power exchanged between area i and other areas and \(\varDelta f_{j}\) the change in the frequency of area j connected to area i. Also, \(B_{i}\) denotes the bias factor for modulation of the error signal in secondary regulation, \(K_{i}(s)\) is the transfer function of the secondary controller and \(\alpha _{i}\) the participation factor of each generator in secondary control. The total inertia \(H_{i}\) represents the sum of the aggregated inertias of conventional units and wind turbines. Usually, this parameter is calculated empirically, but the analysis of previous works has shown the impacts of inertia in frequency regulation [21, 22]. The sensitivity analysis proposed in this chapter shows the impacts on frequency regulation when the measured value of \(H_{i}\) is different from the expected. This is also justified as the inertial emulation from wind turbines could lead to inertia variations [13, 14]. From Fig. 2, the total variations on system frequency \(\varDelta f\) can be obtained as the linear composition of the individual responses to each input signal. Denote with \(\varDelta f_L\) the variations in system frequency with respect to load changes \(\varDelta P_L\). Making \(\varDelta v_j = 0\), \(\varDelta f_L\) is given by:

$$\begin{aligned} \varDelta {f_L}(s) = \frac{{\frac{1}{{2{H_{i}}s + D}}\left\{ { - \varDelta {P_L}(s)} \right\} }}{{1 + \frac{1}{{2{H_{i}}s + D}} \left\{ {K(s) + \sum _{i = 1}^{m_{1}} {M_{i}}(s) + \sum _{j = 1}^{m_{2}} G_{wf,j} (s) } \right\} }} \end{aligned}$$
(21)

In the same way, denoting with \(\varDelta f_v\) the variations in system frequency with respect to wind speed changes \(\varDelta v_j\) and making \(\varDelta P_L = 0\), the following expression is obtained:

$$\begin{aligned} \varDelta {f_v}(s) = \frac{{\frac{1}{{2{H_{i}}s + D}}\left\{ { \sum _{j = 1}^{m_2} G_{wv,j} (s) \varDelta v_j (s)} \right\} }}{{1 + \frac{1}{{2{H_{i}}s + D}} \left\{ {K(s) + \sum _{i = 1}^{m_{1}} {M_{i}}(s) + \sum _{j = 1}^{m_{2}} G_{wf,j} (s) } \right\} }} \end{aligned}$$
(22)

Finally, the total variations on system frequency \(\varDelta f (s)\) can be expressed from Eqs. (21) and (22), as:

$$\begin{aligned} \varDelta f(s)&= \varDelta {f_L}(s) + \varDelta {f_v}(s) \\ \nonumber&= \frac{{\left\{ {{ - \varDelta {P_L}(s)} + \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right\} }}{{2 H_{i}s + D + \left\{ {K(s) + \sum _{i = 1}^{m_{1}} {M_{i}}(s) + \sum _{j = 1}^{m_{2}} G_{wf,j} (s) } \right\} }} \end{aligned}$$
(23)

3.1 Sensitivity to Inertia \(H_{i}\)

To represent the effects of inertia variations in frequency regulation, the calculation of \(\frac{{\partial \varDelta f(s)}}{{\partial H_{i}}}\) is required. Extracting the partial derivative of \(\varDelta f\) with respect to \(H_{i}\) from Eq. (23), the following expression is obtained:

$$\begin{aligned} \frac{{\partial \varDelta f(s)}}{{\partial H_{i}}}&= \frac{{ 2s \left[ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_2} G_{wv,j} (s) \varDelta v_j (s)} \right] }}{ \left[ {2 H_{i}s + D + \left\{ {K(s) + \sum _{i = 1}^{m_{1}} {M_{i}}(s) + \sum _{j = 1}^{m_{2}} G_{wf,j} (s) } \right\} } \right] ^2} \\ \nonumber = \left\{ 2s \right\}&\left[ \frac{\varDelta f(s)}{\left\{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right\} } \right] ^2 \left\{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right\} \end{aligned}$$
(24)

The unit-less sensitivity function \(S_H\) with respect to total inertia \(H_{i}\) can be also calculated by definition as:

$$\begin{aligned} {S_H}&= \frac{{d\varDelta f(s)}}{{\varDelta f(s)}}\bigg /{\frac{{dH_{i}}}{H_{i}}} = \frac{{\partial \varDelta f(s)}}{{\partial H_{i}}} \cdot \frac{H_{i}}{{\varDelta f(s)}} \nonumber \\&= \frac{{\varDelta f(s)}}{{\left\{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right\} }} \cdot \left\{ {2s}{H_{i}} \right\} \end{aligned}$$
(25)

In [14], a similar sensitivity analysis was performed for a power system but only with conventional hydraulic machines. From those results, frequency variations \(\varDelta f_{base}\) for a purely conventional system (no RES penetration) can be obtained. In this sense, the sensitivity expression \(\varDelta f_{base}\) with respect to to inertia for conventional power systems is

$$\begin{aligned} \frac{{\partial \varDelta f_{base}(s)}}{{\partial H}} = {\left[ {\frac{{\varDelta f_{base}(s)}}{{\varDelta {P_L}(s)}}} \right] ^2} \cdot \varDelta {P_L}(s) \cdot 2s. \end{aligned}$$
(26)

Similarly, the aforementioned unit-less sensitivity expression \(S_{H,base}\) of \(\varDelta f_{base}\) with respect to \(H_{base}\) for a completely conventional power system is [13]:

$$\begin{aligned} {S_{H,base}} = \frac{{d\varDelta f(s)}}{{\varDelta f(s)}}\bigg /{\frac{{dH_{base}}}{H_{base}}} = \frac{{\partial \varDelta f(s)}}{{\partial H_{base}}} \cdot \frac{H_{base}}{{\varDelta f(s)}} = \frac{{\varDelta f_{base}(s)}}{{\varDelta {P_L}(s)}} 2H_{base}s . \end{aligned}$$
(27)

The comparison among sensitivities with respect to inertia for power systems with and without wind turbine contributions to frequency variations can be established from Eqs. (24) to (27). As expected, the inclusion of wind turbines means including wind speed in frequency sensitivity through the term \(\sum _{j = 1}^{m_2} G_{wv,j} (s) \varDelta v_j (s)\) (see Eqs. (24) and (25)). It is expected that the intrinsic unpredictable and variable nature of the wind resource will impact the power generated from renewable units. In consequence, the dynamic characteristics of the frequency regulation are being modified according to the wind profile for a determined inertia value. This will be illustrated through simulation in subsequent sections.

4 Stability Analysis of Inertia Sensitivity of LFC with WT

Traditionally, grid frequency variations \(\varDelta f(s)\) have been exclusively analyzed under the influence of load disturbances \(\varDelta P_L (s)\) [1, 19, 20]. This approximation was developed for systems involving only conventional generation, resulting in the following expression:

$$\begin{aligned} d\varDelta f(s) = \frac{{\partial \varDelta f(s)}}{{\partial \varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s). \end{aligned}$$
(28)

For systems with contribution of wind turbines to frequency regulation, wind speed variations \(\varDelta {v_j}\) need to be considered in the analysis of frequency deviation. Therefore, for a system with frequency regulation contributions from \(m_2\) wind turbines, Eq. (28) becomes:

$$\begin{aligned} d\varDelta f(s) = \frac{{\partial \varDelta f(s)}}{{\partial \varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s) + \sum _{j = 1}^{m_{2}} {\frac{{\partial \varDelta f(s)}}{{\partial \varDelta {v _j}(s)}} \cdot d\varDelta {v _j}(s)}. \end{aligned}$$
(29)

Nevertheless, the impacts of the system inertia coefficient are not considered neither in Eq. (28) nor Eq. (29). This omission could offer incomplete information, because a loss of generation or an interruption event may result in a variation of the inertia coefficient for a given machine, affecting the aggregated system inertia [23]. These events have an high probability of occurrence in an environment with variable and unpredictable renewable energy sources, where resource intermittence or generation drops may result in changes from the initial inertia calculation [22]. Additionally, inertia could have been estimated form an outdated generation profile. All these phenomena suggest that frequency deviation \(\varDelta f\) should consider the effects of the generator inertia coefficient rather than being function of the external disturbances \(\varDelta P_L\) and \(\varDelta v_j\) exclusively. In consequence, the impact of the inertia coefficient in the grid frequency regulation performance must be determined.

4.1 Extraction of Differential Equation for Frequency Deviation

Assuming mutual independence among \(\varDelta P_L\), \(\varDelta v_j\), and inertia coefficient \(H_{i}\), Eq. 29 is modified by adding variations with respect to \(H_{i}\), as follows:

$$\begin{aligned} d\varDelta f(s) = \frac{{\partial \varDelta f(s)}}{{\partial \varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s) + \sum _{j = 1}^{m_{2}} {\frac{{\partial \varDelta f(s)}}{{\partial \varDelta {v _j}(s)}} \cdot d\varDelta {v _j}(s)} + \frac{{\partial \varDelta f(s)}}{{\partial \varDelta H_{i}}} d\varDelta H_{i}. \end{aligned}$$
(30)

From Eq. (24),

$$\begin{aligned} \frac{{\partial \varDelta f(s)}}{{\partial H_{i}}} dH_{i} = {2s}{(dH_{i})}\left[ \frac{\varDelta f(s)}{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_2} G_{wv,j} (s) \varDelta v_j (s)} } \right] ^2 \left\{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right\} \end{aligned}$$
(31)

Additionally, taking partial derivatives with respect to \(\varDelta P_L\) and \(\varDelta v_j\) from Eq. 23, we can show that:

$$\begin{aligned}&\frac{{\partial \varDelta f(s)}}{{\partial \varDelta {P_L}(s)}} = \frac{\varDelta f(s)}{\varDelta {P_L}(s)}; \qquad \qquad&\frac{{\partial \varDelta f(s)}}{{\partial \varDelta {v _j}(s)}} = \frac{\varDelta f(s)}{\varDelta {v _j}(s)} \end{aligned}$$
(32)

Replacing Eqs. (31) and (32) in Eq. (30), we get:

$$\begin{aligned} d\varDelta f(s) =&\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s) + \sum \limits _{j = 1}^{m_{2}} {\frac{{\varDelta f(s)}}{{\varDelta {v _j}(s)}} \cdot d\varDelta {v _j}(s)} \\ \nonumber + \, {2s}(dH_{i})&\left[ \frac{\varDelta f(s)}{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} } \right] ^2 \left\{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right\} \end{aligned}$$
(33)

Laplace inverse transformation is employed to get the time domain representation of Eq. (33), resulting in:

$$\begin{aligned} d\varDelta f(t) =&{L^{ - 1}}\left[ {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s)} \right] + {L^{ - 1}}\left[ {\sum _{j = 1}^N {\frac{{\partial \varDelta f(s)}}{{\partial \varDelta {v _j}(s)}} \cdot d\varDelta {v _j}(s)} } \right] + \dots \\ \nonumber \dots L{^{ - 1}}&\left\{ \left[ \frac{\varDelta f(s)}{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} } \right] ^2 \left[ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} \right] \cdot {2s}{dH_{i}} \right\} . \end{aligned}$$
(34)

Further, taking integration of Eq. (34), we get \(\varDelta f(t)\) as

$$\begin{aligned} \int d\varDelta f(t) =&\varDelta f(t) = \int {L^{ - 1}}\left[ {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s)} \right] + \int {L^{ - 1}}\left[ {\sum _{j = 1}^N {\frac{{\partial \varDelta f(s)}}{{\partial \varDelta {v _j}(s)}} \cdot d\varDelta {v _j}(s)} } \right] + \cdots \\ \nonumber \cdots L{^{ - 1}}&\left\{ \left[ \frac{\varDelta f(s)}{ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta v_j (s)} } \right] ^2 \left[ {{ \varDelta {P_L}(s)} - \sum _{j = 1}^{m2} G_{wv,j} (s) \varDelta v_j (s)} \right] \cdot {2s}{dH_{i}} \right\} . \end{aligned}$$
(35)

Equation (35) presents the total differential equation of frequency deviation \(\varDelta f(t)\) in time domain considering inertia effects. In order to determine the impacts of the inertia coefficient, a stability analysis of \(\varDelta f(t)\) is presented in the following subsection.

4.2 Stability Analysis

After a disturbance, all characteristic poles of the transfer function of a power system are located on the left half-plane in the s-domain if the system is stable. In this case, the finite time-domain input signals \(\varDelta v_j(t)\) and \(\varDelta P_L (t)\) would not be producing infinite time-domain responses on system output \(\varDelta f(t)\). From control theory, that is equivalent to show that the norm of the transfer function of the system is bounded. From Eq. (35), this would represent that the transfer functions listed in Eq. (36) are already bounded:

$$\begin{aligned} \left\{ \begin{array}{l} \;\; \left\| {{{\varDelta f(s)} \bigg /{\left[ { \varDelta {P_L}(s) - \sum _{j = 1}^{m_{2}} G_{wv,j} (s) \varDelta {v _j}(s)} \right] }}} \right\| \\ \;\;\; \left\| {{{\varDelta f(s)} \bigg /{\varDelta {P_L}(s)}}} \right\| \qquad \qquad \qquad \quad \quad \quad \quad \quad \quad \;\quad \quad < \infty \;\mathrm{{for }}\ \ {\forall _t} \in (0,\infty ) \\ \;\; \left\| {\sum \limits _{j = 1}^N {{{\varDelta f(s)} \bigg / {\varDelta {v_j}(s)}}} } \right\| \quad \end{array} \right. \end{aligned}$$
(36)

Moreover, frequency regulation in power systems is designed to keep \(\varDelta f(t)\) inside a determined finite band despite variations in \(\varDelta v_{j}\) and \(\varDelta {P_L}\). Assuming an stable system, the bounds of frequency variations should be determined. Considering both \(\varDelta v_{j}\) and \(\varDelta {P_L}\) as step functions, and using triangle inequality properties in the expression of Eq. (35) we get:

$$\begin{aligned} \left\| {\varDelta f(t)} \right\|&\le \left\| \int {L{^{ - 1}}\left[ {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s)}} \cdot d\varDelta {P_L}(s)} \right] } + \int {L{^{ - 1}}\left[ {\sum \limits _{j = 1}^{m_{2}} {\frac{{\varDelta f(s)}}{{\varDelta {v _j}(s)}} \cdot d\varDelta {v _j}(s)} } \right] } + \cdots \right. \nonumber \\&\left. \cdots \int {L^{ - 1}}\left\{ {{\left[ {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s) - \sum \limits _{j = 1}^{m_{2}} { G_{wv,j} (s) \varDelta {v _j}(s)} }}} \right] }^2}\right. \left. \cdot \left[ {\varDelta {P_L}(s) - \sum \limits _{j = 1}^{m_{2}} { G_{wv,j} \varDelta {v _j}(s)} } \right] \cdot {2s}{dH_{i}} \right\} \right\| \nonumber \\&\le \left\| {\,\int {{L^{ - 1}}\left\{ {\left\| {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s)}}} \right\| d\varDelta {P_L}(s)\;} \right\} \,} } \right\| + \left\| {\,\int {{L^{ - 1}}\left\{ {\left\| {\sum \limits _{j = 1}^{m_{2}} {\frac{{\varDelta f(s)}}{{\varDelta {v _j}(s)}}} \,} \right\| \sum \limits _{j = 1}^{m_{2}} {d\varDelta {v _i}(s)} } \right\} } } \right\| + \cdots \nonumber \\ \cdots&\left\| \int {L^{ - 1}}\left\{ {\left\| {{{\left[ {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s) - \sum \limits _{j = 1}^{m_{2}} { G_{wv,j} \varDelta {v _j}(s)} }}} \right] }^2}} \right\| \;\left[ {\varDelta {P_L}(s) - \sum \limits _{j = 1}^{m_{2}} { G_{wv,j} \varDelta {v _j}(s)} } \right] \cdot {2s}{dH_{i}}} \right\} \right\| \nonumber \\&\le \left\| {\,\int {{L^{ - 1}}\left[ {\kappa \;d\varDelta {P_L}(s)} \right] } \,} \right\| + \left\| {\,\int {{L^{ - 1}}\left[ {\eta \;\sum \limits _{j = 1}^{m_{2}} {d\varDelta {v _j}(s)} } \right] } \,} \right\| + \cdots \nonumber \\&\cdots \left\| {\,\int {{L^{ - 1}}\left\{ {{\rho ^2}\left[ {\varDelta {P_L}(s) - \sum \limits _{j = 1}^{m_{2}} { G_{wv,j} \varDelta {v _j}(s)} } \right] \cdot {2s}{dH_{i}}} \right\} } } \right\| \nonumber \\&\le \left\| {\,\int {\kappa \cdot 1(t - {t_0})} d\varDelta {P_L}} \right\| + \left\| {\,\int {\eta \cdot 1(t - {t_0})} \sum \limits _{j = 1}^{m_{2}} {d\varDelta {v _j}} } \right\| + \cdots \nonumber \\&\cdots \left\| {\,\int {{\rho ^2}.\left[ {1(t - {t_0})\varDelta {P_L} - \sum \limits _{j = 1}^{m_{2}} {\left( {\frac{{{g_j}}}{{{q_j}}}} \right) \cdot {e^{ - \left( {\frac{1}{{{q_j}}}} \right) t}}\varDelta {v _j}} } \right] {2s}{dH_{i}}} } \right\| \nonumber \\&\le \kappa \left\| {\,\varDelta {P_L}} \right\| + \eta \left\| {\sum \limits _{j = 1}^{m_{2}} {\varDelta {v _j}} } \right\| + {\rho ^2}\left\| H_{i} \right\| \;\left\| {\,\left[ {\varDelta {P_L} - \sum \limits _{j = 1}^{m_{2}} {\left( {\frac{{{g_j}}}{{{q_j}}}} \right) \cdot {e^{ - \left( {\frac{1}{{{q_j}}}} \right) t}}\varDelta {v _j}} } \right] \,} \right\| \end{aligned}$$
(37)

where \(\kappa = \left\| \frac{\varDelta f(s)}{\varDelta {P_L}(s)} \right\| \), \(\eta = \left\| {\sum \limits _{j = 1}^N {\frac{{\varDelta f(s)}}{{\varDelta {v _j}(s)}}} \,} \right\| \) and \(\rho = \left\| \left[ {\frac{{\varDelta f(s)}}{{\varDelta {P_L}(s) - \sum \limits _{j = 1}^N { G_{wv,j} \varDelta {v _j}(s)} }}} \right] \right\| \) represent the respective bounded magnitudes of the transfer functions established in Eq. (36). Also, \(L^{-1} [1/s] = 1(t - {t_0})\), with \(1(t - {t_0}) = 1\) when \(t \ge t_0\). In this way, \(||1(t - {t_0})|| = 1\). Therefore, the system remains stable when the effects of inertia variations are considered.

In the same way, the output frequency deviation \(\varDelta f\) of the traditional power system model without considering inertia effects is given as [23]:

$$\begin{aligned} \left\| {\varDelta f_{base}(t)} \right\| \le \kappa _{base} \left\| {\varDelta {P_L}} \right\| \end{aligned}$$
(38)

The expressions in Eqs. (37) and (38) show that the frequency deviations in both cases remain bounded when a stable power system is considered. However, it is also evident that the boundaries are different. The limits of the conventional model depend on the boundaries of load disturbance \(\varDelta P_L\). However, the consideration of inertia effects and wind turbine integration to frequency regulation affects the boundaries of frequency deviations. In this case, the limits depend on factors such as load disturbance, variations in wind speed, system configuration, and the specific value of \(H_{i}\).

5 Simulation Results and Discussion

A modified version of the WSCC 9-bus power system [1] was employed for simulating wind turbine contribution in the LFC for a multi-area power system. For the system of Fig. 3, 20% of conventional generation in Area III was replaced by a wind farm. The wind farm was formed by 32 DFIG WT of 2 MW each, whose model parameters were shown in Table 2. The system was modeled as indicated in Fig. 1, and several case studies were analyzed.

Fig. 3
figure 3

WSCC 9-bus system multi-area partitioning. The modified system parameters are summarized in Table 1, considering an hydraulic machine and two gas units. The Power Base was set at 100 MVA

Table 1 WSCC 9 bus system parameters [1]
Table 2 Wind-turbine model simulation parameters [25]

5.1 Case 1: Frequency Response for a Load Step Change

A step change of 10% is applied to the simulated system at \(t=0\) s. The system with a reduced inertia was simulated without wind, and with increasing constant wind speed (5 and 10 m/s) as disturbance. Contribution of wind turbines in frequency regulation is not being considered. Fig. 4 presents the grid frequency deviations for this case. Frequency nadir is lower for the system with reduced inertia and no wind. Despite the wind being considered exclusively as disturbance, the effects of the wind power injections help to improve the frequency characteristic of the system. Wind power production increases with higher speeds. However, higher speeds may lead to a more oscillatory response, as seen from the curve for a speed of 10 m/s.

Fig. 4
figure 4

Case 1: Frequency response without contribution of WT and increasing wind speed

5.2 Case 2: Frequency Response for a Load Step Change and WT Contribution to LFC

For the previous example, contribution of wind turbines in frequency regulation is now being considered as constant in every case. Figure 5 presents the grid frequency deviations for this case. Again, we can see how the lower frequency nadir is given for the case without active power injections from RES. Response is similar as the one shown in Fig. 4; however, the contribution of wind turbines to frequency regulation provided a smoother response in grid frequency deviation. Again, a higher speed and oscillatory response even with inertia emulation from wind turbines are concerning.

Fig. 5
figure 5

Case 2: Frequency response with constant contribution of WT and increasing wind speed

5.3 Case 3: Frequency Response for a Load Step Change and Increasing Wind Contribution to LFC

A step change of 10% is applied to the simulated system at \(t=0\) s. Contribution of wind turbines in frequency regulation is being increased (0–10% and 20%) in every case by modifying loop parameters. The system with a reduced inertia was simulated with a constant wind speed of 5 m/s. Figure 6 presents the grid frequency deviations for this case. Here, the effects of the increased inertia with the contribution of wind turbines are evident. However, these effects are being shown with the assumption of constant wind speed.

Fig. 6
figure 6

Case 3: Frequency response with constant wind speed and increasing contribution of WT

5.4 Case 4: Frequency Response with Constant Wind Speed and Increasing Contribution of WT After Unstable Conditions

For this case, one of the system poles was changed to a value in the right half-plane of the s-domain. This caused an unstable response in frequency deviations. The same conditions of Sect. 5.3 are applied in this case and the resulting responses are plotted in Fig. 7. The system took longer time in reaching unstable conditions when wind turbines contributed to grid frequency regulation. Wind speed was kept as constant value of 5 m/s. Variability in wind speed may lead to a faster unstable mode.

Fig. 7
figure 7

Case 4: Frequency response with constant wind speed and increasing contribution of WT, starting from unstable case

5.5 Case 5:Frequency Response with a Simulated Wind Profile and Increasing Contribution of WT

The power generation in wind units depends on the wind profile. Wind speed is highly variable and unpredictable, causing fluctuations on wind power generation and frequency deviations. A wind speed profile was simulated with data obtained from the database of Virgin Islands [24]. Load disturbance was not considered, just wind speed. The resultant responses are plotted in Fig. 8, while contribution of wind turbines in frequency regulation is increased (0–10% and 20%). According to Fig. 8, the curves with higher inertia contributions from wind turbines presented smaller peaks than the purely conventional system. In consequence, frequency deviation had a better performance with contribution of RES despite the inherent variability of the wind speed.

Fig. 8
figure 8

Case 5: Frequency response with a simulated wind profile and increasing contribution of WT

5.6 Case 6: Frequency Response with a Simulated Wind Profile and Load Disturbance

The same conditions of the immediately previous case were replicated, but now a step load disturbance of 10% was applied at \(t=50\) s. The contributions of wind turbines make the system more robust to disturbance action, even under the effects of variable wind speed (see Fig. 9). Starting from an stable case, the consideration of inertia variations maintains the stability of the system. This is expected from Eq. (35), and the analysis of Sect. 4.2. The dynamic characteristics of grid frequency deviations can actually improve with a higher value of inertia coefficient.

Fig. 9
figure 9

Case 6: Frequency response with a simulated wind profile and increasing contribution of WT, and load disturbance \(\varDelta P_L = 0.1\) at \(t=50\) s

6 Conclusions

This chapter addressed the effects of inertia variations for power systems with integrated wind units. The system transfer functions were obtained from a linearized wind turbine model. The mathematical relationships were formulated to analyze the sensitivity and stability regarding inertia coefficient H. These expressions were verified through simulation of several cases under different stability conditions and disturbances in wind speed and load.

Simulations have shown a better and smoother response of frequency deviations for the cases with contributions of wind turbines in comparison with the basic case of the purely conventional system. These improvements on frequency response provide a better power quality. Actually, results indicate a better performance of the frequency response for higher contributions of wind turbines to system inertia. Moreover, results suggest more robustness to parameter variations of systems with wind turbine participation. However, the frequency deviation rate increases when the uncertainty of system parameters grows. This behavior would lead to instability scenarios under frequency disturbances for the power system.

With the growing development of intermittent renewable energy sources and its integration of the electrical grid, renewable energy will take more responsibility for frequency regulation tasks in the foreseeable future. Therefore, the impact of changes in generator inertia coefficient H on the power system frequency regulation must be accounted. We showed, both with theoretic and simulation analyses, that when including the wind generation system into the control loop, an inaccurate generator inertia coefficient H has a relatively small impact when the power system is inherently stable; while the system frequency deviation may be accelerated when the power system is indeed unstable after disturbance.

In future works, the analysis of the impacts of the combination of the frequency sensitivities with respect to the main system parameters should be explored. This would include parameter such as generator inertia coefficient H, the governor speed coefficient R and load-damping coefficient D. Their effects on the regulation of power system frequency response and stability studies in LFC should be explored together rather than considering them individually.