Decline and Flow-Regime Diagnostics

Which flow regime a well is in, from when an Arps forecast holds, and how much oil it has contacted so far, from its rates and pressures.

Decline Curve Analysis 72 rows × 14 columnsExcel 2024+

Use this blueprint

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

Requires the Petroleum Office add-in for Excel. Needs Excel 2024 or Microsoft 365: it uses LAMBDA, which Excel 2021 and older don't have, so the cells that use it show #NAME? there.

The copy calculates once the Petroleum Office add-in is installed.

Description

Which flow regime is the well in, from when does an Arps forecast hold, and how much oil has it contacted so far? You enter a well's monthly rates and flowing pressures with the reservoir's initial pressure and total compressibility. You read off the regime month by month from the trend of the loss-ratio exponent b(t), the month from which Arps applies, the contacted oil in place from the flowing material balance, and the slope of the linear-flow √t line.

Parameters:

  • Reservoir: the initial reservoir pressure DDG_Pi (psi) and the total compressibility DDG_Ct (1/psi)
  • Derivatives: the smoothing window DDG_L, in natural-log cycles of time; a neighbour must lie at least this far from a month to enter its derivative
  • Lines: the least R² a straight-line fit should reach, DDG_R2Min
  • Regime table: the b(t) each regime is read from, ascending (boundary-dominated from 0, transition from 1, linear flow from 1.5, bilinear flow from 3)
  • Months: the oil rate (STB/d) and flowing pressure (psi) of each of 24 months

How to use it: Compute monthly rates as each month's volume over its days on production, type the bottomhole flowing pressure of each month (gauge or computed from the wellhead), and take out shut-in and partial months first (the Production Data Cleaning sheet). A noisy history needs a wider smoothing window; read b(t) over several months, not one. Check that the late-time regime is boundary-dominated and that the two straight lines reach the least R². Three charts draw the rate and its derivative on log-log axes, the Agarwal-Gardner plot with its line, and Δp/q against √t.

Method: The sheet reads the history three ways. The decline diagnostics take the Bourdet rate derivative, β = t·D and the loss-ratio exponent b(t) at each month, and read b(t) against the flow-regime table month by month: bilinear, linear, transition or boundary-dominated. The rate-transient variables are the normalized rate q/Δp, the material-balance time Np/q and the normalized cumulative Np/Δp. Two straight lines are then fitted where the reading says they belong: the flowing material balance over the boundary-dominated months, which gives the contacted oil in place, and the √t line over the linear-flow months.

