Clock

Simulation time as a signal.

  • signal
  • Modelica Standard Library
  • 1 port
BlockClockKindclockLibrarySources

Description

Outputs the simulation time (the Modelica library continuous clock). Use it to build time-dependent expressions from Math blocks.

Example

Signal sources The signal sources side by side: step, ramp, sine, pulse, and clock, plus a constant.

ConstantStepRampSinePulseClock
In Gradara, select a Clock block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ConstantStepRampSine wavePulse

Ports

Outputs 1

  • ty

    Simulation time, in seconds.

Equations

Modelica
y = time

Implementation

Modelica Standard Library 4.1.0Modelica.Blocks.Sources.ContinuousClock
MSL documentation

See also

Select a block in Gradara and press F1 to open its page offline.