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

TypeNameDefaultDescription
StringfilNamModelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")Name of weather data file
StringtabNam"tab1"Name of table on weather file
Modelica.Units.SI.TimetimeSpanStart 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 .mos file name and updated the documentation
  • April 15, 2019, by Ana Constantin:
    First implementation.