Insight

What Makes a Simulation Trustworthy?

A short methodological note on verification, validation, and the limits of what a simulation can show.

Methodological note2 min read

Established

Two questions are conventionally kept apart. Verification asks whether the equations are being solved correctly: is the code free of defects, and does the numerical error shrink as the step size or mesh is refined? Validation asks whether the right equations are being solved: do the model’s predictions agree with measurements of the real system, within a stated uncertainty?

For a numerical method of order p, the global error should scale roughly as h^p once the step size h is small enough. Halving h should therefore reduce the error of a first-order method such as explicit Euler by about a factor of two, and the error of the classical fourth-order Runge–Kutta method by about a factor of sixteen. Observing the expected rate in a refinement study is evidence that the implementation is correct, and failing to observe it is a warning sign.

Some methods also have qualitative failure modes. Explicit Euler applied to an undamped oscillator makes the energy grow with every step. That growth is a numerical artifact, not physics.

Interpretation

Trust seems to be a property of a simulation together with its intended use, not of the simulation alone. A model can be adequate for predicting a trend and inadequate for predicting a safety margin. Passing verification checks does not establish validity, because a perfectly solved wrong model is still wrong.

A trustworthy report therefore states its assumptions, its parameter values, the step sizes it tested, and the regime in which a comparison with reality has actually been made.

Open questions

  • How should model-form uncertainty, meaning the error that comes from the equations themselves, be quantified when no experimental data exist?
  • How large a gap between simulation and the real system is acceptable for a given decision, and who decides?
  • What is the most compact way to show readers a convergence study and its assumptions without burying them in detail?

← All insights

Search

Arrow keys move between results. Enter opens the first result.