Use new Discrete Event Scheduling in examples
Opened this issue · 1 comments
EwoutH commented
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.
- Current code implementation: mesa/experimental/devs
- Original PR: projectmesa/mesa#2066
- Original discussion: projectmesa/mesa#2032
All three mesa benchmark models already use devs, so those changes could be ported over.
The approach for this would generally be:
- Read up on DEVS
- Go through the Mesa examples and seek opportunities where the DEVS could simplify or improve things.
- Open a Discussion on mesa-examples proposing your changes
- Implement them and open a PR here
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.
EwoutH commented
Bringing over and documenting the wolf_sheep
benchmark model could be a good start.