---
cid: po.bp.ipr.gas.deliverability
hub: ipr
tags: [IPR, gas, deliverability, AOF, backpressure, Rawlins-Schellhardt, LIT, Houpeurt, pseudo-pressure, non-Darcy, turbulence, multi-rate-test]
facets: { discipline: reservoir, phase: gas, property: aof }
title: Gas Well Deliverability
summary: "Puts a gas well's AOF and deliverability curve by six methods side by side and shows how far each can be trusted."
slug: po.ipr.gas.deliverability
type: worksheet
---

# Gas Well Deliverability

## Description

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

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

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

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

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

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

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

## Validity

The rock's equations are the radial pseudosteady-state ones for a well at the centre of a circular drainage area, in a homogeneous layer, flowing dry gas. A well still in transient flow, a gas condensate below its dew point, or a well loading up with liquid is outside them. The pressure-squared form holds while μg·Z is nearly constant between Pwf and Pr, below about 2,000 psia. Between 2,000 and 3,000 psia it is a fair approximation if μg·Z is taken at the average pressure, but this sheet holds μg·Z at Pr. Above about 3,000 psia use m(p), as the pressure-squared check says. The non-Darcy coefficient D is a correlation for the perforated interval; the partial-penetration skin the same short interval adds is not computed, so it belongs in the buildup's skin. DAK with Sutton's pseudo-criticals is for a sweet gas, within 0.2 ≤ Ppr ≤ 30 and 1.0 ≤ Tpr ≤ 3.0. The backpressure equation is empirical, and its AOF extrapolates a straight line on the log-log plot past the largest test: with the tests ending at half the AOF it reads high, which LIT avoids.

Named alternatives: the gas well's Darcy pseudosteady-state rate alone; the gas well's time to reach pseudosteady state; the Productivity Index by Flow Regime sheet for the oil well's transient and steady-state PIs; and the gas-well tubing sheets for the outflow the deliverability meets.

## References

- Rawlins, E.L. and Schellhardt, M.A. (1936). *Back-Pressure Data on Natural Gas Wells and Their Application to Production Practices*. U.S. Bureau of Mines Monograph 7.
- Houpeurt, A. (1959). "On the Flow of Gases in Porous Media." *Revue de l'Institut Français du Pétrole* XIV(11), 1468–1684.
- Al-Hussainy, R., Ramey, H.J. Jr. and Crawford, P.B. (1966). "The Flow of Real Gases Through Porous Media." *JPT* 18(5), 624–636.
- Lee, J. and Wattenbarger, R.A. (1996). *Gas Reservoir Engineering*. SPE Textbook Series Vol. 5, ch. 7 (deliverability tests and their analysis).
- Energy Resources Conservation Board (1975). *Theory and Practice of the Testing of Gas Wells*, 3rd ed. ERCB-75-34, Calgary.
- Ahmed, T. (2010). *Reservoir Engineering Handbook*, 4th ed. Gulf Professional Publishing, ch. 8 (gas well performance, non-Darcy flow).
- Dranchuk, P.M. and Abou-Kassem, J.H. (1975). "Calculation of Z Factors for Natural Gases Using Equations of State." *JCPT* 14(3), 34–36.
- Lee, A.L., Gonzalez, M.H. and Eakin, B.E. (1966). "The Viscosity of Natural Gases." *JPT* 18(8), 997–1000.

## Functions used

`PO.PVT.Ppc.BySutton`, `PO.PVT.Tpc.BySutton`, `PO.PVT.Z.ByDAK`, `PO.PVT.Ug.ByLGE`, `PO.IPR.GW.D`, `PO.PVT.PseudoP`, `PO.IPR.GW.PSS.Rate`, `PO.IPR.GW.PSS.Rate.NonDarcy`, `PO.IPR.GW.Backpressure.Fit`, `PO.IPR.GW.LIT.Fit`

## Spreadsheet: IprGasDeliverability

