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 VnAmount of gas in mol\rhoMolar density of the gas at that pressure and temperature, in mol/LpPressure (gauge) in barTGas temperature in KVWater capacity in LAfter 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/Lp_ePressure (gauge) after equalising in barp_bBank pressure (gauge) before in barp_cCylinder pressure (gauge) before in barTGas temperature in KV_bWater capacity of the bank cylinder in LV_cWater capacity of the cylinder in LIf 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 barp_0Atmospheric pressure, 1.013 barp_bBank pressure (gauge) before in barp_cCylinder pressure (gauge) before in barV_bWater capacity of the bank cylinder in LV_cWater capacity of the cylinder in LReal 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 unitpPressure (gauge) in barp_0Atmospheric pressure, 1.013 bar\rhoMolar density of the gas at that pressure and temperature, in mol/LRGas constant, 0.08314 L·bar/(mol·K)TGas temperature in KZ of air at 20 °C (68 °F):
| Pressure, gauge (bar) | Pressure, gauge (psi) | Z |
|---|---|---|
| 100 | 1,450 | 0.988 |
| 200 | 2,901 | 1.027 |
| 232 | 3,365 | 1.048 |
| 300 | 4,351 | 1.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.