---
id: po.wb.vfp.nodal-analysis
title: Nodal Analysis
summary: "At what rate one oil well flows, from its inflow and best-matching tubing curve, and how tubing size, skin, wellhead pressure and water cut move it."
category: Production
requires:
  - po-addin
  - excel-365
tags:
  - nodal-analysis
  - IPR
  - VFP
  - composite
  - Vogel
  - productivity-index
  - skin
  - Hawkins
  - Beggs-Brill
  - multiphase-flow
  - correlation-matching
  - deviated-wells
  - operating-point
  - tubing-sizing
  - sensitivity
  - tornado
---

## Description

At what rate and pressure will this oil well flow, and what moves that rate most? You enter the reservoir and inflow data with a stabilized test, the completion and fluid, and a gauge reading on test. You read off the composite IPR and its AOF, the tubing correlation that best matches the gauge, the operating point where the IPR crosses the tubing curve, and how tubing size, skin, wellhead pressure and water cut change the oil rate. Field units; the node is at the bottom of the hole.

**How to use it:** On the Inflow sheet, enter k h and the skin from a buildup, Bo and μo at Pr from the PVT report, and a stabilized test above Pb; check the rock's PI against the test's. On the Tubing sheet, enter the completion, the producing GOR and WOR, and a gauge's flowing pressure with the test's wellhead pressure, and see which of the nine correlations matches the gauge. Read the operating point and its flow, stability and IPR checks on the Operating Point sheet. On the Sensitivities sheet, type the cases you are weighing over the table's fifteen values. The Summary gathers the answers and the checks.

**Method:** J = k h / (141.2 Bo μo (ln(re/rw) - 0.75 + s)); the test's J = q / (Pr - Pwf) above Pb; q = J (Pr - Pwf) above Pb and J (Pr - Pb) + J Pb/1.8 (1 - 0.2 Pwf/Pb - 0.8 (Pwf/Pb)^2) below; the Hawkins skin is (k/ks - 1) ln(rs/rw). The tubing curve takes all the gas free at GOR/(1 + WOR) and the liquid's density blended by volume; the best match is the correlation with the least absolute relative error against the gauge; the trajectory's TVD is by average angle. The Operating Point sheet tabulates the IPR's liquid rate q (1 + WOR) at 17 pressures and Beggs-Brill at 12 rates, and takes the last crossing by linear interpolation. Each sensitivity row solves g(Pwf) = BeggsBrill(q(Pwf)) - Pwf = 0 by a secant on Pwf: it starts at 0.5 and 0.7 Pr, takes three passes held between 0.05 and 0.99 Pr, and no root within 1 psi means no flow. No circular reference.

**Example:** The oil-inflow family's reference well (4,000 psi, Pb 2,620 psi, 20 mD over 50 ft, Bo 1.467, μo 0.302 cp, re 1,490 ft, rw 0.354 ft, skin 5) in 3-1/2-in tubing (2.992 in) to 8,500 ft, 40.7 API oil with 768 scf/STB of 0.855 gas and 0.25 bbl of 1.03 brine per STB, 200 psi at the wellhead. The rock gives J = 1.2692 STB/d/psi, 0.06 % from the test's 1.27 (1,270 STB/d at 3,000 psi); the AOF is 3,598.9 STB/d and the Hawkins skin 2.60. At the test (3,000 STB/d, gauge 2,056 psi) the correlations run 1,413 to 2,213 psi, median 1,955; Beggs-Brill, 2,032.8 psi, matches best at 1.1 %. Drilled as a 40 degree build-and-hold well it would need 2,076.4 psi, 43.6 psi more. The curves cross at 3,018.9 STB/d of liquid (2,415.1 STB/d of oil, 1.85 MMscf/d) and 2,037.8 psi, right of the tubing curve's 1,000 STB/d minimum; the secant puts the base case at 3,021.3 STB/d, 0.08 % away. Oil against the base case's 2,417.1 STB/d: 2-3/8-in -35.5 %, 2-7/8-in -15.9 %, 4-1/2-in +11.5 % (the most oil); skin -2 +64.1 %, 0 +40.2 %, 2.60 +16.5 %, 10 -23.7 %; 100 psi at the wellhead +3.4 %, 400 -10.5 %, 600 -23.7 %, 800 -38.5 %; water cut 0 +9.1 %, 40 % -13.4 %, 60 % -34.0 %, 80 % -63.3 %. At 1,200 psi at the wellhead the curves cross at 943 STB/d, left of the 1,500 STB/d minimum, so the well would head or die, and five cases don't flow; at 1,500 psi the well doesn't flow.

## Validity

The IPR is pseudosteady state at today's Pr; the PI is oil, so more water adds liquid at the same oil PI, and the GOR is held. Below Pb a damaged well's flow efficiency would also bend the curve (Standing), which the composite leaves out. The tubing correlations take all the gas free at a fixed liquid density and viscosity, which overstates the gas low in the tubing; the gauge check says which correlation to trust. The operating point uses Beggs-Brill, the best match here; if another correlation matches the gauge better, re-run the operating point with it by hand. The table's crossing is linear between points (within 0.3 % of the secant's here); the secant needs a root between 0.05 and 0.99 Pr. Only the base case is checked for stability: a case left of its tubing curve's minimum would head or die. The trajectory is a what-if. A surface choke or flowline is represented by the wellhead pressure. Alternatives: Fetkovich or Klins-Clark IPRs for a depleted well, gas lift or a pump where the curves don't cross, the gas-well tubing-sizing sheet with Turner's loading rate.

## References

