modelWindTurbine
Extends from Buildings.Electrical.BaseClasses.WindTurbine.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 active electrical power is
P = Pt scale ηDCAC
where ηDCAC is the efficiency of the conversion of the DC electrical power to AC.
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) | |
| AC-Conversion | |||
| Real | pf | 0.9 | Power factor |
| Real | eta_DCAC | 0.9 | Efficiency of DC/AC conversion |
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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.AC.OnePhase.Loads.Capacitive | load | Load model |
Revisions
-
January 29, 2019, by Michael Wetter:
Addedreplaceablefor terminal. -
February 26, 2016, by Michael Wetter:
In load, setP_nominal = 0as it is not used. This is for issue 426. -
August 5, 2014, by Marco Bonvini:
Revised documentation.