1 Introduction

Tendency toward renewable energy has increased recently as a result of increase in price of fossil fuels and restriction in their use. The most important one of them is wind energy. Grid-connected operation of wind farms used in converting wind energy into electrical energy has become popular. Today, the innovative concepts of wind turbines are provided with technologies for not only generators but also power electronics. Modern wind farms have the different operation point and a grid connection by power converters. Modern wind farms have a more widespread in the market national or international. Modern wind farms are known as the DFIG [1]. However, grid-connected wind power plants can be exposed to some problems [24]. LVRT is the most important one and can be developed by using in STATCOM.

In the literature, several studies on STATCOM have been carried out. STATCOM is recommended for power system voltage stability in [5, 6]. Modeling of STATCOM is given for power flow and voltage stability analysis along with voltage and phase control. The STATCOM-decoupled operation shows that a DFIG works as an induction generator while the grid-/rotor-side converter units work as a reactive power source in transient state. The power characteristics of the DFIG have been enhanced by the maximum capability of the STATCOM, based on different operating conditions strategy [710]. The level of voltage dips besides the over-currents in the DFIG are substantially reduced by this operation during grid faults, thereby enhancing the LVRT capability of the wind farm considerably. In addition, this control unit develops as a different controller method for the wind farm, in this way, provides of the system by using the STATCOM during faults [1113]. The impact of a STATCOM on the connection of a large wind farm to a power system was studied in [14, 15]. Particularly, the weak power systems which have two large wind farms are presented. Issues of power quality are stressed, and a central STATCOM was utilized to solve such issues, in particular, the short-term voltage flicker and fluctuations. The transient stability margin has been defined in introducing of LVRT capability in DFIG. A simple a new method based on moment-slip characteristics can be used to measure the effect of the STATCOM during transient stability [16]. Multi-variable controller has been proposed in enhancing the LVRT capability of DFIG-based wind farms as given in [17, 18]. The designed multi-variable controller enables suitable post-fault performance for both small and large perturbations. In Ref [19] there is a discussion on the use of trajectory sensitivity analysis (TSA) in estimating the transient stability point of a DFIG-based wind farm compensated by a STATCOM device. The eligibility for the optimal placement of the STATCOM for fault conditions has also been observed in [20, 21] in which the results of utilizing a STATCOM to improve damping oscillation of an offshore-based wind farm are given. The performance of the offshore-based wind farm in question is simulated by an equivalent aggregated DFIG driven by an equivalent aggregated wind turbine, and the DFIG grid-/rotor-side converters have been studied for subsynchronous resonance mitigation [22]. The issues of the design of auxiliary subsynchronous resonance and determination of control input–output signals, and locus approach have also been covered in the same study. Besides, power oscillation damping (POD) is important for regulation of voltage sags/swells apart from the over-currents in the DFIG-based wind farm in grid faults and hence significantly develops the LVRT capability of the DFIG-based wind farm [2325].

This paper differs from other papers in the literature by the way of modeling of a supercapacitor-type ESS and a wind turbine generator for LVRT applications. Nonlinear modeling of a STATCOM-supercapacitor which is based on a voltage–capacity relationship is conducted in this study. Thanks to using lookup table in voltage–capacity relationship, supercapacitor provides a better dynamic response than various papers in the literature. Mathematical equations for modeling are presented and implemented on a test system using MATLAB/Simulink. A comparison is drawn between the states having a DFIG with/without a STATCOM-supercapacitor both in three-phase fault analysis and two-phase fault. The study results show that the system becomes stable in a short time, and power oscillations decreases when a STATCOM-supercapacitor ESS is coupled to a DFIG during transient states.

2 Modeling of wind farm

The DFIG consist of grid-side converter, rotor-side converter, and crowbar units, in which the rotor-side converter and grid-side converter are integrated to a DC bus. A rotor-side converter and a grid-side converter along with their controllers in both steady-state and transient conditions have a controlling role in the operation of the DFIG. The rotor voltage is controlled by those converters in magnitude and phase angle, making them useful for power control [2628].

