Collection of validation models
Information
This package contains models for validation of weather data models.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name |
Description |
ReaderTMY3HDirNor
|
Test model for calculating the direct normal radiation |
Test model for calculating the direct normal radiation
Information
This model tests the calculation of the direct normal radiation.
The instance weaDatInpCon
obtains the global horizontal and
the diffuse horizontal solar radiation from its inputs connectors.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model ReaderTMY3HDirNor
extends Modelica.Icons.Example;
Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDatInpCon(filNam=
"modelica://Annex60/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos",
HSou=Annex60.BoundaryConditions.Types.RadiationDataSource.Input_HGloHor_HDifHor)
;
protected
Modelica.Blocks.Sources.Sine HGloHor1(
freqHz=1/86400,
startTime=25200,
offset=0,
amplitude=100) ;
Modelica.Blocks.Sources.Sine HGloHor(
freqHz=1/86400,
startTime=68428,
offset=0,
amplitude=100) ;
Modelica.Blocks.Math.Add add;
Modelica.Blocks.Math.Gain gaiHDifHor(k=0.5)
;
equation
connect(HGloHor.y, add.u1);
connect(HGloHor1.y, add.u2);
connect(add.y, weaDatInpCon.HGloHor_in);
connect(add.y, gaiHDifHor.u);
connect(gaiHDifHor.y, weaDatInpCon.HDifHor_in);
end ReaderTMY3HDirNor;
http://iea-annex60.org