Line pressure
Pout = Pin − ΔPwall − ΔPfittings − ΔPelevationStarting at W1, pressure is integrated along the route. Return pressure sets the suction condition for recirculation. This route goes from 3 to 2.6817 bar(a).
Pump duty
H = ΔPpump / (ρL g) · Pshaft = QL ΔPpump / ηThe pump supplies the positive pressure rise from suction to W1. 2 bar at 8 m³/h gives 20.43 m head and 0.635 kW shaft power.
Gas supply and buffer
PR = max(1, Phigh / Psuction) · V = ṁ Δt / (ρhigh − ρlow)The gas buffer cycles between the inlet pressure plus regulator allowance and that value plus the usable swing. Use absolute pressures for the compressor ratio. Volume scales with gas demand and hold time, and depends on the density change across the usable pressure band.
Equations, assumptions and references
SI units are used internally. One bar is 100,000 Pa. Head uses liquid density and g = 9.80665 m/s². Suction and discharge pressures are at equipment connections; feed-line losses and velocity-head differences outside the drawn route are excluded.
Wall friction is f (L/D) ρv²/2, fittings contribute K ρv²/2, and elevation contributes ρg Δz. The solver evaluates fluid properties at segment midpoint pressure and applies fitting losses at the downstream end.
The route length uses X, Y and Z in metres. Darcy–Weisbach friction uses 64/Re for laminar flow and Haaland for turbulent flow, with interpolation from Re 2,300 to 4,000. Rounded turns use tangent circular arcs and a Rennels–Hudson excess loss dependent on R/D, angle and local Darcy factor. The arc contributes wall friction once. Each leg extends between bend midpoints, and the curvature loss is applied at the downstream bend midpoint. Unrounded turns retain the entered nominal K scaled by angle. Additional fitting K is applied at the downstream end of each leg. Elevation contributes a signed hydrostatic term.
Gas density is updated at each local absolute pressure and the operating temperature using the selected equation of state. Peng–Robinson uses a pseudo-pure representation for dry air and checks the stable gas branch for pure gases. Reference liquid properties and gas viscosity are editable. The gas–liquid screening model assumes homogeneous no-slip flow and volume-weighted viscosity. Slugging, phase slip, acceleration losses, heat transfer, detailed phase equilibrium and surge require a separate analysis. For mixed loops the pump and compressor duties assume separate phase feeds at a common mixing pressure.
The receiver is an isothermal mass balance at line temperature. Set the regulator differential allowance from its flow curve and account for feed losses in final sizing. Equipment selection also requires a manufacturer curve, pump NPSH, compressor operating envelope and vessel pressure rating. Fluid presets are illustrative values at about 20 °C. Enter properties at the operating condition.
Hydraulic Institute · System curves ↗ ASHRAE · Pipe design ↗ Two-phase pressure-drop models ↗ Rounded bend correlation ↗ US DOE · Receiver sizing ↗ NIST · Peng–Robinson ↗ CoolProp · Fluid constants ↗