Stellar Grove · Research

Stellar Grove · Concrete Mathematical Modelling

Which inputs matter most?

The lake clean-up time depends on five inputs. Which ones need measuring carefully?

Chapter 8 · Using a model: choice and estimation. A worked example rebuilt from the chapter's topic in Mike Mesterton-Gibbons, *A Concrete Approach to Mathematical Modelling*; the scenario and numbers are our own illustration, not the book's text.

Headline: Flow and volume matter one-for-one (elasticities -1.0 and +1.0). The target and the inflow level matter less today (-0.80, +0.13), but the inflow's influence grows 11-fold as it nears the target.

The problem

Chapter 1 gave the clean-up time T=(V/F)ln((c0−cin)/(c*−cin)). With the best estimates it is 6.23 years. Each input is uncertain. Where should the monitoring budget go?

Local sensitivity: elasticities

The elasticity of T to an input p is the percentage change in T per 1% change in p:

Ep=∂lnT∂lnp=pT∂T∂p

For this model they have closed forms. T is proportional to V/F, so EV=1 and EF=−1 exactly. The concentration inputs act through the logarithm:

Ecin=cinlnc0−cinc*−cin(1c*−cin−1c0−cin)

which grows without bound as cin→c*: when the inflow is nearly as dirty as the target, a small error in it changes the clean-up time enormously.

Results

InputBest estimateElasticityT at −20%T at +20%
flow F3-1.007.795.19
volume V12+1.004.997.48
target c*5-0.807.385.34
starting level c₀20+0.685.297.00
inflow level c_in1+0.136.086.40

A Monte Carlo run with realistic uncertainty (standard deviations 2, 0.3, 0.3 and 1.2 for c0,cin,F,V) gives a 95% range of 4.5–8.5 years around a median of 6.2.

Tornado diagram: clean-up time when each input is 20% lower or higher, the rest held fixed
Tornado diagram: clean-up time when each input is 20% lower or higher, the rest held fixed

Try it

Tornado explorer

Move the inflow level toward the 5 µg/L target and watch its bar take over.

Key findings

from books.concrete_mathematics import estimation as es, growth as g
base = {'c0': 20.0, 'c_target': 5.0, 'c_in': 1.0, 'flow': 3.0, 'volume': 12.0}
print({k: round(v, 2) for k, v in es.elasticities(g.lake_cleanup_time, base).items()})
print([(k, round(lo, 2), round(hi, 2)) for k, lo, hi in es.tornado(g.lake_cleanup_time, base)][:2])

# → {'c0': 0.68, 'c_target': -0.8, 'c_in': 0.13, 'flow': -1.0, 'volume': 1.0}
# → [('flow', 7.79, 5.19), ('volume', 4.99, 7.48)]

Assumptions and extensions