#### Abstract

This paper addresses some methods for interpretation of oil and gas well test data distorted by wellbore storage effects. Using these techniques, we can deconvolve pressure and rate data from drawdown and buildup tests dominated by wellbore storage. Some of these methods have the advantage of deconvolving the pressure data without rate measurement. The two important methods that are applied in this study are an explicit deconvolution method and a modification of material balance deconvolution method. In cases with no rate measurements, we use a blind deconvolution method to restore the pressure response free of wellbore storage effects. Our techniques detect the afterflow/unloading rate function with explicit deconvolution of the observed pressure data. The presented techniques can unveil the early time behavior of a reservoir system masked by wellbore storage effects and thus provide powerful tools to improve pressure transient test interpretation. Each method has been validated using both synthetic data and field cases and each method should be considered valid for practical applications.

#### 1. Introduction

In conventional well test analysis, the pressure response to constant rate production is essential information that presents the distinct characteristics for a specific type of reservoir system. However, in many cases, it is difficult to acquire sufficient constant rate pressure response data. The recorded early time pressure data are often hidden by wellbore storage (variable sandface rates). In some cases, outer boundary effects may appear before wellbore storage effects disappear. Therefore, it is often imperative to restore the early time pressure response in the absence of wellbore storage effects to provide a confident well test interpretation [1–4].

A considerable amount of work has been done on multirate (variable) tests during the last 50 years. However, these are basically sequential constant rate drawdowns; only transient pressure is measured and rate is assumed to be constant during each drawdown test [5]. All these works deal with the direct problem. In other words, the constant rate solution (the influence or the unit response function) is convolved (superimposed) with the time dependent inner boundary condition to obtain solutions to the diffusivity equation. This process is called convolution. The process of determining the influence function is called deconvolution [6–8].

Based on [1], deconvolution is a technique used to convert measured pressure and sandface rate data into the constant rate pressure response of the reservoir. In other words, deconvolution provides the pressure response of a well/reservoir system free of wellbore storage effects, as if the reservoir is producing at a constant rate. Once the deconvolved pressure is obtained, conventional interpretation methods can be used for reservoir system identification and parameter estimation.

The purpose of the well test interpretation, as stated by Gringarten et al., [9] is to identify the system and determine its governing parameters from measured data in the wellbore and at the wellhead. This problem is known as the inverse problem. The solution of the inverse problem usually is not unique. Gringarten et al. [9] pointed out that if the number and the rage measurements increased, the nonuniqueness of the inverse problem will be reduced. Thus combining sandface flow rate with pressure measurements will enhance the conventional (including type curve) well test interpretation methods. On the other hand, mathematically, deconvolution is also a highly unstable inverse problem because small errors in the data can result in large uncertainties in the deconvolution solution [10, 11].

Unfortunately, standard deconvolution techniques require accurate measurements of flow rate and pressure at downhole (or sandface) conditions. While accurate pressure measurements are commonplace, the measurement of sandface flow rates is rare, essentially nonexistent in practice. As such, the deconvolution of wellbore storage distorted pressure test data is problematic. In theory, this process is possible, but in practice, without accurate measurements of flow rates, this process cannot be employed [12, 13].

In the past 50 years, a variety of deconvolution techniques have been proposed in petroleum engineering. Russell [14] used the approximate direct method to correct the pressure transient data distorted by wellbore storage into the equivalent pressure function for the constant rate case. Gladfelter et al. [15] and Fetkovich and Vienot [16] used the rate normalization techniques to correct for the wellbore storage effects. These rate normalization methods were successful in some cases. So Johnston [17] provided the material balance deconvolution that is a practical approach for the analysis of pressure transient data distorted by wellbore storage effects.

Essentially, rate normalization techniques and material balance deconvolution are restricted when the lack of rate measurement exists. van Everdingen [18] and Hurst [19] demonstrated empirically that the sandface flow rate profile can be modeled approximately using an exponential relation for the duration of wellbore storage distortion during a pressure transient test. The van Everdingen and Hurst exponential rate model is given in dimensionless form as Further, they showed that the rate-time relationship during afterflow (for a pressure buildup test) or unloading (in a pressure drawdown test) is a function of the pressure drop change with respect to time and a relatively constant wellbore storage coefficient.

