Buildings.Utilities.Time.Types
Package with type definitions
Information
This package contains type definitions.Extends from Modelica.Icons.TypesPackage (Icon for packages containing type definitions).
Package Content
Name | Description |
---|---|
ZeroTime | Use this to set the date corresponding to time = 0 |
Types and constants
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", NY2021 "New year 2021, 00:00:00 local time", NY2022 "New year 2022, 00:00:00 local time", NY2023 "New year 2023, 00:00:00 local time", NY2024 "New year 2024, 00:00:00 local time", NY2025 "New year 2025, 00:00:00 local time", NY2026 "New year 2026, 00:00:00 local time", NY2027 "New year 2027, 00:00:00 local time", NY2028 "New year 2028, 00:00:00 local time", NY2029 "New year 2029, 00:00:00 local time", NY2030 "New year 2030, 00:00:00 local time", NY2031 "New year 2031, 00:00:00 local time", NY2032 "New year 2032, 00:00:00 local time", NY2033 "New year 2033, 00:00:00 local time", NY2034 "New year 2034, 00:00:00 local time", NY2035 "New year 2035, 00:00:00 local time", NY2036 "New year 2036, 00:00:00 local time", NY2037 "New year 2037, 00:00:00 local time", NY2038 "New year 2038, 00:00:00 local time", NY2039 "New year 2039, 00:00:00 local time", NY2040 "New year 2040, 00:00:00 local time", NY2041 "New year 2041, 00:00:00 local time", NY2042 "New year 2042, 00:00:00 local time", NY2043 "New year 2043, 00:00:00 local time", NY2044 "New year 2044, 00:00:00 local time", NY2045 "New year 2045, 00:00:00 local time", NY2046 "New year 2046, 00:00:00 local time", NY2047 "New year 2047, 00:00:00 local time", NY2048 "New year 2048, 00:00:00 local time", NY2049 "New year 2049, 00:00:00 local time", NY2050 "New year 2050, 00:00:00 local time") "Use this to set the date corresponding to time = 0";
Buildings.Utilities.Time.Types.ZeroTime
Use this to set the date corresponding to time = 0
Information
Type for choosing how to set the reference time in Buildings.Utilities.Time.CalendarTime.
For example, Buildings.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 Buildings.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
Buildings.BoundaryConditions.WeatherData.ReaderTMY3, as the weather data reader assumes
that time
is expressed in local time.
Modelica 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",
NY2021 "New year 2021, 00:00:00 local time",
NY2022 "New year 2022, 00:00:00 local time",
NY2023 "New year 2023, 00:00:00 local time",
NY2024 "New year 2024, 00:00:00 local time",
NY2025 "New year 2025, 00:00:00 local time",
NY2026 "New year 2026, 00:00:00 local time",
NY2027 "New year 2027, 00:00:00 local time",
NY2028 "New year 2028, 00:00:00 local time",
NY2029 "New year 2029, 00:00:00 local time",
NY2030 "New year 2030, 00:00:00 local time",
NY2031 "New year 2031, 00:00:00 local time",
NY2032 "New year 2032, 00:00:00 local time",
NY2033 "New year 2033, 00:00:00 local time",
NY2034 "New year 2034, 00:00:00 local time",
NY2035 "New year 2035, 00:00:00 local time",
NY2036 "New year 2036, 00:00:00 local time",
NY2037 "New year 2037, 00:00:00 local time",
NY2038 "New year 2038, 00:00:00 local time",
NY2039 "New year 2039, 00:00:00 local time",
NY2040 "New year 2040, 00:00:00 local time",
NY2041 "New year 2041, 00:00:00 local time",
NY2042 "New year 2042, 00:00:00 local time",
NY2043 "New year 2043, 00:00:00 local time",
NY2044 "New year 2044, 00:00:00 local time",
NY2045 "New year 2045, 00:00:00 local time",
NY2046 "New year 2046, 00:00:00 local time",
NY2047 "New year 2047, 00:00:00 local time",
NY2048 "New year 2048, 00:00:00 local time",
NY2049 "New year 2049, 00:00:00 local time",
NY2050 "New year 2050, 00:00:00 local time")
"Use this to set the date corresponding to time = 0";