H2 pressure vessel blowdown (3D)

ADVANTAGES2 · 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 →

3D hydrogen pressure vessel blowdown: mass/energy/wall-temperature. HydDown-class ideal-gas model with choked orifice flow. Phase 1: ideal gas EOS (CoolProp real-gas is Phase 2). V=50L, Cd=0.85, A_orifice=5e-5 m^2.

Power & energy systems

Problem definition

Andreasen (2021) JOSS (HydDown); ISO 19880-1; Schefer et al. (2007) Int. J. Hydrogen Energy

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 _h2_blowdown_rhs(t: float, y: np.ndarray) -> np.ndarray:
    """Simplified hydrogen vessel blowdown — ideal gas, choked orifice flow.

    Based on HydDown (Andreasen 2021, JOSS). Phase 1: ideal gas EOS,
    choked flow assumption (P_ratio ≤ critical). Board-approved simplification;
    real-gas CoolProp is Phase 2.
    """
    m, U, T_wall = y

    m = max(m, 1e-6)
    T_gas = U / (m * _HV_cv)
    T_gas = max(T_gas, 50.0)
    P = m * _HV_Rg * T_gas / (_HV_M_mol * _HV_V)

    crit_ratio = (2.0 / (_HV_gamma + 1.0)) ** (_HV_gamma / (_HV_gamma - 1.0))
    mdot = (
        _HV_Cd * _HV_A_orifice * P
        * np.sqrt(_HV_gamma * _HV_M_mol / (_HV_Rg * T_gas))
        * (2.0 / (_HV_gamma + 1.0)) ** ((_HV_gamma + 1.0) / (2.0 * (_HV_gamma - 1.0)))
    )

    h_out = _HV_cp * T_gas
    Q_wall = _HV_hcv * _HV_Awall * (T_gas - T_wall)

    dm = -mdot
    dU = -mdot * h_out + Q_wall
    dTwall = (
        _HV_hcv * _HV_Awall * (T_gas - T_wall)
        + _HV_hext * _HV_Awall * (_HV_Tamb - T_wall)
    ) / (_HV_mwall * _HV_cwall)

    return np.array([dm, dU, dTwall])
Parameters
  • _HV_A_orifice = 5e-05
  • _HV_Awall = 0.5
  • _HV_Cd = 0.85
  • _HV_M_mol = 0.002016
  • _HV_Rg = 8.314
  • _HV_Tamb = 293.15
  • _HV_V = 0.05
  • _HV_cp = 14434.0277778
  • _HV_cv = 10310.0198413
  • _HV_cwall = 500
  • _HV_gamma = 1.4
  • _HV_hcv = 50
  • _HV_hext = 10
  • _HV_mwall = 10
Initial condition
y(0) = [2.5, 750000, 293.15]
Horizon
t ∈ [0, 600]

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

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: H2 pressure vessel blowdown (3D) (h2-pressure-vessel-blowdown-3d)

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.31,4145 ms0.888
2Tsit5external
100%
9.0504727 ms0.833
3SciPy LSODASciPy
100%
8.83072 ms0.830
4CVODE Adamsexternal
100%
8.62098 ms0.825
5SciPy RadauSciPy
100%
8.41,68334 ms0.819
6SciPy RK45SciPy
100%
8.35484 ms0.817
7SciPy RK23SciPy
100%
8.12,51024 ms0.812
8SciPy BDFSciPy
100%
8.047617 ms0.809
9SciPy DOP853SciPy
100%
7.93142 ms0.808
10CVODE BDFexternal
100%
7.636410 ms0.799

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_h2_pressure_vessel_blowdown_3d_2026,
  title        = {Resonix Evidence Portal: H2 pressure vessel blowdown (3D)},
  author       = {{Resonix Labs (Canada) Inc.}},
  year         = {2026},
  howpublished = {\url{https://resonix.tech/evidence/problems/h2-pressure-vessel-blowdown-3d}},
  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