> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/courseware/electric-courseware/renewable-energy/wind-turbine-generation-system-wtgs/introduction-and-description.md).

# Introduction and Description

In this section, the WTGS and its functional operation are discussed. Figure 1 shows the one-line diagram of a wind turbine generation system connected to an infinite grid.\
The WTGS is model such that maximum power (torque) is extracted from the turbines for a given wind speed using a maximum power point tracking (MPPT) algorithm.\
The torque is then applied to a 2 MVA doubly fed induction generator (DFIG), with rotor-side and grid-side controllers. Therefore, representing a type 3 WTGS.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FXdYRinByU2yzBlpJIAKB%2F9d985b22-76d9-4118-8236-98d8c9cf7dab.png?alt=media&amp;token=4d4a0776-39d0-4b90-976a-ff9f7d0a4e8e" alt=""><figcaption><p><strong>Figure 1</strong>: Wind Turbine Generation System</p></figcaption></figure>

## System Configuration and DFIG Modeling <a href="#system-configuration-and-dfig-modeling" id="system-configuration-and-dfig-modeling"></a>

The system configuration of a grid-connected doubly fed induction generator is shown in Figure 2.\
The system comprises a wind turbine, a DFIG, a DC-link capacitor, and the back-to-back (Type of devices: IGBTs) three-phase pulse width modulated (PWM) voltage source converter with their respective controllers.\
The stator of the DFIG is supplied by the three-phase voltages directly from the grid at constant amplitude and frequency, creating the stator magnetic field.\
The rotor of the DFIG is supplied by three-phase voltages that takes a different amplitude and frequency at steady state to reach different operating condition of the machine (speed, torque).

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FyCWHhqEwt9Ogs8NbKW2H%2F372641d3-9540-4342-a8a7-987e520971a2.png?alt=media&amp;token=26d3b24c-b95d-4cb6-a5b7-aa7b51d84550" alt=""><figcaption><p><strong>Figure 2</strong>: Investigated DFIG Wind Turbine System Configuration</p></figcaption></figure>

With,

* $$v\_w : \\$$ Wind speed in m/s
* $$\Omega\_t$$ : Turbine angular speed in rad/s
* $$T\_t$$: Torque produced by the turbine in N.m.
* $$P\_t$$ : Mechanical power produced by the turbine in W.&#x20;
* $$\Omega\_m$$ : Rotor angular speed in rad/s
* $$T\_m$$ : Torque received by the rotor in N.m.
* $$P\_m$$ : Mechanical power received by the rotor in W.&#x20;
* $$i\_{gb}$$ : Reduction ratio of the gear box.&#x20;
* $$n\_{gb}$$ : Efficiency ratio of the gear box. &#x20;
* $$(P\_s,, Q\_s),(P\_r,, Q\_r)$$ : Active and reactive power of the stator and rotor sides.
* $$(P\_g,, Q\_g)$$ : Active and reactive power of the grid side.

### &#x20;Wind Turbine Modeling <a href="#wind-turbine-modeling" id="wind-turbine-modeling"></a>

The kinetic energy of the wind is converted to rotational energy in the form of a mechanical torque by a wind turbine (WT).\
The power extracted by the turbine from available power in the wind is given in equation (1), as follows:

