Balloon inflation digital twin

Gent hyperelastic membrane core, calibrated on 28 independent inflation-to-burst runs (42,546 samples at 25 Hz). Mechanistic for pressure, empirical for humidity and temperature.

The research paper behind this twin. Pressure, humidity and thermal dynamics of repeated balloon inflation to rupture: 28 breath-driven runs recorded at 25 Hz with a multi-parameter sensor, analysed in full. 19 pages, August 2026.
Read the paper (PDF)

Twin parameters

Loads that run's fitted parameters and overlays its measured trace.

2μt₀/r₀, shear modulus × wall thickness / unstretched radius. Scales the whole pressure curve.
Where the rubber chains lock up. Calibrated globally at 91.4 from the dimensionless peak/dip ratio, move it only to explore.
Volume units of V₀ delivered per secondp.
p < 1 means the operator slows down as the balloon gets harder. Median fitted value 0.68.
Failure stretch. Lock-up is at λ = ; the balloon fails before reaching it.
Superimposed puff amplitude, kPa. Real puffs are ~0.1 to 0.3 kPa, near the 0.1 kPa instrument step.

Simulated inflation

twin measured run burst lock-up asymptote
Burst pressure
…
kPa gauge
Time to burst
…
seconds
Initial peak
…
kPa gauge
Volume at burst
…
× V₀
Burst diameter
…
cm (if r₀=2.3cm)
Air delivered
…
litres (model)

Pressure-stretch characteristic

The twin's state trajectory rides along this curve from left to right. The peak at λ ≈ 1.4 is why the first breath is hardest; the vertical asymptote is chain lock-up.

State observer

Drag to inspect any instant of the simulated run.

Stretch λ
…
r/r₀
Volume
…
× V₀
Gauge pressure
…
kPa
Progress to burst
…
% of burst volume
Margin to lock-up
…
% of λlock
Time remaining
…
s (twin estimate)

What this twin can and cannot do

It describes well. Fitted to whole pressure trajectories, roughly 1,000 samples per run against 3 free parameters, the Gent core reaches a median R² of 0.86. This is an over-determined test the model could have failed, and largely did not.
It does not predict burst pressure. Under leave-one-run-out validation the physics predictor is 41% worse than simply guessing the training mean. The reason is visible in one number: the correlation between the initial peak pressure and the eventual burst pressure is r = 0.075. The first breath carries essentially no information about when the balloon will fail.
Why that is the expected answer, not a bug. Rubber rupture is nucleated at material flaws whose size and location are set during manufacture. Nothing in the early inflation observes those flaws, so no model, however sophisticated, can read burst pressure off the first few seconds. A twin that claimed otherwise would be overfitting.

Leave-one-run-out: burst pressure

Calibrate on 27 runs, predict the held-out 28th, rotate through all runs.

PredictorMAE (kPa)RMSE (kPa)Skill vs baseline
Baseline: training mean, ignores the trace0.7070.890n/a
Least squares on initial peak0.7290.918−3.0%
Physics twin (stiffness from peak → burst stretch)1.0001.216−41.3%

Negative skill means worse than the baseline. The twin loses because it propagates a stiffness estimate that is uncorrelated with the outcome, adding variance for nothing.

Leave-one-run-out: time remaining until burst

Fair baseline: mean training duration minus elapsed time, it knows only the clock, as a live system would.

Trace observedTrue remainingTwin MAEBaseline MAESkill
First 25%30.8 s22.2 s13.3 s−66.5%
First 50%20.5 s16.4 s13.3 s−22.9%
First 75%10.3 s8.4 s12.0 s+29.6%
The one place the twin earns its keep. Once three quarters of the inflation has been observed, tracking the volume state beats the clock by 30%. This is exactly where the physics says information should appear: near lock-up the pressure curve steepens, so pressure finally becomes diagnostic of stretch. Early on it is nearly flat and tells you little.

Uncertainty is trustworthy even when the point estimate is not

