> 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/smart-power-simulation-software-sps/blocks-functions-tools/renewables/wind-turbine.md).

# Wind Turbine

## Description

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-2739cb9bacd7a70de762385ded27787d414975d5%2Fwind_turbine_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Wind Turbine block**, located in the **OPAL-RT SPS Software/Sources** library, models the steady-state power characteristics of a wind turbine.

The stiffness of the drive train is infinite and the friction factor and the inertia of the turbine must be combined with those of the generator coupled to the turbine. The output power of the turbine is given by the following equation.

The Wind Turbine block models the steady-state power characteristics of a wind turbine. The stiffness of the drive train is infinite and the friction factor and the inertia of the turbine must be combined with those of the generator coupled to the turbine. The output power of the turbine is given by the following equation.

$$
P\_m = c\_p(\lambda,\beta),\frac{\rho A}{2},v\_{\text{wind}}^{3}, \\\[8pt]
$$

where:

<table data-header-hidden><thead><tr><th width="117.333251953125"></th><th></th></tr></thead><tbody><tr><td><em>P</em><sub><em>m</em></sub></td><td>Mechanical output power of the turbine (W)</td></tr><tr><td><em>c</em><sub><em>p</em></sub></td><td>Performance coefficient of the turbine</td></tr><tr><td><em>ρ</em></td><td>Air density (kg/m<sup>3</sup>)</td></tr><tr><td><em>A</em></td><td>Turbine swept area (m<sup>2</sup>)</td></tr><tr><td><em>v</em><sub>wind</sub></td><td>Wind speed (m/s)</td></tr><tr><td><em>λ</em></td><td>Tip speed ratio of the rotor blade tip speed to wind speed</td></tr><tr><td><em>β</em></td><td>Blade pitch angle (deg)</td></tr></tbody></table>

Equation 1 can be normalized. In the per unit (pu) system we have:

$$
P\_{m,\text{pu}} = k\_g , c\_{p,\text{pu}} , v\_{\text{wind,pu}}^{3}, \\\[8pt]
$$

where:

<table data-header-hidden><thead><tr><th width="139.55560302734375"></th><th></th></tr></thead><tbody><tr><td><em>P</em><sub><em>m</em>_pu</sub></td><td>Power in pu of nominal power for particular values of <em>ρ</em> and <em>A</em></td></tr><tr><td><em>c</em><sub><em>p</em>_pu</sub></td><td>Performance coefficient in pu of the maximum value of <em>c</em><sub><em>p</em></sub></td></tr><tr><td><em>v</em><sub>wind_pu</sub></td><td><p>Wind speed in pu of the base wind speed.</p><p>The base wind speed is the mean value of the expected wind speed in m/s.</p></td></tr><tr><td><em>k</em><sub><em>p</em></sub></td><td>Power gain for <em>c</em><sub><em>p</em>_pu</sub>=1 pu and <em>v</em><sub>wind_pu</sub>=1 pu, <em>k</em><sub><em>p</em></sub> is less than or equal to 1</td></tr></tbody></table>

A generic equation is used to model *c*<sub>*p*</sub>(λ,β). This equation, based on the modeling turbine characteristics of \[1], is:

$$
c\_p(\lambda,\beta)
\= c\_1 \left( \frac{c\_2}{\lambda\_i} - c\_3 \beta - c\_4 \right)
e^{-c\_5/\lambda\_i}

* c\_6 \lambda
  \\\[8pt]
  $$

with:

$$
\frac{1}{\lambda\_i}
====================

## \frac{1}{\lambda + 0.08 \beta}

\frac{0.035}{\beta^{3} + 1}
\\\[8pt]
$$

The coefficients *c*<sub>1</sub> to *c*<sub>6</sub> are: *c*<sub>1</sub>= 0.5176, *c*<sub>2</sub>= 116, *c*<sub>3</sub>= 0.4, *c*<sub>4</sub>= 5, *c*<sub>5</sub>= 21 and *c*<sub>6</sub>= 0.0068. The *c*<sub>p</sub>\_-\_λ characteristics, for different values of the pitch angle β, are illustrated below. The maximum value of *c*<sub>*p*</sub>(*c*<sub>*pmax*</sub>= 0.48) is achieved for β = 0 degrees and for λ = 8.1. This particular value of λ is defined as the nominal value (λ<sub>\_nom</sub>).

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-40e9c0f146ec565c89ee82d592dbf2bddb288f43%2Fwind_turbine_performance.png?alt=media" alt=""><figcaption></figcaption></figure>

