PO.GL.Valve.ThornhillCraver.SI
Description
Calculates gas throughput using Thornhill-Craver equation, [sm3/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", "sm3/d")))Parameters
| Parameter | Unit | Description |
|---|---|---|
Cd |
- | Discharge coefficient (0.6-0.9), [dimensionless] |
Ap |
cm2 | Port area, [cm2] |
P1 |
kPa | Upstream (casing) pressure, [kPa] |
P2 |
kPa | Downstream (tubing) pressure, [kPa] |
SG |
- | Gas specific gravity (air = 1.0), [dimensionless] |
T |
degK | Gas temperature, [degK] |
Examples
| Invocation | Expected |
|---|---|
=PO.GL.Valve.ThornhillCraver.SI(0.85, 32.26, 6895, 3448, 0.85, 366.48) |
202584.39 |