modelGetHeaderElement
Test model to get header element
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example tests getting the header of the TMY3 weather data file.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Angle | longitude | Longitude | |
| Modelica.Units.SI.Angle | latitude | Latitude | |
| Modelica.Units.SI.Time | timeZone | Time zone | |
| String | filNam | Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos") | Name of weather data file |
| String | absFilNam | Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath(filNam) | Absolute path of the file |
Revisions
-
April 21, 2016, by Michael Wetter:
Added call to Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath as this call has been removed from the function Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3. This is for Buildings, #506. -
July 14, 2010, by Wangda Zuo:
First implementation.