โ QueueSim home ยท All models
This example demonstrates the Active Resource (Worker) pattern in odin-des.
The model simulates a shop with several machines and a single technician.
sim.worker_cycle lifecycle:
sim.Worker: The technician is modeled as an active resource rather than a passive capacity.sim.worker_cycle: This helper encapsulates the travel \(\rightarrow\) work \(\rightarrow\) release sequence, removing the need to manually manage multiple eng.advance calls and state transitions in the puck's tick../technician_dispatch [options]
Add --json to emit the uniform envelope (metadata, execution_stats,
metrics, details) instead of the default text output.
| Flag | Type | Default | Description |
|---|---|---|---|
--json |
bool | false |
Emit uniform JSON envelope instead of text. |
Example runs:
./technician_dispatch # default text run
./technician_dispatch --json # uniform envelope
odin run examples/technician_dispatch/technician_dispatch.odin