Open
Description
I'm trying to asses the opportunity for one or more pull requests that add some features to desim. Most of those are the result of my own needs for discrete event simulation, but I would like to see if there is wider interest:
Currently already done but in need of polishing (marked below) or in my near-term pipeline:
- Improved monitoring, driven by user-provided data types (
Effect
+ arbitrary additional state) - Event callbacks, currently implemented:
on_event_processed
,on_resource_acquire
,on_resource_enqueue
,on_resource_release
- Allow for arbitrary resource queuing disciplines by providing a
SimResource
trait that allResources
implement - Schedulers (Time Sharing): I'm currently designing this so that sets of
Processes
can be logically run in a time-sharing fashion (each being given a time slice). This is more disruptive to the code as simulation steps are no longer entirely driven by resuming generators.
At the moment the new code lives in my own fork of desim in a "new_features" branch but that is just a messy experiment and separate pull requests would have to be teased from that. However, I don't plan on maintaining a separate fork if you are interested in the changes upstream.
Metadata
Metadata
Assignees
Labels
No labels
Activity