|    | A                                                                                                                                                                                                                                               | B                                                                                                          | C                                                                                                                                                                                                                                                                                                                                                  | D                 | E                                                                                   | F                                                                                                               | G                                                | H                                                  | I                                         | J                                        | K                            |
|----|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|--------------------------------------------------|----------------------------------------------------|-------------------------------------------|------------------------------------------|------------------------------|
| 1  | Gas Well Deliverability                                                                                                                                                                                                                         |                                                                                                            | Petroleum Office                                                                                                                                                                                                                                                                                                                                   |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 2  | Blue cells on yellow are inputs. Type the reservoir, the gas and the completion, and the four-point test below; the AOF and the deliverability curve follow by six methods.                                                                     |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 3  | Reservoir, Gas and Completion                                                                                                                                                                                                                   |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 4  | Average reservoir pressure, Pr                                                                                                                                                                                                                  | 3000                                                                                                       | psia                                                                                                                                                                                                                                                                                                                                               |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 5  | Reservoir temperature, T                                                                                                                                                                                                                        | 160                                                                                                        | °F                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 6  | Gas specific gravity (air = 1), sweet gas                                                                                                                                                                                                       | 0.7                                                                                                        | air = 1                                                                                                                                                                                                                                                                                                                                            |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 7  | Formation permeability, k                                                                                                                                                                                                                       | 8                                                                                                          | mD                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 8  | Net pay, h                                                                                                                                                                                                                                      | 40                                                                                                         | ft                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 9  | Perforated interval, hp (at most h)                                                                                                                                                                                                             | 20                                                                                                         | ft                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 10 | Drainage radius, re                                                                                                                                                                                                                             | 2980                                                                                                       | ft                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 11 | Wellbore radius, rw                                                                                                                                                                                                                             | 0.354                                                                                                      | ft                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 12 | Skin from a buildup, s (Darcy part)                                                                                                                                                                                                             | 2                                                                                                          | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 13 | Reading Points and Check Limits                                                                                                                                                                                                                 |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 14 | Pressure the AOF is read at, and m(p)'s base                                                                                                                                                                                                    | 14.7                                                                                                       | psia                                                                                                                                                                                                                                                                                                                                               |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 15 | Flowing bottomhole pressure to read the rate at                                                                                                                                                                                                 | 1000                                                                                                       | psia                                                                                                                                                                                                                                                                                                                                               |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 16 | Least R² accepted for the log-log backpressure fit                                                                                                                                                                                              | 0.98                                                                                                       | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 17 | Largest AOF difference accepted between two forms                                                                                                                                                                                               | 0.1                                                                                                        | %                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 19 | Gas at the Reservoir Pressure                                                                                                                                                                                                                   |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 20 | Reservoir temperature, absolute                                                                                                                                                                                                                 | =GWD_T+GWD_R0                                                                                              | °R                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 21 | Pseudo-reduced pressure, Pr/Ppc (Sutton)                                                                                                                                                                                                        | =GWD_Pr/PO.PVT.Ppc.BySutton(GWD_SG)                                                                        | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 22 | Pseudo-reduced temperature, T/Tpc (Sutton)                                                                                                                                                                                                      | =GWD_TR/PO.PVT.Tpc.BySutton(GWD_SG)                                                                        | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 23 | Z-factor at Pr                                                                                                                                                                                                                                  | =PO.PVT.Z.ByDAK(GWD_Ppr,GWD_Tpr)                                                                           | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 24 | Gas viscosity at Pr                                                                                                                                                                                                                             | =PO.PVT.Ug.ByLGE(GWD_Z,GWD_SG,GWD_Pr,GWD_TR)                                                               | cp                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 25 | Non-Darcy coefficient, D                                                                                                                                                                                                                        | =PO.IPR.GW.D(GWD_rw,GWD_h,GWD_hp,GWD_SG,GWD_Ug,GWD_k)                                                      | d/Mscf                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 26 | Pseudo-pressure at Pr, m(Pr)                                                                                                                                                                                                                    | =PO.PVT.PseudoP(GWD_Pr,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                  | psi²/cp                                                                                                                                                                                                                                                                                                                                            |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 27 | Pseudo-pressure at the operating pressure                                                                                                                                                                                                       | =PO.PVT.PseudoP(GWD_PwfOp,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                               | psi²/cp                                                                                                                                                                                                                                                                                                                                            |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 28 | From the Rock and Gas, Pressure Squared with μg·Z at Pr                                                                                                                                                                                         |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 29 | AOF, Darcy flow                                                                                                                                                                                                                                 | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,GWD_Pbase,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR)                  | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 30 | AOF, non-Darcy flow                                                                                                                                                                                                                             | =PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,GWD_Pbase,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)   | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 31 | Laminar coefficient, a = Δp²/AOF Darcy                                                                                                                                                                                                          | =(GWD_Pr^2-GWD_Pbase^2)/GWD_AOFd                                                                           | psi²/(Mscf/d)                                                                                                                                                                                                                                                                                                                                      |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 32 | Turbulent coefficient, b = (Δp² − a·AOF)/AOF²                                                                                                                                                                                                   | =((GWD_Pr^2-GWD_Pbase^2)-GWD_a2*GWD_AOFnd)/GWD_AOFnd^2                                                     | psi²/(Mscf/d)²                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 33 | Share of the drawdown turbulence takes at the AOF                                                                                                                                                                                               | =GWD_b2*GWD_AOFnd/(GWD_a2+GWD_b2*GWD_AOFnd)                                                                | %                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 34 | From the Rock and Gas, Pseudo-Pressure m(p)                                                                                                                                                                                                     |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 35 | Laminar coefficient, a/(μg·Z)                                                                                                                                                                                                                   | =GWD_a2/(GWD_Ug*GWD_Z)                                                                                     | psi²/cp/(Mscf/d)                                                                                                                                                                                                                                                                                                                                   |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 36 | Turbulent coefficient, b/(μg·Z)                                                                                                                                                                                                                 | =GWD_b2/(GWD_Ug*GWD_Z)                                                                                     | psi²/cp/(Mscf/d)²                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 37 | AOF, LIT in m(p) from the rock                                                                                                                                                                                                                  | =(SQRT((GWD_aM/2)^2+GWD_bM*GWD_mPr)-GWD_aM/2)/GWD_bM                                                       | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 38 | From the Test: Backpressure, q = C·(Pr² − Pwf²)ⁿ                                                                                                                                                                                                |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 39 | Flow exponent, n                                                                                                                                                                                                                                | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"n")                                      | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 40 | Backpressure coefficient, C                                                                                                                                                                                                                     | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"C")                                      | Mscf/d/psi²ⁿ                                                                                                                                                                                                                                                                                                                                       |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 41 | R² of the log-log fit                                                                                                                                                                                                                           | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"R2")                                     | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 42 | AOF, backpressure                                                                                                                                                                                                                               | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"q")                                      | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 43 | From the Test: LIT in Pressure Squared, Δp² = a·q + b·q²                                                                                                                                                                                        |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 44 | Laminar coefficient, a                                                                                                                                                                                                                          | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"a")                                               | psi²/(Mscf/d)                                                                                                                                                                                                                                                                                                                                      |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 45 | Turbulent coefficient, b                                                                                                                                                                                                                        | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"b")                                               | psi²/(Mscf/d)²                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 46 | AOF, LIT in pressure squared                                                                                                                                                                                                                    | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,(GWD_Pr^2-GWD_Pbase^2),"q")                                               | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 47 | From the Test: LIT in m(p), Δm(p) = a·q + b·q²                                                                                                                                                                                                  |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 48 | Laminar coefficient, a                                                                                                                                                                                                                          | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,GWD_mPr,"a")                                                               | psi²/cp/(Mscf/d)                                                                                                                                                                                                                                                                                                                                   |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 49 | Turbulent coefficient, b                                                                                                                                                                                                                        | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,GWD_mPr,"b")                                                               | psi²/cp/(Mscf/d)²                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 50 | AOF, LIT in m(p)                                                                                                                                                                                                                                | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,GWD_mPr,"q")                                                               | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 51 | Gas rate at the operating pressure, LIT in m(p)                                                                                                                                                                                                 | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,GWD_mPr-GWD_mOp,"q")                                                       | Mscf/d                                                                                                                                                                                                                                                                                                                                             |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 52 | Share of the drawdown turbulence takes at the AOF                                                                                                                                                                                               | =GWD_mb*GWD_AOFlm/(GWD_ma+GWD_mb*GWD_AOFlm)                                                                | %                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 53 | The Methods Against Each Other                                                                                                                                                                                                                  |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 54 | Spread of the three test AOFs, largest over smallest                                                                                                                                                                                            | =MAX(GWD_AOFbp,GWD_AOFlp,GWD_AOFlm)/MIN(GWD_AOFbp,GWD_AOFlp,GWD_AOFlm)-1                                   | %                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 55 | Pressure-squared AOF against m(p), from the rock                                                                                                                                                                                                | =GWD_AOFnd/GWD_AOFm-1                                                                                      | %                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 56 | Test's m(p) AOF against the rock's                                                                                                                                                                                                              | =GWD_AOFlm/GWD_AOFm-1                                                                                      | %                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 57 | Test point check                                                                                                                                                                                                                                | =IF(OR(MAX(GWD_Pwf)>=GWD_Pr,MIN(GWD_Pwf)<GWD_Pbase,MIN(GWD_Q)<=0),"FAIL",IF(COUNT(GWD_Q)<2,"FAIL","PASS")) | =IF(OR(MAX(GWD_Pwf)>=GWD_Pr,MIN(GWD_Pwf)<GWD_Pbase,MIN(GWD_Q)<=0),"every test needs a rate above 0 at a flowing pressure from the base pressure up to below Pr",IF(COUNT(GWD_Q)<2,"a fit needs at least two test points",""&COUNT(GWD_Q)&" test points, every one below Pr with a rate above 0"))                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 58 | Exponent check                                                                                                                                                                                                                                  | =IF(AND(GWD_n>=GWD_nLo,GWD_n<=GWD_nHi),"PASS","WARN")                                                      | =IF(AND(GWD_n>=GWD_nLo,GWD_n<=GWD_nHi),"n = "&TEXT(GWD_n,"0.000")&" is within 0.5 (fully turbulent) to 1 (laminar)","n = "&TEXT(GWD_n,"0.000")&" is outside 0.5 to 1: the tests didn't stabilize, or μg·Z changed over the drawdown; fit in m(p)")                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 59 | Fit check                                                                                                                                                                                                                                       | =IF(GWD_mb<=0,"WARN",IF(GWD_R2<GWD_R2Min,"WARN","PASS"))                                                   | =IF(GWD_mb<=0,"the m(p) LIT fit's b is not above 0: the tests don't show turbulence as LIT expects, retest",IF(GWD_R2<GWD_R2Min,"the log-log fit's R² = "&TEXT(GWD_R2,"0.0000")&", below the "&TEXT(GWD_R2Min,"0.00")&" accepted: a test point is off the line","the log-log fit's R² = "&TEXT(GWD_R2,"0.0000")&" and the m(p) LIT b is above 0")) |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 60 | Perforation check                                                                                                                                                                                                                               | =IF(OR(GWD_hp<=0,GWD_hp>GWD_h),"FAIL","PASS")                                                              | =IF(OR(GWD_hp<=0,GWD_hp>GWD_h),"the perforated interval must be above zero and no more than the net pay",""&TEXT(GWD_hp/GWD_h,"0%")&" of the pay is open; D = "&TEXT(GWD_D,"0.00E+00")&" d/Mscf")                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 61 | Pressure-squared check                                                                                                                                                                                                                          | =IF(ABS(GWD_P2Err)<=GWD_AofTol,"PASS","WARN")                                                              | =IF(ABS(GWD_P2Err)<=GWD_AofTol,"the pressure-squared AOF is "&TEXT(GWD_P2Err,"+0.0%;-0.0%")&" from the m(p) one, within "&TEXT(GWD_AofTol,"0%"),"the pressure-squared AOF is "&TEXT(GWD_P2Err,"+0.0%;-0.0%")&" from the m(p) one: μg·Z isn't constant from Pr down, so use the m(p) form")                                                         |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 62 | Rock against test check                                                                                                                                                                                                                         | =IF(ABS(GWD_TestErr)<=GWD_AofTol,"PASS","WARN")                                                            | =IF(ABS(GWD_TestErr)<=GWD_AofTol,"the test's m(p) AOF is "&TEXT(GWD_TestErr,"+0.0%;-0.0%")&" from the rock's, within "&TEXT(GWD_AofTol,"0%"),"the test's m(p) AOF is "&TEXT(GWD_TestErr,"+0.0%;-0.0%")&" from the rock's: revisit k·h, the skin or D, or the test")                                                                                |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 65 | The test is synthetic, made from the rock's m(p) LIT equation with a ±2 % scatter. How to use it: a flow-after-flow test, each rate held until the flowing pressure stabilizes, Pr from a buildup, and the gas gravity from the sales analysis. |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 66 | An isochronal or modified isochronal test fits b from its transient points; take a from its extended stabilized point instead of the LIT fit's.                                                                                                 |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 67 | Four-Point Test                                                                                                                                                                                                                                 |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 68 | Test                                                                                                                                                                                                                                            | Pwf (psia)                                                                                                 | Gas rate (Mscf/d)                                                                                                                                                                                                                                                                                                                                  | Pr² − Pwf² (psi²) | m(Pwf) (psi²/cp)                                                                    | Δm(p) (psi²/cp)                                                                                                 | LIT m(p) rate (Mscf/d)                           | Miss (%)                                           | Gas rate (MMscf/d)                        |                                          |                              |
| 69 | Test 1                                                                                                                                                                                                                                          | 2700                                                                                                       | 3090                                                                                                                                                                                                                                                                                                                                               | =GWD_Pr^2-B69^2   | =PO.PVT.PseudoP(B69,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                              | =GWD_mPr-E69                                                                                                    | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,F69,"q")         | =G69/C69-1                                         | =C69/1000                                 |                                          |                              |
| 70 | Test 2                                                                                                                                                                                                                                          | 2400                                                                                                       | 5400                                                                                                                                                                                                                                                                                                                                               | =GWD_Pr^2-B70^2   | =PO.PVT.PseudoP(B70,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                              | =GWD_mPr-E70                                                                                                    | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,F70,"q")         | =G70/C70-1                                         | =C70/1000                                 |                                          |                              |
| 71 | Test 3                                                                                                                                                                                                                                          | 2000                                                                                                       | 8210                                                                                                                                                                                                                                                                                                                                               | =GWD_Pr^2-B71^2   | =PO.PVT.PseudoP(B71,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                              | =GWD_mPr-E71                                                                                                    | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,F71,"q")         | =G71/C71-1                                         | =C71/1000                                 |                                          |                              |
| 72 | Test 4                                                                                                                                                                                                                                          | 1500                                                                                                       | 10350                                                                                                                                                                                                                                                                                                                                              | =GWD_Pr^2-B72^2   | =PO.PVT.PseudoP(B72,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                              | =GWD_mPr-E72                                                                                                    | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,F72,"q")         | =G72/C72-1                                         | =C72/1000                                 |                                          |                              |
| 75 | Deliverability: Twelve Steps From Pr to the Base Pressure                                                                                                                                                                                       |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 76 | Pwf (psia)                                                                                                                                                                                                                                      | m(Pwf) (psi²/cp)                                                                                           | Pr² − Pwf² (psi²)                                                                                                                                                                                                                                                                                                                                  | Δm(p) (psi²/cp)   | Darcy, rock (Mscf/d)                                                                | Non-Darcy p², rock (Mscf/d)                                                                                     | LIT m(p), rock (Mscf/d)                          | Backpressure, test (Mscf/d)                        | LIT p², test (Mscf/d)                     | LIT m(p), test (Mscf/d)                  | Backpressure, test (MMscf/d) |
| 77 | =GWD_Pr                                                                                                                                                                                                                                         | =PO.PVT.PseudoP(A77,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A77^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B77      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A77,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C77<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A77,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D77)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C77,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C77,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D77,"q") | =H77/1000                    |
| 78 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*11/12                                                                                                                                                                                                             | =PO.PVT.PseudoP(A78,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A78^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B78      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A78,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C78<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A78,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D78)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C78,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C78,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D78,"q") | =H78/1000                    |
| 79 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*10/12                                                                                                                                                                                                             | =PO.PVT.PseudoP(A79,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A79^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B79      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A79,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C79<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A79,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D79)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C79,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C79,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D79,"q") | =H79/1000                    |
| 80 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*9/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A80,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A80^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B80      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A80,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C80<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A80,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D80)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C80,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C80,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D80,"q") | =H80/1000                    |
| 81 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*8/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A81,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A81^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B81      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A81,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C81<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A81,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D81)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C81,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C81,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D81,"q") | =H81/1000                    |
| 82 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*7/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A82,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A82^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B82      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A82,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C82<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A82,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D82)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C82,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C82,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D82,"q") | =H82/1000                    |
| 83 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*6/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A83,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A83^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B83      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A83,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C83<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A83,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D83)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C83,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C83,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D83,"q") | =H83/1000                    |
| 84 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*5/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A84,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A84^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B84      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A84,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C84<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A84,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D84)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C84,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C84,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D84,"q") | =H84/1000                    |
| 85 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*4/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A85,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A85^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B85      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A85,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C85<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A85,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D85)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C85,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C85,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D85,"q") | =H85/1000                    |
| 86 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*3/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A86,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A86^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B86      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A86,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C86<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A86,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D86)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C86,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C86,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D86,"q") | =H86/1000                    |
| 87 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*2/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A87,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A87^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B87      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A87,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C87<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A87,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D87)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C87,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C87,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D87,"q") | =H87/1000                    |
| 88 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*1/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A88,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A88^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B88      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A88,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C88<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A88,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D88)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C88,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C88,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D88,"q") | =H88/1000                    |
| 89 | =GWD_Pbase+(GWD_Pr-GWD_Pbase)*0/12                                                                                                                                                                                                              | =PO.PVT.PseudoP(A89,GWD_TR,GWD_SG,GWD_Pbase,GWD_Steps)                                                     | =GWD_Pr^2-A89^2                                                                                                                                                                                                                                                                                                                                    | =GWD_mPr-B89      | =PO.IPR.GW.PSS.Rate(GWD_k,GWD_h,GWD_Pr,A89,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR) | =IF(C89<=0,0,PO.IPR.GW.PSS.Rate.NonDarcy(GWD_k,GWD_h,GWD_Pr,A89,GWD_Z,GWD_Ug,GWD_re,GWD_rw,GWD_s,GWD_TR,GWD_D)) | =(SQRT((GWD_aM/2)^2+GWD_bM*D89)-GWD_aM/2)/GWD_bM | =PO.IPR.GW.Backpressure.Fit(GWD_DP2,GWD_Q,C89,"q") | =PO.IPR.GW.LIT.Fit(GWD_DP2,GWD_Q,C89,"q") | =PO.IPR.GW.LIT.Fit(GWD_DM,GWD_Q,D89,"q") | =H89/1000                    |
| 91 | Calculation Constants                                                                                                                                                                                                                           |                                                                                                            |                                                                                                                                                                                                                                                                                                                                                    |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 92 | Rankine at 0 °F                                                                                                                                                                                                                                 | 459.67                                                                                                     | °R                                                                                                                                                                                                                                                                                                                                                 |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 93 | Trapezoid steps of each m(p) integral                                                                                                                                                                                                           | 50                                                                                                         | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 94 | Backpressure exponent for fully turbulent flow                                                                                                                                                                                                  | 0.5                                                                                                        | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |
| 95 | Backpressure exponent for laminar (Darcy) flow                                                                                                                                                                                                  | 1                                                                                                          | —                                                                                                                                                                                                                                                                                                                                                  |                   |                                                                                     |                                                                                                                 |                                                  |                                                    |                                           |                                          |                              |

