modelGetTimeSpanTMY3LongHeader
Test model to get the time span of a weather file with a long header line
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example tests getting the time span of a TMY3 weather data file with a long line in the header of the weather file.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | filNam | Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/BoundaryConditions/WeatherData/BaseClasses/Examples/weatherWithLongHeader.mos") | Name of weather data file |
| Modelica.Units.SI.Time | timeSpan | Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(filNam, "tab1") | Start time, end time of weather data |
Revisions
-
January 27, 2021, by Michael Wetter:
First implementation.
This is for #1432.