The POOSL simulator is a generic Discrete Event simulator that describes how processes (entities) communicate and how time passes inside a certain process. The POOSL language contains statements such as:
delay
abort with
interrupt
We can still easily simulate with a fixed timestep by creating a simulation controller that triggers events with a fixed (but configurable) delay, that sends out global events like the 'tick' event does now.
The current simulation event loop should be replaced by something that still processes the events like a FIFO queue, but it should also take care of the delay statements (execute the lowest), so that the time can progress.
The POOSL simulator is a generic Discrete Event simulator that describes how processes (entities) communicate and how time passes inside a certain process. The POOSL language contains statements such as:
We can still easily simulate with a fixed timestep by creating a simulation controller that triggers events with a fixed (but configurable) delay, that sends out global events like the 'tick' event does now.
The current simulation event loop should be replaced by something that still processes the events like a FIFO queue, but it should also take care of the delay statements (execute the lowest), so that the time can progress.