impure functiongetTimeSpanTMY3

Get the time span of the weather data from the file

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function returns the start time (first time stamp) and end time (last time stamp plus average increment) of the TMY3 weather data file.

Inputs

TypeNameDefaultDescription
StringfilNamName of weather data file
StringtabNamName of table on weather file

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.TimetimeSpanStart time, end time of weather data

Revisions

  • December 11, 2021, by Michael Wetter:
    Added impure declaration for MSL 4.0.0.
  • April 16, 2019, by Jianjun Hu:
    Reimplemented to use a C function, this is for #1108.
  • November 15, 2017, by Ana Constantin:
    First implementation, as part of solution to #842.