Monod CSTR activated sludge

ADVANTAGES1 · dim 3

SolvSRK wins. At the comparison noise level, SolvSRK beats the best baseline by at least 10 percentage points of survival, or by at least 0.05 balanced score when survival is tied. Use SolvSRK for this class of problem. All verdicts →

3-state substrate-biomass-product CSTR with Monod kinetics; diurnal influent forcing

Water treatment & environmental

Problem definition

Canonical benchmark implementation

Canonical RHS excerpt from the registered callable used for this benchmark cell. Expand it to verify the state equations; it is not a standalone runnable fixture.

Show canonical RHS excerpt
def rhs(t: float, y: np.ndarray) -> np.ndarray:
    S, X, P = max(y[0], 0.0), max(y[1], 0.0), max(y[2], 0.0)
    mu = mu_max * S / (K_s + S)
    dS = D * (S_in_t(t) - S) - mu * X / Y
    dX = (mu - k_d - D) * X
    dP = k_p * mu * X - D * P
    return np.array([dS, dX, dP])
Parameters
  • D = 0.15
  • K_s = 50
  • Y = 0.6
  • k_d = 0.05
  • k_p = 0.1
  • mu_max = 0.4
Initial condition
y(0) = [200, 1500, 5]
Horizon
t ∈ [0, 72]

Canonical RHS excerpt captured from the same registered callable used for the published benchmark. Frozen closure values are summarized below; helper imports and solver settings are intentionally omitted.

Fingerprint

Spread: low

Default noise: none

Recommendation snapshot

Clean best: Vern9

Noisy best: SolvSRK

Coverage

14 solver arms · clean + 5 noise levels

Ranked on survival, precision, and speed

Versions & freeze

Methodology →
Freeze
2026-08-13
libsolvsrk
2.3.0
SciPy
1.14
SUNDIALS
CVODE (bundled backend)

20 seeds/cell default · 14 arms · TRL 4–5 · simulation-lab validated · this page: Monod CSTR activated sludge (monod-cstr-activated-sludge)

Governed SolvTune benchmark freeze; per-arm medians only. RHS definitions and raw trial rows are not published.

Self-reported by Resonix Labs · not independently verified

Results matrix

Pick an objective and a noise level to rank all arms on survival, median SCD, median nfev, and median wall time. Medians across seeds.

Objective

Best overall trade-off of survival, precision, and speed.

Noise level

#SolverSurvivalSCDnfevWallScore
1Vern9external
100%
11.32,5302.55 s0.889
2SciPy RadauSciPy
100%
11.14,89058 ms0.883
3SolvSRK
100%
11.02,6618 ms0.880
4Vern7external
100%
10.92,3022.55 s0.878
5SciPy DOP853SciPy
100%
10.72,0548 ms0.874
6SciPy RK45SciPy
100%
9.52,76212 ms0.845
7Tsit5external
100%
8.82,334575 ms0.828
8SciPy LSODASciPy
100%
8.71,0093 ms0.825
9FBDFexternal
100%
8.32,7183.24 s0.816
10SciPy BDFSciPy
100%
7.91,87133 ms0.807
11CVODE Adamsexternal
100%
7.96957 ms0.806
12CVODE BDFexternal
100%
7.36977 ms0.794
13SciPy RK23SciPy
100%
7.26,84236 ms0.789
14TRBDF2external
100%
5.27,5983.33 s0.744

At Clean, best balanced arm is Vern9 · SolvSRK survival 100%, SCD 11.0.

Values are medians across seeds, measured by Resonix Labs on Resonix hardware and not independently verified; nfev and wall are on reference lab hardware (indicative). Under injected noise only SolvSRK and the SciPy arms are run. How we measure accuracy → · Verification status →

SolvScout · free

Profile your problem for free

This page shows one published benchmark cell. SolvScout fingerprints your ODE, compares it to the full corpus, and recommends a solver with the same survival / precision / speed ranking you see here — including when a SciPy arm wins.

SolvSRK · 30-day trial

Run the winner on your machine

SolvSRK is the stiffness-adaptive integrator behind the SolvSRK column in these tables. Create an account, activate a machine, and take a 30-day trial — same binary you'd ship after purchase.

Cite this page

Replace the access date. Pin the freeze ID and library versions when comparing against a later export. Cite it as what it is — a self-reported vendor benchmark, not an independently verified result. The note field says so; please keep it.

@misc{resonix_evidence_monod_cstr_activated_sludge_2026,
  title        = {Resonix Evidence Portal: Monod CSTR activated sludge},
  author       = {{Resonix Labs (Canada) Inc.}},
  year         = {2026},
  howpublished = {\url{https://resonix.tech/evidence/problems/monod-cstr-activated-sludge}},
  note         = {Self-reported vendor benchmark; internally generated by Resonix Labs and not independently verified. Accessed YYYY-MM-DD. Freeze 2026-08-13; libsolvsrk 2.3.0; SciPy 1.14.}
}

Related

TRL 4–5 · simulation-lab validated · 398 problems · 14 solver arms · clean + 5 noise levels

Freeze: 2026-08-13 · scipy 1.14 · libsolvsrk 2.3.0 · Methodology

Self-reported by Resonix Labs · not independently verified · Verification status