run_simulation
Run a discrete-event simulation of a Petri Net to obtain final markings, mean values, min/max for places and transitions, and throughput from tagged places.
Instructions
Run a discrete-event simulation of the current Petri Net.
Executes the simulation for the given time and returns statistics: final markings, mean values, and observed min/max for all places and transitions, plus a Terminators (throughput) block sourced from places tagged "throughput".
IMPORTANT: simulation_time MUST use the same conceptual unit as the transition delays you set when building the net. Pass time_unit explicitly — the response echoes the duration in s/min/h/d so you can verify the interpretation matches your intent.
Args: simulation_time: Total simulation time in time_unit time_unit: "s" (seconds, default), "min", "h", or "d" (days)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| simulation_time | Yes | ||
| time_unit | No | s |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |