How long should this test run?
Set your best guesses for permeability, skin, wellbore storage and fluid on the left, as for a test you are planning. The model works out when radial flow will start and how long to shut in, with the shut-in valve at surface or downhole.
Log-log diagnostic
Pressure change and its derivative against time. Early on both ride a unit-slope line: the well is only filling its own wellbore (storage). Radial flow is where the derivative goes flat, and only that stretch gives permeability. A rise at late time means a boundary; a fall means pressure support or a closing reservoir. The model curves use the permeability, skin and storage found here: if they lie on the data, the answer hangs together.
Horner plot
Rule of thumb. Most bad buildup interpretations come from the straight line, not the math. Before trusting a permeability or skin, find the flat stretch of the derivative. If there isn't one, the test was too short, and the right answer is a longer shut-in, not a better analysis. Load the Test too short case to see what that looks like.
Pressure history
The raw gauge record. Check it for steps, gauge drift or a well that was not really shut in before reading anything into the other plots.
Results
Method and references
Semilog analysis (oilfield units): k = 162.6 qBμ / (mh), where m is the straight-line slope in psi per log cycle. Buildup skin s = 1.151[(p1hr − pwf)/m − log(k/φμctrw²) + log((tp+1)/tp) + 3.23]; drawdown skin uses (pi − p1hr). Pressure drop across the skin ΔPs = 0.869ms; flow efficiency = (p̄ − pwf − ΔPs)/(p̄ − pwf). Wellbore storage C = qBΔt/(24Δp) from the first reading clear of gauge noise; radius of investigation ri = (kt/948φμct)½.
Horner (1951) and Miller, Dyes and Hutchinson (1950) for semilog analysis; Matthews, Brons and Hazebroek (1954) for average pressure, here with the short- and long-time limits of the MBH function rather than the full charts. Pressure derivative after Bourdet et al. (1983, 1989), taken against Agarwal equivalent time for buildups. Example tests and model curves use the Agarwal, Al-Hussainy and Ramey (1970) solution for wellbore storage and skin in an infinite reservoir, with an image well for the sealing fault, inverted with the Stehfest (1970) algorithm and superposed for the buildup. Negative skin is modeled with an effective wellbore radius. Earlougher, SPE Monograph 5 (1977), and Lee, Well Testing (1982), cover all of it.
Gas wells: pressures are converted to real-gas pseudo-pressure m(p) (Al-Hussainy, Ramey and Crawford, 1966) and then to adjusted pressure, pa = pref + (μz/p)ref∫p/(μz)dp (Meunier, Kabir and Wittmann, 1987), so the liquid equations above apply with q in reservoir barrels (q·Bg) and μ, ct taken at the reference pressure (the highest buildup pressure, or pi for a drawdown). Gas properties come from Sutton (1985) pseudo-criticals, the Dranchuk and Abou-Kassem (1975) z-factor and the Lee, Gonzalez and Eakin (1966) viscosity, for a sweet dry gas; ct = Sgcg + Swcw + cf with cw = 3 and cf = 4 ×10⁻⁶/psi. Gas skin is apparent skin and includes any rate-dependent (non-Darcy) component; separating them takes tests at two rates.
Test design: the planning times come from the same storage-and-skin model, run on your inputs with no noise. Radial flow is taken to start when the derivative settles within 5% of its radial level and stays there for half a log cycle. Downhole shut-in is modeled as wellbore storage cut by a factor of 20. The textbook check is Earlougher's (200,000 + 12,000s)Cμ/kh, which is often optimistic for damaged wells.
This is a screening tool for single-phase flow in a homogeneous reservoir, not a full interpretation. Sour or rich gas, condensate below the dew point and fractured, layered or dual-porosity wells need type curves or a model match beyond what is here. Rate history before the test is lumped into one producing time tp = Np/q. Confirm with offset tests, production performance and the completion record.