Simulation-Assisted Full Factorial Design — Exploring All Factor Combinations via Computer Simulation

Research
Introduced by
Montgomery (DOE foundations); Kleijnen (simulation DOE formalization)
Year
1990s–2000s (simulation-DOE integration formalized)
Type
Experimental design with computer simulation
Family
Engineering methods

What does it do?

Simulation-assisted full factorial design runs a full factorial experimental grid inside a computer simulation model instead of on a physical system.

Every combination of factor levels is executed in the simulator and the responses are analysed with standard factorial methods, including main effects and interactions. It suits systems where physical trials would be costly, hazardous, or infeasible.

The intuition behind the method

A conventional full factorial experiment runs every combination of factor settings on the real system and measures the outcome. In the simulation-assisted version, a computer model takes the place of the physical system, and the same structured grid of factor combinations is executed inside it. The analysis is the same as for a physical full factorial, so main effects and interactions can be estimated for every factor combination. The main changes are practical: runs need no materials, extreme or hazardous conditions can be tested, and replications are usually cheaper. Whether the conclusions hold depends on how well the simulator represents the real system, so the model must be checked before its results are trusted.

History

Full factorial designs and their analysis are standard topics in general design-of-experiments texts. The formal treatment of simulation experiments as a statistical topic is associated with Kleijnen, whose Design and Analysis of Simulation Experiments (2015) is the main reference for this method.

When to use it

Choose simulation-assisted full factorial design when physical experimentation is too costly, slow, or hazardous to run every factor combination; when a validated simulation model of the system exists or can be built; and when all main effects and interactions must be estimable without aliasing, which is the main advantage over fractional designs. Aliasing-free estimation does not guarantee precise estimation, however: for a stochastic simulator, interaction effects need enough replications per cell to be detected with reasonable power. The number of factors should be moderate, typically 2–5, so that the run count stays manageable. Do not use it when no validated simulation model is available, because unvalidated results can mislead regardless of the statistical analysis. Avoid it when the number of factors is large; a fractional factorial or response surface design will limit the number of runs.

Limitations and considerations

  • Requires a validated simulation model, and building and validating that model can be resource-intensive.
  • The number of runs grows as L^k with the number of factors k and levels L, which quickly becomes impractical for many factors.
  • Conclusions are only as reliable as the simulation model; assumptions and simplifications in the model carry through to every estimated effect.
  • A stochastic simulator needs several replications per cell, which multiplies total computation time.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Estimates all main effects and all interaction effects without aliasing or confounding, which fractional designs cannot do.
  • Replaces physical runs with simulation runs, so material, equipment, and safety costs of each condition are avoided.
  • Allows conditions that are extreme, hazardous, or impossible to create physically to be included in the design.
  • Replications are usually inexpensive in simulation, which makes within-cell variance easier to estimate.
  • The complete factorial data set supports ANOVA and regression, and can be followed by response surface analysis.

Applications

  • Manufacturing process optimization: evaluating all combinations of machine speed, temperature, and feed rate in a finite element simulation of a machining process.
  • Logistics and supply chain: systematically varying warehouse layout, batch size, and staffing levels in a discrete-event simulation to identify throughput drivers.
  • Healthcare operations: testing all combinations of patient arrival rates, staff allocation, and triage protocols in a hospital simulation model.
  • Product reliability engineering: exploring all combinations of material grade, geometry, and load conditions in a structural simulation to map failure modes.
  • Network and IT systems: testing all combinations of traffic volume, packet size, and routing protocol in a network simulation to identify bottlenecks.

How it works

How it works

1

Identify the experimental factors (input variables) and the levels of each. In a full factorial design every factor is run at every level. With k factors each at L levels, the number of simulation runs is L^k. Factors must be inputs that the simulation model accepts, such as process parameters, design variables, resource quantities, or environmental conditions.

2

Develop or obtain a simulation model and validate it against historical data or pilot physical runs before using it in place of physical experiments. The model's ability to reproduce the real system's behaviour determines whether factorial results can be interpreted. The number of replications per cell depends on how much stochastic variation the simulator produces.

3

