modelPartialWindTurbineBase
Base class for turbine model that contains basic parameters
Information
This partial model contains the minimum set of parameters necessary to describe
a wind turbine.
The model defines also an output P for the power generated by the wind turbine.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Velocity | vIn | table[1, 1] | Cut-in steady wind speed |
| Modelica.Units.SI.Velocity | vOut | table[size(table, 1), 1] | Cut-out steady wind speed |
| Real | scale | 1 | Scaling factor, used to allow adjusting the power output without changing the table |
| Boolean | tableOnFile | false | true, if table is defined on file or in function usertab |
| Real[:,2] | table | [3.5, 0; 5.5, 0.1; 12, 0.9; 14, 1; 25, 1] | Table of generated power (first column is wind speed, second column is power) |
| String | tableName | "NoName" | Table name on file or in function usertab (see documentation) |
| String | fileName | "NoName" | File where matrix is stored |
| Wind correction | |||
| Real | h | Height over ground | |
| Modelica.Units.SI.Height | hRef | 10 | Reference height for wind measurement |
| Real | nWin | 0.4 | Height exponent for wind profile calculation |
| Nominal conditions | |||
| Modelica.Units.SI.Voltage | V_nominal | Nominal voltage (V_nominal >= 0) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | vWin | Steady wind speed | |
| Modelica.Blocks.Interfaces.RealOutput | P | Generated power |
Revisions
-
April 29, 2026, by Michael Wetter:
Changed configuration of table to cause the parameters to be evaluated, as this leads to more efficient code.
This is for IBPSA, #2111. -
January 10, 2013, by Michael Wetter:
First implementation.