This change provides a solution for application testing issues when running against simulations running faster than real time.
To test and use in application testing:
The latest develop of the gridappsd platform must be used.
At a minimum create a Simulation class whose SimulationArgs.run_realtime=False and SimulationArgs.pause_after_measurements=True. The simulation should enter the paused state after each time it publishes measurements. When application testing, after receiving a measurements message from the Simulation instance Simulation.resume() will need to be called to move the simulation forward.
This change provides a solution for application testing issues when running against simulations running faster than real time.
To test and use in application testing:
The latest develop of the gridappsd platform must be used.
At a minimum create a Simulation class whose SimulationArgs.run_realtime=False and SimulationArgs.pause_after_measurements=True. The simulation should enter the paused state after each time it publishes measurements. When application testing, after receiving a measurements message from the Simulation instance Simulation.resume() will need to be called to move the simulation forward.