Execute every treatment combination in the design within the simulation environment. For a stochastic simulator, run several replications per cell so that within-cell variance can be estimated, and give each replication its own independent random-number stream so that replications are not correlated. If cells are to be compared, common random numbers can reduce the variance of the differences between them, provided the seed assignment is applied deliberately and documented. For models of steady-state behaviour, discard an initial warm-up period before recording responses so that start-up transients do not bias the cell means. For terminating-horizon models, the run length is set by the system's natural end condition and no warm-up is applied. Record the random-number seeds, run length, and warm-up settings for every run so that the experiment can be reproduced. Record the response for every run.

4

Analyse the results with standard factorial methods: main effects, interaction effects, and ANOVA identify which factors and interactions influence the response. In the notation ME_i = ȳ_{i+} − ȳ_{i−}, the subscripts + and − denote the high and low levels of factor i, so the main effect is the difference between the mean responses at those two levels. This formula applies directly to two-level factors; for factors with more than two levels, the single difference must be replaced by comparisons across levels. ANOVA assumes approximately normal residuals with constant variance across cells. Simulation output is often skewed or discrete, and its variance may change with factor settings, so inspect residual plots before relying on ANOVA p-values. If the assumptions fail, transform the response, use a generalised linear model, or apply a nonparametric comparison, and read the p-values as approximate. Effect plots, interaction plots, and Pareto charts of effects support interpretation.

Formula
ME_i = (\bar{y}_{i+} - \bar{y}_{i-})
5

Compare a subset of simulation outputs with physical experiments or analytical benchmarks to check that the model predicts the real system with adequate accuracy. Sensitivity analysis can then show how changes in the model's assumptions affect the conclusions.

Common pitfalls

  • Using an unvalidated simulation model in place of physical data. The factorial analysis can be statistically correct and still mislead if the model does not represent the real system.
  • Adding factors or levels without checking the run count. A 3-factor, 3-level design has 3^3 = 27 cells, and each replicated cell multiplies the number of simulation runs for a stochastic simulator.
  • Assuming a deterministic simulator needs no replication. Even deterministic models can be numerically sensitive, so it is worth checking whether repeated runs of the same cell give different outputs.
  • Treating replications as extra factor levels. Replications estimate the noise within a cell; additional levels extend the design space to new factor settings.
  • Relying on ANOVA p-values for skewed, discrete, or heteroscedastic simulation output without checking residual plots first.
  • Reporting results without the random-number seeds, run length, and warm-up settings. Without them the runs cannot be reproduced, and start-up transients may bias the cell means.

Frequently asked questions

When should I use a full factorial simulation design rather than a fractional factorial simulation design?

Use a full factorial design when you need to estimate interactions among all factors and the total number of runs is still computationally feasible. Beyond about five factors the run count usually becomes large, and a fractional factorial design is more efficient. It gives up some interaction estimates through aliasing in exchange for far fewer runs.

How many replications do I need per cell in a stochastic simulation?

Use enough replications to estimate within-cell variance reliably. A preliminary set of replications per cell can be used to estimate that variance, and the final number can then be chosen with a power calculation for the effect size that matters and the significance level you have set. For a deterministic simulator, a single run per cell is often sufficient, but confirm this by checking repeated runs.

Does the simulation model need to be a perfect replica of the real system?

No, but it must be accurate enough for the purpose of the study. Compare model outputs with real system data under known conditions before trusting factorial results. Document the model's assumptions and check whether the conclusions remain unchanged under plausible variations of those assumptions.

Can I use simulation-assisted full factorial design with machine learning surrogate models?

Surrogate models are an extension of this approach rather than part of the basic method. When each simulation run is very expensive, a smaller set of runs can be used to fit a surrogate model, and the factorial grid is then evaluated on the surrogate. This saves computation but adds approximation error, so the surrogate must be checked against simulation output.

How do I handle factors with more than two levels?

A full factorial design can have any number of levels per factor, and the total number of runs is the product of the level counts. With three or more quantitative levels you can detect curved, nonlinear effects. With two levels per factor only linear effects can be estimated, so use at least three levels when curvature is suspected.

Related methods

Sources

  1. Montgomery, D. C. (2017). Design and Analysis of Experiments (9th ed.). Wiley.

    ISBN: 978-1119113478
  2. Kleijnen, J. P. C. (2015). Design and Analysis of Simulation Experiments (2nd ed.). Springer.

    ISBN: 978-3319185668