modelGetTimeSpanTMY3
Test model to get the time span of a weather file
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example tests getting the time span of a TMY3 weather data file.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| 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 | tabNam | "tab1" | Name of table on weather file |
| Modelica.Units.SI.Time | timeSpan | Start time, end time of weather data |
Revisions
-
April 16, 2019, by Michael Wetter:
Removed call to get the absolute path of the file, corrected the.mosfile name and updated the documentation -
April 15, 2019, by Ana Constantin:
First implementation.