mesa-examples icon indicating copy to clipboard operation
mesa-examples copied to clipboard

Use new Discrete Event Scheduling in examples

Open EwoutH opened this issue 1 year ago • 2 comments

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: https://github.com/projectmesa/mesa/pull/2066
  • Original discussion: https://github.com/projectmesa/mesa/discussions/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 avatar Apr 24 '24 08:04 EwoutH

Bringing over and documenting the wolf_sheep benchmark model could be a good start.

EwoutH avatar Aug 04 '24 13:08 EwoutH