Based on a material balance in the wellbore, the sandface flow rate can be calculated by the following relation given in dimensionless form where it can be noted that, in the development of wellbore storage models solutions (e.g., type curves), a constant wellbore storage coefficient is always assumed.

Equations (1) and (2) laid the groundwork for -deconvolution. Joseph and Koederitz [20] and Kuchuk [21] applied -deconvolution for the analysis of wellbore storage distorted pressure transient data. The -deconvolution formula, which computes the undistorted pressure drop function directly from the wellbore storage affected data, is given as It should be noted that (3) is only valid when the sandface flow rate profile follows an exponential trend as prescribed by (1) [12]. In this work, we develop an approach that overcomes this restriction by treating the quantity as a variable in general, rather than a constant.

The obvious advantage of -deconvolution is that the wellbore storage effects are eliminated and the restored pressure is obtained using only the given pressure data.

This paper reports a modification of Russell method (Appendix A), a modification of -deconvolution, and an explicit deconvolution formula to restore the pressure and rate data, and a review on material balance deconvolution is also presented to deconvolve the pressure and rate data after the explicit deconvolution method. Then a general approach to analyze the deconvolution problem is provided (Appendix B). In verification examples section, we show the power and practical applicability of our approaches with various synthetic and field case examples for oil and gas wells.

#### 2. Main Results

##### 2.1. *β*-Deconvolution and Its Modification

van Everdingen and Hurst [22] presented the dimensionless wellbore pressure for a continuously varying flow rate as An alternative form to (4) can be obtained by integration by parts as where , , , is dimensionless wellbore pressure with wellbore storage and skin effects, is dimensionless sandface pressure for the constant rate case without wellbore storage and skin effects, is steady state skin factor, , , , and is reference flow rate, if the stabilized constant rate is available, then should be replaced by , is variable sandface flow rate (flowmeter reading), and is dimensionless sandface rate.

It should be emphasized that (4) and (5) can be applied for many reservoir engineering problems. The linearity of diffusivity equation allows us to use (4) and (5) for fractured, layered, anisotropic, and heterogeneous systems as long as the fluid in the reservoir is single phase. These equations can also be applied to both drawdown and buildup tests if the initial conditions are known. For a reservoir with an initial constant and uniform pressure distribution (), (4) and (5) can be expressed as Furthermore, (6) and (7) also can be expressed as In (6) and (8), it is assumed that exists. If is constant, then (7) and (9) must be used. Equations (6) and (8) are known as a Volterra integral equation of first kind and the convolution type.

Taking the Laplace transform of (6) yields Rearranging (10) for the equivalent constant rate pressure drop function, , we obtain By taking the Laplace transform of (1), one can easily obtain: Substituting (12) into (11) and then taking the inverse Laplace transform of (11) yield the beta deconvolution formula: where where we note that (13) is specifically valid only for the exponential sandface flow rate profile given by (1). This may present a serious limitation in terms of practical application of the -deconvolution method. To overcome this restriction, we propose an idea. It would be assumed that is not constant in general. If data are given, the procedure is as follows: Rearranging (15) yields then so Substituting of (18) into (13) instead of term yields the modified -deconvolution:

Plot of (19) versus and for drawdown and buildup tests, respectively, should be considered more accurate to use as a practical tool for field applications. As mentioned before, the variable quantity (rather than a constant) shows the general and more accurate behavior of . So accuracy of (19) is also more than (13). It can be emphasized that (13) and (19) are applicable in the wellbore storage duration, and for the later times, the given pressure data are correct. However, the results of (19) show that this equation is not bad for the later times.

##### 2.2. Explicit Deconvolution Formula

A few types of approximation functions can be used to approximate . An approximate proof is given here to show that the exponential function gives a good representation of . By setting Equation (21) is an initial condition for (20).

Taking the time derivative of (20) gives Taking the time derivative of (2) gives From (2) and (20), we have And from (22) and (23), we have After dividing right and left hand sides of (25) by (24), the result is Integrating both sides of (26) with respect to from to yields Using elementary calculus yields So where Now, the explicit deconvolution of data based on (20) can be written as follows: or that is similar to (19). The other similarity between (19) and (32) is that the plot of (32) versus and for drawdown and buildup tests, respectively, yields the more accurate results and is usable for practical applications. The applicability of (32) is also for duration of wellbore storage effects. And for the other times, the given pressure data are correct. However, using this method for the later times yields not bad results.

