modelGenericPlantElectricRealData

Generic wind power plant simulation with real wind data and mains

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This examples shows a generic wind power plant with electric connection to the mains. The simulation model uses real wind data.

Examples of real wind data can be taken from data.gov for an anemometer in the height of 50m. The data are provided under Open Data Commons (ODC) Public Domain Dedication and Licence (PDDL). These data have been converted into a Modelica readable test file Resources/Data/beresford2006.txt.

In case the data of single month of 2006 shall be simulated the following table can be used to set simulation start and stop times accordingly.

YYYY-MM-DD  HH:MM:SS  time (s)
------------------------------
2006-01-01  00:00:00         0
2006-02-01  00:00:00   2678400
2006-03-01  00:00:00   5097600
2006-04-01  00:00:00   7776000
2006-05-01  00:00:00  10368000
2006-06-01  00:00:00  13046400
2006-07-01  00:00:00  15638400
2006-08-01  00:00:00  18316800
2006-09-01  00:00:00  20995200
2006-10-01  00:00:00  23587200
2006-11-01  00:00:00  26265600
2006-12-01  00:00:00  28857600
2007-01-01  00:00:00  31536000

In the provided example the wind speed data are transformed from 50m to a height of 105m using a roughness of 0.1m.

Parameters

TypeNameDefaultDescription
StringfileNameModelica.Utilities.Files.loadResource("modelica://WindPowerPlants/Resources/Data/beresford2006.txt")File on which data is present

Components

TypeNameDefaultDescription
Modelica.Blocks.Continuous.IntegratorenergyIntegrator
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Resistorresistor
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Inductorinductor
Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Groundground
WindPowerPlants.Plants.GenericVariableSpeedElectricalplant
Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSourcevoltagesource
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Starstar
WindPowerPlants.WindSources.RealDatawindSource
WindPowerPlants.Blocks.LogTerminallogTerminal
WindPowerPlants.Blocks.SpeedAdaptorspeedadaptor1