How the Simulation Engine Works
Understand the mechanics behind ProcessMind's discrete event simulation engine and how it models your process.
In the real world, processes exhibit variation. One customer service call takes 5 minutes, another takes 25 minutes. One day brings 50 orders, the next brings 120. This natural variability is a fundamental characteristic of business processes.
Fixed values (like “every activity takes exactly 10 minutes”) create unrealistic simulations. Distributions capture variability mathematically, producing simulations that behave like real processes.
Consider two scenarios for a task that averages 10 minutes:
| Scenario | Distribution | Effect on Simulation |
|---|---|---|
| Fixed 10 min | No variation | Unrealistic queuing, predictable patterns |
| Normal (mean=10, stdDev=3) | Realistic variation | Natural queuing behavior, realistic delays |
The second scenario better represents reality—some tasks are quick, some take longer, and this variation creates the queuing effects you see in real processes.
ProcessMind provides eight distribution types to model different kinds of variation:
| Distribution | Best For | Key Parameters |
|---|---|---|
| Fixed | Constant, unchanging values | value |
| Normal | Symmetric variation around average | mean, stdDev |
| Uniform | Equal probability within a range | min, max |
| Triangular | Range with a most likely value | min, mode, max |
| Poisson | Random event arrivals | lambda, rateUnit |
| Lognormal | Right-skewed (usually quick, sometimes long) | mean, stdDev |
| Weibull | Reliability and failure analysis | scale, shape |
| Pearson VI | Complex skewed patterns | alpha1, alpha2, beta |
The simplest distribution—always returns the same value.
| Parameter | Description |
|---|---|
| value | The constant value to return |
A system-generated email always sends in exactly 5 seconds.
The familiar “bell curve”—values cluster symmetrically around an average, with decreasing probability as you move away from the center.
| Parameter | Description |
|---|---|
| mean | The average value (center of the curve) |
| stdDev | Standard deviation (spread of values) |
A data entry task averages 5 minutes with standard deviation of 1 minute:
Every value within a range is equally likely—a flat probability distribution.
| Parameter | Description |
|---|---|
| min | Minimum possible value |
| max | Maximum possible value |
An approval takes somewhere between 2 and 8 minutes, with no information about what’s typical. All durations in this range are equally likely.
A simple distribution with minimum, maximum, and most likely (mode) values—forming a triangle shape.
| Parameter | Description |
|---|---|
| min | Minimum possible value |
| mode | Most likely value (peak of triangle) |
| max | Maximum possible value |
An invoice review:
Most reviews cluster around 5 minutes, with a tail toward 15 for complex invoices.
Expert Estimation
The triangular distribution maps perfectly to expert estimates. Ask: “Best case time? Typical time? Worst case time?” You’ll get min, mode, and max directly.
Models the number of events occurring in a fixed time period—ideal for arrival processes.
| Parameter | Description |
|---|---|
| lambda | Average rate of events |
| rateUnit | Time unit for the rate (perHour, perDay, perWeek, perMonth, perYear) |
Lambda=20, rateUnit=perDay models ~20 cases arriving per day. Some days might see 15, others 25—the natural variation of random arrivals.
Right-skewed distribution where most values are small, but occasional large values occur. The logarithm of the values follows a normal distribution.
| Parameter | Description |
|---|---|
| mean | Mean of the underlying normal distribution |
| stdDev | Standard deviation of the underlying normal distribution |
Technical support tickets:
The lognormal captures this “usually quick, sometimes very long” pattern.
A flexible distribution commonly used in reliability engineering and failure analysis.
| Parameter | Description |
|---|---|
| scale | Scale parameter (characteristic life) |
| shape | Shape parameter (determines distribution form) |
| Shape Value | Distribution Behavior |
|---|---|
| shape below 1 | Decreasing failure rate (infant mortality) |
| shape = 1 | Constant failure rate (exponential distribution) |
| shape above 1 | Increasing failure rate (wear-out) |
An advanced distribution for complex skewed patterns that don’t fit simpler models.
| Parameter | Description |
|---|---|
| alpha1 | First shape parameter |
| alpha2 | Second shape parameter |
| beta | Scale parameter |
| Your Situation | Recommended Distribution |
|---|---|
| Times vary symmetrically around an average | Normal |
| You only know the range (min to max) | Uniform |
| You know typical, best case, and worst case | Triangular |
| Usually quick, sometimes much longer | Lognormal |
| Time is constant (rare) | Fixed |
| Your Situation | Recommended Distribution |
|---|---|
| Random, independent arrivals | Poisson |
| Arrivals at a constant rate | Fixed |
Begin with Normal or Triangular distributions. They’re easy to understand and parameterize, and often work well enough. Add complexity only if needed.
Subject matter experts can provide excellent estimates:
If you have historical data:
Real processes often have outliers. Lognormal and Weibull can capture these better than Normal or Triangular.