PO.GL.Valve.ThornhillCraver
Calculates gas throughput using Thornhill-Craver equation, [mscf/d].
Syntax
=PO.GL.Valve.ThornhillCraver(Cd, Ap, P1, P2, SG, T, [k])Parameters
| Parameter | Description |
|---|---|
Cd |
Discharge coefficient (0.6-0.9), [dimensionless]. |
Ap |
Port area, [in2]. |
P1 |
Upstream (casing) pressure, [psi]. |
P2 |
Downstream (tubing) pressure, [psi]. |
SG |
Gas specific gravity (air = 1.0), [dimensionless]. |
T |
Gas temperature, [degR]. |
k |
Optional. Gas specific heat ratio Cp/Cv, above 1, [dimensionless]. Omitted: 1.28, natural gas. |
Used in blueprints
Related functions
PO.GL.Valve.PdomeCalculates absolute dome pressure at depth from surface dome pressure, real-gas nitrogen charge, [psi].PO.GL.Valve.Pdome.SurfaceCalculates the nitrogen dome pressure at surface temperature from the dome pressure at depth, real-gas nitrogen charge; the inverse of PO.GL.Valve.Pdome (Guo Eq. 13.58), [psi].PO.GL.Valve.PPECalculates production pressure effect factor (PPEF), [dimensionless].PO.GL.Valve.PvcCalculates valve closing pressure, Pd + S_t·(1 − R) (Guo Eq. 13.43); the dome pressure for a valve without a spring, [psi].PO.GL.Valve.PvoCalculates the opening (casing) pressure of an injection-pressure-operated valve, Pvo = Pd/(1 − R) + S_t − R/(1 − R)·Pt (Guo Eq. 13.42), [psi].PO.GL.Valve.SpreadCalculates valve spread (opening minus closing pressure), [psi].
Missing a formula? Suggest a new one