Storage banks and cascade filling

Filling from a storage bank raises two questions: what pressure the cylinder reaches, and how many full fills the bank gives before it runs too low. The calculator handles one bank cylinder or many, used one after the other as a cascade or all opened together, and shows the bank pressures after every fill.

At high pressure gas is harder to compress than the ideal-gas rule says, so a 300 bar bank holds less gas than its pressure suggests and gives fewer fills than simple arithmetic promises. The calculator uses real-gas properties for air, Nitrox, Trimix, oxygen and helium and shows the ideal-gas count beside it..

Background

Equalising

Gas flows from the bank cylinder into the cylinder until both show the same pressure. What is shared is the amount of gas, not the pressure: the gas in both together fills both volumes.

n = \rho(p, T) \cdot V
nAmount of gas in mol
\rhoMolar density of the gas at that pressure and temperature, in mol/L
pPressure (gauge) in bar
TGas temperature in K
VWater capacity in L

After equalising, bank cylinder and cylinder hold gas of the same density:

\rho(p_e, T) = \frac{\rho(p_b, T) \cdot V_b + \rho(p_c, T) \cdot V_c}{V_b + V_c}
\rhoMolar density of the gas at that pressure and temperature, in mol/L
p_ePressure (gauge) after equalising in bar
p_bBank pressure (gauge) before in bar
p_cCylinder pressure (gauge) before in bar
TGas temperature in K
V_bWater capacity of the bank cylinder in L
V_cWater capacity of the cylinder in L

If the cylinder would go past the fill pressure, the valve is closed at the fill pressure and the bank keeps the rest.

Ideal and real gas

With an ideal gas the density is simply proportional to the absolute pressure, and the equalised pressure is the volume-weighted average:

p_e + p_0 = \frac{(p_b + p_0) \cdot V_b + (p_c + p_0) \cdot V_c}{V_b + V_c}
p_ePressure (gauge) after equalising in bar
p_0Atmospheric pressure, 1.013 bar
p_bBank pressure (gauge) before in bar
p_cCylinder pressure (gauge) before in bar
V_bWater capacity of the bank cylinder in L
V_cWater capacity of the cylinder in L

Real gas at 200 to 300 bar (2,900 to 4,350 psi) is harder to compress than that: the compressibility factor Z is above 1.

Z = \frac{p + p_0}{\rho \cdot R \cdot T}
ZCompressibility factor, no unit
pPressure (gauge) in bar
p_0Atmospheric pressure, 1.013 bar
\rhoMolar density of the gas at that pressure and temperature, in mol/L
RGas constant, 0.08314 L·bar/(mol·K)
TGas temperature in K

Z of air at 20 °C (68 °F):

Pressure, gauge (bar)Pressure, gauge (psi)Z
1001,4500.988
2002,9011.027
2323,3651.048
3004,3511.105

The page uses CoolProp’s equations of state for the real gas.

Cascade

In a cascade the cylinder is first filled from the bank cylinder with the lowest pressure that is still above the cylinder’s, then from the next higher one. This leaves the highest pressure for the end of the fill, so the bank gives more full fills than opening all bank cylinders together.

Limits

All states are at the same temperature. Filling heats the cylinder and expanding gas cools the bank; the figures hold once both are back at that temperature. Valves, hoses and the time the gas needs to flow are not included.

Scroll to Top