MatterMiners / lapis

Lapis is an adaptable, performant, and interactive scheduling simulator
https://lapis-sim.readthedocs.io
MIT License
2 stars 1 forks source link

Make pools attachable and detachable from simulation environment #1

Open eileen-kuehn opened 5 years ago

eileen-kuehn commented 5 years ago

Currently a pool is initialised with a reference to the current simulation environment and immediately is integrated. This does not match the targeted dynamic behaviour that pools can be attached and detached any time. Therefore, there should be a property/method to attach/detach from simulation.

https://github.com/MaineKuehn/lapis/blob/c99d77b4774d3544840858c7916ec07c5121de9d/lapis/pool.py#L17-L25

maxfischer2781 commented 2 years ago

I think this is obsolete since we do not use simpy anymore. usim handles the environment implicitly.