Buildings.Electrical.DC.Sources.BaseClasses

Package with base classes for DC sources

Information

This package contains base classes that are used to construct the models in Buildings.Electrical.DC.Sources.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.Electrical.DC.Sources.BaseClasses.WindCorrection WindCorrection Block for wind correction

Buildings.Electrical.DC.Sources.BaseClasses.WindCorrection Buildings.Electrical.DC.Sources.BaseClasses.WindCorrection

Block for wind correction

Buildings.Electrical.DC.Sources.BaseClasses.WindCorrection

Information

This model calculates the wind velocity at the location as a function of the height over ground. The equation is based on Gash (1991). The model computes the wind velocity vLoc as

vLoc = vRef * (h / hRef)n

where vRef is the wind velocity at the reference height, h is the height over ground, hRef is the reference height, and n is the height exponent for wind calculation.

Reference

Gasch, R. 1991. Windkraftanlagen. Grundlagen und Entwurf (German). Teubner, Stuttgart.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Heighth Height over ground [m]
HeighthRef Reference height for wind measurement [m]
Realn0.4Height exponent for wind profile calculation

Connectors

TypeNameDescription
output RealOutputvLocWind velocity at the location [m/s]
input RealInputvRefWind velocity at the reference height [m/s]

Modelica definition

block WindCorrection "Block for wind correction" extends Modelica.Blocks.Icons.Block; parameter Modelica.Units.SI.Height h "Height over ground"; parameter Modelica.Units.SI.Height hRef "Reference height for wind measurement"; parameter Real n(min=0) = 0.4 "Height exponent for wind profile calculation"; Modelica.Blocks.Interfaces.RealOutput vLoc( unit="m/s") "Wind velocity at the location"; Modelica.Blocks.Interfaces.RealInput vRef(unit="m/s") "Wind velocity at the reference height"; equation vLoc=vRef * (h / hRef)^n; end WindCorrection;