typeZeroTime

Use this to set the date corresponding to time = 0

Information

Type for choosing how to set the reference time in AixLib.Utilities.Time.CalendarTime.

For example, AixLib.Utilities.Time.Types.TimeReference.NY2016 means that if the Modelica built-in variable time=0, it is January 1, 2016, 0:00:00 local time.

When using AixLib.Utilities.Time.Types.ZeroTime.UnixTimeStampGMT, time is defined with respect to GMT. This is different from the use of time in the weather data reader AixLib.BoundaryConditions.WeatherData.ReaderTMY3, as the weather data reader assumes that time is expressed in local time.

Literals

NameDescription
UnixTimeStampThu, 01 Jan 1970 00:00:00 local time
UnixTimeStampGMTThu, 01 Jan 1970 00:00:00 GMT
CustomUser specified local time
NY2010New year 2010, 00:00:00 local time
NY2011New year 2011, 00:00:00 local time
NY2012New year 2012, 00:00:00 local time
NY2013New year 2013, 00:00:00 local time
NY2014New year 2014, 00:00:00 local time
NY2015New year 2015, 00:00:00 local time
NY2016New year 2016, 00:00:00 local time
NY2017New year 2017, 00:00:00 local time
NY2018New year 2018, 00:00:00 local time
NY2019New year 2019, 00:00:00 local time
NY2020New year 2020, 00:00:00 local time
NY2021New year 2021, 00:00:00 local time
NY2022New year 2022, 00:00:00 local time
NY2023New year 2023, 00:00:00 local time
NY2024New year 2024, 00:00:00 local time
NY2025New year 2025, 00:00:00 local time
NY2026New year 2026, 00:00:00 local time
NY2027New year 2027, 00:00:00 local time
NY2028New year 2028, 00:00:00 local time
NY2029New year 2029, 00:00:00 local time
NY2030New year 2030, 00:00:00 local time
NY2031New year 2031, 00:00:00 local time
NY2032New year 2032, 00:00:00 local time
NY2033New year 2033, 00:00:00 local time
NY2034New year 2034, 00:00:00 local time
NY2035New year 2035, 00:00:00 local time
NY2036New year 2036, 00:00:00 local time
NY2037New year 2037, 00:00:00 local time
NY2038New year 2038, 00:00:00 local time
NY2039New year 2039, 00:00:00 local time
NY2040New year 2040, 00:00:00 local time
NY2041New year 2041, 00:00:00 local time
NY2042New year 2042, 00:00:00 local time
NY2043New year 2043, 00:00:00 local time
NY2044New year 2044, 00:00:00 local time
NY2045New year 2045, 00:00:00 local time
NY2046New year 2046, 00:00:00 local time
NY2047New year 2047, 00:00:00 local time
NY2048New year 2048, 00:00:00 local time
NY2049New year 2049, 00:00:00 local time
NY2050New year 2050, 00:00:00 local time

Revisions

  • March 8, 2024, by Jelger Jansen:
    Extend functionality to year 2050.
    This is for #1847.
  • September 10, 2016, by Michael Wetter:
    Revised implementation and moved to new package AixLib.Utilities.Time.CalendarTime.Types.
  • August 3, 2016, by Filip Jorissen:
    First implementation.