This figure shows the Simulink<sup>®</sup> model of the turbine. The three inputs are the generator speed (ωr\_pu) in pu of the nominal speed of the generator, the pitch angle in degrees, and the wind speed in m/s. The tip speed ratio λ in pu of λ<sub>\_nom</sub> is obtained by the division of the rotational speed in pu of the base rotational speed (defined below) and the wind speed in pu of the base wind speed. The output is the torque applied to the generator shaft.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-96600646b22b9eecd463428654037d7524b81992%2Fwind_turbine_simulink_model.png?alt=media" alt=""><figcaption></figcaption></figure>

The illustration below shows the mechanical power *Pm* as a function of generator speed, for different wind speeds and for blade pitch angle β = 0 degrees. This figure is obtained with the default parameters (base wind speed = 12 m/s, maximum power at base wind speed = 0.73 pu (*kp* = 0.73), and base rotational speed = 1.2 pu).

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-094f68d800dcf42d8713d3b2bb8128b48826a157%2Fwind_turbine_power_charac.png?alt=media" alt=""><figcaption></figcaption></figure>

## Ports

#### Input

| <p><strong>Generator speed (pu)</strong> — Generator speed, pu<br>Scalar</p>     | Generator speed based on the nominal speed of the generator, specified as a scalar, in pu. |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| <p><strong>Pitch angle (deg)</strong> — Pitch angle, deg<br>scalar</p>           | Pitch angle, specified as a scalar                                                         |
| <p><strong>Wind speed (m/s)</strong> — Wind speed, m/s<br>Nonnegative scalar</p> | Wind speed, specified as a nonnegative scalar, in m/s.                                     |

#### Output

| <p><strong>Tm (pu)</strong> — Mechanical torque of wind turbine, pu<br>Scalar</p> | <p>Mechanical torque of the wind turbine, returned as a scalar, in pu of the nominal generator torque.</p><p>The nominal torque of the generator is based on the nominal generator power and speed.</p> |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## Parameters

<table data-header-hidden><thead><tr><th width="250.44439697265625"></th><th></th></tr></thead><tbody><tr><td><strong>Nominal mechanical output power</strong> — Nominal output power<br>1.5e6 (default) | nonnegative scalar</td><td>The nominal output power in watts (W).</td></tr><tr><td><strong>Base power of the electrical generator</strong> — Nominal power of electrical generator coupled to wind turbine<br>1.5e6/0.9 (default) | positive scalar</td><td><p>The nominal power of the electrical generator coupled to the wind turbine, in VA.</p><p>This parameter is used to compute the output torque in pu of the nominal torque of the generator.</p></td></tr><tr><td><strong>Base wind speed (m/s)</strong> — Base value of wind speed<br>12 (default) | positive scalar</td><td><p>The base value of the wind speed, in m/s, used in the per-unit system.</p><p>The base wind speed is the mean value of the expected wind speed.</p><p>This base wind speed produces a mechanical power that is usually lower than the turbine nominal power.</p></td></tr><tr><td><strong>Maximum power at base wind speed</strong> — Maximum power<br>0.73 (default) | positive scalar</td><td><p>Power gain <em>k</em><sub><em>p</em></sub> at base wind speed in pu of the nominal mechanical power.</p><p><em>k</em><sub><em>p</em></sub> is less than or equal to 1.</p></td></tr><tr><td><strong>Base rotational speed</strong> — Rotational speed at maximum power for base wind speed<br>1.2 (default) | positive scalar</td><td><p>The rotational speed at maximum power for the base wind speed.</p><p>The base rotational speed is in pu of the base generator speed.</p><p>For a synchronous or asynchronous generator, the base speed is the synchronous speed.</p><p>For a permanent-magnet generator, the base speed is defined as the speed producing nominal voltage at no load.</p></td></tr><tr><td><strong>Pitch angle beta to display wind turbine power characteristics</strong> — Pitch angle beta<br>0 (default) | nonnegative scalar</td><td><p>The pitch angle beta, in degrees, used to display the power characteristics.</p><p>Beta must be greater than or equal to zero.</p></td></tr><tr><td><strong>Display wind turbine power characteristics</strong> — Plot wind turbine power characteristics<br>button</td><td>Click to plot the turbine power characteristics for different wind speeds and for the specified pitch angle beta.</td></tr></tbody></table>

## References <a href="#references" id="references"></a>

\[1] Siegfried Heier, “Grid Integration of Wind Energy Conversion Systems,” John Wiley & Sons Ltd, 1998, ISBN 0-471-97143-X


---

# 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/smart-power-simulation-software-sps/blocks-functions-tools/renewables/wind-turbine.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.
