PO.GL.Valve.ThornhillCraver.SI


Description

Calculates gas throughput using Thornhill-Craver equation, [m3/d] (SI units).

Formula

=LAMBDA(Cd, Ap, par_P1, par_P2, SG, T, LET( Ap_in2, PO.UnitConverter(Ap, "cm2", "in2"), P1_psi, PO.UnitConverter(par_P1, "kPa", "psi"), P2_psi, PO.UnitConverter(par_P2, "kPa", "psi"), T_degR, PO.UnitConverter(T, "degK", "degR"), result_Mscfd, PO.GL.Valve.ThornhillCraver(Cd, Ap_in2, P1_psi, P2_psi, SG, T_degR), PO.UnitConverter(result_Mscfd, "Mscf/d", "m3/d")))

Parameters

Parameter Unit Description
Cd - Discharge coefficient (0.6-0.9), {1}
Ap cm2 Port area, [cm2]
P1 kPa Upstream (casing) pressure, [kPa]
P2 kPa Downstream (tubing) pressure, [kPa]
SG - Gas specific gravity (air = 1.0), {1}
T degK Gas temperature, [degK]

Examples

Invocation Expected
=PO.GL.Valve.ThornhillCraver.SI(0.85, 32.26, 6895, 3448, 0.85, 366.48) 2976640

Need a custom LAMBDA? Suggest a New Lambda