## Lambdas

| Name | RefersTo | Comment |
|------|----------|---------|
| PO.PVT.PseudoP | =LAMBDA(p, t_r, sg_g, p_base, steps, IF((p<p_base)+(t_r<=0)+(sg_g<=0)+(steps<1)+(p_base/PO.PVT.Ppc.BySutton(sg_g)<0.01), NA(), LET(ppc, PO.PVT.Ppc.BySutton(sg_g), tpr, t_r/PO.PVT.Tpc.BySutton(sg_g), n, INT(steps), dp, (p-p_base)/n, f, MAP(p_base+dp*SEQUENCE(n+1, 1, 0), LAMBDA(x, LET(z, PO.PVT.Z.ByDAK(x/ppc, tpr), x/(PO.PVT.Ug.ByLGE(z, sg_g, x, t_r)*z)))), 2*dp*(SUM(f)-(INDEX(f, 1)+INDEX(f, n+1))/2)))) | Real-gas pseudo-pressure m(p) = 2*integral of p/(ug*Z) dp from p_base to p (psi2/cp), trapezoid rule in steps; Z by DAK and ug by LGE at Sutton pseudo-criticals. p, p_base psia (p_base >= 7), t_r degR, sg_g air = 1. |
| PO.IPR.GW.Backpressure.Fit | =LAMBDA(d, q, d_at, output, IF((MIN(d)<=0)+(MIN(q)<=0)+(COUNT(q)<2)+(COUNT(d)<>COUNT(q)), NA(), LET(lx, LOG10(d), ly, LOG10(q), expn, SLOPE(ly, lx), coef, 10^INTERCEPT(ly, lx), IF(output="n", expn, IF(output="C", coef, IF(output="R2", RSQ(ly, lx), IF(output="q", IF(d_at<0, NA(), coef*d_at^expn), NA()))))))) | Gas backpressure q = C*d^n fitted by least squares on log q vs log d, d = Pr^2 - Pwf^2 (psi2) or delta m(p). output "n", "C", "R2", or "q" the rate (Mscf/d) at the drawdown d_at. d and q: test columns, values > 0. |
| PO.IPR.GW.LIT.Fit | =LAMBDA(d, q, d_at, output, IF((MIN(d)<=0)+(MIN(q)<=0)+(COUNT(q)<2)+(COUNT(d)<>COUNT(q)), NA(), LET(ratio, d/q, lam, INTERCEPT(ratio, q), turb, SLOPE(ratio, q), IF(output="a", lam, IF(output="b", turb, IF(output="R2", RSQ(ratio, q), IF(output="q", IF((d_at<0)+(turb<0)+(lam<=0), NA(), IF(turb=0, d_at/lam, (SQRT((lam/2)^2+turb*d_at)-lam/2)/turb)), NA()))))))) | Gas LIT (Houpeurt) d = a*q + b*q^2 fitted by least squares on d/q vs q, d = Pr^2 - Pwf^2 (psi2) or delta m(p). output "a", "b", "R2", or "q" the rate (Mscf/d) at the drawdown d_at. d and q: test columns, values > 0. |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| GWD_Pr | $B$4 | Average reservoir pressure, Pr, psia |
| GWD_T | $B$5 | Reservoir temperature, T, °F |
| GWD_SG | $B$6 | Gas specific gravity (air = 1), sweet gas, air = 1 |
| GWD_k | $B$7 | Formation permeability, k, mD |
| GWD_h | $B$8 | Net pay, h, ft |
| GWD_hp | $B$9 | Perforated interval, hp (at most h), ft |
| GWD_re | $B$10 | Drainage radius, re, ft |
| GWD_rw | $B$11 | Wellbore radius, rw, ft |
| GWD_s | $B$12 | Skin from a buildup, s (Darcy part) |
| GWD_Pbase | $B$14 | Pressure the AOF is read at, and m(p)'s base, psia |
| GWD_PwfOp | $B$15 | Flowing bottomhole pressure to read the rate at, psia |
| GWD_R2Min | $B$16 | Least R² accepted for the log-log backpressure fit |
| GWD_AofTol | $B$17 | Largest AOF difference accepted between two forms, % |
| GWD_Inputs | $B$4:$B$17 | The reservoir pressure and temperature, the gas gravity, the rock, the completion and the skin, the AOF's pressure, the operating pressure and the two check limits; the test is in the table below |
| GWD_TR | $B$20 | Reservoir temperature, absolute, °R |
| GWD_Ppr | $B$21 | Pseudo-reduced pressure, Pr/Ppc (Sutton) |
| GWD_Tpr | $B$22 | Pseudo-reduced temperature, T/Tpc (Sutton) |
| GWD_Z | $B$23 | Z-factor at Pr |
| GWD_Ug | $B$24 | Gas viscosity at Pr, cp |
| GWD_D | $B$25 | Non-Darcy coefficient, D, d/Mscf |
| GWD_mPr | $B$26 | Pseudo-pressure at Pr, m(Pr), psi²/cp |
| GWD_mOp | $B$27 | Pseudo-pressure at the operating pressure, psi²/cp |
| GWD_AOFd | $B$29 | AOF, Darcy flow, Mscf/d |
| GWD_AOFnd | $B$30 | AOF, non-Darcy flow, Mscf/d |
| GWD_a2 | $B$31 | Laminar coefficient, a = Δp²/AOF Darcy, psi²/(Mscf/d) |
| GWD_b2 | $B$32 | Turbulent coefficient, b = (Δp² − a·AOF)/AOF², psi²/(Mscf/d)² |
| GWD_Turb | $B$33 | Share of the drawdown turbulence takes at the AOF, % |
| GWD_aM | $B$35 | Laminar coefficient, a/(μg·Z), psi²/cp/(Mscf/d) |
| GWD_bM | $B$36 | Turbulent coefficient, b/(μg·Z), psi²/cp/(Mscf/d)² |
| GWD_AOFm | $B$37 | AOF, LIT in m(p) from the rock, Mscf/d |
| GWD_n | $B$39 | Flow exponent, n |
| GWD_C | $B$40 | Backpressure coefficient, C, Mscf/d/psi²ⁿ |
| GWD_R2 | $B$41 | R² of the log-log fit |
| GWD_AOFbp | $B$42 | AOF, backpressure, Mscf/d |
| GWD_la | $B$44 | Laminar coefficient, a, psi²/(Mscf/d) |
| GWD_lb | $B$45 | Turbulent coefficient, b, psi²/(Mscf/d)² |
| GWD_AOFlp | $B$46 | AOF, LIT in pressure squared, Mscf/d |
| GWD_ma | $B$48 | Laminar coefficient, a, psi²/cp/(Mscf/d) |
| GWD_mb | $B$49 | Turbulent coefficient, b, psi²/cp/(Mscf/d)² |
| GWD_AOFlm | $B$50 | AOF, LIT in m(p), Mscf/d |
| GWD_qOp | $B$51 | Gas rate at the operating pressure, LIT in m(p), Mscf/d |
| GWD_TurbM | $B$52 | Share of the drawdown turbulence takes at the AOF, % |
| GWD_Spread | $B$54 | Spread of the three test AOFs, largest over smallest, % |
| GWD_P2Err | $B$55 | Pressure-squared AOF against m(p), from the rock, % |
| GWD_TestErr | $B$56 | Test's m(p) AOF against the rock's, % |
| GWD_TestCheck | $B$57 | Test point check verdict |
| GWD_TestCheckNote | $C$57 | Test point check comment |
| GWD_nCheck | $B$58 | Exponent check verdict |
| GWD_nCheckNote | $C$58 | Exponent check comment |
| GWD_FitCheck | $B$59 | Fit check verdict |
| GWD_FitCheckNote | $C$59 | Fit check comment |
| GWD_PerfCheck | $B$60 | Perforation check verdict |
| GWD_PerfCheckNote | $C$60 | Perforation check comment |
| GWD_P2Check | $B$61 | Pressure-squared check verdict |
| GWD_P2CheckNote | $C$61 | Pressure-squared check comment |
| GWD_RockCheck | $B$62 | Rock against test check verdict |
| GWD_RockCheckNote | $C$62 | Rock against test check comment |
| GWD_Results | $B$20:$B$62 | The gas at Pr, D and m(p), the rock's AOF in pressure squared and in m(p) with their LIT coefficients, the test's C, n, LIT a and b and AOFs, the operating rate, the spread, and six checks |
| GWD_Tests | $A$69:$I$72 | Each test's flowing pressure and stabilized gas rate, its Pr² − Pwf², m(Pwf) and Δm(p), the m(p) LIT fit's rate there and the miss, and the rate in MMscf/d for the backpressure plot |
| GWD_Pwf | $B$69:$B$72 | Test flowing pressures, psia |
| GWD_Q | $C$69:$C$72 | Test gas rates, Mscf/d |
| GWD_DP2 | $D$69:$D$72 | Pr² − Pwf² of each test, psi² |
| GWD_DM | $F$69:$F$72 | m(Pr) − m(Pwf) of each test, psi²/cp |
| GWD_Pwf1 | $B$69 | Test 1 flowing pressure, psia |
| GWD_q1 | $C$69 | Test 1 gas rate, Mscf/d |
| GWD_Pwf2 | $B$70 | Test 2 flowing pressure, psia |
| GWD_q2 | $C$70 | Test 2 gas rate, Mscf/d |
| GWD_Pwf3 | $B$71 | Test 3 flowing pressure, psia |
| GWD_q3 | $C$71 | Test 3 gas rate, Mscf/d |
| GWD_Pwf4 | $B$72 | Test 4 flowing pressure, psia |
| GWD_q4 | $C$72 | Test 4 gas rate, Mscf/d |
| GWD_Curve | $A$77:$K$89 | Flowing pressure from Pr to the base pressure, its m(p) and drawdowns, and the gas rate by the six methods, the backpressure rate also in MMscf/d |
| GWD_R0 | $B$92 | Rankine at 0 °F, °R |
| GWD_Steps | $B$93 | Trapezoid steps of each m(p) integral |
| GWD_nLo | $B$94 | Backpressure exponent for fully turbulent flow |
| GWD_nHi | $B$95 | Backpressure exponent for laminar (Darcy) flow |

---

## Related Blueprints
- [Gas Buildup in Pseudo-Pressure](/blueprint/po.pta.gas.pseudopressure.md)
- [Gas Reservoir Production Forecast](/blueprint/po.mbe.gas.forecast.md)
- [Fetkovich Oil IPR Fitted to a Multi-Rate Test](/blueprint/po.ipr.fetkovich.curve.md)
- [Productivity Index by Flow Regime](/blueprint/po.ipr.flowregime.compare.md)
- [Skin Sensitivity of the IPR](/blueprint/po.ipr.skin.sensitivity.md)
- [Productivity Index and Flow Efficiency](/blueprint/po.ipr.pi.calculation.md)

