projectmesa / mesa-examples

Seminal agent-based models developed using Mesa
Other
105 stars 123 forks source link

Use new Discrete Event Scheduling in examples #124

Open EwoutH opened 2 months ago

EwoutH commented 2 months ago

Open for contributions!

Now that the Discrete Event Scheduler (DEVS) is released as experimental in Mesa 2.3.0, it would be interesting if we can use it in examples.

All three mesa benchmark models already use devs, so those changes could be ported over.

The approach for this would generally be:

The nuance here being that applying the DEVS is not a goal to be implemented as much as possible, but a means that could make some model (parts) more elegant, efficient, readable and/or performant.