modelWindTurbine
Extends from Buildings.Electrical.Interfaces.PartialWindTurbine (Partial model of a wind turbine with power output based on table as a function of wind speed).
Information
Model of a wind turbine whose power is computed as a function of wind-speed as defined in a table.
Input to the model is the local wind speed.
The model requires the specification of a table that maps wind speed in meters per second to generated
power Pt in Watts.
The model has a parameter called scale with a default value of one
that can be used to scale the power generated by the wind turbine.
The generated DC electrical power is
P = Pt scale = v i,
where v is the voltage and i is the current.
For example, the following specification (with default scale=1) of a wind turbine
WindTurbine_Table tur(
table=[3.5, 0;
5.5, 100;
12, 900;
14, 1000;
25, 1000]) "Wind turbine";
yields the performance shown below. In this example, the cut-in wind speed is 3.5 meters per second, and the cut-out wind speed is 25 meters per second, as entered by the first and last entry of the wind speed column. Below and above these wind speeds, the generated power is zero.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Velocity | vIn (from PartialWindTurbineBase) | table[1, 1] | Cut-in steady wind speed |
| Modelica.Units.SI.Velocity | vOut (from PartialWindTurbineBase) | table[size(table, 1), 1] | Cut-out steady wind speed |
| Real | scale (from PartialWindTurbineBase) | 1 | Scaling factor, used to allow adjusting the power output without changing the table |
| Boolean | tableOnFile (from PartialWindTurbineBase) | false | true, if table is defined on file or in function usertab |
| Real[:,2] | table (from PartialWindTurbineBase) | [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 (from PartialWindTurbineBase) | "NoName" | Table name on file or in function usertab (see documentation) |
| String | fileName (from PartialWindTurbineBase) | "NoName" | File where matrix is stored |
| Wind correction | |||
| Real | h (from PartialWindTurbineBase) | Height over ground | |
| Modelica.Units.SI.Height | hRef (from PartialWindTurbineBase) | 10 | Reference height for wind measurement |
| Real | nWin (from PartialWindTurbineBase) | 0.4 | Height exponent for wind profile calculation |
| Nominal conditions | |||
| Modelica.Units.SI.Voltage | V_nominal (from PartialWindTurbineBase) | Nominal voltage (V_nominal >= 0) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | vWin (from PartialWindTurbineBase) | Steady wind speed | |
| Modelica.Blocks.Interfaces.RealOutput | P (from PartialWindTurbineBase) | Generated power | |
| Buildings.Electrical.Interfaces.Terminal | terminal (from PartialWindTurbine) | Generalized terminal |
Revisions
-
September 24, 2015 by Michael Wetter:
Removed binding ofP_nominalas this parameter is disabled and assigned a value in theinitial equationsection. This is for issue 426. -
January 10, 2013, by Michael Wetter:
First implementation.