Gas Well Deliverability

Puts a gas well's AOF and deliverability curve by six methods side by side and shows how far each can be trusted.

Inflow Performance Relationship 95 rows × 11 columnsMicrosoft 365

Use this blueprint

How to use this blueprint
  1. In Excel, go to the Petroleum Office ribbon tab and click Blueprint Manager
  2. Search for Gas Well Deliverability
  3. Click on the blueprint to preview
  4. Click Insert to place it into your worksheet. Modify the input values to match your data.

Requires the Petroleum Office add-in for Excel. Needs Microsoft 365 or Excel 2024: it uses functions Excel 2016 doesn't have (LAMBDA, LET, MAP and SEQUENCE), which show #NAME? there.

Get Petroleum Office

Description

What will the gas well deliver, and how far can each deliverability method be trusted? You enter the reservoir pressure and temperature, the gas gravity, the rock and completion (permeability, pay, perforated interval, radii and skin) and a four-point test. You read off the absolute open flow (AOF) and the deliverability curve by six methods side by side, three from the rock and gas with no test and three fitted to the test, and the rate at an operating pressure.

From the rock and gas: Darcy and non-Darcy flow in pressure squared take μg·Z at the reservoir pressure, with the non-Darcy coefficient D from the perforated interval. The same laminar and turbulent coefficients are then taken into the real-gas pseudo-pressure m(p), the form that holds at any pressure. From the test: Rawlins and Schellhardt's backpressure C and n, and Houpeurt's laminar-inertial-turbulent (LIT) a and b in pressure squared and in m(p). A deliverability chart draws the flowing pressure against the gas rate for five of them over the test points, and a log-log plot draws the backpressure line through the tests. Six checks read the test, the exponent, the fit, the perforations, the pressure-squared form against m(p), and the test against the rock.

Parameters:

  • Reservoir, gas and completion: the average reservoir pressure GWD_Pr (psia) and temperature GWD_T (°F), the gas gravity GWD_SG (air = 1, a sweet gas), the permeability GWD_k (mD), the net pay GWD_h and perforated interval GWD_hp (ft), the drainage and wellbore radii GWD_re and GWD_rw (ft), and the skin from a buildup GWD_s
  • Reading points and limits: the pressure the AOF is read at, which is also m(p)'s base, GWD_Pbase (psia); the flowing pressure to read an operating rate at GWD_PwfOp (psia); the least log-log R² accepted GWD_R2Min; and the largest AOF difference accepted between two forms GWD_AofTol
  • The test: four flowing pressures GWD_Pwf1…GWD_Pwf4 (psia) and stabilized gas rates GWD_q1…GWD_q4 (Mscf/d)

How to use it: The default test is synthetic, made from the rock's m(p) LIT equation with a ±2 % scatter. Take a flow-after-flow test with each rate held until the flowing pressure stabilizes, or an isochronal test whose b comes from the transient points and whose a comes from the extended stabilized point. Take Pr and the skin from a buildup, the gas gravity from the sales gas analysis, and the perforated interval from the completion report. Correct a sour gas's pseudo-criticals by Wichert-Aziz (the Sour Gas Properties and H2S Exposure sheet) before trusting DAK.

Method: The gas properties at Pr are Sutton's pseudo-criticals, Z by Dranchuk-Abou-Kassem (DAK) and μg by Lee-Gonzalez-Eakin (LGE). From the rock, the radial pseudosteady-state equation in pressure squared is Pr² − Pwf² = a·q + b·q², with a = 1422·T·μg·Z·(ln(re/rw) − 0.75 + s)/(k·h) and b = a·D/(ln(re/rw) − 0.75 + s). The sheet reads a from the Darcy AOF, a = (Pr² − Pbase²)/AOF(Darcy), and b from the non-Darcy AOF, so both come from the add-in's own gas-rate functions. Dividing a and b by μg·Z at Pr gives the same equation in m(p), Δm(p) = a·q + b·q², which drops the assumption that μg·Z is constant. m(p) = 2∫p/(μg·Z)dp from Pbase is a 50-step trapezoid of DAK and LGE at every step. From the test, the backpressure fit fits log q against log(Pr² − Pwf²) for n and C, and the LIT fit fits Δ/q against q for a (intercept) and b (slope), once on Pr² − Pwf² and once on m(Pr) − m(Pwf). Every AOF is read at Pwf = Pbase, and every LIT rate is the quadratic's positive root. The grid runs Pwf from Pr to Pbase in twelve steps.

