Quick refresher
- The wellbore is a buffer between the wellhead and the reservoir. After start-up it gives out the fluid stored in it. After shut-in at the wellhead it takes in the inflow from the reservoir. The sandface flow rate (the inflow from the reservoir at the bottom of the well) catches up with the rate at the wellhead only gradually.
- The wellbore storage coefficient is the compressibility of the fluid in the wellbore times the volume of the wellbore below the closing valve, in m³/MPa. Free gas (gas that is not dissolved in the oil) in the wellbore makes tens of times larger. Shutting in at the bottom of the well makes it tens or hundreds of times smaller.
- While only the wellbore is working, the pressure changes linearly with time: . On a log–log plot this is a straight line with a slope of 1. It gives and nothing else: these points contain neither the permeability nor the skin.
- Then comes a transition section about two logarithmic cycles of time long (two tenfold steps of time). Only after it comes the semilog straight line of radial flow (flow towards the well from all sides).
- The classic estimate for the start of the line is . By this time the inflow from the reservoir reaches 99% of the rate, but the slope of the curve is still too high. The pressure derivative (the slope of the pressure curve on a semilog plot) gets within 10% of the radial-flow level only 2–4 times later.
- The duration of wellbore storage is proportional to and , grows with the skin, and does not depend on the rate.
wellbore storage coefficient of a wellbore filled with one fluid, m³/MPa
wellbore balance: m³/d, m³/MPa, MPa, hours (the constant is also 24 in oilfield units)
dimensionless coefficient; in oilfield units the numerator has a factor 5.615
section of pure wellbore storage: unit slope
start of the semilog straight line, h (mPa·s, m³/MPa, mD·m); in oilfield units the constant is 3390
- Drawing the semilog line through the points of the transition section. It is steeper than the true line, and the permeability comes out too low.
- Estimating from the volume of the wellbore alone and forgetting free gas. The real coefficient can be tens of times larger than the calculated one.
- Setting the moment of start-up or shut-in inaccurately. On a log–log plot the early points then move, and the unit slope is distorted.
- Mixing up the coefficient (m³/MPa), the dimensionless and the volume of the wellbore itself.
- Using the formulas with a constant when a liquid level moves in the wellbore, or when gas and liquid redistribute.
After this lesson you can
- explain why, after start-up or shut-in at the wellhead, the inflow from the reservoir lags behind the rate at the wellhead, and how this distorts the drawdown and build-up curves
- calculate the wellbore storage coefficient from the volume of the wellbore and the compressibility of its contents, and convert it to the dimensionless in metric and oilfield units
- recognise the section of pure wellbore storage by its straight line on ordinary axes and by its unit slope (a straight line of slope 1) on a log–log plot (both axes logarithmic), and find from it
- estimate when wellbore storage ends and the semilog straight line begins, and explain how accurate this estimate is
- name ways to shorten wellbore storage, and the conditions in which the model with a constant does not work
The wellbore as a buffer between the wellhead and the reservoir
The theory of the semilog straight line assumes that the rate changes right at the bottom of the well. At start-up the inflow from the reservoir at once becomes equal to , and at shut-in it at once becomes zero (Pressure drawdown analysis, Pressure build-up analysis). In reality the valve is at the wellhead. Between it and the reservoir there are two or three kilometres of pipe filled with a compressible fluid. Because of this, a pressure record has an early section in which the simple model does not work. This lesson is about that section.
Start-up. Before start-up, the reservoir pressure keeps the fluid in the wellbore compressed. When we open the valve, the fluid from the wellbore itself goes to the surface first. The pressure in the wellbore falls, the fluid expands, and the “extra” volume leaves through the wellhead. The reservoir joins in gradually, as the difference between the reservoir pressure and the bottomhole pressure grows. The rate at the wellhead is already . But the sandface flow rate , that is, the inflow from the reservoir into the wellbore, only grows from zero to .
Shut-in. The picture is the mirror image. We close the valve, and the rate at the wellhead is zero. But the reservoir keeps supplying fluid. It compresses the contents of the wellbore, and the bottomhole pressure rises. This afterflow (the inflow that goes on after shut-in) fades as the pressure in the wellbore comes close to the reservoir pressure.
Block diagram of two rows. In each row, on the left, there is a rectangle “reservoir”. An inflow arrow runs from it, through a zigzag labelled “reservoir, skin”, into a large rectangle “wellbore”, and to the right of the wellbore a valve is drawn. In the top row the valve is open, and a thick arrow of the rate q leaves it. The inflow arrow is thin and labelled “q sf is less than q”, and the wellbore rectangle says “fluid expands, pressure falls”. In the bottom row the valve is closed, with the label “q equals zero” next to it. The inflow arrow is thick and labelled “q sf is more than zero”, and the wellbore rectangle says “fluid is compressed, pressure rises”.
In both cases the bottomhole pressure changes more slowly than in an ideal well. On a drawdown curve (the record after start-up) the early points lie above the semilog straight line. On a build-up curve (the record after shut-in) they lie below it. If we measure the pressure change from the moment of start-up or shut-in, the picture is the same: at first is smaller than a well without wellbore storage would give.
Wellbore storage changes neither the reservoir nor the diffusivity equation (the equation for how pressure spreads through the rock). What changes is the condition at the bottom of the well. The inflow from the reservoir is no longer fixed in advance. It depends on how fast the pressure in the wellbore changes. So the early section of the record carries information about the wellbore, and it says nothing about the reservoir.
The wellbore storage coefficient
How much fluid the wellbore gives out when the pressure falls depends on two quantities: the volume of the wellbore that is connected with the reservoir, and the compressibility of what fills it. Their product is the wellbore storage coefficient.
- wellbore storage coefficient: the volume of fluid that the wellbore gives out or takes in when the bottomhole pressure changes by one unit, m³/Pa
- the volume by which the contents of the wellbore expand or shrink (the index stands for wellbore), m³
- change of the bottomhole pressure, Pa
- compressibility of the fluid in the wellbore, 1/Pa
- volume of the wellbore that is connected with the reservoir: from the closing valve to the reservoir, m³
Units: SI
- The wellbore is entirely filled with one fluid, with no free liquid surface in it.
- The compressibility is taken as constant. The pressure change is small compared with the pressure itself (for gas this is a rough assumption).
- The pressure changes by the same amount along the whole wellbore: the weight of the fluid column and the friction losses stay as they were. In reality the fluid that has entered makes the column heavier, and is smaller. In a wellbore with liquid it is 1–4% smaller. In the gas well of the table below it is about 15% smaller. In an oil well with free gas in the tubing (the pipe through which the fluid flows up) it is almost half as large (example below).
- We ignore the elasticity of the pipes (their stretching under pressure) and the change of temperature.
The coefficient grows with both the volume and the compressibility. The volume is set by the design of the well and by the place where we close it. It is the whole string of pipes when we close at the wellhead, and only the part below the valve when we close at the bottom. The compressibility is set by the contents. For water and oil it is of the order of MPa⁻¹. For gas it is about , that is, tens and hundreds of times larger.
In other unit systems (2)
in 1/MPa, in m³, in m³/MPa.
There is no constant. The number shows how many cubic metres the wellbore gives out when the bottomhole pressure falls by 1 MPa.
in 1/psi, in barrels, in bbl/psi.
Conversion: 1 m³/MPa = 6.2898/145.04 = 0.0434 bbl/psi; 1 bbl/psi = 23.06 m³/MPa.
- Contents of the wellbore
- Water (injection well)
- Compressibility, MPa⁻¹
- 0.00045
- , m³/MPa
- 0.0037
- 17
- Contents of the wellbore
- Oil above the bubble point pressure
- Compressibility, MPa⁻¹
- 0.0016
- , m³/MPa
- 0.0132
- 60
- Contents of the wellbore
- Oil and free gas: a quarter of the tubing volume, 7 MPa
- Compressibility, MPa⁻¹
- 0.042
- , m³/MPa
- 0.17
- 783
- Contents of the wellbore
- Gas at 20 MPa and 80 °C (gas well)
- Compressibility, MPa⁻¹
- 0.046
- , m³/MPa
- 0.38
- —
- Contents of the wellbore
- Oil below the shut-in valve at the packer (0.71 m³)
- Compressibility, MPa⁻¹
- 0.0016
- , m³/MPa
- 0.0011
- 5
| Contents of the wellbore | Compressibility, MPa⁻¹ | , m³/MPa | |
|---|---|---|---|
| Water (injection well) | 0.00045 | 0.0037 | 17 |
| Oil above the bubble point pressure | 0.0016 | 0.0132 | 60 |
| Oil and free gas: a quarter of the tubing volume, 7 MPa | 0.042 | 0.17 | 783 |
| Gas at 20 MPa and 80 °C (gas well) | 0.046 | 0.38 | — |
| Oil below the shut-in valve at the packer (0.71 m³) | 0.0016 | 0.0011 | 5 |
The wellbore of the lesson's examples: tubing (the string of pipes that carries the fluid up the well) with an inside diameter of 62 mm down to a packer (a seal between the tubing and the casing) at a depth of 2500 m, and 40 m of casing below the packer, 8.26 m³ in all. The gas compressibility is for a gas with a relative density of 0.65 (Gas formation volume factor, compressibility and viscosity). In the third row it refers to the mixture in the tubing, and oil stays below the packer. In the third row includes the weight of the oil column (see the example below), and in the other rows it is simply . The dimensionless coefficient (formula below) is calculated for the oil reservoir of the examples. For the gas well we do not give it, because its denominator contains the compressibility of a gas-saturated reservoir. The data are assumed for illustration.
- Tubing: inside diameter; length to the packer
- 62 mm; 2500 m
- Casing below the packer: inside diameter; length
- 150.5 mm; 40 m
- Compressibility of the oil in the wellbore
- MPa⁻¹ (the pressure is above the bubble point everywhere)
- Compressibility of the gas at 7 MPa and 40 °C
- 0.163 MPa⁻¹ (for an ideal gas = 0.143)
- Density of the oil in the wellbore
- 820 kg/m³
- Reservoir
- = 0.20; MPa⁻¹; = 10 m; = 0.108 m
- Volume of the tubing: m³. Volume below the packer: m³. In all, m³.
- The wellbore is full of oil and we close it at the wellhead: m³/MPa. When the bottomhole pressure falls by 1 MPa, the wellbore gives out about 13 litres of oil.
- The same in oilfield units: bbl/psi.
- Dimensionless coefficient (the formula is in the next section): m³/MPa, .
- Check in oilfield units: psi⁻¹, ft, ft. The denominator: ; , the same number.
- Free gas takes a quarter of the tubing volume. The compressibility of the mixture: MPa⁻¹. If the weight of the column did not change, the coefficient would be m³/MPa.
- But the oil inflow does not only compress the gas. It also makes the column in the tubing heavier: every cubic metre that enters raises the bottomhole pressure by MPa. The compression of the gas and the weight of the column act in series (closed tubing with free gas): , m³/MPa. This is 13 times as much as without gas, but almost half of the estimate from the compressibility alone. Closed 62 mm tubing with oil never gives more than m³/MPa, however much gas there is in it.
- Shut-in with a valve at the packer: only the oil below it is compressed, m³/MPa. This is 11.6 times less than for a wellbore full of oil.
What it means. The design is the same, but the coefficient changes by a factor of about 150, depending on what is in the wellbore and where we close it. A calculation from the volume of the wellbore without gas gives a lower estimate. We find the real value from the pressure record itself (example below), because we do not know the share of gas in the wellbore beforehand. The data in this example are assumed for illustration.
The wellbore balance and the dimensionless coefficient
We write a volume balance for the wellbore, as for a tank. In a short time , the volume enters the wellbore from the reservoir, and the volume leaves through the wellhead. Both are at reservoir conditions. The difference goes to change the stock of fluid in the wellbore: if the pressure rose by , the wellbore took in an extra .
- sandface flow rate: the inflow from the reservoir into the wellbore, converted to standard conditions, m³/s
- rate at the wellhead at standard conditions, m³/s
- formation volume factor of the fluid (its volume in the reservoir per unit volume at the surface), m³/m³
- wellbore storage coefficient, m³/Pa
- bottomhole pressure, Pa
- time, s
Units: SI
- The coefficient is constant: the contents of the wellbore and their compressibility do not change.
- We treat the wellbore as a single tank: the pressure changes by the same amount everywhere in it.
- The rate at the wellhead is given (constant or zero), and the sandface rate is the unknown.
After start-up the pressure falls, so its rate of change is negative and : the wellbore supplies part of the rate. After shut-in at the wellhead, , the pressure rises, and . This is the afterflow. In both cases the difference of the rates is proportional to the speed at which the pressure changes. As soon as the pressure starts to change slowly, the wellbore stops having an effect.
In other unit systems (2)
and in m³/d, in m³/MPa, in MPa, in h.
24 is the number of hours in a day: the rate is measured per day, and the time in hours.
and in STB/d (stock-tank barrels of oil per day), in bbl/psi, in psi, in h.
The same constant 24: the volumes are in barrels on both sides of the equation.
To compare different wells, we make the coefficient dimensionless, in the same way as time and pressure (dimensionless variables).
- dimensionless wellbore storage coefficient, —
- wellbore storage coefficient, m³/MPa
- porosity of the reservoir, fraction
- total compressibility of the reservoir and the fluids in it, 1/MPa
- net thickness of the reservoir, m
- wellbore radius, m
Units: metric oilfield units or SI: no constant is needed if and are given per the same unit of pressure
- The same as for the coefficient .
- , and refer to the reservoir, not to the wellbore.
The denominator is twice the volume of fluid that a cylinder of rock the size of the well itself would give out when the pressure falls by one unit. Here is the volume of the cylinder, and is the storativity of the rock (its ability to store fluid by elastic expansion). So is half the ratio of the “capacity” of the wellbore to the capacity of the rock whose place it took. With this definition, the wellbore balance in dimensionless variables reads .
In other unit systems (1)
in bbl/psi, in 1/psi, and in ft.
5.615 is the number of cubic feet in a barrel: the numerator is in barrels, and the denominator is in cubic feet; .
For the reservoir of the examples ( = 0.20; MPa⁻¹; = 10 m; = 0.108 m) the denominator is m³/MPa. A wellbore full of oil gives . The wellbore with gas from the lesson's record ( = 0.31 m³/MPa, example below) gives about 1400, and the section below the valve at the packer gives about 5. In oil wells closed at the wellhead, the measured is often in the thousands. The reason is free gas in the wellbore.
The start of the record: a straight line on ordinary axes and the unit slope
In the very first moments the inflow from the reservoir has not had time to change. After start-up , and after shut-in . The left-hand side of the wellbore balance is then constant, and the pressure changes at a constant speed.
- change of the bottomhole pressure since start-up or shut-in: after start-up, after shut-in, Pa
- change of the rate at the wellhead: the rate after start-up or the rate before shut-in, at standard conditions, m³/s
- formation volume factor of the fluid, m³/m³
- wellbore storage coefficient, m³/Pa
- time since start-up or shut-in (after shut-in, ), s
- in dimensionless form: the change of the bottomhole pressure , the time and the wellbore storage coefficient; , , are the permeability, the thickness of the reservoir and the viscosity, —
Units: SI
- The inflow from the reservoir has not changed yet: this is the section of pure wellbore storage.
- The coefficient is constant.
- Before start-up or shut-in, the pressure in the well changed far more slowly than after it.
The pressure changes linearly with time, and only the wellbore sets the speed. It is like a closed tank, where the of the wellbore stands in place of the of the reservoir (the rate of pressure decline in a closed area). The formula contains neither the permeability nor the skin: from these points we can learn nothing about the reservoir. But we find from them.
In other unit systems (3)
in m³/d, in m³/MPa, in MPa, in h.
24 is the number of hours in a day.
in STB/d, in bbl/psi, in psi, in h.
The same constant 24.
in the second formula is in mD, in m, in h, in mPa·s, in m³/MPa.
; in oilfield units the factor is . The porosity, the compressibility of the reservoir and the wellbore radius cancel.
Take the logarithm: . On a plot with two logarithmic scales this is a straight line with a slope of exactly 1. It is the unit-slope line: the pressure grows by the same factor as the time. The larger is, the lower this line lies. On ordinary axes of pressure against time, the same section is a straight line that starts at the beginning of the record.
Below is the assumed pressure build-up record that we analyse in this lesson. The well produced for a month at 40 m³/d, and then we closed it at the wellhead. A gauge at the bottom of the well records the pressure every second.
- 10 s
- , MPa
- 0.0179
- , MPa/h
- 6.44
- Inflow from the reservoir, % of
- 99.4
- 20 s
- , MPa
- 0.0356
- , MPa/h
- 6.41
- Inflow from the reservoir, % of
- 99.0
- 30 s
- , MPa
- 0.0533
- , MPa/h
- 6.40
- Inflow from the reservoir, % of
- 98.5
- 1 min
- , MPa
- 0.1060
- , MPa/h
- 6.36
- Inflow from the reservoir, % of
- 97.2
- 2 min
- , MPa
- 0.2092
- , MPa/h
- 6.28
- Inflow from the reservoir, % of
- 94.8
- 5 min
- , MPa
- 0.5044
- , MPa/h
- 6.05
- Inflow from the reservoir, % of
- 88.4
- 10 min
- , MPa
- 0.9542
- , MPa/h
- 5.73
- Inflow from the reservoir, % of
- 79.2
- 30 min
- , MPa
- 2.3501
- , MPa/h
- 4.70
- Inflow from the reservoir, % of
- 52.8
- 1 h
- , MPa
- 3.6554
- , MPa/h
- 3.66
- Inflow from the reservoir, % of
- 30.5
- 2 h
- , MPa
- 4.9029
- , MPa/h
- 2.45
- Inflow from the reservoir, % of
- 11.7
- 5 h
- , MPa
- 5.8343
- , MPa/h
- 1.17
- Inflow from the reservoir, % of
- 1.9
- 10 h
- , MPa
- 6.1764
- , MPa/h
- 0.62
- Inflow from the reservoir, % of
- 0.6
- 24 h
- , MPa
- 6.5102
- , MPa/h
- 0.27
- Inflow from the reservoir, % of
- 0.2
- 48 h
- , MPa
- 6.7474
- , MPa/h
- 0.14
- Inflow from the reservoir, % of
- 0.1
| , MPa | , MPa/h | Inflow from the reservoir, % of | |
|---|---|---|---|
| 10 s | 0.0179 | 6.44 | 99.4 |
| 20 s | 0.0356 | 6.41 | 99.0 |
| 30 s | 0.0533 | 6.40 | 98.5 |
| 1 min | 0.1060 | 6.36 | 97.2 |
| 2 min | 0.2092 | 6.28 | 94.8 |
| 5 min | 0.5044 | 6.05 | 88.4 |
| 10 min | 0.9542 | 5.73 | 79.2 |
| 30 min | 2.3501 | 4.70 | 52.8 |
| 1 h | 3.6554 | 3.66 | 30.5 |
| 2 h | 4.9029 | 2.45 | 11.7 |
| 5 h | 5.8343 | 1.17 | 1.9 |
| 10 h | 6.1764 | 0.62 | 0.6 |
| 24 h | 6.5102 | 0.27 | 0.2 |
| 48 h | 6.7474 | 0.14 | 0.1 |
The pressure at the moment of shut-in is 16.307 MPa; . The data were calculated from a model of a homogeneous infinite reservoir ( = 20 mD, = 3) with wellbore storage ( = 0.31 m³/MPa), and rounded to 0.0001 MPa. The last column is the afterflow, calculated from the same model.
- Rate before shut-in ; formation volume factor
- 40 m³/d; 1.2 m³/m³
- First readings
- 10 s — 0.0179 MPa; 20 s — 0.0356 MPa; 30 s — 0.0533 MPa
- Reservoir
- = 0.20; MPa⁻¹; = 10 m; = 0.108 m
- Wellbore
- tubing 7.55 m³, below the packer 0.71 m³ (previous example)
- Check the unit slope. The time grew threefold, from 10 to 30 s. The pressure grew by a factor of . The slope on the log–log plot is , practically 1.
- Speed of the pressure rise from the first point: 10 s is 1/360 h, so MPa/h.
- Wellbore storage coefficient: m³/MPa.
- The same in oilfield units: STB/d, psi; bbl/psi. Converting gives back the same 0.31 m³/MPa.
- Dimensionless coefficient: m³/MPa, .
- Comparison with the design: a wellbore full of oil would give 0.0132 m³/MPa, which is 23.5 times less. So there is free gas in the wellbore.
- How much gas? The inflow both compresses the gas and makes the column heavier (previous example). So first we find the part of the coefficient that comes from the compression of the contents: m³/MPa. At 7 MPa ( = 0.163 MPa⁻¹) this would need m³ of gas. That is more than the whole volume of the tubing (7.55 m³). So there is a lot of gas, and it is mostly at low pressure, in the upper part of the tubing. The coefficient of the record is close to the limit of 0.375 m³/MPa for closed 62 mm tubing.
What it means. We calculated the data from a model with = 0.31 m³/MPa, and the analysis returned this value. The model holds constant. In a real well, low-pressure gas is compressed as the pressure grows, and the coefficient would be smaller by the end of the record (Nonideal wellbore storage, well clean-up and changing skin). Look at the speed of the pressure rise in the table: after only a minute it is 1% lower than the initial speed, and after 5 minutes it is 6% lower. The section of pure wellbore storage is short. We can catch it only with frequent readings from the first seconds. These points say nothing about the reservoir: the same straight line would appear at any permeability. The data in this example are assumed for illustration.
From the wellbore to the reservoir: the transition section
The unit slope ends when the inflow from the reservoir has changed noticeably. After that, the pressure depends on the wellbore, the reservoir and the skin together. This is the transition section. It ends when the sandface rate becomes equal to the rate at the wellhead. From this moment the record is the same as that of a well without wellbore storage, and the straight line starts on the semilog plot.
- Section
- Pure wellbore storage
- What happens at the bottom of the well
- the inflow from the reservoir has not changed yet
- What it looks like
- a straight line on ordinary axes; slope 1 on the log–log plot
- What we get
- Section
- Transition
- What happens at the bottom of the well
- the inflow changes, and the skin pressure drop builds up
- What it looks like
- the curve leaves the slope 1 and flattens; the pressure derivative passes a maximum
- What we get
- , and , only by fitting a model to the whole record (Type-curve matching)
- Section
- Radial flow
- What happens at the bottom of the well
- after start-up, after shut-in
- What it looks like
- a semilog straight line; the derivative is horizontal
- What we get
- , , reservoir pressure
| Section | What happens at the bottom of the well | What it looks like | What we get |
|---|---|---|---|
| Pure wellbore storage | the inflow from the reservoir has not changed yet | a straight line on ordinary axes; slope 1 on the log–log plot | |
| Transition | the inflow changes, and the skin pressure drop builds up | the curve leaves the slope 1 and flattens; the pressure derivative passes a maximum | , and , only by fitting a model to the whole record (Type-curve matching) |
| Radial flow | after start-up, after shut-in | a semilog straight line; the derivative is horizontal | , , reservoir pressure |
Log–log plot: time after shut-in from 0.0001 to 100 hours, pressure rise from 0.001 to 10 MPa. The dashed curve without wellbore storage is almost horizontal and grows slowly from 2.6 to 7 MPa. Three solid curves start as parallel straight lines with slope 1: the one for the valve at the packer is leftmost, the one for the wellbore with oil is to the right of it, and the one for the wellbore with gas is further right. Each bends smoothly and merges with the dashed curve: the first at about 0.03 hours, the second at about 0.3 hours, the third at about 10 hours. Fourteen measured points lie on the third curve.
The skin switches on together with the inflow. The pressure drop across the skin is proportional to the rate at the bottom of the well (Skin factor). While only the wellbore works, almost nothing flows through the near-wellbore zone, and there is no extra pressure drop. It builds up in the transition section. So the skin makes the transition longer: the wellbore has to “discharge” through a larger resistance.
- dimensionless time divided by the dimensionless wellbore storage coefficient; equal to in metric oilfield units, —
- allowed relative deviation of the pressure from the unit-slope line: 0.01, 0.05 or 0.10, —
- dimensionless wellbore storage coefficient, —
- skin factor, —
Units: dimensionless
- An approximate formula for .
- A constant and a homogeneous reservoir.
- For from to and from 0 to 10, it differs by no more than 15% from the calculation with the lesson's model.
The larger the wellbore and the skin, the longer, in units of , the unit slope lasts. But it always ends early: in this range of and , the pressure leaves the line by 5% at between 0.1 and 1.5. In the record of the example () the formula gives 0.57, that is, 3.5 min. By the model, the deviation reaches 5% after 4 min.
The transition section is a trap. On a semilog plot it is smooth, and it is easy to draw a “straight line” through its points. This line is steeper than the true one, because here the pressure is still catching up with the curve of the reservoir.
Plot of the pressure rise, from 0 to 8 MPa, against the time after shut-in, from 0.001 to 100 hours on a logarithmic scale. The dashed straight line of radial flow rises from left to right, from 3.2 to 7.0 MPa. The curve for the valve at the packer reaches it at about 0.1 hours, and the curve for the wellbore with oil at about 1.5 hours. The curve for the wellbore with gas rises in an S shape and comes up to the line after 40 hours. Through the points of the last curve at 2 and 10 hours there is a short dashed straight line, clearly steeper than the radial-flow line. The measured points lie on the curve for the wellbore with gas.
How long wellbore storage lasts
Together, the wellbore and the reservoir behave like a tank that fills or empties through a resistance. The tank is . The resistance is the pressure drop that we need to push a unit rate through the reservoir and the skin. It equals , where is the dimensionless pressure drop of a well without wellbore storage (the pressure function). Multiply the two and the result is a time.
- time constant: in this time the difference between the sandface rate and the wellhead rate falls by a factor of about , s
- wellbore storage coefficient, m³/Pa
- dimensionless pressure drop of a well without wellbore storage at the time we look at; usually between 5 and 15, —
- viscosity, permeability, thickness of the reservoir, Pa·s, m², m
- dimensionless time and skin factor, —
Units: SI
- A rough model: the reservoir and the skin are replaced by a constant resistance, though in reality slowly grows with time.
- It is good for an estimate of the order of magnitude and for the first two or three . The “tail” of a real transition is longer than the exponential.
In this model the wellbore's share of the rate falls as . The time constant is proportional to and inversely proportional to the transmissibility (the flow capacity divided by the viscosity). The skin enters as a term and makes the transition longer. There is no rate in the formula: if the rate is twice as large, all the pressure drops double, and the times stay the same.
In other unit systems (1)
in h, in mPa·s, in m³/MPa, in mD, in m.
, where 0.536 is the constant of the Dupuit equation in these units.
An exact calculation of the transition uses the solution with wellbore storage and skin (advanced section). A comparison of the calculated curves with and without wellbore storage gave a simple rule that we use when we plan tests:
- dimensionless time of the start of the line, , —
- dimensionless wellbore storage coefficient, —
- skin factor, —
- in the dimensional forms: the time of the start of the line and the wellbore storage coefficient, h; m³/MPa or bbl/psi
- in the dimensional forms: viscosity of the fluid, permeability and thickness of the reservoir, mPa·s or cP; mD; m or ft
Units: dimensionless
- A guide, not an exact limit: it comes from a comparison of calculated curves. It applies for .
- A constant ; until this time the reservoir behaves as an infinite one.
- For a build-up: if the shut-in time is much shorter than the producing time of the well.
By this time the inflow from the reservoir differs from the rate at the wellhead by about 1%, and the pressure differs by less than 2% from the pressure of a well without wellbore storage. But the slope of the curve is still too high. In the calculations for the well of the examples, the logarithmic derivative (the slope of the curve on a semilog plot) at this moment is 1.2–1.4 times its level in radial flow. With a skin of about 10 it is one and a half to two times that level. It gets within 10% of this level after a time 2–4 times longer than the classic estimate, and within 5% after about twice as long again.
In other unit systems (2)
in h, in mPa·s, in m³/MPa, in mD, in m.
is the inverse of the factor in .
in h, in cP, in bbl/psi, in mD, in ft.
. If we multiply out the brackets and round, we get the well-known form .
- Reservoir and well
- = 20 mD; = 10 m; = 1.5 mPa·s; = 3
- Shut-in at the packer
- = 0.00114 m³/MPa
- Shut-in at the wellhead, oil in the wellbore
- = 0.0132 m³/MPa
- Shut-in at the wellhead, gas in the tubing (the lesson's record)
- = 0.31 m³/MPa
- The common factor: h·MPa/m³; .
- Start of the line by the classic estimate: . At the packer, 1.6 min; wellbore with oil, 19 min; wellbore with gas, 7.3 h.
- Check of the last value in oilfield units: bbl/psi, mD·ft; h.
- Time constant for the wellbore with gas: for a well without wellbore storage, after one hour of production, , so h. One hour after shut-in, of the former rate should still flow into the wellbore, that is, 31%. In the table of the lesson it is 30.5%.
- On the calculated curve, the pressure derivative gets within 10% of the radial-flow level after 3 min, 0.76 h and 22 h. This is 1.9–3.0 times later than the classic estimate. It gets within 5% after about twice as long again. For a build-up, these times are right if we take the derivative against the equivalent time, which allows for how long the well produced before shut-in (Effect of producing time on build-up analysis).
- To record at least one logarithmic cycle of the line after that, the time must be 10 times longer: about 0.5 h, 8 h and 220 h (9 days).
What it means. The reservoir is the same in all three cases, and only changes. If we shut in a wellbore with gas at the wellhead, a full record would need nine days of shut-in. In that time the boundaries and the neighbouring wells would have time to affect the pressure. Shut-in at the packer cuts the record to half an hour. The exponential estimate with the time constant describes the first half of the transition well, and it underestimates the “tail”: after 5 h it gives 0.3% of the former rate, while the model gives 2%. The data in this example are assumed for illustration.
There is also an older rule of thumb, the “rule of one and a half cycles”: the line starts about one and a half logarithmic cycles after the end of the unit-slope section. One and a half cycles means multiplying the time by 32. In the record of the example, the unit slope ends after 4–9 min (a deviation of 5–10%), and the rule gives 2–5 h. Both estimates tell us when the pressure comes up to the line, but not when its slope settles. For planning, they are good with a margin of a few times. On a finished record we find the start of radial flow from the pressure derivative.
How to shorten wellbore storage and how to allow for it
- Shut the well in at the bottom. A shut-in valve at the packer leaves tenths of a cubic metre of liquid below it instead of the whole wellbore. In the lesson's example becomes almost 300 times smaller than for a wellbore with gas, and radial flow starts after minutes. A drill stem test (a test of a formation through the drill pipe) works this way (Well testing: purposes and types of test). For producing wells there are valves that we lower on a wire or a cable (downhole shut-in).
- Isolate the annulus. Without a packer (a seal between the tubing and the casing), the annulus (the space between the tubing and the casing) also becomes part of the “wellbore”. Its volume is usually several times the volume of the tubing, and gas often collects at the top of it.
- Keep one phase in the wellbore (liquid only, with no free gas). If the wellhead pressure is above the bubble point pressure (the pressure at which gas starts to come out of the oil), there is no free gas in the wellbore, and is small and constant. This is not always possible, but we should remember it when we choose how the well works before shut-in.
- Record the start often and exactly. Readings every second in the first minutes, and an exactly fixed moment of start-up or shut-in, let us see the unit slope and find .
- Measure the sandface rate. If we record the flow rate with a downhole flowmeter together with the pressure, we can allow for the changing inflow by superposition (Superposition principle), and the early data are no longer lost.
- Calculate before the test. We put the expected , and into the formulas of this lesson or into a calculation model. Then we check whether radial flow has time to appear and whether the planned duration is enough.
Sometimes there is no radial-flow section in the record at all: wellbore storage has not ended yet, and the reservoir boundaries or the neighbouring wells are already having an effect. On a semilog plot such a record still looks like a smooth curve with “almost straight” stretches, and this is one of the main reasons for wrong interpretations. So modern analysis does not throw away the early points. It fits a model that describes the whole record at once (wellbore, skin, reservoir and boundaries), and it checks the result for common sense (Type-curve matching, Diagnosis with the pressure derivative).
- What happens in the wellbore
- After shut-in, gas rises and liquid settles
- How it differs from the model
- the pressure in the wellbore is also raised by the rising gas, and not only by the inflow from the reservoir
- Sign in the record
- a “hump” on the build-up curve
- What happens in the wellbore
- A liquid level rises or falls
- How it differs from the model
- the wellbore stores fluid by the rise of the level: is much larger, and it changes when the level reaches the wellhead
- Sign in the record
- a very long unit-slope section, then a sharp change in the course of the curve
- What happens in the wellbore
- Gas comes out of the oil or dissolves in it
- How it differs from the model
- the compressibility of the contents of the wellbore, and with it , changes with the pressure
- Sign in the record
- the initial slope on the log–log plot differs from 1
- What happens in the wellbore
- The pressure in a gas well changes severalfold
- How it differs from the model
- the gas compressibility is about , and it changes with the pressure
- Sign in the record
- different values of at start-up and at shut-in
| What happens in the wellbore | How it differs from the model | Sign in the record |
|---|---|---|
| After shut-in, gas rises and liquid settles | the pressure in the wellbore is also raised by the rising gas, and not only by the inflow from the reservoir | a “hump” on the build-up curve |
| A liquid level rises or falls | the wellbore stores fluid by the rise of the level: is much larger, and it changes when the level reaches the wellhead | a very long unit-slope section, then a sharp change in the course of the curve |
| Gas comes out of the oil or dissolves in it | the compressibility of the contents of the wellbore, and with it , changes with the pressure | the initial slope on the log–log plot differs from 1 |
| The pressure in a gas well changes severalfold | the gas compressibility is about , and it changes with the pressure | different values of at start-up and at shut-in |
These cases are covered in the lesson Nonideal wellbore storage, well clean-up and changing skin.
- Cause
- Hydraulic fracture
- How it differs from the simple model
- the flow near the wellbore is linear, not radial
- Where it is covered
- Inflow to a hydraulically fractured well
- Cause
- Well clean-up
- How it differs from the simple model
- the skin falls during the test
- Where it is covered
- Nonideal wellbore storage, well clean-up and changing skin
- Cause
- Partial penetration
- How it differs from the simple model
- the flow converges to the opened interval
- Where it is covered
- Partial penetration and well deviation
- Cause
- A wide zone of changed permeability
- How it differs from the simple model
- the zone can no longer be treated as a thin layer with a skin
- Where it is covered
- Skin factor
| Cause | How it differs from the simple model | Where it is covered |
|---|---|---|
| Hydraulic fracture | the flow near the wellbore is linear, not radial | Inflow to a hydraulically fractured well |
| Well clean-up | the skin falls during the test | Nonideal wellbore storage, well clean-up and changing skin |
| Partial penetration | the flow converges to the opened interval | Partial penetration and well deviation |
| A wide zone of changed permeability | the zone can no longer be treated as a thin layer with a skin | Skin factor |
These effects overlap with wellbore storage, and it partly hides them. The shorter wellbore storage is, the more we see on the early section.
Terms and symbols
- Wellbore storage
- The effect that makes the sandface rate change only gradually after the well is started or shut in at the wellhead: the wellbore gives out or takes in fluid.
- Wellbore storage coefficient
- The volume of fluid that the wellbore gives out or takes in when the bottomhole pressure changes by one unit. For a wellbore filled with one fluid it is . Units: m³/MPa or bbl/psi.
- Dimensionless coefficient
- : the wellbore storage coefficient divided by twice the volume of fluid that a cylinder of rock the size of the well gives out when the pressure falls by one unit.
- Sandface flow rate
- The inflow from the reservoir into the wellbore. After start-up or shut-in it differs from the rate at the wellhead while the contents of the wellbore are being compressed or are expanding.
- Afterflow
- The sandface rate after the well is closed at the wellhead. It fades as the pressure in the wellbore grows.
- Unit-slope line
- The start of the record on a log–log plot, where is proportional to time. It is the sign of pure wellbore storage.
- Transition section
- The interval between the end of the unit slope and the start of radial flow. The pressure depends on the wellbore, the reservoir and the skin together.
Common mistakes and misconceptions
“We can process the early part of the record as radial flow if the points lie on a straight line.”
In the transition section the points also lie on a “straight line”, but it is steeper than the true one. In the lesson's example the line through 2 and 10 h underestimates the permeability by a factor of 2.4.
“The wellbore storage coefficient is the volume of the wellbore.”
It is the volume multiplied by the compressibility of the contents. For the same volume, gas in the wellbore makes tens of times larger, and a moving liquid level makes it larger still.
“The higher the rate, the longer wellbore storage lasts.”
The duration does not depend on the rate. It is set by , the transmissibility and the skin. The rate changes only the size of the pressure drops.
“As soon as the points leave the unit slope, the semilog straight line has started.”
Between them lies the transition section, about two logarithmic cycles long. In the lesson's example the unit slope ends after minutes, and radial flow starts only after a day.
“We can estimate the permeability from the unit-slope section.”
The equation of this section contains no reservoir properties: it gives only . The permeability and the skin appear in the record together with the inflow from the reservoir.
In depth: advanced detail
The condition at the bottom of the well and the solution in Laplace space
In dimensionless variables the inflow from the reservoir equals the pressure gradient at the wall of the well: at (the condition of constant rate is the special case where this quantity equals 1). We put the wellbore balance into it and get a new condition at the bottom of the well. The pressure drop across the skin is proportional to the same inflow.
- dimensionless pressure drop in the reservoir, —
- dimensionless pressure drop in the well itself (behind the layer with the skin), —
- dimensionless wellbore storage coefficient and skin factor, —
- dimensionless distance and time, —
Units: dimensionless; and are related to the rate at the wellhead
- The rate at the wellhead is constant from start-up, and and are constant.
- The skin is an infinitely thin layer, and the pressure drop across it is proportional to the inflow from the reservoir at that moment.
- The other conditions are as in the problem of starting a well (Diffusivity equation).
For the first equality turns into the condition of constant rate. For large and a short time, the right-hand side is close to zero: the reservoir “does not notice” the start-up. The condition is linear, so we can still add solutions. For a build-up this means that the pressure rise after shut-in repeats the start-up curve while the shut-in time is short compared with the producing time.
The simplest way to solve the problem with such a condition is in Laplace space (we solve the equation after the Laplace transform, in terms of a variable instead of time). Let be the Laplace transform of the solution of the same problem without wellbore storage and without skin, that is, at a constant rate at the bottom of the well. A changing inflow is a sequence of small steps of the rate, and we find the response to it by superposition (Superposition principle). In Laplace space, superposition becomes multiplication. Together with the wellbore balance we get two equalities: and , where is the Laplace transform of the share . We eliminate and get:
- Laplace transform of the dimensionless pressure in a well with wellbore storage and skin, —
- Laplace transform of the solution at a constant rate at the bottom of the well, without wellbore storage and skin: for a line source, for a well of finite radius, —
- variable of the Laplace transform, which corresponds to the dimensionless time , —
- modified Bessel functions of the second kind, —
- dimensionless wellbore storage coefficient and skin factor, —
Units: dimensionless
- and are constant; the rate at the wellhead is constant from start-up.
- The formula holds for any solution , including that of a bounded reservoir: the wellbore and the skin change only the condition at the bottom of the well.
Check the limits. For large (a short time) the expression tends to , and this is the Laplace transform of the function , the unit slope. For small (a long time) the wellbore term vanishes, and what is left is , the solution without wellbore storage and with a skin. If we replace the reservoir and the skin with a constant resistance , that is, put , the inversion gives . This is an exponential with the time constant from the main section.
For a real reservoir the inverse transform cannot be written as a formula, so we do it numerically, with a computer. All the curves and data of this lesson were calculated in this way. For we took the solution for a well of finite radius (the Laplace transform).
Numerical inversion: the Stehfest algorithm
The Stehfest algorithm recovers the value of a function at a given time from the values of its Laplace transform at several points on the real axis. We need no integrals in the complex plane, only a weighted sum.
- the function of time that we are looking for, —
- its Laplace transform, , —
- number of terms; even, —
- weight coefficients that depend only on , —
Units: dimensionless; and are in consistent units
- The function is smooth, without jumps or oscillations near the time .
- We usually take from 8 to 16. With fewer terms the accuracy is low. With more terms, huge weights of different signs eat up the significant digits.
For each time we calculate the transform at points , and only there. The curves of this lesson are calculated with sixteen terms. The pressure comes out with four or five correct digits, and its logarithmic derivative in the transition section with three.
- weight of the -th term, , —
- even number of terms, —
- summation index; the lower limit is the integer part of , —
Units: dimensionless
- is even. The sum of all the weights is zero, which is a handy check of the calculation.
The weights alternate in sign and grow quickly with : for the largest in absolute value is about , and for it is already . So we must calculate the transform with high accuracy.
- 1
- −0.333
- 2
- 48.333
- 3
- −906
- 4
- 5464.667
- 5
- −14,376.667
- 6
- 18,730
- 7
- −11,946.667
- 8
- 2986.667
| 1 | −0.333 |
| 2 | 48.333 |
| 3 | −906 |
| 4 | 5464.667 |
| 5 | −14,376.667 |
| 6 | 18,730 |
| 7 | −11,946.667 |
| 8 | 2986.667 |
Exact values: −1/3, 145/3, −906, 16,394/3, −43,130/3, 18,730, −35,840/3, 8960/3.
- A function with a known answer
- , the original is
- The lesson's well with gas in the wellbore
- = 1410; = 3
- At and the points are : 0.693; 1.386; … ; 5.545. The sum is , and the result is .
- The exact value is : the error is 0.2%. With we get 0.36787, and the error is 0.003%.
- Now the curve with wellbore storage. At the time , the unit-slope line would give . Inverting the formula with wellbore storage and skin (sixteen terms) gives , which is 7.5% less.
- In real units for the lesson's record: corresponds to 6.2 min, and is a pressure rise of 0.62 MPa.
What it means. A check on a function with a known original is a necessary step before we trust a calculation of curves. The value on the unit-slope line at agrees with the table of the lesson: between the readings at 5 and 10 min the deviation from the line grows from 6 to 11%. The data in this example are assumed for illustration.
Connections to other topics
- Pressure drawdown analysis — the semilog straight line after start-up; wellbore storage lifts the early points above it.
- Pressure build-up analysis — afterflow pulls the early points below the Horner line.
- Well testing: purposes and types of test — the early, middle and late sections of a record; shut-in at the bottom of the well in a drill stem test.
- Skin factor — the pressure drop across the skin appears together with the inflow from the reservoir, and it makes the transition section longer.
- Line-source solution and the pressure function — the solution without wellbore storage, which the record reaches after the transition section, and its Laplace transform.
- Diffusivity equation — the condition at the wall of the well and the dimensionless variables in which the coefficient is written.
- Gas formation volume factor, compressibility and viscosity — the compressibility of gas, which is why free gas in the wellbore raises so much.
- Type-curve matching — how we process the whole record, the early section included, with a family of calculated curves for different and .
- Diagnosis with the pressure derivative — how the pressure derivative shows the end of wellbore storage and the start of radial flow.
- Nonideal wellbore storage, well clean-up and changing skin — a changing wellbore storage coefficient: liquid level, redistribution of phases, well clean-up.
Check yourself
- 1
On a log–log plot the first points of the record lie on a straight line with slope 1. What can we find from this section?
- A.The distance to the reservoir boundary
- B.The wellbore storage coefficient
- C.The permeability of the reservoir
- D.The skin factor
Show the answer
Correct answer: B. The wellbore storage coefficient
On the unit-slope section : the pressure changes because the fluid in the wellbore is compressed or expands, and the inflow from the reservoir has not changed yet. The formula contains neither the permeability nor the skin, so these points give only .
- 2
An injection well is filled with water up to the wellhead. The volume of the wellbore is 12 m³, and the compressibility of water is MPa⁻¹. The reservoir: = 0.25; MPa⁻¹; = 8 m; = 0.1 m. Find and .
Show the answer
m³/MPa. The denominator: m³/MPa. . The value is small: a wellbore filled with one liquid acts for a short time.
- 3
After a well is started at 60 m³/d ( = 1.1), the points of the first minutes lie on a unit-slope line. After 0.02 h the pressure has fallen by 0.5 MPa. What is the wellbore storage coefficient?
Show the answer
m³/MPa. For a wellbore of about 10 m³ filled with oil, we would get about 0.016 m³/MPa. A value seven times larger points to free gas in the wellbore.
- 4
The test was repeated at twice the rate. How will the time at which wellbore storage ends change (the properties of the fluid in the wellbore are the same)?
- A.It will not change
- B.It will halve
- C.It will grow fourfold
- D.It will double
Show the answer
Correct answer: A. It will not change
The rate is not in the estimate . When the rate doubles, all the pressure drops double, and the times stay the same. The duration is set by , the transmissibility and the skin.
- 5
For the well from the lesson Pressure drawdown analysis ( = 85 mD, = 14 m, = 0.9 mPa·s, = 3, = 0.06 m³/MPa), estimate the start of the semilog straight line by the classic formula, and compare it with what the record showed.
Show the answer
; mD·m; h, that is, about 9 min. In that record the pressure derivative levelled out only by 2 h. There is no contradiction. The classic estimate shows when the pressure comes within 1–2% of the line, and the slope settles later. By the calculation for this well, the derivative gets within 10% of the radial-flow level after about 0.4 h, and within 2% only by 2 h.
- 6
Why does shutting in at a valve at the packer shorten wellbore storage more than the smaller volume alone would suggest?
- A.The valve raises the reservoir pressure
- B.The valve increases the permeability of the near-wellbore zone
- C.Shutting in at the bottom reduces the skin
- D.Only liquid is left below the valve, and the gas that has collected in the tubing is cut off
Show the answer
Correct answer: D. Only liquid is left below the valve, and the gas that has collected in the tubing is cut off
The coefficient is the volume times the compressibility. A valve at the packer reduces the volume ten times or more, and at the same time it cuts off the tubing, where the free gas with its high compressibility is. In the lesson's example falls from 0.31 to 0.0011 m³/MPa, almost 300 times, although the volume fell only 12 times.
Updated: 3 October 2026