#### 3. Material Balance Deconvolution

Material balance deconvolution is an extension of the rate normalization method. Johnston [17] defines a new -axis plotting function (material balance time) that provides an approximate deconvolution of the variable rate pressure transient problem. There are numerous assumptions associated with the material balance deconvolution methods; one of the most widely accepted assumptions is that the rate profile must change smoothly and monotonically. In practical terms, this condition should be met for the wellbore storage problem.

The general form of material balance deconvolution is provided for the pressure drawdown case in terms of the material balance time function and the rate-normalized pressure drop function. The material balance time function is given as where The rate-normalized pressure drop function is given by The material balance time function for the pressure buildup case is given as where The rate-normalized pressure drop function for the pressure buildup case is given as

#### 4. Methodology

In this work several methods are provided to restore the pressure data without any sandface flow rate information. The values of sandface flow rate data for all methods that require these data may be obtained from (20). We evaluated a very old correction method by Russell [14]. However, we modified this method by least square method, but it was found that this method is to be unacceptable for all applications. The derivation of this method and its modification is given in Appendix A.

The -deconvolution and its modification are another technique that is mentioned in this study. The formulation of this method is presented in Section 2.1. The other explicit deconvolution method is an approach similar to the modified -deconvolution that uses only the pressure data for deconvolution of pressure and rate data. The formulation of this method was derived in Section 2.2. The -deconvolution, its modification, and explicit deconvolution formula can be used for practical applications. The applicability of these methods is for duration of wellbore storage effects. However, using these approaches for the other times yields not bad results.

The other technique is material balance deconvolution method [17] that has sufficiently accurate results. This method can also be used as a good approach for practical applications. The formulas for this method were given in Section 3.

In Appendix B, deconvolution is expressed as an inverse problem that is analyzed by a tricky idea. Based on this idea, an interesting proof is given for rate normalization method and material balance deconvolution that is a good approach to find the errors and limitations of these methods and overcome them.

From the above-mentioned methods, we use the following two techniques to show the verification of these approaches.

*Explicit Deconvolution Formula.* The final result of explicit deconvolution method is given as follows:

Plotting of this term versus and for drawdown and buildup tests, respectively, yields more accurate results. This approach performs well in field applications.

*Material Balance Deconvolution.* The material balance pressure drop function for the pressure drawdown test is given as
and the material balance time function for the pressure drawdown test is given as
For the buildup test, the material balance pressure drop function can be written as
And the material balance time function can be written as
This technique is a good approach for practical applications.

#### 5. Verification Examples

We first use few synthetic cases for different reservoir/wellbore systems to validate the applicability of explicit deconvolution formula and material balance deconvolution method. Then the field applications of these techniques will be shown by two real cases. The unloading rates are calculated with (20).

The first case is a synthetic test derived from a test design in a vertical oil well. The reservoir is homogenous and infinite acting with a constant wellbore storage. The wellbore storage coefficient is bbl/psi. The pressure data are obtained from the cylindrical source solution (test design).

We used the explicit deconvolution formula and material balance deconvolution method to deconvolve the pressure and unloading rate distorting by wellbore storage effects. The results are presented in Figures 1 and 2 for the semilog and log-log plots in the case of drawdown test and Figures 3 and 4 for the semilog and log-log plots in the case of buildup test. Besides the deconvolved pressures and their logarithmic derivatives, pressure responses with and without wellbore storage are also plotted on the figures for comparison. Through the deconvolution process, we have successfully removed the wellbore storage effects so that radial flow can be identified at early test times. The deconvolved pressures and their logarithmic derivatives are almost identical to the analytic solutions (without wellbore storage), which enables us to estimate reservoir parameters accurately.