Example: The default case is the gas-inflow family's reference well: a vertical gas well on 640 acres (re = 2,980 ft, rw = 0.354 ft) in 40 ft of 8 mD sand, perforated over its top 20 ft, producing a 0.7 gravity sweet gas from a 3,000 psia reservoir at 160 °F, with a skin of 2 from a buildup. Its four-point flow-after-flow test flowed 3,090, 5,400, 8,210 and 10,350 Mscf/d at 2,700, 2,400, 2,000 and 1,500 psia.

At 3,000 psia and 160 °F (619.67 °R) the 0.7 gravity gas has Ppr = 4.52 and Tpr = 1.64, so Z = 0.8512 and μg = 0.02131 cp. With 20 of the 40 ft open, D = 4.52 × 10⁻⁴ d/Mscf, and m(Pr) = 6.135 × 10⁸ psi²/cp. From the rock, the Darcy AOF is 17,489 Mscf/d, and turbulence cuts it to 11,587 in pressure squared (a = 514.6, b = 0.02262), turbulence taking 34 % of the drawdown at the AOF. The same coefficients in m(p) give 13,552 Mscf/d: the pressure-squared AOF is 14.5 % low, because μg·Z falls from 0.0181 cp at 3,000 psia toward the base and the pressure-squared form holds it at its Pr value. The pressure-squared check warns of that. The test fits n = 0.890 and C = 0.00874 Mscf/d/psi²ⁿ (R² = 0.9991), an AOF of 13,544 Mscf/d. LIT fits a = 520.8 and b = 0.01225 in pressure squared, AOF 13,189, and a = 27,618 and b = 1.342 in m(p), AOF 13,438. The three test AOFs lie within 2.7 % of each other, and the test's m(p) AOF is 0.8 % from the rock's. At 1,000 psia flowing the well makes 12,126 Mscf/d.

Functions used

