Gas Well Tubing Performance
Calculates the bottomhole pressure a gas well needs, checks whether it flows fast enough to unload water and picks the best correlation.
Vertical Flow Performance 99 rows × 7 columnsMicrosoft 365
Use this blueprint
How to use this blueprint
- In Excel, go to the Petroleum Office ribbon tab and click Blueprint Manager
- Search for Gas Well Tubing Performance
- Click on the blueprint to preview
- 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 (FILTER, LAMBDA, LET and SEQUENCE), which show #NAME? there.
Description
What flowing bottomhole pressure does a gas well need to lift its gas to the wellhead, is it flowing fast enough to carry its water out, and which correlation fits it? You enter the gas gravity, the tubing, the wellhead pressure and temperatures, the water the well makes, the gas rate and a gauge's pressure at it. You read off the bottomhole pressure by the single-phase gas equation, Turner's critical rate to unload the water, each of four tubing sizes' Turner rate and bottomhole pressure, and the correlation closest to the gauge.
Parameters:
- Gas and well: the gas gravity
VGW_SGg(air = 1), the depth of the perforationsVGW_TVD(ft), the tubing's inner diameterVGW_ID(in) and relative roughnessVGW_Rough, the flowing wellhead pressureVGW_Pwh(psia), and the wellhead and bottomhole temperaturesVGW_TwhandVGW_Tbh(°F) - Water the well makes: the water-gas ratio
VGW_WGR(bbl/MMscf), the water's densityVGW_RhoL(lb/ft³), viscosity in the tubingVGW_UL(cp) and surface tension against the gasVGW_IFT(dyne/cm) - Rate and gauge: the gas rate
VGW_Qg(MMscf/d) and the gauge's flowing bottomhole pressure at itVGW_Pmeas(psia) - Limits: Turner's upward adjustment
VGW_TurnerF(1.2; 1 for Coleman) and the best match's miss acceptedVGW_MatchTol - The sizes: the four tubing inner diameters in the size table (in)
How to use it: Take the gas rate, water rate and wellhead pressure from a stabilized test, the gravity from the gas analysis, the tubing from the completion, and a downhole gauge's flowing pressure at the perforations at the same rate. The water's density and surface tension are Turner's values for water; take condensate's (45 lb/ft³, 20 dyne/cm) only when the well makes no water. The sheet computes the bottomhole pressure with the gas's Z-factor and viscosity taken from its pressure and temperature, not typed, in two passes, returns the pressure back to the wellhead, the Reynolds number and flow regime, and Turner's critical rate at the wellhead with the gas and critical velocities. The chart draws the bottomhole pressure against rate in each tubing size with its Turner rate marked on its curve: left of the marker the size loads up. Three correlations that carry the water too, Gray, Beggs-Brill and Duns-Ros, are set beside the gas equation at the gauge's pressure, and the best is picked. Three checks read the loading, the match and the flow regime.
Method: Sutton's pseudo-critical pressure and temperature for the gas gravity give the pseudo-reduced conditions; Z is Dranchuk-Abou-Kassem's and μg Lee-Gonzalez-Eakin's, Bg and the gas density follow from Z. The single-phase gas equation integrates the static head and the friction of the compressible gas from the wellhead pressure over the tubing at one temperature, the tubing's mean, and one Z and μg. The first pass takes them at the wellhead, which understates both at depth; the second takes them at the mean of the wellhead pressure and the first pass's bottomhole pressure and the mean temperature, and the sheet shows how far it moved. Each size's bottomhole pressure in the table and on the chart does both passes in one cell. Turner's critical rate at the wellhead is qc = 3.06·p·vt·A/(T·Z) MMscf/d with vt = F·1.593·σ^¼·(ρL − ρg)^¼/ρg^½ ft/s and F = 1.2; the gas velocity there is the gas's in-situ rate over the tubing's area, and the critical velocity is that times qc/q. Gray, Beggs-Brill and Duns-Ros take the water rate, the WGR times the gas rate, with the gas at a fixed liquid density and viscosity. The match scores each correlation's bottomhole pressure against the gauge by its absolute relative error and returns the least.
Example: The default case is the gas-inflow family's reference well, the one the Gas Well Deliverability sheet starts from: 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. It has 2-7/8-in tubing (2.441 in ID) completed to its perforations at 7,500 ft TVD (relative roughness 0.0006) and flows to 1,200 psia and 100 °F at the wellhead against the gathering line, making 5 bbl of water per MMscf (Turner's water: 67 lb/ft³, 60 dyne/cm, 0.5 cp in the tubing). The rate and the gauge are the four-point test's third point, 8,210 Mscf/d at 2,000 psia flowing; the Gas Well Tubing Sizing sheet takes the same well. At the wellhead's 1,200 psia and 100 °F the 0.7 gravity gas has Z = 0.8271 and μg = 0.01394 cp, and weighs 4.90 lb/ft³ (Bg = 0.01091 ft³/scf). At 8.21 MMscf/d the first pass puts the bottomhole pressure at 1,799.8 psia. At the mean, 1,499.9 psia and 130 °F, Z = 0.8341 and μg = 0.01520 cp, and the second pass gives 1,800.0 psia, 0.01 % more: 600 psi over the 7,500 ft, 0.080 psi/ft. The wellhead pressure back from it is the 1,200 psia it started from, and Re = 3.1 million, fully turbulent. Turner's rate at the wellhead is 1.74 MMscf/d (vt = 6.76 ft/s against the gas's 31.9 ft/s), so the well flows at 4.7 times it and unloads. In the other sizes the critical rate is 1.16 (2-3/8-in), 2.61 (3-1/2-in) and 4.57 MMscf/d (4-1/2-in), and the bottomhole pressure at the rate 2,261, 1,593 and 1,495 psia. The gas equation is 10.0 % under the gauge's 2,000 psia, because it lifts no water. With the 41 bbl/d of water, Gray gives 1,951.9 psia, 2.4 % low and the best match, within the 5 % accepted; Beggs-Brill is 5.8 % high and Duns-Ros 34 % high.
Functions used
PO.PVT.Ppc.BySuttonCalculates pseudo-critical pressure of hydrocarbon gas using Sutton (1985) correlation, [psi].PO.PVT.Tpc.BySuttonCalculates pseudo-critical temperature of hydrocarbon gas using Sutton (1985) correlation, [degR].PO.PVT.Z.ByDAKCalculates gas compressibility factor (Z) using Dranchuk and Abou-Kassem (1975) equation of state, [dimensionless].PO.PVT.Ug.ByLGECalculates gas viscosity using Lee, Gonzales and Eakin (1966) correlation, [cP].PO.PVT.Bg.ByDefinitionCalculates gas formation volume factor, [rcf/scf].PO.PVT.Rho.Gas.ByDefinitionCalculates gas density, [g/cm3].PO.VFP.Gas.PinCalculates inlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psi].PO.VFP.Gas.PoutCalculates outlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psi].PO.VFP.Gas.ReCalculates Reynolds number for single phase pipe flow of gas (compressible fluid), [dimensionless].PO.FA.Erosion.VmixCalculates mixture velocity in pipe, [ft/s].PO.VFP.Gray.PinCalculates inlet pipe pressure using Gray (1974), [psi]. For gas wells producing liquid. Gas properties (ρg, μg, Bg) use DAK (Z-factor) and LGE (viscosity).PO.VFP.BeggsBrill.PinCalculates inlet pipe pressure using Beggs and Brill (1973), [psi]. For any wellbore inclination. Gas properties (ρg, μg, Bg) use DAK (Z-factor) and LGE (viscosity).PO.VFP.DunsRos.PinCalculates inlet pipe pressure using Duns and Ros (1963), [psi]. Vertical gas wells. Gas properties (ρg, μg, Bg) use DAK (Z-factor) and LGE (viscosity).
Names it defines (68)
| Name | Refers to | Comment |
|---|---|---|
PO.PE.Loading.TurnerRate |
=LAMBDA(p, t, sg_g, tubing_id, sigma, rho_l, factor, IF(OR(p<=0, t<=-459.67, sg_g<=0, tubing_id<=0, sigma<=0, rho_l<=0, factor<=0), NA(), LET(tr, t+459.67, z, PO.PVT.Z.ByDAK(p/PO.PVT.Ppc.BySutton(sg_g), tr/PO.PVT.Tpc.BySutton(sg_g)), rho_g, PO.PVT.Rho.Gas.ByDefinition(p, tr, sg_g, z)*62.428, IF(rho_l<=rho_g, NA(), 3.06*p*factor*1.593*sigma^0.25*(rho_l-rho_g)^0.25/rho_g^0.5*PI()*tubing_id^2/576/(tr*z))))) |
Turner critical gas rate to unload liquid, MMscf/d: p (psia) and t (°F) where it is read, usually the wellhead, gas gravity sg_g, tubing_id (in), the liquid's sigma (dyne/cm) and rho_l (lb/ft³), and factor (1.2 Turner, 1 Coleman). |
PO.VFP.Corr.Match |
=LAMBDA(predicted, measured, row, LET(n, ROWS(predicted), m, COLUMNS(predicted), i, INT(row), ones, SEQUENCE(m, 1, 1, 0), num, --ISNUMBER(predicted), err, IFERROR(ABS(predicted-measured)/measured, 0), full, IF(m=1, num, MMULT(num, ones))=m, aare, IF(m=1, err, MMULT(err, ones))/m, k, COUNT(measured), valid, AND(IFERROR(ROWS(measured), 1)=1, OR(k=1, k=m), IFERROR(COLUMNS(measured), 1)=k, MIN(measured)>0), IF(OR(NOT(valid), i<0, i>n, row<>i), NA(), IF(i=0, MATCH(1, full*(aare=MIN(FILTER(aare, full, NA()))), 0), IF(SUM((SEQUENCE(n)=i)*full)=1, SUM((SEQUENCE(n)=i)*aare), NA()))))) |
Scores flow correlations against measured pressures: predicted has one row per correlation, measured one value or a row of m survey values. row = i gives row i's average absolute relative error (AARE); row = 0 the row with the least. |
VGW_SGg |
$B$4 |
Gas specific gravity (air = 1), sweet gas, air = 1 |
VGW_TVD |
$B$5 |
Depth of the perforations, tubing to them (TVD), ft |
VGW_ID |
$B$6 |
Tubing inner diameter, in |
VGW_Rough |
$B$7 |
Tubing relative roughness, ε/D |
VGW_Pwh |
$B$8 |
Flowing wellhead pressure, psia |
VGW_Twh |
$B$9 |
Flowing wellhead temperature, °F |
VGW_Tbh |
$B$10 |
Temperature at the perforations, the reservoir's, °F |
VGW_WGR |
$B$12 |
Water-gas ratio, bbl/MMscf |
VGW_RhoL |
$B$13 |
Water density, lb/ft³ |
VGW_UL |
$B$14 |
Water viscosity in the tubing, cp |
VGW_IFT |
$B$15 |
Water-gas surface tension, dyne/cm |
VGW_Qg |
$B$17 |
Gas rate, MMscf/d |
VGW_Pmeas |
$B$18 |
Gauge's flowing bottomhole pressure at that rate, psia |
VGW_TurnerF |
$B$19 |
Turner's upward adjustment (1.2; 1 for Coleman) |
VGW_MatchTol |
$B$20 |
Best match's miss against the gauge accepted, % |
VGW_Inputs |
$B$4:$B$20 |
The gas gravity, the tubing, the wellhead pressure and the temperatures, the water's rate and properties, the gas rate, the gauge's pressure, Turner's adjustment and the match limit |
VGW_Tm |
$B$23 |
Mean tubing temperature, °F |
VGW_Ppc |
$B$24 |
Gas pseudo-critical pressure (Sutton), psia |
VGW_Tpc |
$B$25 |
Gas pseudo-critical temperature (Sutton), °R |
VGW_Zwh |
$B$26 |
Z-factor at the wellhead (Dranchuk-Abou-Kassem) |
VGW_Ugwh |
$B$27 |
Gas viscosity at the wellhead (Lee-Gonzalez-Eakin), cp |
VGW_Bgwh |
$B$28 |
Gas formation volume factor at the wellhead, ft³/scf |
VGW_RhoGwh |
$B$29 |
Gas density at the wellhead, lb/ft³ |
VGW_Pwf1 |
$B$31 |
First pass: Z and μg at the wellhead, psia |
VGW_Pm |
$B$32 |
Mean tubing pressure from the first pass, psia |
VGW_Zm |
$B$33 |
Z-factor at the mean pressure and temperature |
VGW_Ugm |
$B$34 |
Gas viscosity at the mean pressure and temperature, cp |
VGW_Pwf |
$B$35 |
Flowing bottomhole pressure, Z and μg at the mean, psia |
VGW_PassErr |
$B$36 |
Second pass against the first, % |
VGW_dP |
$B$37 |
Pressure gained down the tubing, psi |
VGW_Gavg |
$B$38 |
Average flowing gradient, psi/ft |
VGW_PwhBack |
$B$39 |
Wellhead pressure back from it, psia |
VGW_Re |
$B$40 |
Reynolds number at the mean |
VGW_Regime |
$B$41 |
Flow regime |
VGW_Qc |
$B$43 |
Turner critical rate to unload the water, MMscf/d |
VGW_QRatio |
$B$44 |
Gas rate over the critical rate |
VGW_Vg |
$B$45 |
Gas velocity at the wellhead, ft/s |
VGW_Vt |
$B$46 |
Turner critical velocity at the wellhead, ft/s |
VGW_QL |
$B$48 |
Water rate at the gas rate, STB/d |
VGW_BestRow |
$B$49 |
Row of the best match |
VGW_Best |
$B$50 |
Best-matching correlation |
VGW_BestPwf |
$B$51 |
Its bottomhole pressure, psia |
VGW_BestErr |
$B$52 |
Its absolute relative error, AARE, % |
VGW_LoadCheck |
$B$53 |
Loading check verdict |
VGW_LoadCheckNote |
$C$53 |
Loading check comment |
VGW_MatchCheck |
$B$54 |
Match check verdict |
VGW_MatchCheckNote |
$C$54 |
Match check comment |
VGW_RegimeCheck |
$B$55 |
Flow regime check verdict |
VGW_RegimeCheckNote |
$C$55 |
Flow regime check comment |
VGW_Results |
$B$23:$B$55 |
The gas at the wellhead, the bottomhole pressure in two passes and back to the wellhead, the Reynolds number, Turner's rate and velocities, the best correlation against the gauge, and the three checks |
VGW_Sizes |
$A$63:$G$66 |
Four tubing sizes: each one's Turner critical rate at the wellhead, the bottomhole pressure there and at the gas rate, the wellhead gas velocity, and whether the rate unloads the water |
VGW_Qc1 |
$C$63 |
Turner critical rate in 2-3/8 in tubing, MMscf/d |
VGW_Qc2 |
$C$64 |
Turner critical rate in 2-7/8 in tubing, MMscf/d |
VGW_Qc3 |
$C$65 |
Turner critical rate in 3-1/2 in tubing, MMscf/d |
VGW_Qc4 |
$C$66 |
Turner critical rate in 4-1/2 in tubing, MMscf/d |
VGW_Compare |
$A$70:$D$73 |
The single-phase gas equation's bottomhole pressure and three two-phase correlations' at the rate with the water, and each one's miss against the gauge |
VGW_PwfGray |
$B$71 |
Gray bottomhole pressure at the rate, psia |
VGW_Gauge |
$A$77:$C$77 |
The test's rate and the gauge's pressure, the chart's marker |
VGW_Curve |
$A$81:$E$90 |
Gas rates from 0.5 to 12 MMscf/d and the single-phase bottomhole pressure in each tubing size |
VGW_Vert |
$B$93 |
A vertical pipe's angle from horizontal, ° |
VGW_R0 |
$B$94 |
Rankine at 0 °F, °R |
VGW_Scf |
$B$95 |
scf in an MMscf, scf/MMscf |
VGW_Sec |
$B$96 |
Seconds in a day, s/d |
VGW_LbFt3 |
$B$97 |
lb/ft³ in a g/cm³, lb/ft³ per g/cm³ |
VGW_ReLam |
$B$98 |
Reynolds number below which pipe flow is laminar |
VGW_ReTurb |
$B$99 |
Reynolds number from which pipe flow is turbulent |
Details
| Inserts | 99 rows × 7 columns |
| Category | Vertical Flow Performance |
| For agents and tools | Descriptor (.md) |
| Tags | VFP · gas-well · tubing-performance · single-phase · compressible · Gray · tubing-sizing · liquid-loading · Turner · correlation-matching |
Need a custom calculation? Request a blueprint
