Click or drag to resize

TimeModelTimeLapseMultiplier Property

Speeds up or slows down the time inside the simulation.

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
public double TimeLapseMultiplier { get; set; }

Property Value

Type: Double
Remarks

This property can be used to speed up events and reduce the real-time wait for the user, especially during experimentations that would take hours or days to complete in real-time.

TimeLapseMultiplier works in conjunction with TimeLapseMinutes, which determines to the number of minutes of simulation time to be sped up. Once the specified amount of time has passed, the TimeLapseMultiplier is automatically reset to 1 again, resuming normal speed in the simulation.

For instance, by setting TimeLapseMultiplier to 10 and TimeLapseMinutes to 60, the simulation time will pass 10 times faster, for 60 simulation minutes; which means that 6 minutes of real-time will elapse for the user, while 60 minutes will have passed inside the simulation.

Examples
This code sets a Time Lapse of 15 minutes (900 seconds), to be run at a speed 60 times faster than normal time, allowing it to complete in 15 seconds:
XML
<Time Id="Engine" TimeLapseMinutes="15" TimeLapseMultiplier="60" />
See Also