simpy.rt — Real-time simulations¶
Provides an environment whose time passes according to the (scaled) real-time (aka wallclock time).
- class simpy.rt.RealtimeEnvironment(initial_time=0, factor=1.0, strict=True)¶
An Environment which uses the real (e.g. wallclock) time.
A time step will take factor seconds of real time (one second by default); e.g., if you step from 0 until 3 with factor=0.5, the simpy.core.BaseEnvironment.run() call will take at least 1.5 seconds.
- factor = None¶
Scaling factor of the real-time.
- strict = None¶