functionrtSyncSynchronize

Slow down task so that simulation time == real-time.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Modelica_DeviceDrivers.OperatingSystem.RTSyncrtSync
SI.TimesimTime
Realscaling1Real-time scaling factor; > 1 means the simulation is made slower than real-time

Outputs

TypeNameDefaultDescription
SI.TimewallClockTimeWall clock time that elapsed since initialization of the real-time synchronization object
SI.TimeremainingTimeWall clock time that is left before real-time deadline is reached.
SI.TimecomputingTimeWall clock time between invocations of this function, i.e., "computing time" in seconds
SI.TimelastSimTimeSimulation time at the previous invocation of this function, the simulation start time at the first function invocation