modelWindTurbine

Simple wind turbine model

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.

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)
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion

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

Components

TypeNameDefaultDescription
Buildings.Electrical.AC.OnePhase.Loads.CapacitiveloadLoad model

Revisions

  • January 29, 2019, by Michael Wetter:
    Added replaceable for terminal.
  • February 26, 2016, by Michael Wetter:
    In load, set P_nominal = 0 as it is not used. This is for issue 426.
  • August 5, 2014, by Marco Bonvini:
    Revised documentation.