simulate_schedule
Run a queueing simulation against an arbitrary 24-hour staffing schedule. Take this when the user describes a custom day shape that doesn't match a preset (e.g., 'my coffee shop is open 6am–10pm with 4 baristas off-peak, 7 at the 8am rush, 5 at the 4pm rush'). Inputs: arrivalRates (24-element array of customers/hr per hour-of-day) and staffing (24-element array of servers/hr); optional uniform serviceTimeMinutes. Use 0 in both arrays for closed hours (terminating system). Returns the same per-hour metrics + summary shape as simulate_mmc / simulate_scenario. Stronger fit than simulate_scenario when the user's shape doesn't match the four presets; stronger fit than simulate_mmc when they need per-hour variation. ANTI-FABRICATION: numbers come from a real DES run. Quote them VERBATIM. Do not round, estimate, or derive from training-data recall.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staffing | Yes | 24 hourly staffing counts (servers/hr, one per hour-of-day 0-23). Use 0 for closed hours. Range 0-50 per hour. | |
| serviceCoV | No | CoV for service time when distribution is Normal or LogNormal. Range 0-5. | |
| arrivalRates | Yes | 24 hourly arrival rates (customers/hr, one per hour-of-day 0-23). Use 0 for closed hours (terminating system). Range 0-200 per hour. | |
| simulationDays | No | Days to simulate. Range 1-30. | |
| serviceTimeMinutes | No | Mean service time in minutes per customer. Applies uniformly across hours. Range 0.1-180. | |
| arrivalDistribution | No | Exponential | |
| serviceDistribution | No | Exponential |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hourly | Yes | ||
| inputs | Yes | Echo of the run's parameters. | |
| summary | Yes |