The mechanical power acquired from the wind speed, which is generated due to the wind, the blade tip speed ratio and the blade pitch angle, is expressed by the rotor model, as demonstrated in the following equation.

$$P_{\text{w}} = \frac{1}{2}\rho Au^{3} C_{\text{p}} (\lambda ,\theta )$$
(1)

where P w is the mechanical power acquired by the wind turbine rotor, ρ is the air density, A is the area of the rotor disk, u is the wind speed, and C p is the power coefficient. The power coefficient derivation from term tip speed ratio λ and the pitch angle of the rotor blades θ. The speed ratio is described as the ratio not only the blade tip speed but the wind speed, explained as,

$$\lambda = \frac{{w_{\text{r}} R}}{u}$$
(2)

where w r is the rotor speed and R is the radius of the wind turbine rotor. The optimum power acquired is given in Eq. (3).

$$P_{\text{op}} = K_{\text{op}} w_{\text{r}}^{2}$$
(3)

The drive trains of DFIG wind turbine with two masses are defined in Eqs. (4) and (5)

$$T_{\text{w}} - T_{\text{m}} = 2H\frac{{{\text{d}}w_{\text{r}} }}{{{\text{d}}t}}$$
(4)
$$T_{\text{m}} = D_{\text{m}} (w_{\text{r}} - w) + K_{\text{m}} \int {(w_{\text{r}} } - w){\text{d}}t$$
(5)

where T w is the mechanical torque in rotor, T m is the mechanical torque in generator, H is the rotor inertia, and K m and D m are the stiffness and damping of mechanical [29].

The DFIG model is given by generator’s variables equations in the d–q synchronous reference frame [30]. D–q axes stator and rotor voltages, electrical torque, and d–q axes linkage fluxes are shown in Eqs. (6) and (14).

$$v_{\text{ds}} = R_{\text{s}} i_{\text{ds}} + w_{\text{s}} \lambda_{\text{qs}} + \frac{\text{d}}{{{\text{d}}t}}\lambda_{\text{ds}}$$
(6)
$$v_{qs} = R_{s} i_{qs} - w_{s} \lambda_{ds} + \frac{d}{dt}\lambda_{qs}$$
(7)
$$v_{\text{dr}} = R_{\text{r}} i_{\text{dr}} - sw_{\text{s}} \lambda_{\text{qr}} + \frac{\text{d}}{{{\text{d}}t}}\lambda_{\text{dr}}$$
(8)
$$v_{\text{qr}} = R_{\text{r}} i_{\text{qr}} + sw_{\text{s}} \lambda_{\text{dr}} + \frac{\text{d}}{{{\text{d}}t}}\lambda_{\text{qr}}$$
(9)
$$M = \lambda_{\text{ds}} i_{\text{qs}} - \lambda_{\text{qs}} i_{\text{ds}}$$
(10)
$$\lambda_{\text{ds}} = (L_{\text{s}} + L_{\text{m}} )i_{\text{ds}} + L_{\text{m}} i_{\text{dr}}$$
(11)
$$\lambda_{\text{qs}} = (L_{\text{s}} + L_{\text{m}} )i_{\text{qs}} + L_{\text{m}} i_{\text{qr}}$$
(12)
$$\lambda_{\text{dr}} = (L_{\text{m}} + L_{\text{m}} )i_{\text{dr}} + L_{\text{m}} i_{\text{ds}}$$
(13)
$$\lambda_{\text{qr}} = (L_{\text{r}} + L_{\text{m}} )i_{\text{qr}} + L_{\text{m}} i_{\text{qs}}$$
(14)

In these equations, v ds, v dr, v qs, v qr : d and q axis voltages of stator and rotor, i ds, i dr, i qs, i qr : d and q axis of currents of stator and rotor, λ ds, λ qs, λ dr, λ qr: d and q axis magnetic fluxes of stator and rotor, w s: angular speed of stator, s: slip, R s and R r: resistance of stator and rotor, L s and L r: inductance of stator and rotor, L m: magnetic inductance and M: torque [31, 32].

The rotor-side converter controls the output active power the DFIG. The active power and voltage equations are shown vdr and vqr, respectively. x 1, x 2, x 3, x 4 control equations are shown between Eqs. (15) and (22)

$$\frac{{{\text{d}}x_{1} }}{{{\text{d}}t}} = P_{\text{ref}} + P_{\text{s}}$$
(15)
$$I_{{{\text{qr}}\_{\text{ref}}}} = K_{{{\text{p}}1}} (P_{\text{ref}} + P_{\text{s}} ) + K_{{{\text{i}}1}} x_{1}$$
(16)
$$\frac{{{\text{d}}x_{2} }}{{{\text{d}}t}} = I_{{{\text{qr}}\_{\text{ref}}}} - I_{\text{qr}} = K_{{{\text{p}}1}} (P_{\text{ref}} + P_{\text{s}} ) + K_{{{\text{i}}1}} x_{1} - I_{\text{qr}}$$
(17)
$$\frac{{{\text{d}}x_{3} }}{{{\text{d}}t}} = v_{{{\text{s}}\_{\text{ref}}}} - v_{\text{s}}$$
(18)
$$I_{{{\text{dr}}\_{\text{ref}}}} = K_{{{\text{p}}3}} (v_{{{\text{s}}\_{\text{ref}}}} - v_{\text{s}} ) + K_{{{\text{i}}3}} x_{3}$$
(19)
$$\frac{{{\text{d}}x_{4} }}{{{\text{d}}t}} = I_{{{\text{dr}}\_{\text{ref}}}} - I_{\text{dr}} = K_{{{\text{p}}3}} (v_{{{\text{s}}\_{\text{ref}}}} - v_{\text{s}} ) + K_{{{\text{i}}3}} x_{3} - I_{\text{dr}}$$
(20)
$$v_{\text{qr}} = K_{{{\text{p}}2}} (K_{{{\text{p}}1}} \Delta P + K_{{{\text{i}}1}} x_{1} - I_{\text{qr}} ) + K_{{{\text{i}}2}} x_{2} + sw_{\text{s}} L_{\text{m}} I_{\text{ds}} + sw_{\text{s}} L_{\text{rr}} I_{\text{qr}}$$
(21)
$$v_{\text{dr}} = K_{{{\text{p}}2}} (K_{{{\text{p}}3}} \Delta v + K_{{{\text{i}}3}} x_{3} - I_{\text{dr}} ) + K_{{{\text{i}}2}} x_{4} - sw_{\text{s}} L_{\text{m}} I_{\text{qs}} - sw_{\text{s}} L_{\text{rr}} I_{\text{dr}}$$
(22)

where K p1 proportional power arrange, K i1 integrating power arrange, K p2 proportional rotor-side converter current arrange and K i2 rotor-side converter current arrange, K p3 proportional grid-side voltage arrange, K i3 integrating grid-side voltage arrange, I dr_ref1 d axis current reference, I qr_ref1 q axis current reference, v s_ref1 specified terminal voltage reference; P ref1 active power reference.

The grid-side converter provides control for both the DC link unit and the terminal of reactive power. x 5, x 6, and x 7 control equations are shown Eqs. (23) and (28)