- Brown, K.E. and Lea, J.F. (1985). Nodal Systems Analysis of Oil and Gas Wells. *JPT* 37(10), 1751-1763.
- Beggs, H.D. (2003). *Production Optimization Using Nodal Analysis*, 2nd ed. OGCI and Petroskills.
- Vogel, J.V. (1968). Inflow Performance Relationships for Solution-Gas Drive Wells. *JPT* 20(1), 83-92.
- Hawkins, M.F. Jr. (1956). A Note on the Skin Effect. *Trans. AIME* 207, 356-357.
- Beggs, H.D. and Brill, J.P. (1973). A Study of Two-Phase Flow in Inclined Pipes. *JPT* 25(5), 607-617.
- Economides, M.J., Hill, A.D., Ehlig-Economides, C. and Zhu, D. (2013). *Petroleum Production Systems*, 2nd ed. Prentice Hall, ch. 2, 7 and 10.

## Inputs

| Input | Unit | Default | Name |
|---|---|---|---|
| Average reservoir pressure, Pr | psi | 4000 | `INF_Pr` |
| Bubble-point pressure, Pb | psi | 2620 | `INF_Pb` |
| Formation permeability, k | mD | 20 | `INF_k` |
| Net pay, h | ft | 50 | `INF_h` |
| Oil formation volume factor, Bo | bbl/STB | 1.467 | `INF_Bo` |
| Oil viscosity, μo | cp | 0.302 | `INF_Uo` |
| Drainage radius, re | ft | 1490 | `INF_re` |
| Wellbore radius, rw | ft | 0.354 | `INF_rw` |
| Skin today, from a buildup | — | 5 | `INF_s` |
| Altered-zone permeability, ks | mD | 8 | `INF_ks` |
| Altered-zone radius, rs | ft | 2 | `INF_rs` |
| Test flowing bottomhole pressure | psi | 3000 | `INF_PwfT` |
| Test oil rate | STB/d | 1270 | `INF_qT` |
| Largest miss of the rock's PI against the test's | fraction | 0.02 | `INF_PiTol` |
| Depth of the perforations, tubing to them (TVD) | ft | 8500 | `TBG_TVD` |
| Tubing inner diameter | in | 2.992 | `TBG_ID` |
| Tubing relative roughness, ε/D | — | 0.0006 | `TBG_Rough` |
| Flowing wellhead pressure the well operates at | psi | 200 | `TBG_Pwh` |
| Flowing wellhead temperature | F | 120 | `TBG_Twh` |
| Temperature at the perforations | F | 220 | `TBG_Tbh` |
| Stock-tank oil gravity | API | 40.7 | `TBG_API` |
| Gas specific gravity | — | 0.855 | `TBG_SGg` |
| Water specific gravity | — | 1.03 | `TBG_SGw` |
| Producing gas-oil ratio | scf/STB | 768 | `TBG_GOR` |
| Water-oil ratio | bbl/STB | 0.25 | `TBG_WOR` |
| Liquid viscosity in the tubing | cp | 0.6 | `TBG_UL` |
| Gas-liquid surface tension | dyne/cm | 25 | `TBG_IFT` |
| Liquid rate on test, oil and water | STB/d | 3000 | `TBG_QL` |
| Flowing wellhead pressure on test | psi | 200 | `TBG_PwhT` |
| Gauge's flowing bottomhole pressure on test | psi | 2056 | `TBG_Pmeas` |
| Best match's miss against the gauge accepted | fraction | 0.05 | `TBG_MatchTol` |
| Trajectory's TVD miss accepted | ft | 25 | `TBG_TvdTol` |
| Largest miss of the crossing against the IPR | fraction | 0.01 | `NOD_IprTol` |
| Largest last-pass miss accepted as a solution | psi | 1 | `SEN_Tol` |
| Least oil gain that pays for a stimulation | fraction | 0.2 | `SEN_GainMin` |
| Survey stations, MD and inclination | ft, degrees | 6 stations | `TBG_Trajectory` |
| Sensitivity cases, each case's changed value | — | 15 cases | `SEN_Cases` |

## Sheets

- `Guide` — what the workbook answers and the order to work through its sheets.
- `Inflow` — the pseudosteady-state PI at today's skin from k, h, Bo, μo, re and rw, checked against the PI a stabilized test gives; the composite IPR (straight line to Pb, Vogel below), its AOF and the altered zone's Hawkins skin.
- `Tubing` — the nine oil-well correlations at a test rate against a gauge, the best match, and the same well drilled as a build-and-hold well, marched station by station.
- `Operating Point` — the IPR in liquid terms against the Beggs-Brill tubing curve, the crossing, and the flow, stability and IPR checks, with an IPR/VLP chart.
- `Sensitivities` — fifteen cases on tubing size, skin, wellhead pressure and water cut, each solving its own operating point, and a tornado of the oil rate's change.
- `Summary` — the answers and every check under one verdict.
- `Test Cases` — the worked example and other cases, with expected and computed results.

Four charts: the composite IPR with the test, Pb and AOF; each correlation's miss against the gauge; the IPR and Beggs-Brill tubing curve; the oil rate's change by input.

## Functions used

`PO.IPR.VW.PSS.PI`, `PO.IPR.VW.PSS.Rate`, `PO.IPR.VW.PSS.Rate.ByVogel`, `PO.CO.Damage.Hawkins` (LAMBDA), `PO.VFP.BeggsBrill.Pin`, `.HagedornBrown.Pin`, `.Ansari.Pin`, `.HasanKabir.Pin`, `.MukherjeeBrill.Pin`, `.Orkiszewski.Pin`, `.DunsRos.Pin`, `.Aziz.Pin`, `.PoettmannCarpenter.Pin`, `PO.VFP.Corr.Match` (LAMBDA), `PO.PVT.SG.Oil.FromAPI`, `PO.PVT.Rho.Wat.Stn`, `PO.Spline.Linear.Intersect` and `PO.Spline.Linear.Interp`.
