Why did my simple model blow up?

October 16, 2026

Kay and Jo run a model that should decay and watch it grow instead. The strip is below, and the steps to reproduce it in Konjugate are under it.

Why did my simple model blow up? Four panels. Kay, a round teal character, and Jo, a dry blue one, are joined by a dotted line. Step 1, the model. A card reads: the value decays at a rate of 2.5, with a step of 1 second, starting at 10. Kay says: It is just decay. It should shrink. Jo says: At a one second step? Check the product. Step 2, before the run. A card reads: stability check, amplification factor 1.5, which is above 1. Kay says: A warning, and I have not run it. Jo says: 1.5 per step. It will grow. Step 3, the run. A chart of the value swings between positive and negative and grows to 576.650 by 10 seconds. Kay says: 577? From 10? Jo says: The sign flips and it grows 1.5×. Step 4, the fix. A card reads: the same run with more substeps ends at 5.0 times ten to the power of minus 11. Kay asks: So what fixes it? Jo says: A smaller step. 32 substeps, not 2. Copyright © 2026 Zenin Easa Panthakkalakath. konjugate.com Why did my simple model blow up? Kay and Jo meet a step that is too big. Numerical stability in Konjugate. It is just decay. It should shrink. At a one second step? Check the product. A warning, and I have not run it. 1.5 per step. It will grow. 577? From 10? The sign flips and it grows 1.5×. So what fixes it? A smaller step. 32 substeps, not 2. A tiny invented model, checked by hand. Not a real system. © 2026 Zenin Easa Panthakkalakath Konjugate konjugate.com
Kay and Jo, on a one-node decay model.
Transcript

Four panels. Kay, a round teal character, and Jo, a dry blue one, are joined by a dotted line. Step 1, the model. A card reads: the value decays at a rate of 2.5, with a step of 1 second, starting at 10. Kay says: It is just decay. It should shrink. Jo says: At a one second step? Check the product. Step 2, before the run. A card reads: stability check, amplification factor 1.5, which is above 1. Kay says: A warning, and I have not run it. Jo says: 1.5 per step. It will grow. Step 3, the run. A chart of the value swings between positive and negative and grows to 576.650 by 10 seconds. Kay says: 577? From 10? Jo says: The sign flips and it grows 1.5×. Step 4, the fix. A card reads: the same run with more substeps ends at 5.0 times ten to the power of minus 11. Kay asks: So what fixes it? Jo says: A smaller step. 32 substeps, not 2.

What just happened

A node decays: its value falls at a rate times its value, with a rate of 2.5. Konjugate's solver is Explicit Euler with a fixed step, and that method is only stable if the rate times the step is no more than 2. Here it is 2.5. Each step multiplies the value by 1.5 and flips its sign, so 10 becomes −15, then 22.5, and by 10 seconds the value is 576.650. The model never contradicted itself. It simply used a step that was too big for its own dynamics.

Konjugate says so before the run. The validation panel shows an amplification factor of 1.5 above 1, names the parameter that drives it and suggests at least 2 substeps. Two substeps stops the run from diverging, but the convergence check asks for more: it re-runs the node at doubled substep counts and settles on 32. With that, the same 10 seconds ends at 5.0 × 10⁻¹¹, close to the true decay.

Reproduce it in Konjugate

  1. Add a node with one state, Value, starting at 10. Add a source term to it with one parameter, Rate (2.5), and the equation -rate \cdot value.
  2. Open the run settings and set the global time step and the output interval to 1 second.
  3. Open the validation panel. The stability warning is already there.
The validation panel showing a numerical-stability warning with the amplification factor
The warning names the factor, the parameter behind it and a substep count to fix it.
  1. Run for 10 seconds. The value ends at 576.650.
The completed run, with the value grown to 576.650
The node now carries a warning badge, and a Stability button has appeared in the toolbar.
  1. Open the Stability findings and press Check convergence. It reports 32 substeps.
The stability findings panel
Cheap growth checks catch the problem during the run. The convergence check is the stronger test.
The convergence check, converged at 32 substeps
Converged at 32 substeps (currently 1).
  1. Press Apply: 32 substeps and run again.
The re-run, with the value settled near zero
The same run ends at 5.0 × 10⁻¹¹, with no stability findings.

What this does and does not say

The model is invented and tiny, and the figures were read from the runs described above on 2026-10-16. The point is not the number 576.650. It is that a model can be correct and still give nonsense when its step is too big for its own speed, and that Konjugate checks for this before and during a run. A stable run is not automatically an accurate one: the convergence check is how you tell the two apart.

Go deeper

Follow Konjugate on LinkedIn for updates, or subscribe via RSS.

Comments