JoostvanPinxten / eugenia-live

Eclipse Public License 1.0
0 stars 0 forks source link

Explore Discrete Event description iso fixed Discrete Time-step #28

Open JoostvanPinxten opened 11 years ago

JoostvanPinxten commented 11 years ago

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.

JoostvanPinxten commented 11 years ago

We might want to pursue #26 áfter we refactor EuGENia into a real Discrete Event simulator.