$$
\left{
\begin{matrix}
P\_t = \frac{1}{2},\rho \pi R^2 v\_w^3 C\_p(\lambda,\beta) \\
T\_t = \frac{1}{2},\rho \pi R^3 v\_w^2 \dfrac{C\_p(\lambda,\beta)}{\lambda}
\end{matrix}
\right. \quad \quad (1)
\\\[8pt]
$$

Where,

* $$\lambda$$ : Tip speed ratio.
* $$R$$ : Blade radius (m).
* $$v\_w$$ : Wind speed (m/s).
* $$\rho$$ : Air density.
* $$\beta$$ : Pitch angle.
* $$C\_p(\lambda,\beta)$$ : Power coefficient, and it is a function of the tip speed ratio $$\lambda$$ and the the pitch angle $$\beta$$.

The equation of the power coefficient is given in (3), and it reflects the efficiency if the conversion form wind energy to mechanical energy.

$$
\lambda = \frac{\Omega\_t R}{v\_w} \quad \quad (2) \\\[8pt]
$$

$$
C\_p = c\_1 \left(\frac{c\_2}{\lambda\_i} - c\_3 \beta - c\_4\right)
\exp!\left(-\frac{c\_5}{\lambda\_i}\right)

* c\_6 \lambda \quad \quad (3)
  \\\[8pt]
  $$

Wher&#x65;**,**  $$c\_1$$ through $$c\_6$$ are the characteristic coefficients of the wind turbine, and   $$\Omega\_t$$ is the rotational speed of the wind turbine (*rad/s*) as in \[3].\
The characteristic curve (  $$C\_p$$ vs  $$\lambda$$ ) for different values of the pitch angle ( $$\beta$$ ) is shown in Figure 3; and it can be observed that the optimum power coefficient is obtained when $$\beta$$ is equal to zero degree (curve in blue). \
The maximum power extraction from the WT can be achieved when the turbine operates at the optimum  $$C\_p$$ .\
Figure 4 illustrates the maximum power tracking curve for the DFIG. The optimum power $$p\_{m\_opt}$$ to be extracted from the WTGS can be expressed as follows:

<p align="center"><span class="math">p_{m\_opt} = \frac{1}{2}\,\rho A C_{p\_opt} \left(\frac{\Omega_{t\_opt} R}{\lambda_{opt}}\right)^3 \quad \quad (4) \\[8pt]</span></p>

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FforRshnYy12pskICJjgD%2F3be1dde8-f7c2-48fc-90be-3595b2e00e37.png?alt=media&amp;token=1961f315-7c02-4d54-950d-6909f78ba7f2" alt="" width="563"><figcaption><p><strong>Figure 3</strong>: <span class="math">C_p</span> vs  <span class="math">\lambda</span> Characteristics of the Wind Turbine for Various Pitch Angles</p></figcaption></figure>

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FViaR69Ay309YyaQtnof0%2Fc9b4ac4c-411f-411d-b387-eb637c97e204.png?alt=media&amp;token=bec7d901-9b00-477e-9e48-04d16a20edf4" alt="" width="563"><figcaption><p><strong>Figure 4</strong>: WTGS Characteristics for DFIG with Maximum Power Point Tracking</p></figcaption></figure>

### DFIG Modeling <a href="#dfig-modeling" id="dfig-modeling"></a>

In synchronous&#x20;

reference frame rotating at a speed, the modeling of the DFIG is given by the following equations:

* Stator voltage components&#x20;

$$
\left{
\begin{matrix}
v\_{sd} = R\_s i\_{sd} + \dfrac{d}{dt}\psi\_{sd} - \omega\_s \psi\_{sq} \\
v\_{sq} = R\_s i\_{sq} + \dfrac{d}{dt}\psi\_{sq} + \omega\_s \psi\_{sd}
\end{matrix}
\right. \quad \quad (5)
\\\[8pt]
$$

* Rotor voltage components&#x20;

$$
\left{
\begin{matrix}
v\_{rd} = R\_r i\_{rd} + \dfrac{d}{dt}\psi\_{rd} - \omega\_r \psi\_{rq} \\
v\_{rq} = R\_r i\_{rq} + \dfrac{d}{dt}\psi\_{rq} + \omega\_r \psi\_{rd}
\end{matrix}
\right. \quad \quad (6)
\\\[8pt]
$$

With,

$$\omega\_s$$ : Angular speed of *dq* reference frame relative to the stator.

$$\omega\_r$$ : Angular speed of *dq* reference frame relative to the rotor.

$$p$$ : Number of pole pair.

$$\omega\_m$$ : Electrical speed of the rotor in rad/s. $$\omega\_m = p , \Omega\_m$$ , and $$\omega\_s = \omega\_r + \omega\_m$$ .

* Stator flux components&#x20;

$$
\left{
\begin{matrix}
\psi\_{sd} = L\_s i\_{sd} + L\_m i\_{rd} \\
\psi\_{sq} = L\_s i\_{sq} + L\_m i\_{rq}
\end{matrix}
\right. \quad \quad (7)
\\\[8pt]
$$

* Rotor flux components&#x20;

$$
\left{
\begin{matrix}
\psi\_{rd} = L\_r i\_{rd} + L\_m i\_{sd} \\
\psi\_{rq} = L\_r i\_{rq} + L\_m i\_{sq}
\end{matrix}
\right. \quad \quad (8)
\\\[8pt]
$$

From the above equations, the equivalent electric circuit in *d-q reference frame* is obtained as presented in Figure 5.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2F6j1LzcXPTaprTrzZLHVR%2Fd116e4d5-681c-427d-852d-b6e99d74783e.png?alt=media&amp;token=1d229100-f3e8-4d1d-a7df-a599ede0cf1d" alt=""><figcaption><p><strong>Figure 5</strong>: DFIG modeling: d and q Axes Equivalent Circuits.</p></figcaption></figure>

Where,

$$(v\_{sd}, v\_{sq}) , (i\_{sd}, i\_{sq})$$ :  Stator voltages and current in dq axis.

$$(v\_{rd}, v\_{rq}) , (i\_{rd}, i\_{rq})$$ : Rotor voltages and current in dq axis.

$$(L\_{ss}, L\_{rr}, L\_m)$$ : Stator leakage inductance, rotor leakage inductance, and magnetizing inductance.

$$(R\_s, R\_r)$$ : Stator and rotor resistances.

$$(\psi\_{sd}, \psi\_{sq}) , (\psi\_{rd}, \psi\_{rq})$$ : Stator and rotor fluxes in dq axis.

Using the dq parameters for the DFIG, its electromagnetic and mechanical torques are calculated as follows:&#x20;

$$
\left{
\begin{matrix}
T\_{em} = -\dfrac{3p}{2},\dfrac{L\_m}{L\_s},(\psi\_{sd} i\_{rq} - \psi\_{sq} i\_{rd}) \\
T\_m = T\_{em} + \dfrac{d}{dt}\Omega\_r + f\_r \Omega\_r
\end{matrix}
\right. \quad \quad (9)
\\\[8pt]
$$

The active and reactive power equations of the stator and rotor are given by the equations (10) and (11) below:&#x20;

$$
\left{
\begin{matrix}
P\_s = \dfrac{3}{2},(v\_{sd} i\_{sd} + v\_{sq} i\_{sq}) \\
Q\_s = \dfrac{3}{2},(v\_{sq} i\_{sd} - v\_{sd} i\_{sq})
\end{matrix}
\right. \quad \quad (10)
\\\[8pt]
$$

$$
\left{
\begin{matrix}
P\_r = \dfrac{3}{2},(v\_{rd} i\_{rd} + v\_{rq} i\_{rq}) \\
Q\_r = \dfrac{3}{2},(v\_{rq} i\_{rd} - v\_{rd} i\_{rq})
\end{matrix}
\right. \quad \quad (11)
\\\[8pt]
$$

## Vector control of the DFIG <a href="#vector-control-of-the-dfig" id="vector-control-of-the-dfig"></a>

To control the DFIG, the RSC and GSC of the system must be properly designed. RSC and GSC structures are designed using the transformation equations and equivalent circuits mentioned in the previous section.\
Among the existing control methods for the DFIG that have been developed in literature, the vector control technique is implemented in this work, which is probably the most extended and established one.\
The overall vector control structure used is shown in Figure 6. The role of the RSC is to control generated power by regulating the dq-axis rotor currents $$(i\_{rd}, i\_{rq})$$.\
The duty of the GSC is to control the bi-directional transfer of power flow from the grid to the rotor or from the rotor to the grid by keeping the DC bus voltage constant.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FH0Muqn3mTgrMllZ6gsIa%2Fbbd1b322-d20c-4ab1-b7b7-50536cc7751a.png?alt=media&amp;token=df2f0ee0-e8e0-4001-a2ad-8d3709ad0a16" alt=""><figcaption><p><strong>Figure 6</strong>: Overall Closed-Loop Control Scheme of the DFIG</p></figcaption></figure>

### Control of the rotor-side converter (RSC) <a href="#control-of-the-rotor-side-converter-rsc" id="control-of-the-rotor-side-converter-rsc"></a>

The active and reactive powers absorbed by the rotor side are respectively controlled by the torque component $$i\_{rq}$$ and the excitation component $$i\_{rd}$$ of the rotor current.\
The reference torque $$T\_{em}^\*$$ value is produced via the Speed PI controller.&#x20;

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2Fa5wGFHQI7vNXxpi87K46%2F98fb313b-9db2-4f79-b57b-eacde8357fb9.png?alt=media&amp;token=3660a7f1-4364-49bd-b71c-259e3a84a5d4" alt=""><figcaption><p><strong>Figure 7</strong>: Control Scheme of the Rotor-Side Converter</p></figcaption></figure>

### Control of the grid-side converter (GSC) <a href="#control-of-the-grid-side-converter-gsc" id="control-of-the-grid-side-converter-gsc"></a>

The GSC control strategy is used to control the power flow of the DFIG.\
Two critical components to consider when controlling the power flow are the DC link voltage $$V\_{dc}$$ and reactive power  $$Q\_{gc}$$  exchange with the grid.\
The expression of the grid exchange active and reactive powers is given in Equation (12).

$$
\left{
\begin{matrix}
P\_{gc} = \dfrac{3}{2}, v\_{gd} i\_{gd} \\
Q\_{gc} = -\dfrac{3}{2}, v\_{gd} i\_{gq}
\end{matrix}
\right. \quad \quad (12)
\\\[8pt]
$$

Equation (12) reveals that the current  $$i\_{gd}$$ component controls the $$P\_{gc}$$, while the current component $$i\_{gq}$$ controls the value of $$Q\_{gc}$$ .\
A capacitor forms the DC-Link; active power flows through RSC-Capacitor-GSC to the grid.\
Therefore, maintaining $$V\_{dc}$$ to a constant value will ensure both RSC and GSC work properly during active power flow.\
In the same manner, reactive power flow in the grid is ensured. The control strategy for the GSC is shown in Figure 8.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FsNfI2bqOvQxO8Uv5gaDI%2F8c74ac83-3125-4fc0-b9a4-3bcaa1a86459.png?alt=media&amp;token=fd7e7ee6-cab2-4cf4-9c4b-e0c9d2512558" alt=""><figcaption><p><strong>Figure 8</strong>: Control Scheme of the Grid-Side Converter</p></figcaption></figure>

## Simulation parameters <a href="#simulation-parameters" id="simulation-parameters"></a>

The simulation parameters are provided in te following table. These parameters can be found in [**DFIM tutorial**](https://www.youtube.com/watch?v=ddHO1D6_FAw\&list=PLbagNv1DChh3g6_bTWTxRZzLiceDcR6ff) developed by Prof. Gonzalo Abad \[2].&#x20;

### DFIG nameplate ratings

<table data-search="false"><thead><tr><th>DFIG Nameplate Ratings</th><th></th></tr></thead><tbody><tr><td><strong>Apparent Nominal Power</strong> <span class="math">(S)</span></td><td>2 MVA</td></tr><tr><td><strong>Power Factor</strong> <span class="math">(\cos\phi)</span></td><td>0.9</td></tr><tr><td><strong>Nominal Line-to-line Stator Voltage</strong> <span class="math">(V_s)</span></td><td>690 V</td></tr><tr><td><strong>Nominal Line-to line Rotor Voltage</strong> <span class="math">(V_r)</span></td><td>2070 V</td></tr><tr><td><strong>Nominal Stator Current</strong> <span class="math">(I_s)</span></td><td>1760 A</td></tr><tr><td><strong>Nominal Rotor Current</strong> <span class="math">(I_r)</span></td><td>590 A</td></tr><tr><td><strong>Nominal Speed</strong> <span class="math">(\Omega)</span></td><td>1500 rpm</td></tr><tr><td><strong>Nominal Torque</strong> <span class="math">(T_{em})</span></td><td>12732 N.m</td></tr><tr><td><strong>Number of Pole Pair</strong> <span class="math">(p)</span></td><td>2</td></tr><tr><td><strong>Stator Resistance</strong> <span class="math">(R_s)</span></td><td>2.6 mΩ</td></tr><tr><td><strong>Stator Inductance</strong> <span class="math">(L_s)</span></td><td>0.087 mH</td></tr><tr><td><strong>Rotor Resistance</strong> <span class="math">(R_r)</span></td><td>2.9 mΩ</td></tr><tr><td><strong>Rotor Inductance</strong> <span class="math">(L_r)</span></td><td>0.087 mH</td></tr><tr><td><strong>Magnetizing Inductance</strong> <span class="math">(L_m)</span></td><td>2.5 mH</td></tr><tr><td><strong>Moment of Inertia</strong> <span class="math">(J)</span></td><td>63.5 kg.m<sup>2</sup></td></tr><tr><td><strong>Friction Factor</strong> <span class="math">(F)</span></td><td>0.001 N.m.s</td></tr><tr><td><strong>Gear Box Ratio</strong> <span class="math">(i_{gb})</span></td><td>100</td></tr><tr><td><strong>Gear Box Efficiency Ratio</strong>  <span class="math">(\eta_{gb})</span></td><td>0.98</td></tr></tbody></table>

### **Three-phase two-level back-to-back converter nameplate ratings**

| Three-phase Two-level Back-to-Back Converter Nameplate Ratings |        |
| -------------------------------------------------------------- | ------ |
| **DC Voltage** $$(V\_{bus})$$                                  | 1150 V |
| **DC-Link Capacitor** $$(C\_{bus})$$                           | 80 mF  |
| **PWM Frequency** $$(f\_{PWM})$$                               | 5 kHz  |
| **Fundamental Frequency** $$(f)$$                              | 50 Hz  |

{% hint style="info" %}
The rated rotor voltage of the DFIG is chosen to be around three times larger than this voltage.\
This arrangement is chosen such that the machine can operate only under slips ±1/3, which means that the operating speed range can only be ±1/3 from synchronism i.e., 1500 rpm +/- 500 rpm = \[1000; 2000] rpm.

&#x20;The moment of inertia’s actual value is 127 kg.m<sup>2</sup>. It has been divided by 2 to accelerate the steady state response.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/courseware/electric-courseware/renewable-energy/wind-turbine-generation-system-wtgs/introduction-and-description.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
