Distribution reference¶
One page per distribution, from nagasim/core/distributions.py's DISTRIBUTION_REGISTRY: its parameters, the mean and variance of seeded draws, a chart of the draws and an example. "Arrival" and "Delay" mark whether the distribution is offered for a CREATE inter-arrival time or for a delay-bearing block (get_available_distributions).
| Distribution | Category | Arrival | Delay | When to use it |
|---|---|---|---|---|
| Bernoulli | special | A single yes/no outcome with a given probability, such as accept or reject, pass or fail, or rework or not. | ||
| Beta | continuous | yes | yes | A value between a minimum and a maximum with a flexible shape, such as a fraction, a proportion or a bounded time. |
| Binomial | special | Count of successes (for example defective parts) in a fixed number of independent trials. | ||
| BoundedNormal | special | yes | Bell-shaped variation around an average, cut off at a minimum and a maximum so a time cannot go negative or beyond a physical limit. | |
| Cauchy | special | Very heavy-tailed values with frequent extreme outliers in both directions; rarely right for times, and it often returns negative values. | ||
| ChiSquare | special | Statistical diagnostics and sums of squared normal variations; rarely used for simulation times. | ||
| Constant | continuous | yes | yes | A fixed duration that never varies, for a deterministic service time, transit time or interval. |
| CustomExpression | continuous | yes | yes | Any model expression, for example '2 + EXPO(3)', when no single distribution fits. |
| DiscreteUniform | special | yes | A whole number between a minimum and a maximum, each equally likely, such as a random lot size from 1 to 6. | |
| EmpiricalContinuous | continuous | yes | yes | Measured data as a histogram: a bin is picked by its weight, then a value is drawn evenly within it (a continuous draw, not a resample of points). |
| EmpiricalDiscrete | discrete | yes | yes | Whole-number values with their own measured probabilities, such as order sizes or the number of items per job. |
| Erlang | continuous | yes | yes | Time to finish k exponential steps in a row, giving a service time less variable than exponential but still random. |
| Exponential | continuous | yes | yes | Time between random independent arrivals, or time to a random breakdown, when past events do not change the next one. |
| FixedSchedule | continuous | yes | Exact listed times, for arrivals or events that follow a fixed timetable such as a roster or a delivery plan; an optional jitter shifts each arrival at random and keeps their order. | |
| Gamma | continuous | yes | yes | Right-skewed service or processing times that cannot go below zero, from very regular to very variable. |
| Geometric | special | Number of attempts until the first success, such as tries before a part passes inspection. | ||
| Hypergeometric | special | Successes in a sample drawn without replacement from a finite lot, such as defectives found when inspecting a sample. | ||
| InverseGaussian | continuous | yes | yes | Right-skewed positive times such as a reaction or decision delay, or the time for a drifting quantity to reach a level. |
| JohnsonSB | special | A skewed value that stays between a minimum and a maximum, such as a yield or fill percentage. | ||
| JohnsonSU | special | A flexible fit for skewed, heavy-tailed data when no simple distribution matches; it can return negative values. | ||
| LogLogistic | continuous | yes | yes | Right-skewed durations with a heavier tail than lognormal, such as repair or lifetime data that cannot go below zero. |
| Lognormal | continuous | yes | yes | Right-skewed times that cannot go below zero, such as manual handling, picking or repair durations with an occasional long one. |
| NegativeBinomial | special | Number of failures before a set number of successes, each try with the same chance of success, such as rejected parts before r good ones. | ||
| Normal | special | Symmetric variation around an average, such as a cycle time that is rarely far from the mean; it can go negative unless the mean is much larger than the spread. | ||
| PearsonTypeV | continuous | yes | Right-skewed positive delays or times to failure with a long tail, an alternative to lognormal. | |
| PearsonTypeVI | continuous | yes | A ratio of two gamma variables, such as cost per service, that is always positive; it can model times when the parameters suit. | |
| Poisson | discrete | yes | yes | Counts per period, such as the number of arrivals or events in a fixed time window. |
| Rayleigh | continuous | yes | yes | A positive magnitude such as movement noise or a positioning error, with a single scale parameter. |
| Triangular | continuous | yes | yes | Min, most likely and max are known, usually from expert estimates when there is no data. |
| Uniform | continuous | yes | yes | Any value between a minimum and a maximum is equally likely; use it when only the min and max are known. |
| Weibull | continuous | yes | yes | Equipment lifetimes and time to failure, where the breakdown rate can rise with age (wear-out) or fall (early failures). |