The simpy_helpers
package was written to make building simulations and collecting statistics about simulations using the Simpy framework simpler.
simpy_helpers
provides 4 main classes:
- Entity
- Resource
- Source
- Stats
These building blocks allow you to build complex simulations quickly, while keeping much of the necessary orchestration of simpy components hidden from the user.
Entity, Resource and Source are abstract classes
. Read the API documentation to learn which methods are required for building a simulation.
Simpy is not that simple to learn and use...
- Simpy Helpers hides much of this complexity from end users, so they can focus on building simulations instead of orchestrating simpy.
Simpy does not collect statistics for you...
- Simpy Helpers provides a
Stats
class which collects relevant statistics about your simulation automatically e.g. utilization of resources
See the Using_Simpy_Helpers_Package.ipynb notebook for more detail, and a walkthrough of a simple M/M/K simulation using helper classes.
For info on a simulation that involves a container, see Container_Resource_Example.ipynb