1 Introduction

Utility scale electrical power systems consist of a number of large generators and a multitude of loads. During a day, the output of generators and the consumption of loads vary continuously. In order to maintain the system frequency within statutory limits and to ensure secure operation of the power system, the demand and the generation should be balanced in real time. This balance is principally managed through a combination of automatic and scheduled (nonautomatic) changes in generator output. In the UK, these are termed as response and reserve, respectively. When the system experiences a sudden large generation loss or the connection of a large load, the system frequency reduces rapidly. In such an event, the natural response of generators and some of the loads (commonly known as inertia response) and the response services provided by some generators contain the change in frequency.

Rotating electrical machinery, such as synchronous turbogenerators, synchronous machine (SM), and induction machine (IM) loads will all contribute to system inertia. For the SM, this is due to the rotor shaft being synchronously coupled to the stator field. In the IM case, the rotor shaft is coupled to the stator field asynchronously depending on the slip. Conversely, variable-speed wind turbines do not contribute toward system inertia. This is because such turbines employ a power electronic converter to control the electromagnetic torque for variable-speed operation. This decouples the rotor speed from changes in the system frequency.

With high penetration of wind energy, variable-speed wind turbines will eventually replace some of the synchronous generators which imply that the overall system inertia will be reduced. This creates difficulties for the power system to contain the system frequency after a frequency event.

Even though variable-speed wind turbines do not contribute to the system inertia, the inertia can be emulated using additional control loops. This can be achieved by operating the wind turbine off its maximum power extraction curve which allows for a fractional extraction of the kinetic energy stored in the rotor of a variable-speed wind turbine [15]. Another method for providing inertia response can be obtained by increasing the torque or power set points to provide an immediate reduction in the system load generation imbalance [68]. The former method has the following advantages: the possibility of emulating the inertia response provided by a synchronous plant; the change in turbine rotor speed being small enough not to affect the steady-state power output of the turbine; and the capability of adjusting the speed recovery rate and the peak power output through some control parameter adjustments.

2 Current practices and grid code requirements

The Security and Quality of Supply Standard (SQSS) states that the system frequency of the GB network under normal operating conditions should be maintained at 50 Hz within operational limits of ±0.5 Hz [9]. The transmission system operator (TSO), National Grid in this case, imposes its own limits of ±0.2 Hz. This is achieved by operating some generators on a governor droop, normally 4 % or less, and classifying it as a continuous service. When the largest available generation in the system is tripped or an abnormal event equal to that loss is endured, the maximum allowed system frequency deviation is 0.8 Hz. At present, the loss of generation considered is 1,320 MW, but it is expected to increase to 1,800 MW with the connection of new large generators.

In the event of a sudden failure in generation or the connection of a large load, the system frequency starts dropping (region OX of Fig. 1) at a rate mainly determined by the summation of the angular momentums of all generators and spinning loads. In order to arrest the frequency change and to bring the system back to its normal operation, the TSO asks for frequency response services. The response is classified as an occasional service and has two parts: primary response and secondary response. Primary frequency response can be defined as the minimum increase in power that can be delivered increasingly with time over a period of 10 s from a generating unit that is available between 10 and 30 s after a frequency event. Secondary response is the minimum increase in active power output which can be sustained between 30 s and 30 min after a frequency event [10].

Fig. 1
figure 1

Frequency control in England and Wales [10]

Power plants in future power networks can be broadly categorized as synchronous generator-based power plants and electronically controlled and/or connected power plants. It is recognized that most of the wind power plants will fall into the latter category.

Recognizing the operating difficulties arising from a large penetration of wind, many power system operators are making emulated inertia response from wind turbines mandatorily. For example, the European draft code (ENTSO-E) requires an inertia response from power plants above an agreed size. It specifies that [11], “The relevant TSO shall have the right, determined in cooperation with other TSOs in the relevant synchronous area, to require each Power Park Module, which does not inherently have a capability to supply additional active power to the network by its inertia and which is greater than a MW size to be specified by the relevant TSO, to install a feature in the control system which operates the Power Park Module so as to supply additional active power to the network in order to limit the rate of change of frequency following a sudden generation loss.”

Full delivery of inertia response must occur within 200 ms, and the initial injected active power supplied to the network shall be in proportion to the rate of change of network frequency. The TSO is required to define the support duration period where the response (now exponentially declining) must remain of a positive magnitude and to define a suitable recovery period.

Further, in Hydro-Quebec grid codes an “inertial response” from wind turbines is required to act during “major frequency deviations” to help in restoring system frequency [12].

