All theory is grey. In this section, we present various practical examples that demonstrate how to uses SimPy’s features.

Here is a list of examples grouped by the features they demonstrate.

Condition events



Resources: Container

Resources: Preemptive Resource

Resources: Resource

Resources: Store

Shared events

Waiting for other processes

All examples

You have ideas for better examples? Please send them to our mailing list or make a pull request on GitLab.