$$\frac{{{\text{d}}x_{5} }}{{{\text{d}}t}} = V_{{{\text{dc}}\_{\text{ref}}}} - V_{\text{dc}}$$
(23)
$$I_{{{\text{dgrid}}\_{\text{ref}}}} = - K_{\text{pdgrid}} \Delta v_{\text{dc}} + K_{{1{\text{dgrid}}}} x_{5}$$
(24)
$$\frac{{{\text{d}}x_{6} }}{{{\text{d}}t}} = I_{{{\text{dgrid}}\_{\text{ref}}}} - I_{\text{dgrid}} = - K_{\text{pdgrid}} \Delta v_{\text{dc}} + K_{{1{\text{dgrid}}}} x_{5} - I_{\text{dgrid}}$$
(25)
$$\frac{{dx_{7} }}{dt} = I_{{{\text{qgrid}}\_{\text{ref}}}} - I_{\text{qgrid}}$$
(26)
$$\Delta v_{\text{dgrid}} = K_{\text{pgrid}} \frac{{{\text{d}}x_{6} }}{{{\text{d}}t}} + K_{\text{igrid}} x_{6} = K_{\text{pgrid}} ( - K_{\text{pdgrid}} \Delta v_{\text{dc}} + K_{{1{\text{dgrid}}}} x_{5} - I_{\text{dgrid}} ) + K_{{1{\text{grid}}}} x_{6}$$
(27)
$$\Delta v_{\text{qgrid}} = K_{\text{pgrid}} \frac{{dx_{7} }}{dt} + K_{\text{igrid}} x_{7} = K_{\text{pgrid}} (I_{{{\text{qgrid}}\_{\text{ref}}}} - I_{\text{qgrid}} ) + K_{{1{\text{grid}}}} x_{7}$$
(28)

where K pqgrid proportional the DC link voltage arrange, K idgrid integrating the DC link voltage arrange, K pgrid proportional grid-side converter current arrange, K i2 integrating grid-side converter current arrange, K igrid proportional the grid-side converter current arrange, V dc_ref1 reference of the DC link voltage, I qgrid_ q axis the grid-side converter current reference [31].

3 Wind energy and energy storage

Energy storage system devices should be made more commercially viable for the operation of the generator because storage system is important both for grid and wind farm based on DFIG during transient cases [33, 34]. In addition, storage should be preferred in power control as well as power dispatch, energy management, and power quality.

Wind farm can be used in storage and suboptimal power points for power dispatch. These two ways ensure a reliable operation of DFIG. Whereas storage systems can influence any operation points, suboptimal power point can influence only certain operation points. While storage systems can increase efficiency, they can also improve LVRT capability during transient cases.

Storage systems cannot be used in wind farm for some conditions particularly when there is a difference between set power point and the terminal generator. The operating point of DFIG can vary in different conditions. Regulating the set power point and terminal of DFIG, storage system devices provide energy management under various transient operations. Besides, they extend operation by tracking the power reference in storage limitation [35].

The selection of grid configuration relies on the utility distribution or transmission level. The selection of grid configuration is performed both in strong grid and in weak grid considering power quality issues [36].

4 STATCOM-supercapacitor modeling

The STATCOM-supercapacitor integrated to the generator terminals is shown in Fig. 1.

Fig. 1
figure 1

DFIG and STATCOM-supercapacitor system configuration

There are two tasks performed by the STATCOM; namely, keeping up with the short-term reactive power require of the system and of the supercapacitor [37]. DC–DC buck–boost converter was used in connecting the supercapacitor to the STATCOM. In controlling the operation of the converters, the duty ratio is differentiated through switches. Variable components I n DC–DC converter circuit are calculated through Rsc. The STATCOM current and voltage equations are given in Eq. (29).

$$L_{\text{st}} = \frac{{{\text{d}}I_{\text{st}} }}{{{\text{d}}t}} + R_{\text{st}} I_{\text{st}} = V_{\text{st}} - V_{\text{s}}$$
(29)

where \(V_{\text{st}} = mV_{\text{dc}} \angle \psi + \theta {}_{\text{s}}\), \(V_{\text{s}} = V_{\text{s}} \angle \theta {}_{\text{s}}\), V dc is the STATCOM DC link voltage; m and ψ are the modulation index and the STATCOM phase angle. STATCOM d–q axes currents are given in Eqs. (30) and (31).

