blockCivilTime

Civil time

Information

Block that outputs the civil time.

Implementation

This block outputs the time of the model. In the case of a building automation system, the building automation system synchronizes time, and hence need to assign a value for the output of this block. Daylight saving time shall not be taken into account, e.g, the block always outputs civil time rather than daylight savings time.

If a simulation starts at t=-1, then this block outputs first t=-1, and its output is advanced at the same rate as the simulation time.

Note that the block has not been included in the ASHRAE Standard 231p. However, in the future versions of the ASHRAE 231 Standard, the block should be added.

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCivil time

Revisions

  • December 12, 2023, by Jianjun Hu:
    Renamed the block from ModelTime to CivilTime. This is for Buildings, issue 3596.
  • March 2, 2020, by Michael Wetter:
    Changed icon to display dynamically the output value.
  • March 14, 2017, by Michael Wetter:
    Revised implemenation.
  • February 23, 2017, by Milica Grahovac:
    First CDL implementation.
  • January 16, 2015, by Michael Wetter:
    Moved block from Buildings.Utilities.SimulationTime to Buildings.Utilities.Time.ModelTime.
  • May 18, 2010, by Wangda Zuo:
    First implementation.