Messing With Time
All simulators have a “clock” that represents global time
In animations and in many other types of simulations, this time is advanced at regular intervals, as a physical clock would advance
But there is no reason for the simulator to advance the clock according to physical time if there is not issue of animation
For example, if traffic is being simulated and at a
given time t all computation is completed and the computer is simply waiting for time to pass until t+200 ms arrives, then just skip waiting, advance the clock and begin the next simulation step