IEA EBC Annex 60 EBC logo

Annex60.BoundaryConditions.WeatherData.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Annex60.BoundaryConditions.WeatherData.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3 ReaderTMY3 Test model for reading weather data

Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3 Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3

Test model for reading weather data

Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3

Information

This model tests the TMY3 data reader. The instance weaDat obtains all weather data from the weather file, whereas the instance weaDatInpCon obtains the global horizontal and the diffuse horizontal solar radiation from its input connectors.

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

Modelica definition

model ReaderTMY3 "Test model for reading weather data" extends Modelica.Icons.Example; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam="modelica://Annex60/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos") "Weather data reader"; 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) "Weather data reader with radiation data obtained from input connector"; Modelica.Blocks.Sources.Constant HDifHor(k=0) "Diffuse horizontal radiation"; Modelica.Blocks.Sources.Constant HGloHor(k=0) "Horizontal global radiation"; equation connect(HGloHor.y, weaDatInpCon.HGloHor_in); connect(HDifHor.y, weaDatInpCon.HDifHor_in); end ReaderTMY3;

http://iea-annex60.org