1. Introduction
In recent years, most electric power systems are undergoing a deep transformation due to the increasing share of renewable energy sources (RES) in their generation mix, both due to plummeting installation costs and environmental concerns. The successful integration of these RES while maintaining system security and reliability is a challenge, and one of the major limits to RES penetration is the frequency management [
1].
In conventional power systems, most of the generation is interfaced to the grid via synchronous generators (SG). In case of a power imbalance in the system, SG rotors act as an energy buffer, increasing or decreasing their rotational speed to supply or to absorb the energy needed to keep system power balance, which causes the system frequency to change accordingly. The large inertia of the rotors greatly limits the Rate of Change of Frequency (ROCOF) in the system and therefore contains frequency excursions while other measures are taken (primary and secondary controls) to limit frequency excursions and restore nominal operation [
2].
Most of the RES, however, are interfaced to the grid via electronic power converters, which do not naturally contribute to frequency containment due to their lack of inertial response. The consequence is a power system with lower inertia as the instantaneous RES penetration increases, which means higher ROCOF and larger frequency excursions for a given frequency event, such as the loss of a generator unit, therefore compromising power quality and system stability.
Most of the largest power systems in the world still have a significant inertia and can host additional RES without compromising stability. However, frequency management is already a problem for some regions with higher RES penetration, smaller systems or weaker grids. The situation is expected to become worse in some systems that have experienced a steady reduction of total inertia in the past years. Grid codes are being modified to include inertial response requirements, by setting minimum kinetic energy requirements and ROCOF limits [
3,
4,
5,
6,
7].
There are several solutions to this problem. One possibility is to limit the instantaneous penetration of RES by curtailing their production, so that a higher share of conventional generation is connected at a given time. Another possibility is to increase the number of conventional generation units connected at a given time but decreasing their power output. However, these solutions either limit the RES integration or they reduce system efficiency.
Another solution is to provide frequency containment support using the RES electronic converters, by injecting an additional amount of power to the system during frequency events. Several alternatives have been proposed in the literature [
8,
9,
10,
11,
12,
13], and for the purposes of this paper we will classify them as either Virtual Synchronous Generators (VSG), Virtual Inertia implementations (VI) or Droop control strategies.
VSG includes all the control algorithms that implement the behaviour of a synchronous generator through a model of the machine, either as voltage-to-current or current-to-voltage, and with various model orders, from very detailed to very simple. These implementations are roughly equivalent to a real SG, in the sense that they are self-synchronizing and they exhibit an intrinsic inertial response, and therefore their impact in lowering ROCOF and frequency nadir (minimum frequency during an excursion) is similar. These algorithms are not considered in this paper, since it will focus on studying the impact of the other two categories.
Virtual Inertia includes those algorithms that implement the characteristic swing equation from the SG by measuring the ROCOF and yielding a current or power reference proportional to that of ROCOF, therefore, attempting to mimic SG response. However, there is an important difference compared to a VSG or a real SG once the implementation details are considered, as measuring ROCOF leads to measurement latencies and response delays.
Droop control includes those algorithms that implement a primary control that outputs a power that is proportional to the frequency error. The impact of Droop control during a frequency event will largely depend on the generator type, since synchronous generators implement slow droop control loops, while converter-based generation response is almost instantaneous.
In the literature, droop control and inertia emulation have been compared and found to be equivalent to some degree and under certain circumstances. In [
14,
15], both controls are found to be mathematically equivalent, although only in steady state for grid-forming converters or devices controlled as voltage sources, which is usually not the case. Moreover, during a transient, the converter can be considered to be a current controlled device, even if there is an outer voltage control loop, and therefore the behaviour will be different. In [
16], a more pragmatic comparison is made regarding the effects of both controls in frequency nadir and ROCOF. It is found that fast droop control can be an alternative to inertia emulation as renewable energy penetration increases, although it requires increasing the droop gain, which may cause issues regarding the steady state operation of the system as the regulation efforts will change. Although some simulations are shown to test the proposed parameter tuning, no stability study is made to assess the impact in system stability.
An additional layer of complexity to the problem is added when considering inertia emulation in wind power systems. Unlike other renewable technologies, wind generation does have a real kinetic energy buffer because of the rotor and blades. However, that energy is limited and care should be taken when extracting energy from the rotor by slowing it down, as there is a limit to the power that can be extracted before the turbine stability is compromised [
17,
18,
19,
20].
This paper analyses the contribution of both inertia emulation and droop control algorithms to frequency regulation. Both controls are implemented in a doubly-fed induction generator (DFIG) wind power system and their impact during a frequency event is analysed regarding frequency nadir, ROCOF, and system stability.
This paper tries to overcome the limitations of the available literature by analysing the impact on power system stability of both inertia emulation and droop control algorithms in DFIG-based wind power systems. This stability analysis is based on a suitable dynamic system model that considers the response times of each algorithm, including the delays associated with frequency response and ROCOF measurement. The RES penetration is also considered in the analysis and it is found to have a major impact in system stability.
The impact of both inertia emulation and droop control algorithms on frequency nadir and ROCOF during a frequency event is then analysed through simulation. Different combinations of the synthetic inertia algorithms and different penetration levels are considered, and the results are discussed in the light of the previous stability study.
Finally, the impact of the two types of synthetic inertia on the wind turbine response is considered. Unlike other renewable technologies, wind generation does have a real kinetic energy buffer because of the rotating parts of the wind turbine. However, that energy is limited and care should be taken when extracting energy from the rotor by slowing it down, as there is a limit to the power that can be extracted before the turbine stability is compromised [
20,
21,
22,
23]. Here, a detailed analysis on the impact on the wind turbine speed is carried out. Firstly, at partial load operation, where maximum power is extracted from wind by using Maximum Power Point Tracker (MPPT) control; and secondly at full load, where the inertial response can be replaced from the wind through the pitch control.
3. System Description
Figure 5 shows the electrical system modelled for the simulations. This system consists of a DFIG connected to a wind turbine, through a gearbox with a 1:100 ratio. The dynamic model of a DFIG has been employed in the subsequent analysis. DFIG parameters are gathered in
Table 1, expressed per unit. The equations that define the dynamic model of the machine, referred to as a synchronous rotational frame (dashed variables are phasors), are as follows:
where
is the stator voltage,
is the stator current,
is the stator flux,
is the rotor voltage,
is the rotor current,
is the rotor flux, and
and
are the stator and rotor inductances, respectively;
and
are the stator and rotor resistances, respectively;
is the synchronous rotational speed; and
is the slip of the machine.
To simulate the renewable penetration, the contribution of this generator is extended to represent more generators connected to the same grid, which is used to obtain the desired penetration level, in what is usually known as an aggregated model.
The synchronous generation model employed is depicted in
Figure 6 and it represents the mechanical model of a synchronous generator [
2]. Variables are named as follows:
is the grid equivalent mechanical power reference variation;
is the demand active power variation;
is the DFIG-based renewable generation active power variation;
is the system time constant;
is the system damping constant;
is the droop constant; and
is the secondary regulation constant. Secondary regulation is only enabled for the simulations and disabled for the theoretical study for a clearer analysis. Transfer functions of the governor and turbine model are based on a reheat steam turbine according to [
2]. Variables are expressed in per unit and referred to conventional units’ base so that the dynamic model parameters are invariant with variations of the penetration level. System model parameters are gathered in
Table 2.
4. Wind Turbine Model
The expression of the mechanical power delivered by the wind turbine is given in Equation (9). The parameters of the wind turbine are shown in
Table 3.
Where is the mechanical power delivered by the turbine, in W; is the air density, expressed in kg/m3; A is the area swept by the blades, in m2; cp (, ) is the wind turbine power coefficient; is the pitch angle; is the tip speed ratio; is the wind speed, in m/s; is the rotational angular speed of the turbine, expressed in rad/s; and is the wind turbine radius, expressed in m.
Indirect speed control is used for MPPT, as shown in the top part of
Figure 7. This MPPT strategy uses the maximum power to optimal rotational speed characteristic to set the power reference command to the power controller of the wind turbine for a certain range of rotational speeds; when maximum rotational speed is reached, MPPT can no longer be applied and a speed control loop is used to control the rotational speed around nominal. The speed control loop uses the relationship between the wind turbine mechanical power and pitch angle to control the rotational speed by increasing the pitch angle when wind speed increases (
Figure 8).
Pitch control acts when the nominal rotational speed of wind turbine is reached; its objective is to avoid the machine exceeding its nominal speed and power, reducing the wind turbine mechanical power by increasing the pitch angle. The pitch rotational speed is limited to around ±10°/s. This restriction plays a key role in frequency regulation, as will be shown later. Pitch control scheme is shown in
Figure 8.
The lower part of
Figure 7 shows the frequency regulation control scheme for virtual inertia emulation and droop control, in what is usually called synthetic inertia. The contribution of each loop is directly added to the output of the MPPT to set the total generator active power reference.
Adding a synthetic inertia power increment will cause a mismatch between the wind turbine and generator torque, accelerating or decelerating the group. A negative power increment reference causes an acceleration, which always leads to a stable operational point. Whereas a positive power increment reference may cause a continuous deceleration if the maximum wind turbine torque is reached; from this point, a further reduction in the rotational speed will decrease the wind turbine torque. This is depicted in
Figure 9 where an example of stable positive increment contribution is shown.
If rotational speed deviation increases and the maximum torque is surpassed, there exists a risk of reaching torque values lower than the electromagnetic torque applied by the DFIG according to the wind speed, causing a continuous deceleration and forcing the wind turbine to stop. This may happen when adding the synthetic inertia power contribution; all the aforementioned are depicted in
Figure 8 with an example of stable inertia contribution that causes a deceleration from point A (previous to inertia response) to point B.
It is worth mentioning that due to the nature of the wind turbine torque-rotational speed curve, when providing inertial response at partial load after a negative frequency deviation, a new stable operational point can be reached at a lower rotational speed. This will produce an MPPT active power reference lower than the actual maximum power for a certain wind speed (point C), which helps to soften the inertial response. However, on the other hand, the total power supplied by the DFIG in steady state (at point B) would be lower than the actual maximum power (point A), which shows that power is increased only during the transient speed response from A to B, as it will be obtained later. Nevertheless, it has to be noted that once the frequency nadir is reached, the sign of the virtual inertial contribution changes while the droop control contribution starts to decrease. Therefore, in steady state without ROCOF and frequency deviation due to the action of the secondary frequency control, the wind turbine operating point will naturally return to the initial point A.
5. Scenarios and Controller Tuning
The synthetic inertia control consists of two loops, the virtual inertia loop and the droop control loop (
Figure 7). The virtual inertia control consists of producing a power increment proportional to the derivative of the frequency. The frequency derivative is calculated through the moving average method with a moving window of 150 ms [
22].
The droop control emulates the governor speed control of conventional generators, providing a power increment proportional to measured frequency deviation. To maintain a given primary regulation reserve, the equivalent droop constant of the system must remain constant in each scenario. Here, the droop constant is set to 0.06 according to the maximum allowed frequency deviation proposed in [
21] against a large event in the grid.
The virtual inertia loop emulates the inertial response of a synchronous generator, which instantaneously balances the electrical active power generated and demanded, extracting the difference to the mechanical power from the rotor kinetic energy, causing a rotor acceleration or deceleration. In the case of virtual inertia, the ROCOF is measured in first place and then the corresponding power response is calculated. To calculate this power, a derivative constant must be tuned according to the renewable penetration level to contribute to the power imbalance accordingly. However, system operators usually ask for an adjustable derivative constant among a certain range of values [
6] to make the unit adaptable to this penetration level. Synthetic inertia controller parameters are adjusted as follows:
where:
where
is the droop constant of the droop control loop, referred to the renewable power base,
;
is the system equivalent droop constant, referred to the system power base,
;
is the conventional generation droop constant, referred to its power base,
;
is the gain of the virtual inertia loop, in s;
is the inertia constant of the conventional generation, referred to conventional generation base, in s; and
is the renewable penetration. This parametrization allows the renewables to contribute in the same way as the conventional generation they are displacing.
Nevertheless, this contribution is affected by the inherent delays in the time response of the renewable generation. These delays mainly affect the virtual inertia response, which has the leading role in the most critical period, the first instants after the power imbalance. For this reason, even though renewable generation embodies this control, physical inertia of the system will be unavoidably reduced with its penetration, which means a larger initial ROCOF after an event.
6. Stability Analysis
A small signal stability analysis has been performed to assess the stability of the system when adding the virtual inertia and droop control loops. For this analysis, the linear models of the system components have been obtained and validated through a step response comparison with the dynamic simulation. The elements of the system have been modelled according to the equations presented in this paper for control loops and the electrical and mechanical system. The whole system has been linearized through a numerical linearization method using a block-by-block linearization. This block-by-block approach individually linearizes this block in the model and combines the results to produce the linearization of the system. The linearized model includes the synchronous generator, the DFIG, and the control system including the PLL block and ROCOF calculation. The state space model of the linearized system presents the following form:
where
is the state matrix,
u and
y are the input and output variables, respectively; and
x is the state variable vector, as follows:
Right and left eigenvectors of the state matrix
are also calculated. From the right and left eigenvectors, participation factors can be easily calculated to find the relationships between eigenvalues and state variables. The right and left eigenvectors (
and
respectively) corresponding to the eigenvalue
of the state matrix
are defined as:
Then, the participation factor of the
j-th variable in the
i-th mode is defined as:
Then, the participation factors are normalized by dividing by the sum of the participation factors affecting a certain mode.
Table 4 presents the modes of the system with both virtual inertia and droop control with a 20 % of penetration level. While
Table 5 presents the corresponding participation factors. All the modes are stable. Modes 7 and 8 are the ones with lowest damping ratio. Those modes are related to the interaction of the stator flux.
Figure 10 shows most relevant system eigenvalues for different control configurations with a 20% penetration level. Attending to eigenvalues 7, 8, 12, and 13, it can be observed that the virtual inertia loop brings them closer to the positive half plane, i.e., it makes the system more unstable. On the other hand, the droop control provides damping, making the system more stable, as it will be seen later. This is more noticeable with eigenvalues 12 and 13, where the grid frequency state variable has a high participation factor, as depicted in
Table 5.
Figure 11 shows the most relevant system eigenvalues for the system with both synthetic inertia loops for different penetration levels. The figure clearly shows that the stability worsens as the penetration level increases, the eigenvalues 7 and 8 being the most concerning, where the DGIF stator flux components have a high participation factor. This means that the increasing penetration affects the stability of the DFIGs. The eigenvalues 12 and 13 are those numbered according to the corresponding penetration level from 1 (
= 10%) to 9 (
= 90%).
8. Conclusions
In this paper, synthetic inertia response and stability of DFIG-based wind farms have been discussed. Performance has been found to be adequate even for high RES penetration scenarios up to around 80%. The impact of both virtual inertia and fast droop control loops has been studied separately. Droop control, being much faster than primary regulation in synchronous generation, has been found to be very effective on its own in terms of increasing frequency nadir during frequency events, yielding results comparable to those of full synthetic inertia, and much better than virtual inertia. However, droop control does not reduce initial ROCOF just after the event and does not have a significant impact in ROCOF for a relatively long time, longer than the usual measurement window in protection devices (around 500 ms), which may be triggered. Moreover, as RES penetration increases, initial ROCOF increases very fast, in a non-linear way, as the system synchronous generation inertia decreases. This means that droop control will not be performant enough on its own unless ROCOF requirements are significantly relaxed and RES penetration level is kept low enough. Virtual inertia shows a high initial ROCOF similar to that of droop control, but it is capable of quickly reducing it if the measurement window is short enough, so that it is unlikely that it will cause tripping of ROCOF relays. Virtual inertia therefore crucially improves system response to frequency events as RES penetration reaches significant levels. However, the stability analysis clearly shows that while droop control has a damping effect in system response, virtual inertia decreases system stability and the system may become unstable as VI becomes significant. As RES penetration increases, these trade-offs should be considered to determine the optimal contributions of fast droop control and VI to frequency containment. Moreover, the availability of inertia in wind power systems is limited by the rotor kinetic energy and, therefore, careful tuning of VI control is needed to avoid reaching unstable operation.