PO.SF.PL.Gas.Weymouth.Rate.SI


Description

Gas flow rate using Weymouth equation for high-pressure large-diameter pipelines, [sm3/d] (SI units).

Formula

=LAMBDA(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E, LET( P_in_psi, PO.UnitConverter(P_in, "kPa", "psi"), P_out_psi, PO.UnitConverter(P_out, "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_Mscfd, PO.SF.PL.Gas.Weymouth.Rate(P_in_psi, P_out_psi, pipe_ID_in, pipe_length_mi, SG_gas, T_degF, Z, E), PO.UnitConverter(result_Mscfd, "Mscf/d", "sm3/d")))

Parameters

Parameter Unit Description
P_in kPa Inlet pressure, [kPa]
P_out kPa Outlet 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.Rate.SI(6895, 3448, 10.16, 80.47, 0.65, 26.67, 0.9, 0.92) 3138361.77

Need a custom LAMBDA? Suggest a New Lambda