blockModelTime

Model time

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This component outputs the model time, which starts at the value at which the simulation starts. For example, 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.

The model is used to allow the simulation to start from any time without having to set the parameters for the clock, as would be necessary for the model Modelica.Blocks.Sources.ContinuousClock.

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputyModel time

Revisions

  • May 2, 2022, by Michael Wetter:
    Corrected hyperlink in documentation.
    This is for IBPSA, #1609.
  • April 17, 2020, by Michael Wetter:
    Refactored so that the output connector has a better comment string, because this comment string is displayed on the weather data bus.
  • 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.