Exponential¶
Time between random independent arrivals, or time to a random breakdown, when past events do not change the next one.
Param: rate (lambda, event rate) > 0.
Category: continuous. Arrival: yes. Delay: yes. Support lower bound: 0.0. Can be fit from data as Exponential (see Input analysis).
Parameters¶
| Parameter | Default | Hint |
|---|---|---|
rate |
1.0 |
event rate (lambda), > 0 |
Draws¶
With rate=0.5, 10,000 draws from a stream seeded 0:
| Mean (formula) | Mean of the draws | Variance of the draws |
|---|---|---|
| 2 | 1.99 | 3.98 |
Example¶
In a model file, on any block or section that takes a duration:
{"distribution": "Exponential", "dist_params": {"rate": 0.5}}
In the Python builder:
nb.Exponential(rate=0.5)
An expression has its own call for it: EXPO(mean).
Used in¶
Bundled models: Biogas plant (library assets), Emergency department: staffing game, Belt with stops, a divert and a merge, Warehouse with forklifts (floor plan), Robot cell against manual assembly, Job shop (Jackson network) and 19 more.
Guides: Python API, Quick start, Coming from salabim, Coming from SimPy, How do I fit input distributions from data?, Use with an agent and 25 more.