Clock

Simulation time as a signal.

  • signal
  • Gradara equations
  • 1 port
BlockClockKindclockLibrarySources

Description

Outputs the simulation time. 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

The block’s Modelica model
y = time;

See also

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