.IDEAS.Utilities.Time.Types.ZeroTime

Information

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

For example, IDEAS.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 IDEAS.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 IDEAS.BoundaryConditions.WeatherData.ReaderTMY3, as the weather data reader assumes that time is expressed in local time.

Definition

type ZeroTime = enumeration(UnixTimeStamp "Thu, 01 Jan 1970 00:00:00 local time", UnixTimeStampGMT "Thu, 01 Jan 1970 00:00:00 GMT", Custom "User specified local time", NY2010 "New year 2010, 00:00:00 local time", NY2011 "New year 2011, 00:00:00 local time", NY2012 "New year 2012, 00:00:00 local time", NY2013 "New year 2013, 00:00:00 local time", NY2014 "New year 2014, 00:00:00 local time", NY2015 "New year 2015, 00:00:00 local time", NY2016 "New year 2016, 00:00:00 local time", NY2017 "New year 2017, 00:00:00 local time", NY2018 "New year 2018, 00:00:00 local time", NY2019 "New year 2019, 00:00:00 local time", NY2020 "New year 2020, 00:00:00 local time");

Revisions


Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos