Overview
TheSimulationConfig object defines all parameters needed to configure and launch a bank simulation. It controls the number of resources, arrival patterns, service characteristics, and operational limits.
Schema
Number of teller windows available to serve customers simultaneously.Constraints:
- Must be a positive integer
- Recommended range: 1-10 for optimal performance
Configuration object defining customer arrival patterns.
Configuration object defining service time characteristics.
Maximum simulation time horizon in seconds. Simulation will terminate when this time is reached.Default:
28800 seconds (8 hours)Common values:3600- 1 hour14400- 4 hours28800- 8 hours (full business day)43200- 12 hours
Maximum number of customers that can wait in queue simultaneously. Customers arriving when the queue is at capacity will be rejected.Constraints:
- Must be a positive integer
- Recommended: Set based on physical space constraints
customers_rejected metric.Example Configuration
Basic Configuration
High-Traffic Scenario
Low-Traffic Scenario
Validation Rules
Common validation errors:priority_weightsmust sum to 1.0num_tellersmust be at least 1arrival_rateandservice_meanmust be positivemax_simulation_timemust be greater than 0max_queue_capacitymust be a positive integer
Performance Considerations
System Utilization: The ratio of arrival rate to service capacity (ρ = λ/(μ×c)) should typically be less than 1.0 to avoid unbounded queue growth, where:
- λ = arrival_rate
- μ = 1/service_mean
- c = num_tellers
Recommended Configurations
| Scenario | Tellers | Arrival Rate | Service Mean | Utilization |
|---|---|---|---|---|
| Low | 2 | 0.5 | 6.0 | ~45% |
| Medium | 3 | 1.0 | 5.0 | ~60% |
| High | 5 | 2.5 | 3.5 | ~87% |
| Stress | 3 | 2.0 | 2.5 | ~97% |