typeZeroTime

Use this to set the date corresponding to time = 0

Information

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

For example, IBPSA.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 IBPSA.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 IBPSA.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

Revisions