PO.VFP.Liq.Pout.SI(Ql, P_in, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, pipe_angle)

Calculates outlet pipe pressure for single phase pipe flow of incompressible, Newtonian fluid (SI units), [kPa].

PO.VFP.Liq.Pin.SI(Ql, P_out, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, pipe_angle)

Calculates inlet pipe pressure for single phase pipe flow of incompressible, Newtonian fluid (SI units), [kPa].

PO.VFP.Liq.Re.SI(Ql, Rho_l, pipe_ID, Ul)

Calculates Reynolds number for single phase pipe flow of incompressible, Newtonian fluid (SI units), [dimensionless].

PO.VFP.Liq.dPfrc.SI(Ql, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness)

Calculates frictional pressure drop from Fanning equation for single-phase flow of an incompressible, Newtonian fluid (SI units), [kPa].

PO.VFP.Liq.dPgrv.SI(Rho_l, pipe_length, pipe_angle)

Calculates potential energy pressure drop for single-phase flow of an incompressible, Newtonian fluid (SI units), [kPa].

PO.PE.Inj.FracPressure(frac_gradient, tvd, fluid_gradient, friction, margin)

How hard can an injector be pushed at the wellhead before the bottomhole pressure fractures the formation? The bottomhole pressure of a water injector is the surface pressure plus the liquid column, less what the tubing loses to friction at the rate. The LAMBDA turns that round: the largest surface injection pressure is the fracture pressure at the sandface, less the column, plus the friction, less a safety margin kept below fracture pressure. It is the maximum allowable surface injection pressure (MASP) an injection permit or a pump selection starts from.

PO.VFP.Gas.Pout.SI(Qg, P_in, T, SG_gas, Ug, Z, pipe_ID, pipe_length, pipe_roughness, pipe_angle)

Calculates outlet pipe pressure for single phase pipe flow of gas (compressible fluid) (SI units), [kPa].

PO.VFP.Gas.Pin.SI(Qg, P_out, T, SG_gas, Ug, Z, pipe_ID, pipe_length, pipe_roughness, pipe_angle)

Calculates inlet pipe pressure for single phase pipe flow of gas (compressible fluid) (SI units), [kPa].

PO.VFP.Gas.Re.SI(Qg, SG_gas, pipe_ID, Ug)

Calculates Reynolds number for single phase pipe flow of gas (compressible fluid) (SI units), [dimensionless].

PO.PE.Loading.TurnerRate(p, t, sg_g, tubing_id, sigma, rho_l, factor)

Is the gas well flowing fast enough to carry its liquid out? Turner, Hubbard and Dukler (1969) found that a gas well unloads while the gas moves fast enough to lift the largest liquid drop it carries, and loads up when it doesn't: the drop falls back, liquid gathers at the bottom, and its head kills the well. The LAMBDA returns the critical gas rate at that velocity, in MMscf/d, at a pressure and temperature in a tubing size. Read at the wellhead, where the gas is least dense and the critical rate usually the highest, it is the least rate the well must make to stay unloaded. A rate below it is a loading well; a smaller tubing raises the velocity at the same rate and lowers the critical rate. The gas's Z-factor and density come from the pressure and temperature, by Dranchuk-Abou-Kassem at Sutton's pseudo-critical properties.

PO.PE.Loading.LiRate(p_psia, t_degF, sg_gas, tubingID_in, sigma_dyncm, rhoL_lbft3)

The least gas rate that keeps a gas well unloaded by Li, Li and Sun's (2001) flat-droplet model, in MMscf/d, at a pressure and temperature in a tubing size. Turner assumed the liquid drops the gas carries stay round; Li et al. argued that the pressure difference across a drop in a fast gas flattens it into an ellipsoid, which the gas lifts far more easily. Their critical velocity is about 38 % of Turner's adjusted one, so the well can flow at a much lower rate before it loads. The arguments are TurnerRate's, in the same order, without Turner's adjustment factor: put the two side by side to bracket where the well loads. The gas's Z-factor and density come from the pressure and temperature, by Dranchuk-Abou-Kassem at Sutton's pseudo-critical properties, as in TurnerRate.

Need a custom LAMBDA? Request a Lambda