simpm.des
Discrete Event Simulation primitives for project-management style models.
This module wraps simpy with opinionated helpers for creating entities,
resources, and environments that can be logged and observed while a simulation
is running. The docstrings are intentionally verbose so that API documentation
generated from them provides ready-to-use guidance and code snippets.
Classes
|
Dictionary-like item that moves through a |
|
Simulation environment with observer hooks and logging helpers. |
|
Common bookkeeping shared by all resource types. |
|
Request type used for preemptive resources. |
|
Resource with priority-based preemption (capacity is assumed to be 1). |
|
A class defining a priority request for capturing the resources. |
|
|
|
A class defining a request for capturing the resources. |
|
Exceptions
|
Raised when an interruptible activity is preempted by a resource. |