$$\mathop {I_{\text{std}} = \frac{{wR_{\text{st}} }}{{L_{\text{st}} }}I_{\text{std}} + \frac{{w_{\text{e}} }}{w}}\limits^{.} I_{\text{stq}} + \frac{w}{{L_{\text{st}} }}mV_{\text{dc}} \cos (\psi + \theta ) - v_{\text{sd}}$$
(30)
$$\mathop {I_{\text{stq}} = - \frac{{w_{\text{e}} }}{w}I_{\text{std}} - \frac{{wR_{\text{st}} }}{{L_{\text{st}} }}}\limits^{.} I_{\text{stq}} + \frac{w}{{L_{\text{st}} }}mV_{\text{dc}} \sin (\psi + \theta ) - v_{\text{sq}}$$
(31)

Given that the converter is not loss, the power regulate equation gives rise to the capacitor voltage equation,

$$\frac{{V_{\text{dcs}} }}{{{\text{d}}t}} = - \frac{m}{{C_{\text{dcs}} }}(I_{\text{std}} \cos (\psi + \theta ) + I_{\text{stq}} \sin (\psi + \theta )) - \frac{{I_{\text{sc}} }}{{C_{\text{dcs}} }}$$
(32)

where I sc and C dcs are the supercapacitor current and the DC link capacitance, respectively. The supercapacitor current is involved in the supercapacitor voltage V sc through,

$$V_{\text{sc}} = E_{\text{sc}} + R_{\text{sc}} I_{\text{sc}}$$
(33)
$$I_{\text{sc}} = C_{\text{sc}} \frac{{{\text{d}}E_{\text{sc}} }}{{{\text{d}}t}}$$
(34)

The grid-side converter circuit is utilized in adjusting the output power of DFIG and regulating DC bus voltage. Grid-side converter controls the terminal power of the generator that supplies the reactive power the system requires. Reactive power reference is chosen as the reference value together with the AC bus voltage. Converter limits are counted in order to reach maximum reactive power compensation values. DC/DC converter and supercapacitor modeling in DFIG are shown in Fig. 2.

Fig. 2
figure 2

DC/DC converter and supercapacitor modeling in STATCOM

The difference between DC voltage and DC voltage reference enters proportional integral control, and the proportional limit value of the resulting signal is calculated based on minimum and maximum values. Limit value output is counted with d axis reference current. The supercapacitor circuit consists of four resistors and two capacitors. The capacitors that are used in capacity regulation control the system based on voltage. This capacity value is obtained based on the voltage equation supercapacitor capacity and applying interpolation to capacity–voltage curve in Fig. 3, both given in EPCOS catalogue [38, 39].

Fig. 3
figure 3

Capacity–voltage curve of supercapacitor

Voltage and voltage derivation of this curve are shown in Eqs. 35 and 36. As can be seen from the curve, the capacitance and voltage are proportional.

$$u_{\text{LUP}} = 7.1138 \times 10^{ - 8} t^{3} + 1.1657 \times 10^{ - 3} t^{2} + 6.4391t - 11945$$
(35)
$$\mathop {u_{\text{LUP}} }\limits^{.} = 2.13414 \times 10^{ - 7} t^{2} + 2.3314 \times 10^{ - 3} t + 6.4391$$
(36)

A buck–boost converter circuit is needed so that the voltage value produced in the supercapacitor equals to DC voltage value. Using the above curve, a capacity was determined based on the output voltage of the converters consisting of resistors, a coil, and a capacitor. Resistance value was determined based on the charge level of the supercapacitor in simulation.

The dynamics of output voltage (u 0 ) and coil current (i L ) in voltage boost converter circuit are defined as given in Eqs. 37 and 38, respectively.

$$\frac{{{\text{d}}u_{0} }}{{{\text{d}}t}} = \frac{1}{{C_{0} }}\left[ {(1 - D)i_{\text{L}} - \frac{{u_{0} }}{{R_{0} }}} \right]$$
(37)
$$\frac{{{\text{d}}u_{0} }}{{{\text{d}}t}} = \frac{1}{{C_{0} }}\left[ {(1 - D)i_{\text{L}} - \frac{{u_{0} }}{{R_{0} }}} \right].$$
(38)

