Skip to content

Sim Time

Outputs the current simulation time t in seconds. Useful as the independent variable for math expressions, time-keyed faults, or schedules.

Category: Sources

Keywords: t, time, timestamp, elapsed, clock, simulation time

Ports

NameDirectionValue typeNotes
outoutputdouble

Parameters

This component has no user-editable parameters.


Implemented in C++ class SimCompCtlSimTime (components/control/CSim_comp_ctl_sim_time/sim_comp_ctl_sim_time.h).

Released under the MIT License.