Nominal intervalEmpirical coverageMean width (kPa)
50%46.4%1.14
80%75.0%1.97
90%82.1%2.73

Coverage sits slightly below nominal, intervals are a little too narrow, as expected when the spread is estimated from only 27 runs. Usable, with that caveat.

Two claims I tested and withdrew

Withdrawn: "balloons fail at a highly consistent stretch." The calibration gives burst stretch a CV of 3.6% against 17.4% for burst pressure, which looks like a discovery. It is mostly geometry. Feeding pressures spanning a range 3× wider than observed through the same inverse map still yields only a 7.4% stretch spread, because the curve is near-vertical there. The tight stretch is a reparameterisation of the pressure data, not independent evidence.
Withdrawn: the exponential thermal model. Its fitted time constant hit the 600 s bound in 18 of 28 runs, an order of magnitude beyond the ~40 s observation window, so it is unidentifiable and degenerates to a straight line. AIC preferred a plain linear warming model in those same 18 runs. The twin now uses one slope parameter instead of three.

A structural trap worth naming

My first calibration fitted two parameters (stiffness and burst stretch) to two observations (initial peak and burst pressure) per run. That is a saturated fit: it cannot fail to match the data and it cannot predict anything. It produced beautiful numbers and zero information. The trajectory fit reported above replaces it, 3 parameters against ~1,000 samples, precisely so the model is exposed to falsification.

Mechanical core: mechanistic

Gent hyperelastic spherical membrane. The Gent form adds a finite chain-extensibility limit to the neo-Hookean model, which is what produces the steep terminal stiffening a real balloon shows.

P(λ) = k · (λ−1 − λ−7) / (1 − I(λ)/Jm)
I(λ) = 2λ² + λ−4 − 3    V/V₀ = λ³    λ = r/r₀
  • k: lumped stiffness 2μt₀/r₀, in kPa. Median fitted 7.34, IQR 6.52 to 8.24.
  • Jm: extensibility limit, fixed globally at 91.4 from the dimensionless peak/dip pressure ratio, which is independent of stiffness. Lock-up follows at λ = 6.87.
  • Pressure peaks at λ = 1.40 and dips at λ = 3.97, the "first breath is hardest" effect.
Why not Mooney-Rivlin. The standard two-parameter rubber model was tried first and rejected: to reach the observed burst pressure it demanded λ ≈ 29, a 24,000-fold volume expansion. Its terminal stiffening is too gentle to produce a shallow dip and a steep rise at once.

Delivery kinematics: semi-empirical

V(t)/V₀ = 1 + q tp    λ(t) = (V/V₀)1/3

A constant-rate assumption (p = 1) gives median R² 0.741. Allowing p to vary lifts it to 0.865, with p median 0.68, the operator slows as the balloon stiffens, which is physically sensible. Most of the original misfit was this kinematic assumption, not the material model.

Humidity: empirical

RH(t) = RH∞ + (RH₀ − RH∞) e−t/τ

First-order approach to a plateau. Median R² 0.984, τ median 47 s. Labelled empirical because no mass-transfer model was derived: the sensor's position relative to the balloon interior is unrecorded, and the observed plateau falls short of saturation for reasons the data cannot resolve.

Temperature: empirical, deliberately minimal

T(t) = T₀ + s t    s median = 0.019 °C/s

One slope. A three-parameter exponential was fitted, found unidentifiable in a 40-second window, and discarded, see the validation tab.

A geometric check the model was not designed to pass

Calibration puts burst at λ = 6.16 from pressure ratios alone, knowing nothing about balloon sizes. If the uninflated balloon's effective radius is r₀ ≈ 2.3 cm, that gives a burst diameter of 28 cm: a standard 11-inch party balloon, failing right where real ones do. This number could easily have come out at 3 cm or 3 metres.

Still not lung capacity. The twin reports an air volume, but that figure scales with the cube of an assumed r₀ that was never measured. Measure the burst circumference with a paper tape and the volume becomes real; until then it is a model output, not a measurement. And a delivered air volume is still not a vital capacity.