modelWindTurbine

Wind turbine with power output based on table as a function of wind speed

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.

alt-image

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VelocityvIn (from PartialWindTurbineBase)table[1, 1]Cut-in steady wind speed
Modelica.Units.SI.VelocityvOut (from PartialWindTurbineBase)table[size(table, 1), 1]Cut-out steady wind speed
Realscale (from PartialWindTurbineBase)1Scaling factor, used to allow adjusting the power output without changing the table
BooleantableOnFile (from PartialWindTurbineBase)falsetrue, 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)
StringtableName (from PartialWindTurbineBase)"NoName"Table name on file or in function usertab (see documentation)
StringfileName (from PartialWindTurbineBase)"NoName"File where matrix is stored
Wind correction
Realh (from PartialWindTurbineBase)Height over ground
Modelica.Units.SI.HeighthRef (from PartialWindTurbineBase)10Reference height for wind measurement
RealnWin (from PartialWindTurbineBase)0.4Height exponent for wind profile calculation
Nominal conditions
Modelica.Units.SI.VoltageV_nominal (from PartialWindTurbineBase)Nominal voltage (V_nominal >= 0)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputvWin (from PartialWindTurbineBase)Steady wind speed
Modelica.Blocks.Interfaces.RealOutputP (from PartialWindTurbineBase)Generated power
Buildings.Electrical.Interfaces.Terminalterminal (from PartialWindTurbine)Generalized terminal

Revisions

  • September 24, 2015 by Michael Wetter:
    Removed binding of P_nominal as this parameter is disabled and assigned a value in the initial equation section. This is for issue 426.
  • January 10, 2013, by Michael Wetter:
    First implementation.