---
cid: po.bp.vfp.gas.well
hub: vfp
tags: [VFP, gas-well, tubing-performance, single-phase, compressible, Gray, tubing-sizing, liquid-loading, Turner, correlation-matching]
facets: { discipline: production, phase: gas, property: pressure-gradient }
title: Gas Well Tubing Performance
summary: "Calculates the bottomhole pressure a gas well needs, checks whether it flows fast enough to unload water and picks the best correlation."
slug: po.vfp.gas.well
type: worksheet
---

# Gas Well Tubing Performance

## 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 perforations `VGW_TVD` (ft), the tubing's inner diameter `VGW_ID` (in) and relative roughness `VGW_Rough`, the flowing wellhead pressure `VGW_Pwh` (psia), and the wellhead and bottomhole temperatures `VGW_Twh` and `VGW_Tbh` (°F)
- **Water the well makes**: the water-gas ratio `VGW_WGR` (bbl/MMscf), the water's density `VGW_RhoL` (lb/ft³), viscosity in the tubing `VGW_UL` (cp) and surface tension against the gas `VGW_IFT` (dyne/cm)
- **Rate and gauge**: the gas rate `VGW_Qg` (MMscf/d) and the gauge's flowing bottomhole pressure at it `VGW_Pmeas` (psia)
- **Limits**: Turner's upward adjustment `VGW_TurnerF` (1.2; 1 for Coleman) and the best match's miss accepted `VGW_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.

## Validity

The single-phase gas equation holds for a dry gas: the water and condensate a well makes add head it doesn't see, so it is low for a wet well, as here, and the sheet compares it with the two-phase correlations for that reason. It takes one temperature and one Z and μg for the whole tubing, the average-temperature and average-Z method; the second pass is enough when it moves the pressure less than about 1 %, and a deep, high-rate or sour well wants the tubing in steps (Cullender and Smith's method). DAK at Sutton's pseudo-criticals holds for a sweet gas; correct a sour gas's by Wichert-Aziz first. Gray (1974) was built for gas wells making condensate and water: velocities under 50 ft/s, tubing under 3.5 in, condensate under 50 bbl/MMscf and water under 5 bbl/MMscf, so the 4-1/2-in size and a wetter well are outside it. Beggs-Brill and Duns-Ros were built for oil wells' gas-liquid flow and overstate the holdup at a gas well's low liquid loading. Turner's rate is for the mist flow of a gas well, fitted mostly above 1,000 psia at the wellhead; Coleman et al. found low-pressure wells load at Turner's velocity without the 20 % (set the adjustment to 1).

Named alternatives: Gray's correlation once the match picks it, the Gas Well Tubing Sizing sheet for the operating point of each size against the well's IPR, and a gradient survey to tell the correlations apart where one gauge can't.

## References

- Turner, R.G., Hubbard, M.G. and Dukler, A.E. (1969). "Analysis and Prediction of Minimum Flow Rate for the Continuous Removal of Liquids from Gas Wells." *JPT* 21(11), 1475–1482.
- Coleman, S.B., Clay, H.B., McCurdy, D.G. and Norris, H.L. III (1991). "A New Look at Predicting Gas-Well Load-Up." *JPT* 43(3), 329–333.
- Gray, H.E. (1974). *Vertical Flow Correlation in Gas Wells*. User's Manual for API 14B, Subsurface Controlled Safety Valve Sizing Computer Program, Appendix B. American Petroleum Institute.
- Cullender, M.H. and Smith, R.V. (1956). "Practical Solution of Gas-Flow Equations for Wells and Pipelines with Large Temperature Gradients." *Trans. AIME* 207, 281–287.
- Lea, J.F., Nickens, H.V. and Wells, M.R. (2008). *Gas Well Deliquification*, 2nd ed. Gulf Professional Publishing.
- Economides, M.J., Hill, A.D., Ehlig-Economides, C. and Zhu, D. (2013). *Petroleum Production Systems*, 2nd ed. Prentice Hall, ch. 7 (gas well flow).

## Functions used

`PO.VFP.Gas.Pin`, `PO.VFP.Gas.Pout`, `PO.VFP.Gas.Re`, `PO.VFP.Gray.Pin`, `PO.VFP.BeggsBrill.Pin`, `PO.VFP.DunsRos.Pin`, `PO.VFP.Corr.Match`, `PO.PE.Loading.TurnerRate`, `PO.FA.Erosion.Vmix`, `PO.PVT.Ppc.BySutton`, `PO.PVT.Tpc.BySutton`, `PO.PVT.Z.ByDAK`, `PO.PVT.Ug.ByLGE`, `PO.PVT.Bg.ByDefinition`, `PO.PVT.Rho.Gas.ByDefinition`

## Spreadsheet: VfpGasWell

|    | A                                                                                                                                                                                                            | B                                                                                                                                                                                                                                                                                                                                | C                                                                                                                                                                                                                                                                                                                                                 | D                                                                                                                                                                                                                                                                                                                                | E                                                                                                                                                                                                                                                                                                                                | F                                                          | G                                  |
|----|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|------------------------------------|
| 1  | Gas Well Tubing Performance                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  | Petroleum Office                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 2  | Blue cells on yellow are inputs. Type the gas, the tubing, the water it makes and the rate; the bottomhole pressure, Turner's rate and the curves by tubing size follow.                                     |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 3  | Gas and Well                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 4  | Gas specific gravity (air = 1), sweet gas                                                                                                                                                                    | 0.7                                                                                                                                                                                                                                                                                                                              | air = 1                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 5  | Depth of the perforations, tubing to them (TVD)                                                                                                                                                              | 7500                                                                                                                                                                                                                                                                                                                             | ft                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 6  | Tubing inner diameter                                                                                                                                                                                        | 2.441                                                                                                                                                                                                                                                                                                                            | in                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 7  | Tubing relative roughness, ε/D                                                                                                                                                                               | 0.0006                                                                                                                                                                                                                                                                                                                           | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 8  | Flowing wellhead pressure                                                                                                                                                                                    | 1200                                                                                                                                                                                                                                                                                                                             | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 9  | Flowing wellhead temperature                                                                                                                                                                                 | 100                                                                                                                                                                                                                                                                                                                              | °F                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 10 | Temperature at the perforations, the reservoir's                                                                                                                                                             | 160                                                                                                                                                                                                                                                                                                                              | °F                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 11 | Water the Well Makes                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 12 | Water-gas ratio                                                                                                                                                                                              | 5                                                                                                                                                                                                                                                                                                                                | bbl/MMscf                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 13 | Water density                                                                                                                                                                                                | 67                                                                                                                                                                                                                                                                                                                               | lb/ft³                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 14 | Water viscosity in the tubing                                                                                                                                                                                | 0.5                                                                                                                                                                                                                                                                                                                              | cp                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 15 | Water-gas surface tension                                                                                                                                                                                    | 60                                                                                                                                                                                                                                                                                                                               | dyne/cm                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 16 | Rate, Gauge and Check Limits                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 17 | Gas rate                                                                                                                                                                                                     | 8.21                                                                                                                                                                                                                                                                                                                             | MMscf/d                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 18 | Gauge's flowing bottomhole pressure at that rate                                                                                                                                                             | 2000                                                                                                                                                                                                                                                                                                                             | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 19 | Turner's upward adjustment (1.2; 1 for Coleman)                                                                                                                                                              | 1.2                                                                                                                                                                                                                                                                                                                              | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 20 | Best match's miss against the gauge accepted                                                                                                                                                                 | 0.05                                                                                                                                                                                                                                                                                                                             | %                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 22 | Gas at the Wellhead                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 23 | Mean tubing temperature                                                                                                                                                                                      | =(VGW_Twh+VGW_Tbh)/2                                                                                                                                                                                                                                                                                                             | °F                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 24 | Gas pseudo-critical pressure (Sutton)                                                                                                                                                                        | =PO.PVT.Ppc.BySutton(VGW_SGg)                                                                                                                                                                                                                                                                                                    | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 25 | Gas pseudo-critical temperature (Sutton)                                                                                                                                                                     | =PO.PVT.Tpc.BySutton(VGW_SGg)                                                                                                                                                                                                                                                                                                    | °R                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 26 | Z-factor at the wellhead (Dranchuk-Abou-Kassem)                                                                                                                                                              | =PO.PVT.Z.ByDAK(VGW_Pwh/VGW_Ppc,(VGW_Twh+VGW_R0)/VGW_Tpc)                                                                                                                                                                                                                                                                        | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 27 | Gas viscosity at the wellhead (Lee-Gonzalez-Eakin)                                                                                                                                                           | =PO.PVT.Ug.ByLGE(VGW_Zwh,VGW_SGg,VGW_Pwh,VGW_Twh+VGW_R0)                                                                                                                                                                                                                                                                         | cp                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 28 | Gas formation volume factor at the wellhead                                                                                                                                                                  | =PO.PVT.Bg.ByDefinition(VGW_Pwh,VGW_Twh+VGW_R0,VGW_Zwh)                                                                                                                                                                                                                                                                          | ft³/scf                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 29 | Gas density at the wellhead                                                                                                                                                                                  | =PO.PVT.Rho.Gas.ByDefinition(VGW_Pwh,VGW_Twh+VGW_R0,VGW_SGg,VGW_Zwh)*VGW_LbFt3                                                                                                                                                                                                                                                   | lb/ft³                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 30 | Bottomhole Pressure at the Rate                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 31 | First pass: Z and μg at the wellhead                                                                                                                                                                         | =PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,VGW_ID,VGW_TVD,VGW_Rough,VGW_Vert)                                                                                                                                                                                                                                | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 32 | Mean tubing pressure from the first pass                                                                                                                                                                     | =(VGW_Pwh+VGW_Pwf1)/2                                                                                                                                                                                                                                                                                                            | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 33 | Z-factor at the mean pressure and temperature                                                                                                                                                                | =PO.PVT.Z.ByDAK(VGW_Pm/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc)                                                                                                                                                                                                                                                                          | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 34 | Gas viscosity at the mean pressure and temperature                                                                                                                                                           | =PO.PVT.Ug.ByLGE(VGW_Zm,VGW_SGg,VGW_Pm,VGW_Tm+VGW_R0)                                                                                                                                                                                                                                                                            | cp                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 35 | Flowing bottomhole pressure, Z and μg at the mean                                                                                                                                                            | =PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugm,VGW_Zm,VGW_ID,VGW_TVD,VGW_Rough,VGW_Vert)                                                                                                                                                                                                                                  | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 36 | Second pass against the first                                                                                                                                                                                | =VGW_Pwf/VGW_Pwf1-1                                                                                                                                                                                                                                                                                                              | %                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 37 | Pressure gained down the tubing                                                                                                                                                                              | =VGW_Pwf-VGW_Pwh                                                                                                                                                                                                                                                                                                                 | psi                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 38 | Average flowing gradient                                                                                                                                                                                     | =VGW_dP/VGW_TVD                                                                                                                                                                                                                                                                                                                  | psi/ft                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 39 | Wellhead pressure back from it                                                                                                                                                                               | =PO.VFP.Gas.Pout(VGW_Qg,VGW_Pwf,VGW_Tm,VGW_SGg,VGW_Ugm,VGW_Zm,VGW_ID,VGW_TVD,VGW_Rough,VGW_Vert)                                                                                                                                                                                                                                 | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 40 | Reynolds number at the mean                                                                                                                                                                                  | =PO.VFP.Gas.Re(VGW_Qg,VGW_SGg,VGW_ID,VGW_Ugm)                                                                                                                                                                                                                                                                                    | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 41 | Flow regime                                                                                                                                                                                                  | =""&IF(VGW_Re<VGW_ReLam,"Laminar",IF(VGW_Re<VGW_ReTurb,"Transitional","Turbulent"))                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 42 | Liquid Loading at the Wellhead                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 43 | Turner critical rate to unload the water                                                                                                                                                                     | =PO.PE.Loading.TurnerRate(VGW_Pwh,VGW_Twh,VGW_SGg,VGW_ID,VGW_IFT,VGW_RhoL,VGW_TurnerF)                                                                                                                                                                                                                                           | MMscf/d                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 44 | Gas rate over the critical rate                                                                                                                                                                              | =VGW_Qg/VGW_Qc                                                                                                                                                                                                                                                                                                                   | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 45 | Gas velocity at the wellhead                                                                                                                                                                                 | =PO.FA.Erosion.Vmix(VGW_Qg*VGW_Scf*VGW_Bgwh/VGW_Sec,0,VGW_ID)                                                                                                                                                                                                                                                                    | ft/s                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 46 | Turner critical velocity at the wellhead                                                                                                                                                                     | =VGW_Vg*VGW_Qc/VGW_Qg                                                                                                                                                                                                                                                                                                            | ft/s                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 47 | Best Correlation Against the Gauge                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 48 | Water rate at the gas rate                                                                                                                                                                                   | =VGW_WGR*VGW_Qg                                                                                                                                                                                                                                                                                                                  | STB/d                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 49 | Row of the best match                                                                                                                                                                                        | =PO.VFP.Corr.Match($B$70:$B$73,VGW_Pmeas,0)                                                                                                                                                                                                                                                                                      | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 50 | Best-matching correlation                                                                                                                                                                                    | =""&INDEX($A$70:$A$73,VGW_BestRow)                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 51 | Its bottomhole pressure                                                                                                                                                                                      | =INDEX($B$70:$B$73,VGW_BestRow)                                                                                                                                                                                                                                                                                                  | psia                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 52 | Its absolute relative error, AARE                                                                                                                                                                            | =LET(bestRow_idx,VGW_BestRow,PO.VFP.Corr.Match($B$70:$B$73,VGW_Pmeas,bestRow_idx))                                                                                                                                                                                                                                               | %                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 53 | Loading check                                                                                                                                                                                                | =IF(VGW_Qg>=VGW_Qc,"PASS","WARN")                                                                                                                                                                                                                                                                                                | =IF(VGW_Qg>=VGW_Qc,""&TEXT(VGW_Qg,"0.00")&" MMscf/d is "&TEXT(VGW_QRatio,"0.0")&" times Turner's "&TEXT(VGW_Qc,"0.00")&" MMscf/d at the wellhead: the gas carries its water out",""&TEXT(VGW_Qg,"0.00")&" MMscf/d is under Turner's "&TEXT(VGW_Qc,"0.00")&" MMscf/d at the wellhead: the well loads with water; size the tubing down or lift it") |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 54 | Match check                                                                                                                                                                                                  | =IF(VGW_BestErr<=VGW_MatchTol,"PASS","WARN")                                                                                                                                                                                                                                                                                     | =IF(VGW_BestErr<=VGW_MatchTol,""&VGW_Best&" matches the gauge to "&TEXT(VGW_BestErr,"0.0%")&", within "&TEXT(VGW_MatchTol,"0%"),"the best, "&VGW_Best&", misses the gauge by "&TEXT(VGW_BestErr,"0.0%")&", past "&TEXT(VGW_MatchTol,"0%")&": check the rate, the water and the gauge depth")                                                      |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 55 | Flow regime check                                                                                                                                                                                            | =IF(VGW_Re>=VGW_ReTurb,"PASS","WARN")                                                                                                                                                                                                                                                                                            | =IF(VGW_Re>=VGW_ReTurb,"Re = "&TEXT(VGW_Re,"#,##0")&", turbulent, where the gas equation's friction factor holds","Re = "&TEXT(VGW_Re,"#,##0")&" is below "&TEXT(VGW_ReTurb,"#,##0")&": the flow isn't fully turbulent, and a well this slow is loading")                                                                                         |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 57 | How to use it: 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 gauge's flowing pressure at the perforations. |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 58 | The gas equation lifts the gas alone; Gray, Beggs-Brill and Duns-Ros carry the water too. The gauge is the four-point test's third point.                                                                    |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 61 | Each Tubing Size at the Rate                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 62 | Tubing size                                                                                                                                                                                                  | ID (in)                                                                                                                                                                                                                                                                                                                          | Turner rate (MMscf/d)                                                                                                                                                                                                                                                                                                                             | Pwf at Turner rate (psia)                                                                                                                                                                                                                                                                                                        | Pwf at the rate (psia)                                                                                                                                                                                                                                                                                                           | Wellhead velocity (ft/s)                                   | At the rate                        |
| 63 | 2-3/8 in                                                                                                                                                                                                     | 1.995                                                                                                                                                                                                                                                                                                                            | =PO.PE.Loading.TurnerRate(VGW_Pwh,VGW_Twh,VGW_SGg,B63,VGW_IFT,VGW_RhoL,VGW_TurnerF)                                                                                                                                                                                                                                                               | =LET(first,PO.VFP.Gas.Pin(C63,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(C63,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B63,VGW_TVD,VGW_Rough,VGW_Vert))       | =LET(first,PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B63,VGW_TVD,VGW_Rough,VGW_Vert)) | =PO.FA.Erosion.Vmix(VGW_Qg*VGW_Scf*VGW_Bgwh/VGW_Sec,0,B63) | =IF(VGW_Qg>=C63,"Unloads","Loads") |
| 64 | 2-7/8 in                                                                                                                                                                                                     | 2.441                                                                                                                                                                                                                                                                                                                            | =PO.PE.Loading.TurnerRate(VGW_Pwh,VGW_Twh,VGW_SGg,B64,VGW_IFT,VGW_RhoL,VGW_TurnerF)                                                                                                                                                                                                                                                               | =LET(first,PO.VFP.Gas.Pin(C64,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(C64,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B64,VGW_TVD,VGW_Rough,VGW_Vert))       | =LET(first,PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B64,VGW_TVD,VGW_Rough,VGW_Vert)) | =PO.FA.Erosion.Vmix(VGW_Qg*VGW_Scf*VGW_Bgwh/VGW_Sec,0,B64) | =IF(VGW_Qg>=C64,"Unloads","Loads") |
| 65 | 3-1/2 in                                                                                                                                                                                                     | 2.992                                                                                                                                                                                                                                                                                                                            | =PO.PE.Loading.TurnerRate(VGW_Pwh,VGW_Twh,VGW_SGg,B65,VGW_IFT,VGW_RhoL,VGW_TurnerF)                                                                                                                                                                                                                                                               | =LET(first,PO.VFP.Gas.Pin(C65,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(C65,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B65,VGW_TVD,VGW_Rough,VGW_Vert))       | =LET(first,PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B65,VGW_TVD,VGW_Rough,VGW_Vert)) | =PO.FA.Erosion.Vmix(VGW_Qg*VGW_Scf*VGW_Bgwh/VGW_Sec,0,B65) | =IF(VGW_Qg>=C65,"Unloads","Loads") |
| 66 | 4-1/2 in                                                                                                                                                                                                     | 3.958                                                                                                                                                                                                                                                                                                                            | =PO.PE.Loading.TurnerRate(VGW_Pwh,VGW_Twh,VGW_SGg,B66,VGW_IFT,VGW_RhoL,VGW_TurnerF)                                                                                                                                                                                                                                                               | =LET(first,PO.VFP.Gas.Pin(C66,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(C66,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B66,VGW_TVD,VGW_Rough,VGW_Vert))       | =LET(first,PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,B66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin(VGW_Qg,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,B66,VGW_TVD,VGW_Rough,VGW_Vert)) | =PO.FA.Erosion.Vmix(VGW_Qg*VGW_Scf*VGW_Bgwh/VGW_Sec,0,B66) | =IF(VGW_Qg>=C66,"Unloads","Loads") |
| 68 | Each Correlation at the Rate                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 69 | Correlation                                                                                                                                                                                                  | Bottomhole pressure (psia)                                                                                                                                                                                                                                                                                                       | Miss (psi)                                                                                                                                                                                                                                                                                                                                        | Miss (%)                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 70 | Single-phase gas                                                                                                                                                                                             | =VGW_Pwf                                                                                                                                                                                                                                                                                                                         | =B70-VGW_Pmeas                                                                                                                                                                                                                                                                                                                                    | =B70/VGW_Pmeas-1                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 71 | Gray (1974)                                                                                                                                                                                                  | =PO.VFP.Gray.Pin(VGW_QL,VGW_Qg,VGW_Pwh,VGW_Tm,VGW_RhoL,VGW_UL,VGW_SGg,VGW_IFT,VGW_ID,VGW_TVD,VGW_Rough,VGW_Vert)                                                                                                                                                                                                                 | =B71-VGW_Pmeas                                                                                                                                                                                                                                                                                                                                    | =B71/VGW_Pmeas-1                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 72 | Beggs & Brill (1973)                                                                                                                                                                                         | =PO.VFP.BeggsBrill.Pin(VGW_QL,VGW_Qg,VGW_Pwh,VGW_Tm,VGW_RhoL,VGW_UL,VGW_SGg,VGW_IFT,VGW_ID,VGW_TVD,VGW_Rough,VGW_Vert)                                                                                                                                                                                                           | =B72-VGW_Pmeas                                                                                                                                                                                                                                                                                                                                    | =B72/VGW_Pmeas-1                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 73 | Duns & Ros (1963)                                                                                                                                                                                            | =PO.VFP.DunsRos.Pin(VGW_QL,VGW_Qg,VGW_Pwh,VGW_Tm,VGW_RhoL,VGW_UL,VGW_SGg,VGW_IFT,VGW_ID,VGW_TVD,VGW_Rough)                                                                                                                                                                                                                       | =B73-VGW_Pmeas                                                                                                                                                                                                                                                                                                                                    | =B73/VGW_Pmeas-1                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 75 | The Gauge                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 76 | Point                                                                                                                                                                                                        | Gas rate (MMscf/d)                                                                                                                                                                                                                                                                                                               | Bottomhole pressure (psia)                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 77 | Gauge                                                                                                                                                                                                        | =VGW_Qg                                                                                                                                                                                                                                                                                                                          | =VGW_Pmeas                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 79 | Bottomhole Pressure Against Rate by Tubing Size                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 80 | Gas rate (MMscf/d)                                                                                                                                                                                           | Pwf 2-3/8 in (psia)                                                                                                                                                                                                                                                                                                              | Pwf 2-7/8 in (psia)                                                                                                                                                                                                                                                                                                                               | Pwf 3-1/2 in (psia)                                                                                                                                                                                                                                                                                                              | Pwf 4-1/2 in (psia)                                                                                                                                                                                                                                                                                                              |                                                            |                                    |
| 81 | 0.5                                                                                                                                                                                                          | =LET(first,PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A81,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 82 | 1                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A82,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 83 | 2                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A83,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 84 | 3                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A84,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 85 | 4                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A85,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 86 | 5                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A86,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 87 | 6                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A87,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 88 | 8                                                                                                                                                                                                            | =LET(first,PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A88,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 89 | 10                                                                                                                                                                                                           | =LET(first,PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A89,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 90 | 12                                                                                                                                                                                                           | =LET(first,PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$63,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$63,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$64,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$64,VGW_TVD,VGW_Rough,VGW_Vert))                  | =LET(first,PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$65,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$65,VGW_TVD,VGW_Rough,VGW_Vert)) | =LET(first,PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,VGW_Ugwh,VGW_Zwh,$B$66,VGW_TVD,VGW_Rough,VGW_Vert),mean,(VGW_Pwh+first)/2,zmean,PO.PVT.Z.ByDAK(mean/VGW_Ppc,(VGW_Tm+VGW_R0)/VGW_Tpc),PO.VFP.Gas.Pin($A90,VGW_Pwh,VGW_Tm,VGW_SGg,PO.PVT.Ug.ByLGE(zmean,VGW_SGg,mean,VGW_Tm+VGW_R0),zmean,$B$66,VGW_TVD,VGW_Rough,VGW_Vert)) |                                                            |                                    |
| 92 | Constants                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 93 | A vertical pipe's angle from horizontal                                                                                                                                                                      | 90                                                                                                                                                                                                                                                                                                                               | °                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 94 | Rankine at 0 °F                                                                                                                                                                                              | 459.67                                                                                                                                                                                                                                                                                                                           | °R                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 95 | scf in an MMscf                                                                                                                                                                                              | 1000000                                                                                                                                                                                                                                                                                                                          | scf/MMscf                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 96 | Seconds in a day                                                                                                                                                                                             | 86400                                                                                                                                                                                                                                                                                                                            | s/d                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 97 | lb/ft³ in a g/cm³                                                                                                                                                                                            | 62.428                                                                                                                                                                                                                                                                                                                           | lb/ft³ per g/cm³                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 98 | Reynolds number below which pipe flow is laminar                                                                                                                                                             | 2100                                                                                                                                                                                                                                                                                                                             | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |
| 99 | Reynolds number from which pipe flow is turbulent                                                                                                                                                            | 4000                                                                                                                                                                                                                                                                                                                             | —                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                  |                                                            |                                    |

## Lambdas

| Name | RefersTo | 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. |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| 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 |

---

## Related Blueprints
- [Gas Well Liquid Loading](/blueprint/po.vfp.liquid.loading.md)
- [Gas Well Tubing Sizing](/blueprint/po.vfp.tubing.sizing.md)
- [Plunger Lift for a Loading Gas Well](/blueprint/po.vfp.plunger.lift.md)
- [Vertical Lift by Beggs and Brill](/blueprint/po.vfp.beggsbrill.verticallift.md)
- [Deviated-Well Vertical Lift](/blueprint/po.vfp.deviated.well.md)
- [Nodal Analysis Operating Point](/blueprint/po.vfp.nodal.analysis.md)

