dos-group / vessim

A co-simulation testbed for carbon-aware applications and systems 🍃
https://vessim.readthedocs.io
MIT License
49 stars 5 forks source link

Shutting Down Simulations without `until` Arg #219

Closed marvin-steinke closed 4 months ago

marvin-steinke commented 4 months ago

We should be able to shut down infinitely running simulations (until=None). While it is possible to call vs.Environment.world.shutdown(), the simulation does not end gracefully and the monitor does not create a csv file.

kilianp14 commented 4 months ago

Temporarily, you can use the outfile parameter of the monitor. Then you should get a csv file even if you terminate the simulation.