functionrtSyncSynchronize
Slow down task so that simulation time == real-time.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.OperatingSystem.RTSync | rtSync | ||
| SI.Time | simTime | ||
| Real | scaling | 1 | Real-time scaling factor; > 1 means the simulation is made slower than real-time |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | wallClockTime | Wall clock time that elapsed since initialization of the real-time synchronization object | |
| SI.Time | remainingTime | Wall clock time that is left before real-time deadline is reached. | |
| SI.Time | computingTime | Wall clock time between invocations of this function, i.e., "computing time" in seconds | |
| SI.Time | lastSimTime | Simulation time at the previous invocation of this function, the simulation start time at the first function invocation |