Examples¶
The examples/ directory contains independently executable models:
| Example | Main concept |
|---|---|
custom_layout.py |
Complete custom-layout workflow with Source, Machines, Buffer, Sink, and AGV |
single_machine.py |
Minimal Source → Machine → Sink |
manual_worker_transport.py |
Worker movement and Machine operation |
forklift.py |
Joint Worker + Forklift reservation |
agv.py |
Autonomous transport |
rework.py |
Bounded structured loop |
scrap.py |
Terminal quality event |
stochastic_arrivals.py |
Distributions and ten replications |
multiple_products.py |
Product mix, shared resource, different routes |
Run any example after environment setup:
uv run python examples/agv.py
Copy an example into a notebook and change one factor at a time. Use plant.copy() when baseline and redesign results must coexist.
Start with custom_layout.py when creating a new facility. Its coordinates and component names match the complete layout tutorial, making it a useful template to copy and edit.