5 Decoupled STATCOM-supercapacitor control

The supercapacitor-STATCOM system can be thought to float without having effects on any power flow to and from the supercapacitor when in steady state [40]. Figure 4 shows decoupled STATCOM-supercapacitor control.

Fig. 4
figure 4

Decoupled STATCOM-supercapacitor control

The STATCOM operation is initiated by a variation through the steady condition, which can be detected through a change in generator output voltage magnitude and generator output voltage angle. STATCOM active and reactive power flows are given in Eqs. (39) and (40).

$$P_{\text{st}} = V_{\text{st}} I_{\text{std}} \cos \theta_{\text{s}} + V_{\text{st}} I_{\text{stq}} \sin \theta_{\text{s}}$$
(39)
$$Q_{\text{st}} = V_{\text{st}} I_{\text{std}} \sin \theta_{\text{s}} - V_{\text{st}} I_{\text{stq}} \cos \theta_{\text{s}}$$
(40)

The STATCOM current transforming is given in Eqs. (41) and (42).

$$I_{\text{std}}^{\text{new}} = I_{\text{std}} \cos \theta_{\text{s}} + I_{\text{stq}} \sin \theta_{\text{s}}$$
(41)
$$I_{\text{stq}}^{\text{new}} = I_{\text{std}} \sin \theta_{\text{s}} - I_{\text{stq}} \cos \theta_{\text{s}}$$
(42)

Substituting Eqs. (41) in (42), the STATCOM active and reactive power can be achieved as Eqs. (43) and (44).

$$P_{\text{st}} = V_{\text{st}} I_{\text{std}}^{\text{new}}$$
(43)
$$Q_{\text{st}} = V_{\text{st}} I_{\text{stq}}^{\text{new}}$$
(44)

With the STATCOM currents being transformed from (41) and (42), Eqs. (30) and (31) can be achieved as Eqs. (45) and (46).

$$\mathop {I_{\text{std}}^{\text{new}} }\limits^{.} = \frac{{ - R_{\text{st}} }}{{L_{\text{st}} }}I_{\text{std}}^{\text{new}} + r_{1}$$
(45)
$$\mathop {I_{\text{stq}}^{\text{new}} }\limits^{.} = \frac{{ - R_{\text{st}} }}{{L_{\text{st}} }}I_{\text{stq}}^{\text{new}} + r_{2}$$
(46)

Here;

$$r_{1} = wI_{\text{stq}}^{\text{new}} + \frac{{mV_{\text{dc}} }}{{L_{\text{st}} }}\cos \psi - \frac{{v_{\text{s}} }}{{L_{\text{st}} }} = wI_{\text{stq}}^{\text{new}} + \frac{{ex_{\text{d}} }}{{L_{\text{st}} }} - \frac{{v_{\text{s}} }}{{L_{\text{st}} }}$$
(47)
$$r_{2} = - wI_{\text{std}}^{\text{new}} + \frac{{mV_{\text{dc}} }}{{L_{\text{st}} }}\sin \psi = - wI_{\text{std}}^{\text{new}} + \frac{{ex_{q} }}{{L_{st} }}$$
(48)
$$ex_{\text{d}} = L_{\text{st}} (r_{1} - wI_{\text{stq}}^{\text{new}} ) + v_{\text{s}} , \, ex_{\text{q}} = L_{\text{st}} (r_{2} + wI_{\text{std}}^{\text{new}} )$$
(49)
$$m = \frac{{\sqrt {e_{\text{xd}}^{2} + e_{\text{xq}}^{2} } }}{{V_{\text{dc}} }}, \, \psi = \tan^{ - 1} \left( {\frac{{e_{\text{xq}} }}{{e_{\text{xd}} }}} \right)$$
(50)

In Eqs. (45) and (46), transformed currents I std and I stq are excited by r 1 and r 2, respectively.

6 Simulation study

System circuit modeling done simulation wind turbine–grid connection is given as detail in Fig. 5.