Names it defines (79)
NameRefers toComment
PO.PVT.PseudoP =LAMBDA(p, t_r, sg_g, p_base, steps, IF((p<p_base)+(t_r<=0)+(sg_g<=0)+(steps<1)+(p_base/PO.PVT.Ppc.BySutton(sg_g)<0.01), NA(), LET(ppc, PO.PVT.Ppc.BySutton(sg_g), tpr, t_r/PO.PVT.Tpc.BySutton(sg_g), n, INT(steps), dp, (p-p_base)/n, f, MAP(p_base+dp*SEQUENCE(n+1, 1, 0), LAMBDA(x, LET(z, PO.PVT.Z.ByDAK(x/ppc, tpr), x/(PO.PVT.Ug.ByLGE(z, sg_g, x, t_r)*z)))), 2*dp*(SUM(f)-(INDEX(f, 1)+INDEX(f, n+1))/2)))) Real-gas pseudo-pressure m(p) = 2*integral of p/(ug*Z) dp from p_base to p (psi2/cp), trapezoid rule in steps; Z by DAK and ug by LGE at Sutton pseudo-criticals. p, p_base psia (p_base >= 7), t_r degR, sg_g air = 1.
PO.IPR.GW.Backpressure.Fit =LAMBDA(d, q, d_at, output, IF((MIN(d)<=0)+(MIN(q)<=0)+(COUNT(q)<2)+(COUNT(d)<>COUNT(q)), NA(), LET(lx, LOG10(d), ly, LOG10(q), expn, SLOPE(ly, lx), coef, 10^INTERCEPT(ly, lx), IF(output="n", expn, IF(output="C", coef, IF(output="R2", RSQ(ly, lx), IF(output="q", IF(d_at<0, NA(), coef*d_at^expn), NA()))))))) Gas backpressure q = C*d^n fitted by least squares on log q vs log d, d = Pr^2 - Pwf^2 (psi2) or delta m(p). output "n", "C", "R2", or "q" the rate (Mscf/d) at the drawdown d_at. d and q: test columns, values > 0.
PO.IPR.GW.LIT.Fit =LAMBDA(d, q, d_at, output, IF((MIN(d)<=0)+(MIN(q)<=0)+(COUNT(q)<2)+(COUNT(d)<>COUNT(q)), NA(), LET(ratio, d/q, lam, INTERCEPT(ratio, q), turb, SLOPE(ratio, q), IF(output="a", lam, IF(output="b", turb, IF(output="R2", RSQ(ratio, q), IF(output="q", IF((d_at<0)+(turb<0)+(lam<=0), NA(), IF(turb=0, d_at/lam, (SQRT((lam/2)^2+turb*d_at)-lam/2)/turb)), NA()))))))) Gas LIT (Houpeurt) d = a*q + b*q^2 fitted by least squares on d/q vs q, d = Pr^2 - Pwf^2 (psi2) or delta m(p). output "a", "b", "R2", or "q" the rate (Mscf/d) at the drawdown d_at. d and q: test columns, values > 0.
GWD_Pr $B$4 Average reservoir pressure, Pr, psia
GWD_T $B$5 Reservoir temperature, T, °F
GWD_SG $B$6 Gas specific gravity (air = 1), sweet gas, air = 1
GWD_k $B$7 Formation permeability, k, mD
GWD_h $B$8 Net pay, h, ft
GWD_hp $B$9 Perforated interval, hp (at most h), ft
GWD_re $B$10 Drainage radius, re, ft
GWD_rw $B$11 Wellbore radius, rw, ft
GWD_s $B$12 Skin from a buildup, s (Darcy part)
GWD_Pbase $B$14 Pressure the AOF is read at, and m(p)'s base, psia
GWD_PwfOp $B$15 Flowing bottomhole pressure to read the rate at, psia
GWD_R2Min $B$16 Least R² accepted for the log-log backpressure fit
GWD_AofTol $B$17 Largest AOF difference accepted between two forms, %
GWD_Inputs $B$4:$B$17 The reservoir pressure and temperature, the gas gravity, the rock, the completion and the skin, the AOF's pressure, the operating pressure and the two check limits; the test is in the table below
GWD_TR $B$20 Reservoir temperature, absolute, °R
GWD_Ppr $B$21 Pseudo-reduced pressure, Pr/Ppc (Sutton)
GWD_Tpr $B$22 Pseudo-reduced temperature, T/Tpc (Sutton)
GWD_Z $B$23 Z-factor at Pr
GWD_Ug $B$24 Gas viscosity at Pr, cp
GWD_D $B$25 Non-Darcy coefficient, D, d/Mscf
GWD_mPr $B$26 Pseudo-pressure at Pr, m(Pr), psi²/cp
GWD_mOp $B$27 Pseudo-pressure at the operating pressure, psi²/cp
GWD_AOFd $B$29 AOF, Darcy flow, Mscf/d
GWD_AOFnd $B$30 AOF, non-Darcy flow, Mscf/d
GWD_a2 $B$31 Laminar coefficient, a = Δp²/AOF Darcy, psi²/(Mscf/d)
GWD_b2 $B$32 Turbulent coefficient, b = (Δp² − a·AOF)/AOF², psi²/(Mscf/d)²
GWD_Turb $B$33 Share of the drawdown turbulence takes at the AOF, %
GWD_aM $B$35 Laminar coefficient, a/(μg·Z), psi²/cp/(Mscf/d)
GWD_bM $B$36 Turbulent coefficient, b/(μg·Z), psi²/cp/(Mscf/d)²
GWD_AOFm $B$37 AOF, LIT in m(p) from the rock, Mscf/d
GWD_n $B$39 Flow exponent, n
GWD_C $B$40 Backpressure coefficient, C, Mscf/d/psi²ⁿ
GWD_R2 $B$41 R² of the log-log fit
GWD_AOFbp $B$42 AOF, backpressure, Mscf/d
GWD_la $B$44 Laminar coefficient, a, psi²/(Mscf/d)
GWD_lb $B$45 Turbulent coefficient, b, psi²/(Mscf/d)²
GWD_AOFlp $B$46 AOF, LIT in pressure squared, Mscf/d
GWD_ma $B$48 Laminar coefficient, a, psi²/cp/(Mscf/d)
GWD_mb $B$49 Turbulent coefficient, b, psi²/cp/(Mscf/d)²
GWD_AOFlm $B$50 AOF, LIT in m(p), Mscf/d
GWD_qOp $B$51 Gas rate at the operating pressure, LIT in m(p), Mscf/d
GWD_TurbM $B$52 Share of the drawdown turbulence takes at the AOF, %
GWD_Spread $B$54 Spread of the three test AOFs, largest over smallest, %
GWD_P2Err $B$55 Pressure-squared AOF against m(p), from the rock, %
GWD_TestErr $B$56 Test's m(p) AOF against the rock's, %
GWD_TestCheck $B$57 Test point check verdict
GWD_TestCheckNote $C$57 Test point check comment
GWD_nCheck $B$58 Exponent check verdict
GWD_nCheckNote $C$58 Exponent check comment
GWD_FitCheck $B$59 Fit check verdict
GWD_FitCheckNote $C$59 Fit check comment
GWD_PerfCheck $B$60 Perforation check verdict
GWD_PerfCheckNote $C$60 Perforation check comment
GWD_P2Check $B$61 Pressure-squared check verdict
GWD_P2CheckNote $C$61 Pressure-squared check comment
GWD_RockCheck $B$62 Rock against test check verdict
GWD_RockCheckNote $C$62 Rock against test check comment
GWD_Results $B$20:$B$62 The gas at Pr, D and m(p), the rock's AOF in pressure squared and in m(p) with their LIT coefficients, the test's C, n, LIT a and b and AOFs, the operating rate, the spread, and six checks
GWD_Tests $A$69:$I$72 Each test's flowing pressure and stabilized gas rate, its Pr² − Pwf², m(Pwf) and Δm(p), the m(p) LIT fit's rate there and the miss, and the rate in MMscf/d for the backpressure plot
GWD_Pwf $B$69:$B$72 Test flowing pressures, psia
GWD_Q $C$69:$C$72 Test gas rates, Mscf/d
GWD_DP2 $D$69:$D$72 Pr² − Pwf² of each test, psi²
GWD_DM $F$69:$F$72 m(Pr) − m(Pwf) of each test, psi²/cp
GWD_Pwf1 $B$69 Test 1 flowing pressure, psia
GWD_q1 $C$69 Test 1 gas rate, Mscf/d
GWD_Pwf2 $B$70 Test 2 flowing pressure, psia
GWD_q2 $C$70 Test 2 gas rate, Mscf/d
GWD_Pwf3 $B$71 Test 3 flowing pressure, psia
GWD_q3 $C$71 Test 3 gas rate, Mscf/d
GWD_Pwf4 $B$72 Test 4 flowing pressure, psia
GWD_q4 $C$72 Test 4 gas rate, Mscf/d
GWD_Curve $A$77:$K$89 Flowing pressure from Pr to the base pressure, its m(p) and drawdowns, and the gas rate by the six methods, the backpressure rate also in MMscf/d
GWD_R0 $B$92 Rankine at 0 °F, °R
GWD_Steps $B$93 Trapezoid steps of each m(p) integral
GWD_nLo $B$94 Backpressure exponent for fully turbulent flow
GWD_nHi $B$95 Backpressure exponent for laminar (Darcy) flow

Details

Inserts95 rows × 11 columns
CategoryInflow Performance Relationship
For agents and toolsDescriptor (.md)
TagsIPR · gas · deliverability · AOF · backpressure · Rawlins-Schellhardt · LIT · Houpeurt · pseudo-pressure · non-Darcy · turbulence · multi-rate-test

Need a custom calculation? Request a blueprint