loading...
running...
The science
Why the tank heats up. Filling a closed tank is an open-system energy balance. For a gas zone of mass m and temperature T with inflow enthalpy hin and heat flow to the wall Q:
d(m u)/dt = ṁ hin - hA (T - Tw), m cv dT/dt = ṁ (hin - cv T) - hA (T - Tw)
Incoming gas carries flow work, so even gas at -40 C ends up much hotter than it started: the tank is compressing its own contents. The wall (a polymer liner inside a carbon-fibre shell, with low thermal conductivity) soaks up only a little heat in the few minutes of a fill:
Cw dTw/dt = hA (T - Tw) - hoAo (Tw - Tamb)
Real hydrogen. At 70 MPa hydrogen is far from ideal. The Abel-Noble equation p (v - b) = R T with b = 7.69 × 10-3 m3/kg describes it to about 1 percent. For this law the internal energy depends only on temperature and the enthalpy is
u = cv T, h = cp T + b p, density ρ = 1 / (R T/p + b)
Joule-Thomson heating. Unlike most gases, hydrogen warms when throttled at room temperature. Since h is conserved across a valve, T2 = T1 + b (p1 - p2)/cp: a 50 MPa drop adds about 27 K. If the dispenser chiller sits before the control valve (the checkbox), the cold gas is partly reheated.
State of charge is the density relative to the nominal value at 70 MPa and 15 C, ρref = 40.5 kg/m3 in this model (the commonly quoted figure is 40.2). After the fill the gas cools to ambient at constant mass: the pressure falls (Gay-Lussac effect) and the state of charge is unchanged. A hot fill that stops at 70 MPa therefore ends with a lower state of charge than a cold one.
Pressure ramp. Dispensers follow an average pressure ramp rate (APRR). The mass flow is set by a proportional controller tracking ptarget(t) = p0 + APRR t, limited by the nozzle. The fill stops at the target pressure, the target state of charge or the temperature limit (85 C for Type IV tanks), whichever comes first.
Checks (run in the page). (1) the Abel-Noble density at 70 MPa and 15 C against the reference value; (2) an adiabatic ideal-gas fill integrated step by step against its closed form mf cv Tf = m0 cv T0 + (mf - m0) cp Tin; (3) the first-law closure of the real fill; (4) a physical bound: wall heat transfer can only lower the peak gas temperature.
Simplifications. The gas is a single well-mixed zone (real tanks stratify, with a hot top near the inlet jet in a horizontal tank); constant cp (about 14.3 kJ/kg/K, a few percent variation over the range); a fixed internal heat-transfer coefficient and one lumped wall node instead of liner plus composite layers; a simple pressure-tracking controller instead of the full SAE J2601 lookup tables; the area is that of a cylinder with length 3 times its diameter. The page is educational and does not implement any station protocol.