Tell a fault from a channel from a closed reservoir
One well in six reservoirs that differ only beyond it: no boundary, a sealing fault, a constant-pressure boundary, two faults at a right angle, a channel and a closed circle. The derivatives side by side, the fault's distance from where its two semilog lines cross, and the drainage area from the closed reservoir's pseudosteady-state slope.
- UC-PTA-005
- UC-PTA-008
Engineering use cases UC-PTA-005 (Detect Boundary Effects) and UC-PTA-008 (Model Perpendicular Boundaries).
A boundary is a well that is not there: the method of images replaces a fault by a producing image well, a constant-pressure boundary by an injecting one. What the boundary does shows in the derivative once the pressure wave reaches it. A sealing fault doubles the radial plateau; two faults at 90° quadruple it (360°/θ); a constant-pressure boundary takes it down to zero; a channel climbs on a half slope; a closed reservoir climbs on a unit slope.
What an engineer learns from it: the table gives the late derivative over the radial plateau: 1.99 for the fault, 3.98 for the corner, 0.01 for constant pressure, and still rising for the channel and the circle. The fault's semilog slope doubles from 20.1 to 38.5 psi per cycle; the two lines cross at tx = 126 hours, and L = 0.01217 √(k tx / (φ μ ct)) (Earlougher 1977) gives 964 ft for a fault the model put at 1,000. In the closed circle Δp rises at 0.1986 psi per hour, and 0.234 q B / (φ ct h A) turns that into a drainage area whose radius is 1,500 ft, the model's. At 100 hours the fault adds 2.8 psi and the constant-pressure boundary takes off as much: on a Δp plot they are hard to tell from an infinite reservoir, on the derivative they are plain.
Field units throughout. A doubling can also be a change in mobility or thickness; tell a fault from those with geology, not with this plot alone.
Source
using System;
using System.Collections.Generic;
using System.Linq;
using Team76.Engineering.PTA.Boundaries;
using Team76.Engineering.PTA.Diagnostics;
using Team76.Engineering.PTA.Models;
public class S : ICalcScript
{
public ScriptResult Run(ICalcContext ctx)
{
// One well, 100 mD over 50 ft, skin 5, storage 0.01 bbl/psi, drawn down at 500 STB/d for 10,000 hours, in five
// reservoirs that differ only in what lies beyond the well.
double q = 500, bo = 1.2, mu = 1.0, h = 50, phi = 0.2, ct = 1e-5, rw = 0.5, k = 100;
var fluid = new Fluid { Ul = mu, B = bo };
var well = new Well { Rw = rw, SkinFactor = 5, C = 0.01 };
var rock = new Reservoir { K = k, H = h, Porosity = phi, Ct = ct };
var t = Enumerable.Range(0, 61).Select(i => Math.Pow(10, -2 + i * 0.1)).ToArray();
var models = new (string Name, PtaModel Model)[]
{
("Infinite", new PtaModel(fluid, well, rock)),
("Sealing fault at 1,000 ft", new PtaModel(fluid, well, rock, new LinearSealingFaultBoundary(rw, 1000))),
("Constant pressure at 1,000 ft", new PtaModel(fluid, well, rock, new LinearConstantPressureBoundary(rw, 1000))),
("Faults at 90°, 500 and 800 ft", new PtaModel(fluid, well, rock, new PerpendicularSealingFaultsBoundary(rw, l1: 500, l2: 800))),
("Channel 400 ft wide", new PtaModel(fluid, well, rock, new ParallelSealingFaultsBoundary(rw, l1: 150, l2: 250))),
("Closed circle, re 1,500 ft", new PtaModel(fluid, well, rock, new ClosedCircleBoundary(rw, re: 1500))),
};
var diagnostics = models.Select(m => LogLogDiagnostic.FromDrawdown(t, t.Select(x => m.Model.PressureDrop(x, q)).ToArray())).ToArray();
// The fault: the semilog slope doubles. Where the two lines cross, tx, gives the distance (Earlougher 1977):
// L = 0.01217 √(k tx / (φ μ ct)).
var fault = models[1].Model;
double F(double x) => fault.PressureDrop(x, q);
double early = (F(10) - F(3)) / Math.Log10(10.0 / 3), late = F(10000) - F(1000);
double tx = Math.Pow(10, (F(10000) - 4 * late - F(10) + early) / (early - late));
double faultDistance = 0.01217 * Math.Sqrt(k * tx / (phi * mu * ct));
// The closed circle: pseudosteady state, Δp rising linearly with t at 0.234 q B / (φ ct h A). The slope gives the
// drainage area, and the radius of a circle that holds it.
var circle = models[5].Model;
double pssSlope = (circle.PressureDrop(10000, q) - circle.PressureDrop(5000, q)) / 5000;
double area = 0.234 * q * bo / (phi * ct * h * pssSlope);
double radius = Math.Sqrt(area / Math.PI);
// The derivative's level at the end of the test, against the radial plateau: 2 for a fault, 4 for a 90° corner,
// 0 for constant pressure, and still rising for a channel (½ slope) or a closed reservoir (unit slope).
double plateau = 70.6 * q * bo * mu / (k * h);
var rows = models.Select((m, i) => (object[])
[
m.Name,
Math.Round(m.Model.PressureDrop(100, q), 1),
Math.Round(diagnostics[i].Points[^1].Bourdet / plateau, 2),
]).ToList();
var plot = new ScriptChart(
[.. models.Select((m, i) => new ScriptSeries(m.Name,
diagnostics[i].Points.Select(p => p.Time).ToArray(), diagnostics[i].Points.Select(p => p.Bourdet).ToArray()))],
title: "Bourdet derivative by boundary", xLabel: "t (hr)", yLabel: "Δp' (psi)", xLog: true, yLog: true);
return ctx.Result()
.Set("Derivatives", plot)
.Set("Signatures", new ScriptTable(["Boundary", "Δp at 100 hr (psi)", "Late derivative / radial plateau"], rows,
title: "What each boundary does to the derivative"))
.Set("Radial slope m (psi/cycle)", Math.Round(early, 2))
.Set("Late slope (psi/cycle)", Math.Round(late, 2))
.Set("Intersection time tx (hr)", Math.Round(tx, 1))
.Set("Fault distance from tx (ft)", Math.Round(faultDistance))
.Set("Pseudosteady-state slope (psi/hr)", Math.Round(pssSlope, 4))
.Set("Drainage radius from the slope (ft)", Math.Round(radius));
}
}