blockConvertTime

Converts the simulation time to calendar time in scale of 1 year (365 days)

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

Information

This component converts the simulation time to calendar time in a scale of 1 year (365 days).

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputmodTimSimulation time
Modelica.Blocks.Interfaces.RealOutputcalTimCalendar time

Revisions

  • September 27, 2011, by Wangda Zuo, Michael Wetter:
    Modify it to convert negative value of time. Use the when-then to allow dymola differentiating this model when conducting index reduction which is not allowed in previous implementation.
  • February 27, 2011, by Wangda Zuo:
    Renamed the component.
  • July 08, 2010, by Wangda Zuo:
    First implementation.