The second case is an oil well drawdown test in a dual porosity reservoir. The storativity ratio () and interporosity flow coefficient () are assumed to be 0.1 and , respectively. The constant wellbore storage coefficient is bbl/psi. The dimensionless wellbore pressure data were obtained from the cylindrical source solution with pseudosteady-state interporosity flow (test design). It is not possible to identify the dual porosity behavior characteristic of the reservoir from wellbore pressure data because this behavior has been masked completely by wellbore storage, as indicated in Figures 5 and 6.

We deconvolved the pressure and unloading rate and present the results in Figures 5 and 6. The deconvolved results are reasonably consistent with the analytical solution. After deconvolution, the dual porosity behavior can be identified easily from the valley in the logarithmic derivative of pressure. If wellbore storage effects were not removed at early times, it easily could have incorrectly identified the reservoir system as infinite acting. The estimation of reservoir parameters can be obtained now from deconvolved pressure.

The third case is an oil well drawdown test in a reservoir with a sealing fault 250 ft from the well. Synthetic pressure responses were generated by simulation (test design) with a constant wellbore storage coefficient of 0.1 bbl/psi. As we can see in Figures 7 and 8, the early time infinite acting reservoir behavior has been masked completely by wellbore storage.

To recover the hidden reservoir behavior, we performed deconvolution on the pressure change to remove the wellbore storage effect. As in Figures 7 and 8, the deconvolved pressure change and logarithmic derivative data are almost identical to the responses without wellbore storage. The deconvolution results clearly indicate parallel horizontal lines for the logarithmic derivative. However, without wellbore storage effects elimination, this may mislead to identify the reservoir system as infinite acting. So this allows us to correctly identify the reservoir system having a sealing fault.

The fourth case is a field example that is taken from the literature [23]. The basic reservoir and fluid properties are shown in Table 1. In this case we provide the deconvolved pressure data using the explicit deconvolution formula and the material balance deconvolution method that is presented in this work. The data are taken from a pressure buildup test and can be reasonably used as field data. The deconvolution results are shown in Figure 9 in semilog plot. As it is illustrated from Figure 9, the corrected pressure provides a clear straight line starting as early as 1.5 hours, in contrast to the vague line from the uncorrected pressure response.

And the last (field) example is a gas condensate well buildup test following a variable rate production history. The duration of last pressure buildup test is 36.1556 hours (from 188.9 to 225.0556 hours). The basic reservoir and fluid properties for the last drawdown test are shown in Table 2. However, the properties of other production tests are not shown here. To use our new techniques effectively for gas wells, we use normalized pseudopressure and pseudotime functions as defined by Meunier et al. [24]. The final results of explicit deconvolution formula and material balance deconvolution method show two different slopes (Figure 10) where the early times slope is greater than the last one. This identifies the radial composite behavior of the reservoir. With the corrected pressures, the reservoir parameters can also be estimated.

#### 6. Conclusions

In this work we have provided some explicit deconvolution methods for restoration of constant rate pressure responses from measured pressure data dominated by wellbore storage effects, without sandface rate measurements. Based on our investigations, we can state the following specific conclusions related to these techniques.(1)The results obtained from the synthetic and field examples show the practical and computational efficiency of our deconvolution methods.(2)Modification of -deconvolution is presented where the beta quantity is variable, rather than a constant.(3)For situations in which there are no downhole rate measurements, the explicit deconvolution methods (blind deconvolution approaches) can be used to derive the downhole rate function from the pressure measurements and restore the reservoir pressure response.(4)We can unveil the early time behavior of a reservoir system masked by wellbore storage effects using these new approaches. Wellbore geometries and reservoir types can be identified from this restored pressure data. Furthermore, the conventional methods can be used to analyze this restored formation pressure to estimate formation parameters. So the presented techniques can be used as the practical tools to improve pressure transient test interpretation.(5)Deconvolution in well test analysis is often expressed as an inverse problem. This approach can be used as an idea to justify the rate normalization method and the material balance deconvolution method.

#### Appendices

#### A. Russel Method and Its Modification

A method for correcting pressure buildup pressure data free of wellbore storage effects at early times has been developed by Russell [14]. In this method it is not necessary to measure the rate of influx after closing in at the surface. Instead, one uses a theoretical equation, which gives the form that the bottom hole pressure should have fluid accumulates in the wellbore during buildup. This leads to the result that one should plot versus log () in analyzing pressure buildup data during the early fill-up period. The denominator makes a correction for the gradually decreasing flow into the wellbore. The quantity is obtained by trial and error as the value which makes the curve straight at early times. After obtaining the straight line section, the rest of the analysis is the same as for any other pressure buildup. This method has the advantage or requires no additional data over that taken routinely during a shut in test.

