Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 SimPy 3 生成模拟报告?我在这里读到,对于第 2 版,可以执行以下操作:
simulate(until=1000.0) Report() # report results when the simulation finishes
但是我找不到 SimPy 3 的报告功能。报告应该包括,例如,服务器的平均吞吐量、资源利用率和其他统计信息。
出于性能原因,SimPy 3 默认不再监控您的模拟。本指南讨论了监控模拟和收集数据的方法。