Concept
Opening or shutting in a well is usually done at the wellhead or at a test valve, which is separated from the producing formation by a length of wellbore. The fluid in the wellbore can compress or expand, and the liquid level can rise or fall, so when the surface flow rate changes, the flow rate between the bottomhole and the formation takes some time to catch up. This phenomenon is called wellbore storage. During shut-in it appears as afterflow: the wellhead is already closed, but formation fluid continues to flow into the wellbore, with the afterflow rate starting from the production rate before shut-in and gradually decreasing to zero; the pressure data recorded during this period are called the afterflow segment. During opening the situation is reversed: at first the fluid produced is that stored in the wellbore, and the formation flow rate gradually increases from zero.
The quantity that measures the size of this effect is the wellbore storage coefficient C, the ratio of the change in fluid volume in the wellbore to the change in bottomhole pressure, in m³/MPa. The larger C is, the more fluid the wellbore can "take in and give out," and the longer the afterflow lasts. Wellbore storage and skin together control the early-time shape of the well test curve: on the log-log composite plot, the pressure and derivative curves of the afterflow segment coincide as a 45° straight line; the derivative then shows a peak and falls, and becomes a horizontal line once radial flow is reached. The height of the peak is determined by the grouped parameter CDe2S, where CD is the dimensionless wellbore storage coefficient; for curve identification and matching, see Pressure Derivative and Type Curve Matching.
Wellbore storage does not itself reflect formation properties, but it determines whether and when the radial flow straight line can be observed. In a well with a large C and a low formation mobility, only the afterflow segment may be present within the recording time; when C is very small and the mobility very high, the first measurement point is already later than the end of afterflow, and no afterflow segment can be seen on the curve.
Calculation Methods
Units below: q is the surface production rate in m³/d, B is the formation volume factor, Δt is in h, Δp is in MPa, C is in m³/MPa, K is in μm², μ is in mPa·s, Ct is in MPa⁻¹, and h and rw are in m.
Obtaining C from the Early Unit-Slope Segment
During pure wellbore storage, the change in bottomhole pressure is proportional to time, so the slope on the log-log plot is 1, and the plot is also a straight line on Cartesian coordinates. Reading the slope mws (MPa/h) on Cartesian coordinates gives:
The latter equation is a rewriting of the former and can be used to check whether the early measurement points fall on the unit-slope line. When the unit-slope segment cannot be read, C can also be estimated from the grading table below according to the well conditions.
Dimensionless Wellbore Storage Coefficient
The first form uses consistent units, and the second goes with the practical units listed above; 0.15916 is the approximate value of 1/(2π).
Estimating C from Wellbore Conditions
The estimating equations differ for the two storage mechanisms:
With a free liquid level: C = A/(ρg)
Cw is the compressibility of the wellbore fluid (MPa⁻¹), and Vw is the wellbore volume in communication with the formation (m³); A is the inner cross-sectional area of the string in which the liquid level sits, ρ is the fluid density, and g is the acceleration of gravity. Substituting m², kg/m³, and m/s² into the latter equation gives m³/Pa, and multiplying by 106 gives m³/MPa. Each 1 m rise of the liquid level corresponds to a pressure change of only about ρg ≈ 0.008 MPa, yet it must accommodate the fluid of a whole length of string, so for the same well, C is often much larger when the wellbore changes from being full of liquid to having a rising and falling liquid level; in the worked example of this entry it is about 18 times as large, and the multiple varies with the wellbore volume in communication with the formation and the cross-sectional area of the string in which the liquid level sits. A gas-bearing wellbore is highly compressible, and C can be very high even without a liquid level; see the grading table below.
The value C = CwVw computed for a wellbore full of single-phase crude oil is the value obtained when the packer seals and no fractures around the wellbore are connected to it, and it may be regarded as a lower limit for C; the values obtained from well test interpretation are often larger. Free gas in the wellbore, packer leakage increasing the effective wellbore volume, fractures connected to the wellbore in a fractured well or in a double-porosity medium increasing the effective volume, and a liquid level that does not reach the wellhead all make C larger. In a double-porosity medium, the C obtained from a well test can be 10–100 times the value calculated from completion data, in some cases reaching more than 2.3 m³/MPa.
Appearance on the Semilog Plot
On the MDH plot of a pressure buildup, the afterflow segment looks like a spoon: late in the afterflow there is an apparent straight line of slope m′, which meets the radial flow straight line (slope m) at one point, and the time at the intersection is called the corner time Δt*. The relationship between the slope ratio and skin is:
The corner time increases mainly with C and is inversely proportional to the mobility K/μ; S has little influence on it:
Δt* lies roughly 0.5 log cycle before the start of the radial flow semilog straight line segment, and it can be used to predict how long the well must be shut in before a usable straight line can be obtained.
Afterflow Correction
When radial flow cannot be observed, the afterflow rate can be used to correct the afterflow segment pressure onto the radial flow straight line. Empirically, the pre-shut-in production rate Q0 and the afterflow rate Q at shut-in time Δt satisfy:
Plot the curve of Δp′ against lg Δt on a semilog plot, adjust n until it becomes a straight line, and then obtain m and S by the conventional method. When the afterflow rate is not measured, the Russell method can be used, which introduces a pressure correction factor that is adjusted by trial until the data form a straight line. Such corrections are only approximate, and the results should be cross-checked against late-time data or matching results.
Changing Wellbore Storage
All of the equations above and the type curves assume that C is constant, which in practice is not always so. In a well whose formation pressure is slightly higher than the saturation pressure, the wellbore contains single-phase crude oil when the well is opened; when the additional near-wellbore pressure drop lowers the flowing pressure in the wellbore below the saturation pressure and free gas comes out of solution, C increases with it. Conversely, early in a buildup, when the wellhead pressure rises from slightly below the saturation pressure to above it, C becomes smaller. Variation of the gas compressibility in a gas well producing at a large drawdown, and variation of the wellbore temperature when a high-temperature gas well is shut in, can likewise make C nonconstant. In a well where C changes, both the pressure-difference curve and the derivative curve are markedly distorted, and there is no way to match them with constant-C type curves: manual methods have to give up the wellbore storage segment and match with the data from the middle time onward, while software that has a variable-C model can generate curves with it and compare them against the measured data.
Worked Example
Given: Continue with the unified D4 example (constructed for illustration). Vertical well, φ = 0.20, rw = 0.108 m; assume h = 10 m, K = 0.05 μm², μ = 2.0 mPa·s, B = 1.20, Ct = 1.5×10−3 MPa⁻¹, q = 30 m³/d, S = 3. Also assume that the wellbore is full of crude oil at wellhead shut-in, with wellbore volume in communication with the formation Vw = 20 m³ and crude oil compressibility Cw = 1.0×10−3 MPa⁻¹, for checking the order of magnitude of C. The following early-time readings were generated by forward calculation with C = 0.0200 m³/MPa and are demonstration data: at shut-in time Δt = 0.001 h (3.6 s), the pressure has already risen by Δp = 0.0750 MPa, and all earlier points lie on the unit-slope line.
Find: C, CD, CDe2S, m′/m, and the corner time; and compare the cases of a rising and falling liquid level and bottomhole shut-in.
Solution:
- The Cartesian slope is mws = 0.0750/0.001 = 75.0 MPa/h, and C = 30 × 1.20/(24 × 75.0) = 0.0200 m³/MPa. The slope must be read from the earliest few measurement points: with this example's CD and S, by about 0.005 h the points already fall clearly below the unit-slope line, and a C read from those points is too large. Estimated from the wellbore conditions, CwVw = 1.0×10−3 × 20 = 0.0200 m³/MPa, and the two agree; this value falls in the "Relatively low" grade of the grading table.
- CD = 0.15916 × 0.0200/(0.20 × 1.5×10−3 × 10 × 0.1082) ≈ 91.0.
- CDe2S = 91.0 × e6 ≈ 36712, about 3.67×104, consistent with the match value in the Type Curve Matching entry.
- Slope ratio: m′/m = 1 + (3 + ½ln 91.0)/1.417 ≈ 4.71; conversely, obtaining S from 4.71 gives 3.00. The ratio lies between 1 and 20, consistent with the general range for CDe2S > 1.
- Corner time: the coefficient is 0.20 × 2.0 × 1.5×10−3 × 0.1082/(3.6 × 0.05) = 3.888×10−5 h, the bracket is 3.1 × 3 + 3.57 × lg 91.0 + 11.6 = 27.89, and Δt* = 3.888×10−5 × 91.0 × 27.89 ≈ 0.0987 h, about 5.9 min. The radial flow straight line appears about half a log cycle later, that is, after about 0.3 h of shut-in.
- If there is a free liquid level in the tubing at shut-in, assume a tubing inner diameter of 62.0 mm and a crude oil density of 850 kg/m³; then C = π × 0.0622/4/(850 × 9.81) × 106 ≈ 0.362 m³/MPa, which is 18 times the value in step 1; CD ≈ 1646, Δt* ≈ 2.07 h, and the radial flow straight line does not appear until after 6 h of shut-in.
- If a bottomhole shut-in tool is used instead, assume that C drops to 0.002 m³/MPa (the "Low" grade of the grading table); then CD ≈ 9.10, Δt* ≈ 0.0086 h, about 31 s, and afterflow barely affects the interpretation.
| Case | C (m³/MPa) | CD | Δt* (h) |
|---|---|---|---|
| Wellhead shut-in, wellbore full of crude oil | 0.0200 | 91.0 | 0.0987 |
| Wellhead shut-in, rising and falling tubing liquid level | 0.362 | 1646 | 2.07 |
| Bottomhole shut-in | 0.002 | 9.10 | 0.0086 |
Figure 1 draws only two asymptotes: the early-time unit-slope line Δp = qBΔt/(24C) and the radial flow semilog relationship that neglects storage; the real curve makes a smooth transition between the two and is not a broken line. Each 10-fold increase in C shifts the unit-slope line one log cycle to the right, and its junction with the radial flow line is delayed accordingly. The dots mark the corner times calculated from the equation above; in all three cases they fall about half a cycle after the intersection of the two asymptotes.
Recommended Values
The wellbore storage coefficient can be roughly graded by well conditions and used for well test design and for checking interpretation results:
| Grade | C (m³/MPa) | Typical well conditions |
|---|---|---|
| Extremely high | > 10 | Deep gas well, wellhead shut-in |
| High | 1–10 | Well with high gas content, or with the tubing and casing liquid levels recovering simultaneously |
| Relatively high | 0.1–1 | Wellhead shut-in of a well with a gas column, or tubing liquid level recovery |
| Medium | 0.05–0.1 | Wellhead shut-in on tubing, low to moderate gas-oil ratio |
| Relatively low | 0.01–0.05 | Wellhead shut-in on tubing with only oil or water in the hole, or bottomhole shut-in with a long rathole |
| Low | 0.001–0.01 | Shut-in with a bottomhole shut-in tool |
| Very low | < 0.001 | Bottomhole shut-in with a particularly short rathole |
The interpreted C is credible only when it matches the well conditions; when they differ greatly, either the analysis is wrong or there is a factor not taken into account, such as packer leakage or an unrecognized gas interlayer. The limits of each grade are empirical divisions, not criteria.
Influencing Factors and Considerations
- Shut-in location. In conventional pressure buildup tests the well is mostly shut in at the surface wellhead rather than at the producing formation, and this is the origin of afterflow. With wellhead shut-in the whole wellbore takes part in storage; with bottomhole shut-in only the section below the shut-in valve remains, so C is much smaller and the afterflow segment is short.
- Fluid properties. Gas is much more compressible than crude oil, so a gas-bearing wellbore has a high C; wellhead shut-in of a deep gas well belongs to the extremely high grade. If gas-liquid separation occurs in the wellbore of the same well after shut-in, C may change during the test, and the unit-slope line is no longer a single straight line.
- Free liquid level. When the liquid level rises and falls, C is determined by the string cross-sectional area and the liquid density and has little to do with well depth; when the casing and tubing liquid levels change simultaneously, A must be taken as the sum of the two.
- Low permeability combined with high C. For wellhead shut-in of a deep well, a well with a high gas-oil ratio, or a gas well, C is very high, and if a low-permeability formation is also encountered, afterflow may last several days or even tens of days. Only early-time data are then available, and damage cannot be evaluated by the conventional straight-line method, because the degree of damage can be determined only by comparing data from the radial flow segment. In design, the corner time should be estimated first, and bottomhole shut-in adopted if necessary.
- Gauge limitations. The first measurement point of an electronic gauge is at about 1–3 s, and that of a mechanical gauge is measured in minutes; when the first measurement point is later than the end of afterflow, the unit-slope segment cannot be seen and C can only be estimated.
- Units. The constant 0.15916 applies only when C is in m³/MPa and Ct is in MPa⁻¹; if the factor 106 is omitted in the liquid-level equation, C will be 6 orders of magnitude too small.