Fig. 5
figure 5

Test system

The wind turbine was a enhanced DFIG model with a STATCOM-supercapacitor, as explained in the previous Sect. 2 MVA power-rated STATCOM was connected to B 0.69-kV bus. The wind turbine was connected to a 34.5-kV system through a 0.85-MW, 0.69-kV Y/34.5-kV Δ transformer. There was a distance of 1 km between the plant and the 34.5 kV grid. A 0.69 kV Y/34.5 kV Δ transformer connected the transmission grid. The wind speed was considered as 8 m/s. The 34.5 kV grid-side short-circuit-powers was chosen as 2500 MVA, while the reactance/resistance rate was chosen as 7. In the DFIG, a stator resistance of 0.00706 ohm, rotor resistance of 0.005 ohm, stator inductance of 0.171 Henry, rotor inductance of 0.156 Henry and inertia constant of 3.5 s were chosen as the generator parameters.

7 Simulation study results

The impact of the STATCOM-supercapacitor on the system parameters was examined against two transient events. A 3-phase fault was considered as the first transient event. The fault was created in the middle of the transmission line in the time interval between 0.55 and 0.6 s. The variations in DFIG output voltage, active power, angular speed, electrical torque, and d–q axis stator current were observed for with and without STATCOM-supercapacitor. The comparisons of DFIG are shown in Fig. 6a–f.

Fig. 6
figure 6

a DFIG output voltage (Three-phase fault), b DFIG active power (three-phase fault), c DFIG angular speed (three-phase fault), d DFIG electrical torque (three-phase fault), e DFIG d axis stator current variations (three-phase fault), f DFIG q axis stator current variations (three-phase fault)

As can be seen from Fig. 6a, peak values of DFIG terminal voltage decreased and the system was stabilized in a shorter time, when STATCOM-supercapacitor is used. DFIG output voltage was around 0.32 p.u. with the use of supercapacitor in STATCOM, while it was 0.2 p.u. without supercapacitor in STATCOM. Moreover, oscillations in active power, angular speed, electrical torque, and d–q axes stator currents decreased very well with the use of the STATCOM-supercapacitor.

A two-phase fault was considered as the second transient event. The fault was created in the middle of the transmission line in the time interval between 0.55 and 0.6 s. The variations in DFIG output voltage, active power, angular speed, electrical torque, and d–q axes stator current were observed for the DFIG with and without the STATCOM-supercapacitor. The comparisons of DFIG are shown in Fig. 7a–f.

Fig. 7
figure 7

a DFIG output voltage (two-phase fault), b DFIG active power (two-phase fault), c DFIG angular speed (two-phase fault), d DFIG electrical torque (two-phase fault), e DFIG d axis stator current variations (two-phase fault), f DFIG q axis stator current variations (two-phase fault)

The results obtained from two-phase fault were shown on the same axes values as those of three-phase fault. DFIG terminal voltage is similar to the results obtained from three-phase fault; however, it was observed that oscillations were less. It was found that oscillation frequency was lower in two-phase fault in DFIG active power, DFIG angular speed, DFIG electrical torque, and d–q axes stator currents.

STATCOM reactive power variations during three-phase and two-phase fault are given in Fig. 8.

Fig. 8
figure 8

STATCOM reactive power variations

8 Conclusion

This study presents an implementation of a STATCOM-supercapacitor energy storage system for a grid-integrated, DFIG-based wind farm. Modeling of the DFIG, STATCOM-supercapacitor, and voltage buck–boost converter was carried out. The capacitance of the supercapacitor was determined by interpolation technique based on voltage–capacity relationship. The transient behaviors of the system with/without STATCOM-supercapacitor were compared in terms of LVRT capability. Three-phase faults and two-phase fault for a short period of time were considered as transient events that may cause low voltage at the grid. Analysis results showed that oscillations observed after transient events were damped in a very short period of time with the use of supercapacitor energy storage system coupled to the STATCOM.