Gas Pipelines LAMBDAs
Flow rate, outlet pressure and transport properties for gas lines.
10 lambdas
PO.SF.PL.Gas.Weymouth.Rate.SI(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E)
Gas flow rate using Weymouth equation for high-pressure large-diameter pipelines (SI units), [m3/d].
PO.SF.PL.Gas.PanhandleA.Rate.SI(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E)
Gas flow rate using Panhandle A equation for medium-pressure transmission (SI units), [m3/d].
PO.SF.PL.Gas.PanhandleB.Rate.SI(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E)
Gas flow rate using Panhandle B equation for high-pressure large-diameter transmission (SI units), [m3/d].
PO.SF.PL.Gas.Weymouth.Pout.SI(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E)
Outlet pressure for gas pipeline using Weymouth equation (SI units), [kPa].
PO.SF.PL.Gas.PanhandleA.Pout.SI(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E)
Outlet pressure for gas pipeline using Panhandle A equation (SI units), [kPa].
PO.SF.PL.Gas.PanhandleB.Pout.SI(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E)
Outlet pressure for gas pipeline using Panhandle B equation (SI units), [kPa].
PO.SF.PL.Gas.Vel.SI(Qg, pipe_ID, P, T, Z)
Gas velocity at pipeline conditions (SI units), [m/s].
PO.SF.PL.Gas.Rho.SI(P, T, SG_gas, Z)
Gas density at pipeline conditions (SI units), [kg/m3].
PO.SF.PL.Gas.Re.SI(Qg, pipe_ID, SG_gas, Ug)
Reynolds number for gas pipeline flow (SI units).
PO.SF.PL.Gas.Size(qg, p_in, p_min, length, sg, t, z, eff, cf, method, ids)
Returns the smallest pipe internal diameter, from a list of candidate sizes, that carries a gas rate from an inlet pressure to a minimum delivery pressure and keeps the gas below API RP 14E's erosional velocity. It sweeps the list smallest first with one of the shipped pipeline equations, Weymouth, Panhandle A or Panhandle B, and stops at the first size that passes both tests. The list is the caller's: a standard-weight schedule, another wall, or the sizes in stock. A sheet reads the nominal size with `INDEX(nps, MATCH(size, ids, 0))`.