Two-layer heat conduction

PARITYS2 · dim 40

No clear winner. The survival gap is under 10 percentage points and the balanced-score gap is under 0.05, so neither SolvSRK nor the best baseline clears the win threshold. Either works — choose on cost, licensing, or integration effort. All verdicts →

1-D diffusion through two materials with distinct thermal diffusivity

Thermal & heat transfer

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, temp: np.ndarray) -> np.ndarray:
    temp = np.clip(np.asarray(temp, dtype=float), 200.0, 3500.0)
    d = np.zeros(n)
    for i in range(n):
        t_left = 400.0 if i == 0 else temp[i - 1]
        t_right = 300.0 if i == n - 1 else temp[i + 1]
        d[i] = alphas[i] * (t_left - 2.0 * temp[i] + t_right) / dx2
    return d
Parameters
  • alphas = [0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, …] [shape=(40,), min=1e-06, max=0.0001]
  • dx2 = 6.25e-08
  • n = 40
Initial condition
y(0) = [400, 397.435897436, 394.871794872, 392.307692308, 389.743589744, 387.179487179, …] [shape=(40,), min=300, max=400]
Horizon
t ∈ [0, 20]

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: high

Default noise: none

Recommendation snapshot

Clean best: SolvSRK

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: Two-layer heat conduction (two-layer-heat-conduction)

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
1SolvSRK
100%
11.71,58680 ms0.898
2SciPy RadauSciPy
100%
10.779036 ms0.874
3SciPy RK23SciPy
100%
9.5152,0634.73 s0.846
4SciPy DOP853SciPy
100%
9.1239,0186.89 s0.835
5CVODE BDFexternal
100%
8.740918 ms0.827
6SciPy BDFSciPy
100%
8.746727 ms0.826
7Tsit5external
100%
8.7277,05630.32 s0.826
8SciPy LSODASciPy
100%
8.61,59842 ms0.823
9SciPy RK45SciPy
100%
8.4269,1387.87 s0.819
10CVODE Adamsexternal
100%
7.91,44048 ms0.807

At Clean, best balanced arm is SolvSRK.

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_two_layer_heat_conduction_2026,
  title        = {Resonix Evidence Portal: Two-layer heat conduction},
  author       = {{Resonix Labs (Canada) Inc.}},
  year         = {2026},
  howpublished = {\url{https://resonix.tech/evidence/problems/two-layer-heat-conduction}},
  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