PO.SF.PL.Gas.Weymouth.Pout.SI


Description

Outlet pressure for gas pipeline using Weymouth equation, [kPa] (SI units).

Formula

=LAMBDA(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E, LET( Qg_Mscfd, PO.UnitConverter(Qg, "sm3/d", "Mscf/d"), P_in_psi, PO.UnitConverter(P_in, "kPa", "psi"), pipe_ID_in, PO.UnitConverter(pipe_ID, "cm", "in"), pipe_length_mi, PO.UnitConverter(pipe_length, "km", "mi"), T_degF, PO.UnitConverter(T, "degC", "degF"), result_psi, PO.SF.PL.Gas.Weymouth.Pout(Qg_Mscfd, P_in_psi, pipe_ID_in, pipe_length_mi, SG_gas, T_degF, Z, E), PO.UnitConverter(result_psi, "psi", "kPa")))

Parameters

Parameter Unit Description
Qg sm3/d Gas flow rate, [sm3/d]
P_in kPa Inlet pressure, [kPa]
pipe_ID cm Pipe inner diameter, [cm]
pipe_length km Pipe length, [km]
SG_gas - Gas specific gravity (air=1)
T degC Average temperature, [degC]
Z - Gas compressibility factor
E - Pipeline efficiency (0-1)

Examples

Invocation Expected
=PO.SF.PL.Gas.Weymouth.Pout.SI(28317, 6895, 10.16, 80.47, 0.65, 26.67, 0.9, 0.92) 6894.7895

Need a custom LAMBDA? Suggest a New Lambda