- Introduced by
- Walter A. Shewhart (SPC foundations); simulation integration developed through industrial engineering literature from the 1980s onward
- Year
- 1980s–present
- Type
- Hybrid quantitative method
- Family
- Engineering methods
What does it do?
Simulation-assisted statistical process control (SA-SPC) combines computer simulation — typically Monte Carlo or discrete-event simulation — with classical SPC methods to design, test, and calibrate control charts and monitoring schemes before or alongside deployment on a real production process.
Rather than relying solely on closed-form analytical assumptions, SA-SPC uses simulated data to evaluate chart performance under realistic, often non-normal process conditions.
The intuition behind the method
Imagine you want to set up a control chart for a manufacturing line but suspect your process data are skewed and may not follow the normal distribution assumed by standard Shewhart charts. Instead of guessing the right control limits and hoping for the best, you build a computer model of the process, run thousands of simulated production cycles, and test whether candidate SPC schemes catch real shifts quickly while keeping false alarms low. Simulation acts as a virtual laboratory: you can inject process shifts, non-normalities, or autocorrelation to see exactly how your chart behaves before a single real part is monitored.
History
Statistical process control was founded by Walter Shewhart at Bell Laboratories in the 1920s and extended by W. Edwards Deming and others. Page (1954) introduced the CUSUM chart. Later research on EWMA charts extended the analytical framework. Since the growth of computing power in the 1980s and 1990s, simulation has been increasingly used to evaluate SPC performance under non-normal distributions and parameter estimation effects. Jensen et al. (2006) reviews how parameter estimation affects control chart properties.
When to use it
Use SA-SPC when standard analytical SPC assumptions are unlikely to hold: non-normal process distributions, small Phase I sample sizes causing parameter estimation uncertainty, autocorrelated observations, or complex multi-stage processes where closed-form ARL expressions do not exist. In SPC, Phase I is the retrospective analysis of baseline data used to estimate parameters and set limits, and Phase II is the prospective monitoring of new data against those limits. SA-SPC is also the right choice when designing a novel chart type or comparing competing schemes before committing to a monitoring strategy. Do NOT use SA-SPC as a substitute for collecting sufficient real process data — simulation calibrates the scheme but cannot replace Phase I baseline data from the actual process. Avoid when the process is well-characterised, truly normal, and standard Shewhart chart analytical limits are known to be adequate.
Limitations and considerations
- Quality of results depends entirely on the accuracy of the input simulation model; a poorly fitted process model yields misleading ARL estimates.
- Computationally intensive: the Monte Carlo error of an ARL estimate decreases only with the square root of the number of replications, so tighter precision across many scenarios quickly becomes costly.
- Requires statistical and simulation modelling expertise beyond standard SPC practice.
- Simulation results may not transfer to the real process if the process changes after the simulation study was conducted.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Evaluates SPC scheme performance under realistic non-normal, autocorrelated, or multivariate process conditions where analytical ARL expressions do not exist, provided the fitted input model (including any correlation structure) is validated against process data.
- Allows direct comparison of multiple chart designs (Shewhart, CUSUM, EWMA) on equal footing before deployment.
- Quantifies the impact of parameter estimation error — a known weakness of standard Phase II charts — by simulating estimation from small Phase I samples.
- Can model complex multi-stage or batch manufacturing processes that resist closed-form analysis.
- Produces empirical ARL distributions rather than just point estimates, giving a fuller picture of chart performance variability.
Applications
- Designing CUSUM or EWMA control limits for semiconductor manufacturing processes where measurements are autocorrelated or skewed.
- Evaluating multivariate T-squared charts for pharmaceutical batch processes with correlated quality attributes.
- Calibrating control charts for short-run manufacturing where Phase I sample sizes are too small for reliable parameter estimation.
- Comparing detection power of competing chart types for a production line where gradual drift, rather than step shifts, is the expected type of change.
- Assessing the robustness of monitoring schemes for count-type data, such as infection counts, to non-normality before deployment.
- Training quality engineers by running simulated process scenarios to practise chart interpretation and response without disrupting real production.
How it works
How it works
The process to be monitored is characterised using historical data or engineering knowledge: the distribution of the quality characteristic (mean, variance, distributional shape), the expected magnitude and type of assignable causes (shifts, drifts, spikes), and any known autocorrelation structure. This information forms the input model for the simulation.
A stochastic simulation model of the process is constructed — commonly using Monte Carlo sampling from the fitted input distributions or discrete-event simulation for complex multi-stage systems. The model can generate synthetic batches of process observations under both in-control and out-of-control scenarios, including parameter shifts of specified magnitudes.
One or more candidate SPC schemes are specified: chart type (Shewhart X-bar/R, CUSUM, EWMA, multivariate T-squared), sample size, sampling frequency, and control limits. Simulation is then used to estimate performance metrics — most critically the Average Run Length (ARL) under in-control (ARL0) and out-of-control (ARL1) conditions — which quantify false-alarm rates and detection speed. The ARL is the expected run length RL, the number of samples taken until the first out-of-control signal; ARL0 is the ARL under in-control conditions and ARL1 the ARL under a specified shift.
Thousands of simulation runs are executed for each candidate scheme. The empirical ARL distribution, false-alarm rate, and detection power are computed and compared against design targets (e.g., ARL0 = 370 for a 3-sigma Shewhart chart on individually normal in-control observations with known parameters; under non-normal or estimated-parameter conditions the simulated ARL0 can differ from this value). The Monte Carlo standard error of each estimated ARL is approximately s_RL/√n, where s_RL is the standard deviation of the simulated run lengths and n is the number of replications. Sensitivity analyses vary process parameters to assess scheme robustness to distributional misspecification or estimation error.
The scheme with the best balance of ARL0, ARL1, and robustness is selected and its control limits are fine-tuned — if necessary recalculated to meet target ARLs under the simulated realistic conditions rather than theoretical normal-distribution assumptions. The calibrated scheme is then deployed on the actual process, with performance validated against the simulation predictions.
Common pitfalls
- Underestimating Monte Carlo error: ARL estimates from too few simulation runs have wide confidence intervals; report and control simulation standard error explicitly.
- Fitting the input model to insufficient historical data — if Phase I data are sparse, the simulated process may not represent reality, defeating the purpose of the exercise.
- Ignoring estimation uncertainty: calibrating control limits assuming perfectly known parameters but deploying with estimated parameters leads to ARL0 far below the design target (excessive false alarms).
- Treating simulation output as ground truth without validating the simulation model against real process observations before deployment.
- Confusing simulation-assisted design with real-time simulation monitoring — SA-SPC is a design and calibration tool, not a replacement for real-time control charting on actual production data.
Frequently asked questions
How many simulation replications are enough to estimate ARL reliably?
There is no universal number; choose the replication count from the precision you need. The Monte Carlo standard error of an estimated ARL is approximately s_RL/√n, where n is the number of replications and s_RL is the standard deviation of the simulated run lengths. For a geometric-like run length, s_RL is roughly equal to the mean, so the coefficient of variation of the estimate is about 1/√n. Because the error shrinks only with the square root of n, halving the error requires about four times as many runs. Always report the simulation standard error alongside the ARL estimate.
Can SA-SPC be used for multivariate processes?
Yes — this is one of its main strengths. Analytical ARL expressions for multivariate charts such as Hotelling's T-squared are complex and often intractable under non-normality or estimation error. Simulation allows practical evaluation of multivariate chart performance by generating correlated multivariate observations from the fitted process distribution. Results depend on the fitted correlation structure, so validate that structure against Phase I data before trusting multivariate ARL estimates.
What software is typically used?
R (particularly the spc, MSQC, and qcc packages), Python, MATLAB, and Arena or Simio for discrete-event simulation are all commonly used. For Monte Carlo ARL estimation, purpose-built R scripts using random-number generation from fitted distributions are the most common research-grade approach.
Is SA-SPC the same as using software to draw control charts?
No. Drawing control charts in software such as Minitab or SPC software simply applies standard formulae to real data. SA-SPC specifically means using stochastic simulation to design, evaluate, and calibrate the monitoring scheme — typically before or in parallel with real deployment — rather than mechanically applying a standard chart.
When should I prefer analytical ARL formulas over simulation?
Prefer analytical solutions when the process is well-characterised as normal and sample sizes are large enough that parameter estimation error is negligible. Analytical solutions are exact and require no computational effort. SA-SPC adds value specifically when these conditions break down — non-normality, small samples, autocorrelation, or novel chart designs lacking closed-form solutions.
Related methods
Sources
Montgomery, D. C. (2009). Introduction to Statistical Quality Control (6th ed.). Wiley.
ISBN: 978-0470169926Jensen, W. A., Jones-Farmer, L. A., Champ, C. W., & Woodall, W. H. (2006). Effects of parameter estimation on control chart properties: A literature review. Journal of Quality Technology, 38(4), 349–364.
Open publication reference