Surface Facilities Functions
Choke performance and gas and liquid pipeline hydraulics.
45 functions
PO.SF.CH.Gas.Rate(P_up, P_dn, d_choke, SG_gas, T, Cd, k)
Gas flow rate through choke, [Mscf/d]. Automatically determines sonic or subsonic flow regime.
PO.SF.CH.Gas.Rate.Sonic(P_up, d_choke, SG_gas, T, Cd, k)
Gas flow rate at sonic (critical) conditions, [Mscf/d]. Rate independent of downstream pressure.
PO.SF.CH.Gas.Pwh(Qg, d_choke, SG_gas, T, Cd, k)
Required upstream pressure for sonic gas flow, [psia].
PO.SF.CH.Gas.Size(Qg, P_up, SG_gas, T, Cd, k)
Required choke diameter for sonic gas flow, [inches].
PO.SF.CH.Gas.Rcrit(k)
Critical pressure ratio for gas (Pdn/Pup at sonic conditions), [dimensionless]. Flow is sonic when actual ratio <= critical ratio.
PO.SF.CH.Liq.Rate(d_choke, dP, Rho_l, Cd)
Liquid flow rate through choke, [bbl/d]. Uses Bernoulli equation for incompressible flow.
PO.SF.CH.Liq.dP(d_choke, Ql, Rho_l, Cd)
Pressure drop across choke for liquid flow, [psi].
PO.SF.CH.Liq.Size(Ql, dP, Rho_l, Cd)
Required choke diameter for liquid flow, [inches].
PO.SF.CH.Pilehvari.Rate(Pwh, d_choke, GLR)
Liquid flow rate using Pilehvari (1980) critical flow correlation, [bbl/d]. Based on U. of Tulsa experimental data.
PO.SF.CH.Pilehvari.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Pilehvari (1980) critical flow correlation, [psia].
PO.SF.CH.Pilehvari.Size(Pwh, Ql, GLR)
Choke diameter using Pilehvari (1980) critical flow correlation, [inches].
PO.SF.CH.Achong.Rate(Pwh, d_choke, GLR)
Liquid flow rate using Achong (1961) critical flow correlation, [bbl/d]. Modified Gilbert for Lake Maracaibo conditions.
PO.SF.CH.Achong.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Achong (1961) critical flow correlation, [psia].
PO.SF.CH.Achong.Size(Pwh, Ql, GLR)
Choke diameter using Achong (1961) critical flow correlation, [inches].
PO.SF.CH.Ros.Rate(Pwh, d_choke, GLR)
Liquid flow rate using Ros (1960) critical flow correlation, [bbl/d].
PO.SF.CH.Ros.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Ros (1960) critical flow correlation, [psia].
PO.SF.CH.Ros.Size(Pwh, Ql, GLR)
Choke diameter using Ros (1960) critical flow correlation, [inches].
PO.SF.CH.Baxendell.Rate(Pwh, d_choke, GLR)
Liquid flow rate using Baxendell (1957) critical flow correlation, [bbl/d]. Developed from Lake Maracaibo field data.
PO.SF.CH.Baxendell.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Baxendell (1957) critical flow correlation, [psia].
PO.SF.CH.Baxendell.Size(Pwh, Ql, GLR)
Choke diameter using Baxendell (1957) critical flow correlation, [inches].
PO.SF.CH.Gilbert.Rate(Pwh, d_choke, GLR)
Liquid flow rate using Gilbert (1954) critical flow correlation, [bbl/d]. Widely used for oil wells with gas.
PO.SF.CH.Gilbert.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Gilbert (1954) critical flow correlation, [psia]. Calculates required pressure for target rate.
PO.SF.CH.Gilbert.Size(Pwh, Ql, GLR)
Choke diameter using Gilbert (1954) critical flow correlation, [inches]. Calculates required choke size for target rate.
PO.SF.CH.Sachdeva.Rate(P_up, P_dn, d_choke, GLR, API, SG_gas, WC, T)
Liquid flow rate using Sachdeva (1986) two-phase mechanistic model, [bbl/d]. Handles both critical and subcritical flow.
PO.SF.CH.Sachdeva.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Sachdeva (1986) two-phase model, [psia]. Iterative solution for target rate.
PO.SF.CH.Sachdeva.Size(Pwh, Ql, GLR)
Choke diameter using Sachdeva (1986) two-phase model, [inches]. Iterative solution for target rate.
PO.SF.CH.AshfordPierce.Rate(P_up, P_dn, d_choke, GLR, API, SG_gas, WC, T)
Liquid flow rate using Ashford-Pierce (1975) subcritical correction model, [bbl/d]. Extends critical flow correlations to subcritical conditions.
PO.SF.CH.AshfordPierce.Pwh(Ql, d_choke, GLR)
Wellhead pressure using Ashford-Pierce (1975) model, [psia]. Iterative solution for target rate.
PO.SF.CH.AshfordPierce.Size(Pwh, Ql, GLR)
Choke diameter using Ashford-Pierce (1975) model, [inches]. Iterative solution for target rate.
PO.SF.PL.Gas.Weymouth.Rate(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E)
Gas flow rate using Weymouth equation for high-pressure large-diameter pipelines, [Mscf/d]
PO.SF.PL.Gas.PanhandleA.Rate(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E)
Gas flow rate using Panhandle A equation for medium-pressure transmission, [Mscf/d]
PO.SF.PL.Gas.PanhandleB.Rate(P_in, P_out, pipe_ID, pipe_length, SG_gas, T, Z, E)
Gas flow rate using Panhandle B equation for high-pressure large-diameter transmission, [Mscf/d]
PO.SF.PL.Gas.Weymouth.Pout(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E)
Outlet pressure for gas pipeline using Weymouth equation, [psia]
PO.SF.PL.Gas.PanhandleA.Pout(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E)
Outlet pressure for gas pipeline using Panhandle A equation, [psia]
PO.SF.PL.Gas.PanhandleB.Pout(Qg, P_in, pipe_ID, pipe_length, SG_gas, T, Z, E)
Outlet pressure for gas pipeline using Panhandle B equation, [psia]
PO.SF.PL.Gas.Vel(Qg, pipe_ID, P, T, Z)
Gas velocity at pipeline conditions, [ft/s]
PO.SF.PL.Gas.Rho(P, T, SG_gas, Z)
Gas density at pipeline conditions, [lb/ft3]
PO.SF.PL.Gas.Re(Qg, pipe_ID, SG_gas, Ug)
Reynolds number for gas pipeline flow
PO.SF.PL.Liq.dP(Ql, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness)
Pressure drop for liquid pipeline using Darcy-Weisbach equation, [psi]
PO.SF.PL.Liq.Rate(dP, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness)
Liquid flow rate for given pressure drop using Darcy-Weisbach, [bbl/d]
PO.SF.PL.Liq.Pout(P_in, Ql, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, dH)
Outlet pressure for liquid pipeline, [psia]
PO.SF.PL.Liq.Pin(P_out, Ql, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, dH)
Required inlet pressure for liquid pipeline, [psia]
PO.SF.PL.Liq.Vel(Ql, pipe_ID)
Liquid velocity in pipeline, [ft/s]
PO.SF.PL.Liq.Re(Ql, pipe_ID, Rho_l, Ul)
Reynolds number for liquid pipeline flow
PO.SF.PL.Ff(Re, pipe_roughness)
Moody friction factor using Chen correlation