Time is in months for the derivatives and in days (× 365.25/12) for the rate-transient variables. The Bourdet derivative dq/dt at a month uses the nearest neighbours at least L ln-cycles away on each side; −t·dq/dt is plotted beside q on log-log axes, where in a power-law transient q ∝ t^(−β) the two run parallel β apart. β = t·D with D = −(dq/dt)/q, and b(t) = d(1/D)/dt, the loss ratio's derivative. In transient flow b = 1/β: 2 in linear flow, 4 in bilinear; in boundary-dominated flow b falls to Arps's 0 to 1 and β rises past 0.5. A month reads as the last regime in the table whose "b from" its b(t) reaches; the first and last two months, whose second derivative is one-sided, aren't read, and a negative b(t) reads as noise. The late-time b is the median of months 13 to 22. Np is cumulated month by month as each month's rate times its days; tc = Np/q. The flowing material balance fits (pi − pwf)/q against tc over the months from the first boundary-dominated one, and the contacted oil in place is 1/(slope·ct); its intercept is bpss. The linear-flow line is a least-squares line (Excel's LINEST) of (pi − pwf)/q against √t over the months read as linear flow.

Example: The default case is a tight-oil horizontal well in the decline family's play whose first 24 months fall from 577.4 to 114.8 STB/d, produced at a constant 1,000 psi from a 5,000 psi reservoir, with a total compressibility of 1.5 × 10⁻⁵ 1/psi. Its rates are synthetic: the transient hyperbolic model (qi = 1,000 STB/d, Di = 1/month, bi = 2, bf = 0.5, end of linear flow at month 3) to a tenth of a barrel. The reference well of the Arps and model-comparison sheets is an Arps hyperbolic from its first month with a ±4 % scatter, which a second derivative can't read; this well passes through the regimes the diagnostics are for. The smoothing window is 0.3 ln-cycles and the least R² 0.98.

b(t) reads 1.88, 1.81, 1.79, 1.74 and 1.56 at months 3 to 7, linear flow; 1.39, 1.21 and 1.05 at months 8 to 10, the transition; and 0.98 from month 11, boundary-dominated, through month 22. The late-time median is 0.64, within 0 to 1, so an Arps forecast holds from month 11. β over the same months is 0.47 to 0.52 in linear flow and rises to 0.86 by month 22. The normalized rate falls from 577.4/4,000 = 0.1444 to 114.8/4,000 = 0.0287 STB/d/psi. Over months 11 to 24 the flowing material balance has a slope of 0.016567 psi/(STB/d) per day, so the contacted oil in place is 1/(0.016567 × 1.5 × 10⁻⁵) = 4.02 MMSTB, with bpss = 11.29 psi/(STB/d) and R² = 0.9997. Over every month, linear flow included, it would be 3.57 MMSTB: transient months pull the volume down. The five linear-flow months lie on Δp/q = 1.154 + 0.9842·√t (R² 0.9999).

Functions used

Names it defines (46)
NameRefers toComment
PO.RTA.NormalizedRate =LAMBDA(q, p_i, p_wf, IF((q<=0)+(p_i<=p_wf), NA(), q/(p_i-p_wf))) Pressure-normalized rate q/(p_i - p_wf), STB/d/psi: the rate over the drawdown from the initial reservoir pressure. Works on single values or whole columns. For gas pass pseudo-pressures m(p_i), m(p_wf).
PO.RTA.FlowingMB =LAMBDA(n_p, q, p_i, p_wf, ct, IF((ct<=0)+(SLOPE((p_i-p_wf)/q, n_p/q)<=0), NA(), 1/(SLOPE((p_i-p_wf)/q, n_p/q)*ct))) Contacted oil in place, STB, by flowing material balance: fits (p_i - p_wf)/q against material-balance time Np/q and returns 1/(slope*ct). Np in STB, q in STB/d, pressures in psi, ct in 1/psi; boundary-dominated points only.
DDG_Pi $B$4 Initial reservoir pressure, psi
DDG_Ct $B$5 Total compressibility, 1/psi
DDG_L $B$6 Derivative smoothing window, ln-cycles of time
DDG_R2Min $B$7 Least R² a straight-line fit should reach
DDG_Inputs $B$4:$B$7 The initial reservoir pressure, the total compressibility, the derivative smoothing window and the least R² a straight line should reach
DDG_NLinear $B$10 Months read as linear flow
DDG_TLinear $B$11 Last month read as linear flow, month
DDG_NBdf $B$12 Months read as boundary-dominated
DDG_TBdf $B$13 First month read as boundary-dominated, month
DDG_BLate $B$14 Late-time b(t), median of months 13 to 22
DDG_BetaLate $B$15 Late-time β, median of months 13 to 22
DDG_OOIP $B$17 Contacted oil in place, MMSTB
DDG_OOIPAll $B$18 Contacted oil in place, every month, MMSTB
DDG_Bpss $B$19 Flowing material balance intercept, b_pss, psi/(STB/d)
DDG_FmbR2 $B$20 Flowing material balance R²
DDG_LinSlope $B$21 Linear-flow slope, Δp/q against √t (LINEST), psi/(STB/d)/√day
DDG_LinInt $B$22 Linear-flow intercept, psi/(STB/d)
DDG_LinR2 $B$23 Linear-flow R²
DDG_RegimeCheck $B$24 Flow regime check verdict
DDG_RegimeCheckNote $C$24 Flow regime check comment
DDG_FmbCheck $B$25 Flowing material balance check verdict
DDG_FmbCheckNote $C$25 Flowing material balance check comment
DDG_LinCheck $B$26 Linear flow check verdict
DDG_LinCheckNote $C$26 Linear flow check comment
DDG_Results $B$10:$B$26 The months read in each regime, where linear flow ends and boundary-dominated flow starts, the late-time b(t) and β, the contacted oil in place by flowing material balance, its intercept and R², the √t linear-flow slope, intercept and R², and three checks
DDG_RegimeTable $A$32:$D$35 Each flow regime, the b(t) it is read from, and the β and b it shows
DDG_Regimes $A$32:$A$35 The flow regimes, in order of the b they are read from
DDG_BFrom $B$32:$B$35 The b(t) each regime is read from, ascending
DDG_History $A$46:$N$69 Each month's time, oil rate and flowing pressure, the time in days, the cumulative and material-balance time, the normalized rate, its inverse, the normalized cumulative, √t, the rate derivative, β, b(t) and the regime read
DDG_T $A$46:$A$69 Months, 1 to 24
DDG_Q $B$46:$B$69 Oil rates, STB/d
DDG_Pwf $C$46:$C$69 Flowing bottomhole pressures, psi
DDG_Np $E$46:$E$69 Cumulative oil to each month, STB
DDG_Tc $F$46:$F$69 Material-balance time Np/q, days
DDG_InvNp $H$46:$H$69 Inverse normalized pressure (pi - pwf)/q, psi/(STB/d)
DDG_NpDp $I$46:$I$69 Normalized cumulative Np/(pi - pwf), STB/psi
DDG_RootT $J$46:$J$69 Square root of time, √days
DDG_Regime $N$46:$N$69 The flow regime read for each month
DDG_Line $A$39:$C$40 The flowing material balance line on the Agarwal-Gardner axes, q/Δp = (1 − (Np/Δp)/(N·ct))/b_pss, from the first boundary-dominated month to N·ct where the rate would reach zero
DDG_NCt $B$40 N·ct, the line's intercept on the Np/Δp axis, STB/psi
DDG_Curve $A$46:$K$69 Rate and Its Derivative, Log-Log
DDG_Fmb_Curve $B$39:$G$40 Agarwal-Gardner Flowing Material Balance
DDG_Root_Curve $H$46:$J$69 Linear Flow, Δp/q Against √t
DDG_DMo $B$72 Days in a month, 365.25/12, days/month

Details

Inserts72 rows × 14 columns
CategoryDecline Curve Analysis
For agents and toolsDescriptor (.md)
Tagsdecline · diagnostics · Bourdet · derivative · beta · b-factor · flow-regime · linear-flow · rate-transient · normalized-rate · flowing-material-balance · contacted-volume

Need a custom calculation? Request a blueprint