Due to the time consuming and unconfident of trial and error to determine in Russell method, we modify this method. Russell's wellbore storage correction is given as Defining the following function and using least squares technique obtain the final result: To minimize the function , it can differentiate with respect to , , and and setting the results equal to zero. After differentiation, it reduces to From (A.4), we define the following function: The roots of (A.7) can be found via the following algorithm: where where the unknown functions are given by the following relations: whose derivative is where its derivative is and after differentiation, it yields which has the following derivative: finally the values of and parameters are given by the following formulas:

#### B. General Formula for Inverse Problem

The convolution of (6) yields where where is the inverse Lapalce transform operator. can be computed either from the Laplace transforms of data, a curve-fitted equation of data, or using another technique with a relation between and . However, it would be time consuming to invert all the data in Laplace space and transform it back to real space in accordance with (B.2). Once an approximation is obtained, it will be easy to compute and integrate (B.1) to determine . However, finding some approximation functions for data may be difficult. We provide an approach to overcome this problem. This idea is based on finding another relation between and ; that is, or The other relations that can be used are or or where Equation (B.4) can be used simultaneously with (B.1) to analyze the deconvolution problem.

Equation (11) can be written as or The applications of (B.6) and (B.8) are with (B.11).

For justifying the rate normalization method and material balance deconvolution, it can use (B.1), (B.4) ((B.11) can also be used with (B.6) or (B.8) for this goal) and generalized mean value theorem for integrals. This theorem is expressed as follows.

Theorem 1. *Let and be continuous on , and suppose that does not change sign on . Then there is a point in such that
*

By Theorem 1, there are some values and between and such that By setting and dividing the right and left side of (B.13), respectively, the rate normalization technique is developed. However, the values and are not equal to each other and are not equal to in general. This is the reason of error in rate normalization and material balance deconvolution methods. and are less than in these methods for the duration of wellbore storage distortion during a pressure transient test. Since these conditions are approximately satisfied in material balance deconvolution, the results of material balance are more accurate and more confident than rate normalization.

#### Nomenclature

API: | API gravity, °API |

: | Oil formation volume factor, RB/STB |

: | Total isothermal compressibility factor, psi_{−1} |

: | Arbitrary constant, hr_{−1} |

: | Wellbore storage constant, dimensionless |

: | Wellbore storage coefficient, bbl/psi |

: | Formation thickness, ft |

HTR: | Horner time ratio, dimensionless |

: | Formation permeability, md |

: | Kernel of the convolution integral |

: | Kernel of the convolution integral |

: | Cumulative oil production, bbl |

Pressure, psi | |

: | Normalized pseudopressure, psi |

: | Average reservoir pressure, psi |

: | Formation pressure, dimensionless |

: | Dewpoint pressure, psi |

: | Initial reservoir pressure, psi |

: | Formation pressure including skin, dimensionless |

: | Formation pressure including skin, psi |

: | Pressure draw down, dimensionless |

: | Flowing bottom hole pressure, psi |

: | Shut-in bottom hole pressure, psi |

: | Sandface flow rate, dimensionless |

: | Gas flow rate, Mscf/D |

: | Oil flow rate, STB/D |

: | Wellbore radius, ft |

: | Laplace variable |

: | Skin factor |

: | Time, hr |

: | Time, dimensionless |

: | Production time, hr |

: | Reservoir temperature, °F |

: | Dewpoint temperature, °F |

: | Explicit deconvolution variable, dimensionless |

: | Beta deconvolution variable, dimensionless |

: | Gas gravity (air = 1.0) |

: | Interporosity flow coefficient of dual porosity reservoir |

: | Porosity of reservoir rock, dimensionless |

: | Gas viscosity, cp |

: | Oil viscosity, cp |

: | Storativity ratio of dual porosity reservoir |

−: | Laplace transform of a function |

: | Derivative of a function. |

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.