The system must reduce large, short-duration frequency deviations at least as much as does the inertia response from a conventional synchronous generator inertia (H) of which equals 3.5 s. This target performance is met, for instance, when the system varies the real power dynamically and rapidly by at least 5 % for about 10 s when a large, short-duration frequency deviation occurs on the power system.

To achieve this, wind power plants with rated capacity greater than 10 MW should be equipped with a frequency control system that acts during frequency events. For instance, this target performance is met when the system varies the real power dynamically and rapidly by at least 5 % for about 10 s when a large, short-duration frequency deviation occurs in the power system.

In the UK, the National Grid frequency Response Working Group considered the inertia response capability of wind turbines and proposed the synthetic inertia response shown in Fig. 2 [13]. However, they decided not to include this requirement in the GB Grid Codes.

Fig. 2
figure 2

Proposed synthetic inertia from wind turbines [13]

3 Modeling of full-rated power converter wind turbine with inertia coupling

A full-rated power converter (FRPC)-based wind turbine with permanent magnet synchronous generator (PMSG) was considered. A simplified block diagram of the turbine is shown in Fig. 3. The model is composed of the following components: an aerodynamic model, a mechanical representation of a drive-train and the pitch system, and an electrical model consisting of a PMSG, and a back-to-back voltage source converter (VSC). All the parameters of the wind turbine model are given in Appendix 1.

Fig. 3
figure 3

Schematic diagram of FRPC–PMSG-based wind turbine implemented in Simulink®

3.1 Aerodynamic model

The aerodynamic torque on the shaft of a wind turbine rotor was described by [14]

$$ \tau_{\text{aero}} = \frac{{0.5\rho \pi R^{2} V_{\text{w}}^{3} C_{\text{p}} \left( {\lambda ,\beta } \right)}}{{\omega_{\text{rot}} }}, $$
(1)

where ρ is the air density (kg/m3); A is the area swept by the rotor (m2); Vw is the wind speed (m/s); ωrot is the rotor speed (rad/s); and Cp is the power coefficient, which is a function of the blade pitch angle β (deg) and tip speed ratio λ.

The rotor speed (derived from the measured generator speed) and the wind speed are used to calculate the tip speed ratio λ. The resulting λ and the pitch angle β are used to map the corresponding Cp value, which is then used to calculate the aerodynamic torque τaero. The power coefficient was derived from a two-dimensional power coefficient look-up table obtained from a generic 2-MW wind turbine model in Bladed® and is shown in Fig. 4.

Fig. 4
figure 4

Variation of the power coefficient Cp as a function of the blade pitch angle β and tip speed ratio λ

3.2 Mechanical model

The aerodynamic torque is transferred to the generator shaft via the drive-train. This consists of a LSS that connects the turbine rotor to the gearbox, a gearbox, and a HSS that connects the gearbox to the generator. A two-mass model shown in Fig. 5 was used to represent the drive-train dynamics. All wind turbine parameters are included in Appendix 1.

Fig. 5
figure 5

Two-mass model

The inputs of the mechanical model are the reaction torque of the generator \( \tau_{\text{aero}}^{\prime } \) and the aerodynamic torque \( \tau_{\text{aero}} \). The dynamics of the two-mass model referred to the LSS can be described by the following linear differential equations [1517],

