Read permeability and skin off a drawdown
A constant-rate drawdown on a semilog plot: the straight line after storage gives permeability from its slope and skin from its pressure at one hour, then the pressure the skin costs and the well's flow efficiency.
- UC-PTA-001
- UC-PTA-002
- UC-PTA-004
Engineering use cases UC-PTA-001 (Analyze Drawdown Test), UC-PTA-002 (Calculate Pressure Drop) and UC-PTA-004 (Estimate Skin Factor).
Once wellbore storage has died away the well is in infinite-acting radial flow, and the flowing pressure falls on a straight line against log t (the Miller–Dyes–Hutchinson plot). Its slope is m = 162.6 q B μ / (k h), so the slope gives kh; the line's pressure at one hour gives the skin, s = 1.151 [(pi − p1hr)/m − log(k/(φ μ ct rw²)) + 3.23] (Earlougher 1977, Ahmed's Reservoir Engineering Handbook). p1hr is read on the line, extrapolated if need be, not from the gauge, because at one hour the gauge may still be in storage.
What an engineer learns from it: the record is the library's model of a 100 mD, 50 ft reservoir with skin 5. The line from 10 to 100 hours has a slope of 19.63 psi per cycle (162.6 q B μ / (k h) = 19.51 for these inputs), which gives k = 99.4 mD and a skin of 4.92: the inputs, back to within 1 %. The skin costs 84 psi, 0.869 m s, about a third of the 223 psi drawdown, so the well flows at a flow efficiency of 0.62: a stimulation that took the skin to zero would make it produce about 1.6 times as much at the same drawdown. The table shows the same well at skins from −3 to 10: each unit of skin costs 141.2 q B μ / (k h) = 16.9 psi.
Field units: q in STB/d, B in rb/STB, μ in cP, h and rw in ft, ct in 1/psi, pressure in psia, k in mD. The method assumes a constant rate; for a test with rate changes use superposition (pta-multi-rate-superposition), and for a test that ends in storage or reaches a boundary, check the derivative before trusting the line (pta-buildup-bourdet-horner).
Source
using System;
using System.Linq;
using Team76.Engineering.PTA.Models;
public class S : ICalcScript
{
public ScriptResult Run(ICalcContext ctx)
{
// A 100-hour drawdown at 500 STB/d from 4,000 psia. The gauge record comes from the library's own model of a
// 100 mD, 50 ft reservoir with skin 5 and 0.01 bbl/psi of wellbore storage, so the answer can be checked.
double q = 500, bo = 1.2, mu = 1.0, h = 50, phi = 0.2, ct = 1e-5, rw = 0.5, pi = 4000;
double trueK = 100, trueSkin = 5;
var model = new PtaModel(
new Fluid { Ul = mu, B = bo },
new Well { Rw = rw, SkinFactor = trueSkin, C = 0.01 },
new Reservoir { K = trueK, H = h, Porosity = phi, Ct = ct });
var t = Enumerable.Range(0, 41).Select(i => Math.Pow(10, -2 + i * 0.1)).ToArray();
var pwf = t.Select(x => pi - model.PressureDrop(x, q)).ToArray();
// The semilog straight line, read from 10 to 100 hours, after storage has ended: the slope m in psi per cycle.
int a = Array.FindIndex(t, x => x >= 10 - 1e-9), b = Array.FindLastIndex(t, x => x <= 100 + 1e-9);
double m = (pwf[a] - pwf[b]) / (Math.Log10(t[b]) - Math.Log10(t[a]));
// Permeability from the slope: k = 162.6 q B μ / (m h).
double k = 162.6 * q * bo * mu / (m * h);
// Skin from the line's pressure at 1 hour (extrapolated, since the gauge at 1 hour may still see storage):
// s = 1.151 [(pi − p1hr) / m − log(k / (φ μ ct rw²)) + 3.23].
double p1hr = pwf[a] + m * Math.Log10(t[a]);
double skin = 1.151 * ((pi - p1hr) / m - Math.Log10(k / (phi * mu * ct * rw * rw)) + 3.23);
// What the skin costs: Δps = 0.869 m s, and the flow efficiency at the end of the test.
double dpSkin = 0.869 * m * skin;
double flowEfficiency = (pi - pwf[b] - dpSkin) / (pi - pwf[b]);
// The pressure drop at 1 hour for a range of skins: 141.2 q B μ / (k h) psi per unit of skin.
int[] skins = [-3, 0, 5, 10];
var skinRows = skins.Select(s => (object[])[s, Math.Round(new PtaModel(
new Fluid { Ul = mu, B = bo }, new Well { Rw = rw, SkinFactor = s, C = 0.01 },
new Reservoir { K = trueK, H = h, Porosity = phi, Ct = ct }).PressureDrop(1.0, q), 1)]).ToList();
var line = new[] { t[0], t[^1] };
var plot = new ScriptChart(
[
new ScriptSeries("Gauge pwf", t, pwf),
new ScriptSeries("Semilog line", line, line.Select(x => p1hr - m * Math.Log10(x)).ToArray()),
],
title: "Drawdown semilog plot", xLabel: "t (hr)", yLabel: "pwf (psia)", xLog: true);
return ctx.Result()
.Set("Semilog plot", plot)
.Set("Slope m (psi/cycle)", Math.Round(m, 2))
.Set("p1hr on the line (psia)", Math.Round(p1hr, 1))
.Set("k from the slope (mD)", Math.Round(k, 1))
.Set("Skin from p1hr", Math.Round(skin, 2))
.Set("Pressure drop across the skin (psi)", Math.Round(dpSkin, 1))
.Set("Flow efficiency at 100 hr", Math.Round(flowEfficiency, 3))
.Set("k in the model (mD)", trueK)
.Set("Skin in the model", trueSkin)
.Set("Drawdown at 1 hr against skin", new ScriptTable(["Skin", "Δp at 1 hr (psi)"], skinRows,
title: "The same well, damaged and stimulated"));
}
}