blockModelTime

Model time

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control 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.Clock.

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal

Revisions

  • January 16, 2015, by Michael Wetter:
    Moved block from Annex60.Utilities.SimulationTime to Annex60.Utilities.Time.ModelTime.
  • May 18, 2010, by Wangda Zuo:
    First implementation.