PO.IPR.GW.PSS.Time.SI(Re, K, porosity, Ct, Ug)

Calculates time to reach pseudosteady state (stabilized flow boundary) in gas well (SI units), [h].

PO.IPR.GW.PSS.Rate.SI(K, h, P_average, Pwf, Z, Ug, Re, Rw, S, T)

Calculates gas well flow rate for pseudosteady state condition using Darcy flow approximation (SI units), [m3/d].

PO.IPR.GW.PSS.Rate.NonDarcy.SI(K, h, P_average, Pwf, Z, Ug, Re, Rw, S, T, D)

Calculates gas well stabilized flow rate for pseudosteady state condition with Non-Darcy flow equation (SI units), [m3/d].

PO.IPR.GW.D.SI(Rw, h, h_perf, SG_gas, Ug, K)

Calculates Non-Darcy flow coefficient (D) for gas well turbulence effects, used as input to GW.PSS.Rate.NonDarcy (SI units), [1/(m3/d)].

PO.IPR.GW.Backpressure.Fit(d, q, d_at, output)

Fits Rawlins and Schellhardt's backpressure equation q = C·(Pr² − Pwf²)ⁿ to a gas well's multi-rate test (flow-after-flow, isochronal or modified isochronal) by least squares on log q against log(Pr² − Pwf²). It returns one number of the fit: the exponent n, the coefficient C, the fit's R², or the rate at a drawdown, such as the absolute open flow at Pwf = 14.7 psia. The drawdown column can be Pr² − Pwf² (psi²), or a pseudo-pressure difference m(Pr) − m(Pwf) (psi²/cp) for the m(p) form, whose C then carries those units. n runs from 1 for laminar (Darcy) flow down to 0.5 for fully turbulent flow.

PO.IPR.GW.LIT.Fit(d, q, d_at, output)

Fits Houpeurt's laminar-inertial-turbulent (LIT) deliverability equation Pr² − Pwf² = a·q + b·q² to a gas well's multi-rate test by least squares on (Pr² − Pwf²)/q against q. It returns one number of the fit: the laminar coefficient a, the turbulent coefficient b, the fit's R², or the rate at a drawdown from the quadratic's positive root, such as the absolute open flow at Pwf = 14.7 psia. The drawdown column can be Pr² − Pwf² (psi²), or a pseudo-pressure difference m(Pr) − m(Pwf) (psi²/cp) for the m(p) form, the one that holds at any pressure. a is the Darcy part of the drawdown per unit rate, from k·h, the drainage area and the skin; b is the non-Darcy part, from the turbulence round the wellbore.

Need a custom LAMBDA? Request a Lambda