Search code examples
pythonsimpy

How to generate simulation output report when using SimPy 3


How to generate simulation reports with SimPy 3? I was reading here that for the version 2 it's possible to do something like this:

simulate(until=1000.0)

Report()  #  report results when the simulation finishes

However I cannot find the reporting function for SimPy 3. The report should include, for instance, average throughtput of a server, resource utilization, and other statistics.


Solution

  • For performance reason, SimPy 3 no longer monitors your simulation by default. There is this guide that discusses ways to monitor your simulation and collect data.