This package contains examples for the use of models that can be found in Buildings.BoundaryConditions.WeatherData.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
ReaderTMY3 | Test model for reading weather data |
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).
model ReaderTMY3 "Test model for reading weather data" import Buildings; extends Modelica.Icons.Example;Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos") "Weather data reader"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDatInpCon(filNam= "Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos", HSou=Buildings.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"; equationconnect(HGloHor.y, weaDatInpCon.HGloHor_in); connect(HDifHor.y, weaDatInpCon.HDifHor_in); end ReaderTMY3;