Compost-bomb instability

r_compost_bomb · tipbox.models.CompostBomb

Usage

from tipbox.models import CompostBomb

model = CompostBomb()
result = model.make_trajectory(num_samples=2001, noise=0.01, seed=45)  # Selected tipping realization.
carbon, temperature = result.trajectory.T

control = model.make_trajectory(num_samples=2001, noise=0.01, seed=43, null_simulation=True)
Soil temperature for tipping and control. The dashed line marks the threshold-crossing time.

Soil temperature for tipping and control. The dashed line marks the threshold-crossing time.

Equations and forcing

Soil carbon \(C\) and soil temperature \(T\) follow

\[\begin{split}dC &= [\Pi-C\rho(T)]dt,\\ dT &= \frac{AC\rho(T)-\lambda(T-T_a(t))}{\mu}dt +D_3\eta\,dW_t,\\ \rho(T)&=r_0\exp[\alpha(T-T_{\rm ref})],\qquad T_a(t)=vt.\end{split}\]

Time is in years and temperatures are in degrees Celsius. The null schedule multiplies v by null_rate_factor. The integration updates carbon first, projects it to nonnegative values, and uses the updated carbon in the same step’s temperature drift. Noise acts directly on temperature after division of the deterministic heat balance by \(\mu\).

Initial carbon and temperature are independently sampled from the configured uniform interval; its default zero-width interval sets both to zero. The transition marker is the first soil-temperature crossing of tip_threshold.

Parameters and defaults

Parameter

Default

Units

Meaning

v

0.15

degC / year

Linear air-temperature forcing rate.

D3

50

degC / sqrt(year)

Temperature diffusion prefactor applied after the deterministic heat-capacity division.

Pi

1.055

kg / m^2 / year

Soil-carbon input from litterfall.

r0

0.01

1 / year

Respiration rate at the reference temperature.

alpha

0.091629073

1 / degC

Exponential temperature sensitivity of respiration.

mu

2500000

J / m^2 / degC

Soil heat capacity per surface area.

A

39000000

J / kg

Heat released per unit carbon respired.

lambda_param

5049000

J / year / m^2 / degC

Soil-to-air heat-transfer coefficient.

null_rate_factor

0.95

dimensionless

Multiplier applied to the forcing rate for null simulations.

dt

0.05

year

Default integration step.

t_start

0

year

Simulation start time.

t_end

100

year

End time when make_trajectory is called without num_samples; explicit num_samples sets the end time.

initial_state_min

0

state

Lower bound for the default uniform initial-state sampler.

initial_state_max

0

state

Upper bound for the default uniform initial-state sampler.

T_ref

0

degC

Reference soil temperature for respiration.

tip_threshold

30

degC

Soil-temperature threshold used by the tipping classifier.

References: Luke and Cox (2011) and Wieczorek et al. (2011).