Read √k·xf and the stimulated volume off a tight-oil well
Two years of daily production from a fractured tight-oil well: Δp/q against √t gives √k xf, the end of linear flow gives the distance to the no-flow boundary and the stimulated reservoir volume, and the boundary-dominated slope gives the same volume with no pick at all.
- UC-RTA-005
- UC-RTA-007
Engineering use cases UC-RTA-005 (Fractured-well linear-flow √t slope) and UC-RTA-007 (SRV from end of linear flow).
A fractured well in tight rock spends months in linear flow: Δp/q rises on a straight line against √t (or √tsl when the rate changes), and its slope is 141.2 √(π · 0.006328) B / (h xf √k) √(μ/(φ ct)) (Wattenbarger et al. 1998), so it gives √k xf. When the pressure reaches the no-flow boundary half-way to the next fracture, at tDye = 1/4, linear flow ends; that time gives ye, and the box the well drains, 4 xf ye h φ (1 − Sw), is the SRV. The pressures here are the exact closed-linear-system solution, so the answer can be checked.
What an engineer learns from it: the picked √t line gives √k xf = 29.6 against 30 in the model. The SRV depends on where linear flow is said to end, because the departure is gradual: the library's own pick, the last point within 5 % of the line, is at 454 days and gives 2.76 MMrcf, 64 % too large; the end of the half slope on the log-log plot of Δp/q, at 167 days, gives 1.97 MMrcf, 17 % too large; the model's linear flow ends at 118.5 days. The boundary-dominated slope needs no pick: Δp/q climbs at 5.615 B / (ct Vp), which gives 1.68 MMrcf, the model's. Read the SRV from the boundary-dominated data when there is any, and treat a pick of telf as an upper bound.
Units: rate in STB/d, pressure in psia, time in days, k in mD, lengths in ft, SRV in reservoir cubic feet of hydrocarbon pore volume. The slope cannot split √k xf: k with xf assumed 300 ft is 0.0098 mD.
Source
using System;
using System.Linq;
using Team76.Engineering.Core.Measures;
using Team76.Engineering.RTA;
using Viscosity = Team76.Engineering.Core.Measures.Viscosity;
public class S : ICalcScript
{
public ScriptResult Run(ICalcContext ctx)
{
// Two years of daily production from a fractured tight-oil well at 20 STB/d: 0.01 mD, 100 ft, xf = 300 ft, and
// no-flow 250 ft either side of the fracture. The pressures are the exact closed-linear-system solution
// (Wattenbarger et al. 1998): pD = tD + 1/3 − (2/π²) Σ e^(−n²π² tD) / n², which starts as 2 √(tD/π).
double q = 20, pi = 7000, bo = 1.2, k = 0.01, xf = 300, phi = 0.08, mu = 0.4, ct = 1.5e-5, h = 100, ye = 250, sw = 0.3;
var (pay, fvf, visc, por, comp) = (Length.FromFeet(h), VolumeFactor.FromBblPerStb(bo), Viscosity.FromCP(mu),
Porosity.FromFraction(phi), Compressibility.From1PerPsi(ct));
double m = LinearFlow.OilSpecializedSlope(pay, fvf, visc, por, comp, Math.Sqrt(k) * xf);
double eta = 0.006328 * k / (phi * mu * ct);
double PD(double td) =>
td + 1.0 / 3 - 2 / (Math.PI * Math.PI) * Enumerable.Range(1, 200).Sum(n => Math.Exp(-n * n * Math.PI * Math.PI * td) / (n * n));
var days = Enumerable.Range(1, 720).Select(d => (double)d).ToArray();
var series = OilDailySeries.Create(Pressure.FromPsi(pi), days.Select(d => new OilDailySample(d, FlowRate.FromBblPerD(q),
Pressure.FromPsi(pi - q * m * ye / Math.Sqrt(eta) * Math.Sqrt(Math.PI) / 2 * PD(eta * d / (ye * ye))))).ToList());
// Δp/q against √t: the slope of the early line gives √k xf (UC-RTA-005).
var y = InverseNormalizedPressure.Oil(series);
// Where linear flow ends sets ye, and the SRV is the box 4 xf ye h φ (1 − Sw) (UC-RTA-007). Three readings:
// 1. the library's own pick, the last point within 5 % of the √t line;
var automatic = LinearFlow.OilSrv(series, pay, fvf, visc, por, comp, Length.FromFeet(xf), sw);
// 2. the end of the half slope on the log-log plot of Δp/q, where the local slope passes 0.55;
int end = Enumerable.Range(1, days.Length - 2).First(i =>
(Math.Log(y[i + 1]) - Math.Log(y[i - 1])) / (Math.Log(days[i + 1]) - Math.Log(days[i - 1])) > 0.55);
var picked = LinearFlow.OilSrv(series, pay, fvf, visc, por, comp, Length.FromFeet(xf), sw, endOfLinearFlowDays: days[end]);
// 3. no pick at all: in boundary-dominated flow Δp/q climbs at 5.615 B / (ct Vp), so the late slope gives the pore
// volume the well has contacted.
double lateSlope = (y[^1] - y[^31]) / 30;
double poreVolume = 5.615 * bo / (ct * lateSlope);
double srvFromBoundary = poreVolume * (1 - sw);
double truth = LinearFlow.StimulatedReservoirVolume(Length.FromFeet(xf), Length.FromFeet(ye), pay, por, sw);
double trueEnd = LinearFlow.EndOfLinearFlowDaysFromDistance(Length.FromFeet(ye), k, por, visc, comp);
var rows = new[]
{
(object[])["Library pick (5 % off the line)", Math.Round(automatic.EndOfLinearFlowDays), Math.Round(automatic.DistanceOfInvestigation.Feet), Math.Round(automatic.StimulatedReservoirVolume / 1e6, 3)],
["Half slope ends (log-log 0.55)", days[end], Math.Round(picked.DistanceOfInvestigation.Feet), Math.Round(picked.StimulatedReservoirVolume / 1e6, 3)],
["Boundary-dominated slope", "none", "", Math.Round(srvFromBoundary / 1e6, 3)],
["The model", Math.Round(trueEnd, 1), ye, Math.Round(truth / 1e6, 3)],
}.ToList();
var root = days.Select(Math.Sqrt).ToArray();
return ctx.Result()
.Set("Specialized plot", new ScriptChart(
[
new ScriptSeries("Δp/q", root, y),
new ScriptSeries("√t line, picked end", root, root.Select(r => picked.LinearPortion.Intercept + picked.LinearPortion.Slope * r).ToArray()),
],
title: "Linear flow, then the no-flow boundary", xLabel: "√t (d^½)", yLabel: "Δp/q (psi per STB/d)"))
.Set("√k xf, picked line (ft·mD^½)", Math.Round(picked.LinearPortion.FractureHalfLengthSqrtPermeability, 2))
.Set("√k xf in the model (ft·mD^½)", Math.Round(Math.Sqrt(k) * xf, 2))
.Set("k with xf = 300 ft (mD)", Math.Round(picked.Permeability, 4))
.Set("SRV readings", new ScriptTable(["Reading", "End of linear flow (d)", "ye (ft)", "SRV (MMrcf)"], rows,
title: "Stimulated reservoir volume, three ways"))
.Set("SRV from the boundary-dominated slope (MMrcf)", Math.Round(srvFromBoundary / 1e6, 3))
.Set("SRV in the model (MMrcf)", Math.Round(truth / 1e6, 3));
}
}