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.
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.}
}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