$$ J_{\text{rot}} \frac{\text{d}}{{{\text{d}}t}}\omega_{\text{rot}} = \tau_{\text{aero}} - K^{\prime } \left( {\theta_{\text{rot}} - \frac{{\theta_{\text{gen}} }}{N}} \right) - D^{\prime } \cdot \frac{\text{d}}{{{\text{d}}t}}\left( {\theta_{\text{rot}} - \frac{{\theta_{\text{gen}} }}{N}} \right), $$
(2)
$$ J_{\text{gen}} \frac{\text{d}}{{{\text{d}}t}}\frac{{\omega_{\text{gen}} }}{N} = - N\tau_{\text{em}} - K^{\prime } \left( {\frac{{\theta_{\text{gen}} }}{N} - \theta_{\text{rot}} } \right) - D^{\prime } \cdot \frac{\text{d}}{{{\text{d}}t}}\left( {\frac{{\theta_{\text{gen}} }}{N} - \theta_{\text{rot}} } \right), $$
(3)
$$ \left\{ \begin{gathered} \frac{\text{d}}{{{\text{d}}t}}\theta_{\text{rot}} = \omega_{\text{rot}}, \;\mathop {}\limits_{{}}^{{}} \hfill \\ \frac{\text{d}}{{{\text{d}}t}}\theta_{\text{gen}} = \omega_{\text{gen,}} \hfill \\ \end{gathered} \right.$$
(4)

where ωrot and ωgen are the speeds of the rotor and generator (rad/s); θrot and θgen are the LSS and HSS angular position (rad); Jrot is the rotor inertia (kgm2); Jgen is the generator inertia (referred to the LSS) (kgm2), and N is the gearbox ratio; K′ and D′ are the equivalent LSS and HSS stiffness (Nm/rad) and damping (Nms/rad) coefficients referred to the LSS.

3.3 Electrical model

On deriving the PMSG model, it was assumed that the stator windings are balanced with sinusoidal distributed magnetomotive force, saturation, and parameters changes are neglected and that no saliency is present. The PMSG is modeled as [18]

$$ v_{{{\text{s}}d}} = i_{{{\text{s}}d}} R_{\text{s}} + \frac{\text{d}}{{{\text{d}}t}}i_{{{\text{s}}d}} L_{d} - \omega_{\text{r}} L_{q} i_{{{\text{s}}q}} , $$
(5)
$$ v_{{{\text{s}}q}} = i_{{{\text{s}}q}} R_{\text{s}} + \frac{\text{d}}{{{\text{d}}t}}i_{{{\text{s}}q}} L_{q} + \omega_{\text{r}} L_{d} i_{{{\text{s}}d}} + \omega_{\text{r}} \lambda_{\text{m}} , $$
(6)
$$ \tau_{\text{em}} = \frac{3}{2}n_{\text{pp}} \left[ {\lambda_{\text{m}} + \left( {L_{d} - L_{q} } \right)i_{d} } \right]i_{q} , $$
(7)

where ωr is the electrical rotor speed (rad/s); L d and L q are the equivalent self-inductances of the stator in the dq frame (H); vsd and vsq are the equivalent stator voltages in the dq frame (V); λm is the flux linkage of the permanent magnet (Vs); isd and isq are the equivalent stator currents in the dq frame (A); Rs is the stator resistance (Ω); npp is the number of pole pairs; and τem is the electromagnetic torque.

3.4 Generator-side converter control

The block diagram of the vector control scheme used in this study is shown in Fig. 6. The generator controller was derived assuming that the d-axis is aligned with the flux produced by the permanent magnet, λm. The q-axis current is then used to control the electromagnet torque of the generator.

Fig. 6
figure 6

Field-oriented control scheme for PMSG

The reference d-axis current i * d was set to zero, whereas the reference q-axis current i * q was computed using

$$ i_{q}^{*} = \tau_{\text{em}}^{*} \frac{2}{{3n_{\text{pp}} \cdot \lambda_{\text{m}} }}, $$
(8)

where τ *em is the optimal torque reference for maximum power extraction. This was obtained using a look-up table.

3.5 Grid-side converter control

The control scheme used for the grid-side converter was vector control, where the d-axis current was used to control the DC-link voltage and thus the active power flow into the grid, whereas the q-axis current was used to control the reactive power flow. The control scheme is shown in Fig. 7.

Fig. 7
figure 7

Vector control scheme for grid-side converter

3.6 Pitch controller

Above rated wind speed, the aerodynamic torque is deliberately limited by the pitch controller not to exceed the maximum turbine ratings. The pitch angle controller consists of a PI controller equipped with an anti-windup circuit that generates a pitch angle reference from the generator speed error. A gain scheduling was used to compensate for the aerodynamic nonlinearities. The pitch mechanism consists of an actuator model represented by a first-order lag and a limiter for both the pitch angle and its rate of change as shown in Fig. 8. The pitch controller parameters are given in Appendix 2.

Fig. 8
figure 8

Pitch controller model

4 Inertia controller

4.1 Extracting kinetic energy from the rotating mass

The emulated inertia response of a FRPC–PMSG-based wind turbine can be explained using the torque–speed curves shown in Fig. 9.

Fig. 9
figure 9

Torque–speed characteristic of a FRPC–PMSG-based wind turbine

In order to obtain the inertia response, a supplementary control signal was added to the generator-side torque controller as shown in Fig. 10.

Fig. 10
figure 10

Supplementary controller to obtain inertia response

When there is a frequency event, the deceleration torque τdec becomes nonzero. This results in an increase in the net torque demand τ *em to the generator torque controller (point B in Fig. 9). At this point, the power output from the generator increases proportionally to the deceleration torque. Assuming that the wind speed does not change (i.e., the aerodynamic torque available is constant), the extra power is extracted from the kinetic energy in the rotor. This forces the rotor to slow down, and another operating point (point C) is reached. At this speed, the maximum power extraction curve outputs a new reference torque τ *opt for the generator (point D). The difference between the aerodynamic torque (point C) and the new generator torque reference (point D) results in an acceleration torque. This acts as a restoring torque for the speed change, and the rotor accelerates. During this acceleration, the power output from the wind turbine is less than that before the frequency event. This is undesirable during inertia response. In order to mitigate this effect, an additional term τacc proportional to \( \Updelta f \) in the inertia coupling loop was used. As shown in Fig. 10 (extracting kinetic energy), one loop acts to increase the decelerating torque (proportional to df/dt) [25, 8], and the other delays the acceleration of the rotor (proportional to \( \Updelta f \)) [8].

4.2 Extracting stored energy from the DC-link capacitors

The DC-link capacitors of the FRPC–PMSG-based wind turbines store a considerable amount of energy during normal operation. Some of this energy can be extracted to aid inertia response. Therefore, another control loop (extracting stored energy from the DC-link capacitors shown in Fig. 10) acting on a delayed signal of \( \Updelta f \) was used. This control action was achieved by reducing the reference voltage of the DC-link (grid-side controller) proportional to the frequency signal \( \Updelta f \) as shown in the uppermost loop in Fig. 10.

5 Simulation results

The FRPC–PMSG-based wind turbine model shown in Fig. 3 was modeled in MATLAB/Simulink. In order to mimic typical frequency change in a power system, the frequency variation shown in Fig. 11 was applied to the inertia controller shown in Fig. 10. The inertia response of the FRPC–PMSG-based wind turbine was obtained by changing the gains K1, K2, and K3 as well as the capacitance of the DC-link capacitors. The inertia response obtained for a frequency change shown in Fig. 11 is shown in Fig. 12.

Fig. 11
figure 11

Frequency deviation

Fig. 12
figure 12

Inertia response based on the proposed controller

Figure 12 shows that the turbine with the additional supplementary control loop managed to provide inertia response. An improvement in the response was obtained by modifying the controller gains (K1 and K2). Marginal melioration was observed by utilizing some of the energy stored in the DC-link capacitors; however, when the value of the capacitor was doubled, an improvement was observed in the peak power output and the time at which the rotor starts accelerating.

6 Effect of inertia response on the converter and DC-link capacitors ratings

The phase current at the grid coupling during the inertia response for the case when the inertia response was the best is shown in Fig. 13.

Fig. 13
figure 13

Grid-side current for the maximum inertia response shown in Fig. 12

As can be observed, the inertia response obtained has small implications on the current rating of the insulated-gate bipolar transistor (IGBT) switches used in the VSC. The current through the devices has increased by less than 15 % for 1 s compared to their continuous current rating for the operating condition used. Normally, semiconductor devices have a short-term over-current rating which is larger than their continuous rating. Since the inertia response lasts for a few seconds, nominal current-rated IGBTs will be capable of withstanding this short-term over-current without the need to be overrated. This implies that there is no increase in the cost of the devices.

The DC-link voltage is shown in Fig. 14. It can be observed that the voltage increased during the inertia response. This implies that the voltage ratings of the DC-link capacitors and converter switches will be affected by the inertia response. Further, the extraction of the stored energy from the DC-link only reduced the voltage by 100 V. This ensures that normal operation of the FRPC wind turbine is maintained during the inertia response. The value of the DC-link capacitor’s voltage can be reset to its normal value (1,400 V) when the system frequency is restored to 50 Hz.

Fig. 14
figure 14

DC-link capacitors voltage

7 Conclusion

In this article, the possibility of providing inertia response from wind turbines was demonstrated. Supplementary control signals were added to generator-side and grid-side VSCs to extract the kinetic energy stored in the rotating mass and the energy stored in the DC-link capacitors. The control method used to extract the stored energy in the DC-link capacitors was based on changing the DC-link voltage reference. Substantial improvement was observed in the inertia response when the capacitor was doubled. In theory, this can be improved further if the capacitor voltage is allowed to reduce more. The improvement of the controller is suggested for further study.

The provision of inertia response has a slight implication on the current rating of the IGBTs but has large implication on their voltage rating and that of the DC-link capacitors.