#### Abstract

This paper presents a study of characteristic value method of well test analysis for horizontal gas well. Owing to the complicated seepage flow mechanism in horizontal gas well and the difficulty in the analysis of transient pressure test data, this paper establishes the mathematical models of well test analysis for horizontal gas well with different inner and outer boundary conditions. On the basis of obtaining the solutions of the mathematical models, several type curves are plotted with Stehfest inversion algorithm. For gas reservoir with closed outer boundary in vertical direction and infinite outer boundary in horizontal direction, while considering the effect of wellbore storage and skin effect, the pseudopressure behavior of the horizontal gas well can manifest four characteristic periods: pure wellbore storage period, early vertical radial flow period, early linear flow period, and late horizontal pseudoradial flow period. For gas reservoir with closed outer boundary both in vertical and horizontal directions, the pseudopressure behavior of the horizontal gas well adds the pseudosteady state flow period which appears after the boundary response. For gas reservoir with closed outer boundary in vertical direction and constant pressure outer boundary in horizontal direction, the pseudopressure behavior of the horizontal gas well adds the steady state flow period which appears after the boundary response. According to the characteristic lines which are manifested by pseudopressure derivative curve of each flow period, formulas are developed to obtain horizontal permeability, vertical permeability, skin factor, reservoir pressure, and pore volume of the gas reservoir, and thus the characteristic value method of well test analysis for horizontal gas well is established. Finally, the example study verifies that the new method is reliable. Characteristic value method of well test analysis for horizontal gas well makes the well test analysis process more simple and the results more accurate.

#### 1. Introduction

Recent years have seen the ever-growing application of horizontal wells technology, which aroused considerable interest in the exploration of horizontal well test analysis [1–4]. In order to surmount the challenges in estimating horizontal well productivity and parameters, analytical solutions for interpreting transient pressure behavior of horizontal wells have attracted great attention.

Numerous studies on the pressure transient analysis of horizontal wells have been documented extensively in the literature. Combined with Newman’s product method, Gringarten and Ramey [5] found an access to solve the unsteady-flow problems in reservoirs by means of the use of source and Green’s function. Clonts and Ramey [6] presented an analytical solution for interpreting the transient pressure behavior of horizontal drain holes located in the heterogeneous reservoir. On the basis of finite Fourier transforms, Goode and Thambynayagam [7] addressed a solution for horizontal wells with infinite-conductivity in the semi-infinite reservoir. Ozkan and Rajagopal [8] demonstrated a derivative approach to analyze the pressure-transient behavior of horizontal wells, which revealed the relationship between the dimensionless well length and the horizontal-well pressure responses. Odeh and Babu [9] indicated that four significant flow periods could be observed during the process of horizontal well transient pressure behavior, which was further consolidated by the buildup and drawdown equations. Thompson and Temeng [10] introduced the automatic type curve matching method in analyzing multirate horizontal well pressure transient data through nonlinear regression analysis techniques. Rahavan et al. [11] employed a mathematical model to identify the features of pressure responses of a horizontal well with multiple fractures. Equipped with Laplace transformation and boundary element method, Zerzar and Bettam [12] addressed an analytical model for horizontal wells with finite conductivity vertical fractures. By extrapolating the transient pressure data, a simplified approach to predict well production was presented by Whittle et al. [13].

Owing to the imperfection of common well test analysis methods including the semilog data plotting analysis technique [14, 15], type curve matching analysis method [16, 17], and automatic fitting analysis method [18], it is inconvenient to apply those methods during the process of analyzing and determining reservoir parameters. Therefore, this paper presents the characteristic value method of well test analysis for horizontal gas well for the sake of overcoming conventional limitations. This method involves two steps. The first step is to develop formulas to calculate gas reservoir fluid flow parameters according to the characteristic lines manifested by pseudopressure derivative curves of each flowing period. The next step is to utilize these formulas to complete the well test analysis for horizontal gas well by means of combining the measured pressure with the pseudopressure derivative curve. The characteristic value method of well test analysis for horizontal gas well enriches and develops the well test analysis theory and method.

#### 2. Mathematical Models and Solutions of Well Test Analysis for Horizontal Gas Well

The hypothesis: the formation thickness is , the initial formation pressure of gas reservoir is and equal everywhere, the gas reservoir is anisotropic, the horizontal permeability is , the vertical permeability is , horizontal section length is , and the position of horizontal section in the gas reservoir which is parallel to the closed top and bottom boundary is . The surface flow rate of horizontal gas well is and assumed to be constant. Single-phase compressible gas flow obeys Darcy law and the effect of gravity and capillary pressure is ignored. The physical model of horizontal gas well seepage is illustrated in Figure 1.

Considering the complexity of the seepage flow mechanism of horizontal gas well and in order to make the mathematical model’s solving and calculation more simple, the establishment of mathematical models are divided into two parts: one is to ignore the effect of wellbore storage and skin effect; the other is to consider the effect of wellbore storage and skin effect [19, 20].

##### 2.1. The Mathematical Models without Considering the Effect of Wellbore Storage and Skin

The diffusivity equation is expressed by Ozkan and Raghavan [21]:

Initial condition is

Inner boundary condition is where is a tiny variable.

Infinite outer boundary condition in horizontal direction is

Closed outer boundary condition in horizontal direction is

Constant pressure outer boundary condition in horizontal direction is

Closed outer boundary conditions in vertical direction are

The dimensionless variables are defined as follows:

The defined gas pseudopressure is

##### 2.2. The Mathematical Model with Considering the Effect of Wellbore Storage and Skin

According to Duhamel’s principle [22] and the superposition principle, while using the definition of dimensionless variables, the mathematical model of horizontal gas well with considering the effect of wellbore storage and skin is derived as follows: where

##### 2.3. The Solutions of the Mathematical Models

The solutions of the mathematical models [23, 24] at various outer boundary conditions can be obtained by applying source function and integral transform and taking the Laplace transform to with respect to .

For gas reservoir with closed outer boundary in vertical direction and infinite outer boundary in horizontal direction, according to (1), (2), (3), (4), and (7), the dimensionless bottomhole pseudopressure of horizontal gas well in the Laplace space can be obtained. This results in where

For gas reservoir with closed outer boundary both in vertical and horizontal direction, according to (1), (2), (3), (5), and (7), the dimensionless bottomhole pseudopressure of horizontal gas well in the Laplace space can be obtained. This results in

For gas reservoir with closed outer boundary in vertical direction and constant pressure outer boundary in horizontal direction, according to (1), (2), (3), (6), and (7), the dimensionless bottomhole pseudopressure of horizontal gas well in Laplace space can be obtained. This results in

Making the Laplace transform to with respect to , (10) can be solved for the dimensionless bottomhole pseudopressure of horizontal gas well considering the effect of wellbore storage and skin in the Laplace space. This results in

#### 3. Type Curves of Well Test Analysis for Horizontal Gas Well

##### 3.1. Gas Reservoir with Infinite Outer Boundary in Horizontal Direction

For gas reservoir with infinite outer boundary in horizontal direction, according to (12) which is the solution of horizontal well seepage mathematical model, while combining with (16), the type curve of well test analysis for horizontal gas well can be plotted with Stehfest inversion algorithm, as shown in Figure 2.

As seen from Figure 2, for gas reservoir with infinite outer boundary in horizontal direction, the pseudopressure behavior of horizontal gas well can manifest four characteristic periods: pure wellbore storage period (I), early vertical radial flow period (II), early linear flow period (III), and late horizontal pseudoradial flow period (IV).

###### 3.1.1. Pure Wellbore Storage Period

The characteristic of pure wellbore storage period of horizontal well is the same as vertical well, which is manifested as a 45° straight line segment on the log-log plot of , versus , and the duration of this period is affected by wellbore storage and skin effect.

Expressions of dimensionless bottomhole pseudopressure and pseudopressure derivative during this period can be obtained. This results in

###### 3.1.2. Early Vertical Radial Flow Period

The early vertical radial flow period appears after the effect of wellbore storage; the characteristic of this period is manifested as a horizontal straight line segment on the log-log plot of versus . The pseudopressure behavior of this period is affected by formation thickness, horizontal section length, and the position of horizontal section in the gas reservoir. The flow regime of this period is shown in Figure 3.

Expressions of dimensionless bottomhole pseudopressure and pseudopressure derivative during this period can be obtained. This results in

###### 3.1.3. Early Linear Flow Period

The early linear flow period appears after the early vertical radial flow period. The characteristic of this period is manifested as a straight line segment with a slope of 0.5 on the log-log plot of versus . This characteristic describes the linear flow of fluid from formation to horizontal section. The pseudopressure behavior of this period is affected by dimensionless formation thickness , dimensionless horizontal section length , and the position of horizontal section in the gas reservoir . The flow regime of this period is shown in Figure 4.

Expressions of dimensionless bottomhole pseudopressure and pseudopressure derivative during this period can be obtained. This results in

###### 3.1.4. Late Horizontal Pseudoradial Flow Period

The late horizontal pseudoradial flow period appears after the early linear flow period. The characteristic of this period is manifested as a horizontal straight line segment with the value of 0.5 on the log-log plot of versus . This characteristic describes the horizontal pseudoradial flow of fluid from formation horizontal plane in the distance to horizontal section. The flow regime of this period is shown in Figure 5.

##### 3.2. Gas Reservoir with Closed Outer Boundary in Horizontal Direction

For gas reservoir with closed outer boundary in horizontal direction, according to (14) which is the solution of horizontal well seepage mathematical model, while combining with (16), the type curve of well test analysis for horizontal gas well can be plotted with Stehfest inversion algorithm, as shown in Figure 6.

As seen from Figure 6, for gas reservoir with closed outer boundary in horizontal direction, the pseudopressure behavior of horizontal gas well can manifest five characteristic periods. The previous four periods of gas reservoir with closed outer boundary are exactly the same as gas reservoir with infinite outer boundary, but the pseudopressure behavior of the horizontal gas well adds the pseudosteady state flow period (V) which appears after the boundary response. The characteristic of the pseudosteady state flow period is manifested as a straight line segment with a slope of 1 on the log-log plot of , versus . The greater the distance of the outer boundary, the later the appearance of the pseudosteady state flow period. The smaller the distance of the outer boundary, the sooner the appearance of the pseudosteady state flow period.

Expressions of dimensionless bottomhole pseudopressure and pseudopressure derivative during the pseudosteady state flow period can be obtained. This results in

##### 3.3. Gas Reservoir with Constant Pressure Outer Boundary in Horizontal Direction

For gas reservoir with constant pressure outer boundary in horizontal direction, according to (15) which is the solution of horizontal well seepage mathematical model, while combining with (16), the type curve of well test analysis for horizontal gas well can be plotted with Stehfest inversion algorithm, as shown in Figure 7.

As seen from Figure 7, for gas reservoir with constant pressure outer boundary in horizontal direction, the pseudopressure behavior of horizontal gas well can manifest five characteristic periods; the previous four periods of gas reservoir with constant pressure outer boundary are exactly the same as gas reservoir with infinite outer boundary, but the pseudopressure behavior of the horizontal gas well adds the steady state flow period (V) which appears after the boundary response. The occurrence time of the steady state flow period is affected by the outer boundary distance in horizontal direction. The smaller the distance of the outer boundary, the sooner the appearance of the steady state flow period. The greater the distance of the outer boundary, the later the appearance of the steady state flow period.

##### 3.4. Characteristic Value Method of Well Test Analysis for Horizontal Gas Well

The characteristic value method of well test analysis for horizontal gas well can determine the gas reservoir fluid flow parameters according to the characteristic lines which are manifested by pseudopressure derivative curve of each flow period on the log-log plot.

###### 3.4.1. Pure Wellbore Storage Period

The characteristic of pure wellbore storage period of horizontal well is manifested as a straight line segment with a slope of 1 on the log-log plot of , versus . The expression of dimensionless bottomhole pseudopressure during this period is

Equation (22) can be converted to dimensional form, and then according to the time and pressure data during pure wellbore storage period, the method to determine the wellbore storage coefficient can be obtained. By plotting the log-log plot of , versus , the wellbore storage coefficient can be determined by the straight line segment with a slope of 1 on the log-log plot.

The following can be obtained from the definitions of dimensionless variables:

According to (22), (23), and the definition of dimensionless pseudopressure, the wellbore storage coefficient can be obtained. This results in where represents the actual value on the log-log plot of , versus during the pure wellbore storage period.

###### 3.4.2. Early Vertical Radial Flow Period

*The Determination of Geometric Mean Permeability*. The dimensionless bottomhole pseudopressure derivative curve is manifested as a horizontal straight line segment with the value of during the early vertical radial flow period. The expression of dimensionless bottomhole pseudopressure derivative during this period is

According to the definitions of dimensionless variables, the dimensional form of (25) can be obtained. This results in

The geometric mean permeability of gas reservoir can be determined by (26). This results in where represents the actual value on the log-log plot of versus during the early vertical radial flow period.

*The Determination of Skin Factor and Initial Reservoir Pressure*. The expression of dimensionless bottomhole pseudopressure during the early vertical radial flow period is

According to the definitions of dimensionless variables and (28), the skin factor can be obtained. This results in where and represent the pseudopressure difference and time corresponding to the , respectively.

For pressure buildup analysis, when , the , (30) can be obtained through the use of the definitions of dimensionless variables and pseudopressure difference during the early vertical radial flow period:

The initial reservoir pseudopressure can be determined by (30). This results in where represents the actual value on the pressure buildup log-log plot of versus during the early vertical radial flow period.

###### 3.4.3. Early Linear Flow Period

The dimensionless bottomhole pseudopressure derivative curve is manifested as a straight line segment with the slope of 0.5 during the early linear flow period. According to the expression of dimensionless bottomhole pseudopressure derivative during this period and the definitions of dimensionless variables, the following can be obtained:

The horizontal permeability of gas reservoir can be determined by (32). This results in where represents the actual value on the log-log plot of versus during the early linear flow period.

Combining (27) with (33), the vertical permeability can be obtained. This results in

###### 3.4.4. Late Horizontal Pseudoradial Flow Period

The dimensionless bottomhole pseudopressure derivative curve is manifested as a horizontal straight line segment with the value of 0.5 during the late horizontal pseudoradial flow period. According to the expression of dimensionless bottomhole pseudopressure derivative during this period and the definitions of dimensionless variables, (35) can be obtained:

The horizontal permeability of gas reservoir can be determined by (35). This results in where represents the actual value on the log-log plot of versus during the late horizontal pseudoradial flow period.

For pressure buildup analysis, when , the , (37) can be obtained through the use of the definitions of dimensionless variables and pseudopressure difference during the late horizontal pseudoradial flow period:

The initial reservoir pseudopressure can be determined by (37). This results in where represents the actual value on the pressure buildup log-log plot of versus during the late horizontal pseudoradial flow period.

###### 3.4.5. Pseudosteady Flow Period

The dimensionless bottomhole pseudopressure derivative curve is manifested as a straight line segment with the slope of 1 during the pseudosteady flow period. According to the expression of dimensionless bottomhole pseudopressure derivative during this period and the definitions of dimensionless variables, (39) can be obtained:

The pore volume of gas reservoir can be determined by (39). This results in where represents the actual value on the log-log plot of versus during the pseudosteady flow period.

#### 4. Example Analysis

The Longping 1 well is a horizontal development well in JingBian gas field, the well total depth is 4672 m, the drilled formation name is Majiagou group, the mid-depth of reservoir is 3425.63 m, and the well completion system is screen completion. According to the deliverability test during 26–29 December, 2006, the calculated absolute open flow was 94.26 × 10^{4} m^{3}/d. The commissioning data of Longping 1 well was in 12 May, 2007, the initial formation pressure was 29.39 MPa, before production, and the surface tubing pressure and casing pressure were both 23.90 MPa. The production performance curves of Longping 1 well are shown in Figures 8 and 9, respectively.

Longping 1 well has been conducted pressure buildup test during 14 August, 2007, and 23 October, 2007. The gas flow rate of Longping 1 well was 40 × 10^{4} m^{3}/d before the shut-in. The bottomhole pressure recovered from 22.38 MPa to 27.83 MPa during the pressure buildup test. Physical parameters of fluid and reservoir are shown in Table 1. The pressure buildup log-log plot of Longping 1 well is shown in Figure 10.

As seen from the contrast between Figure 10 and well test analysis type curves of horizontal well, the pseudopressure behavior of Longping 1 well manifests four characteristic periods during the pressure buildup test: pure wellbore storage period (I), early vertical radial flow period (II), early linear flow period (III), and late horizontal pseudoradial flow period (IV).

Using the above characteristic value method of well test analysis for horizontal gas well, well test analysis results of Longping 1 well are shown in Table 2. The pressure buildup semilog plot and pressure history matching plot of Longping 1 well are shown in Figures 11 and 12, respectively.

#### 5. Summary and Conclusions

The four main conclusions and summary of this study are as follows.(1)On the basis of establishing the mathematical models of well test analysis for horizontal gas well and obtaining the solutions of the mathematical models, several type curves which can be used to identify flow regime have been plotted and the seepage characteristic of horizontal gas well has been analyzed.(2)The expressions of dimensionless bottomhole pseudopressure and pseudopressure derivative during each characteristic period of horizontal gas well have been obtained; formulas have been developed to calculate gas reservoir fluid flow parameters.(3)The example study verifies that the characteristic value method of well test analysis for horizontal gas well is reliable and practical.(4)The characteristic value method of well test analysis, which has been included in the well test analysis software at present, has been widely used in vertical well. As long as the characteristic straight line segments which are manifested by pressure derivative curve appear, the reservoir fluid flow parameters can be calculated by the characteristic value method of well test analysis for vertical well. The proposed characteristic value method of well test analysis for horizontal gas well enriches and develops the well test analysis theory and method.

#### Nomenclature

: | Wellbore storage coefficient, m^{3}/MPa |

: | Dimensionless wellbore storage coefficient |

: | Total compressibility, MPa^{−1} |

: | Reservoir thickness, m |

: | Dimensionless reservoir thickness |

: | Modified Bessel function of first kind of order |

: | Horizontal permeability, mD |

: | Modified Bessel function of second kind of order |

: | Vertical permeability, mD |

: | Horizontal section length, m |

: | Dimensionless horizontal section length |

: | Pseudopressure, MPa^{2}/mPa·s |

: | Dimensionless pseudopressure |

: | Initial formation pseudopressure, MPa^{2}/mPa·s |

: | Dimensionless bottomhole pseudopressure |

: | Flowing wellbore pseudopressure, MPa^{2}/mPa·s |

: | Derivative of |

: | Laplace transform of |

: | Laplace transform of |

: | Pseudopressure difference, MPa |

: | Derivative of |

: | Casing head pressure, MPa |

: | Initial formation pressure, MPa |

: | Reservoir pressure, MPa |

: | Tubing head pressure, MPa |

: | Flowing wellbore pressure at shut-in, MPa |

: | Gas flow rate, 10^{4} m^{3}/d |

: | Water production rate, m^{3}/d |

: | Radial distance, m |

: | Dimensionless radial distance |

: | Outer boundary distance, m |

: | Dimensionless outer boundary distance |

: | Wellbore radius, m |

: | Dimensionless wellbore radius |

: | Skin factor |

: | Laplace transform variable |

: | Initial water saturation, fraction |

: | Time, hours |

: | Dimensionless time |

: | Production time, hours |

: | Dimensionless production time |

: | Shut-in time, hours |

: | Formation temperature, °C |

: | Vertical distance, m |

: | Dimensionless vertical distance |

: | Horizontal section position, m |

: | Dimensionless horizontal section position |

: | Gas deviation factor |

: | Tiny variable |

: | Porosity, fraction |

: | Gas viscosity, mPa·s |

: | Gas gravity. |

*Subscripts*

: | Dimensionless |

: | Early |

: | Early of buildup |

: | Horizontal |

: | Initial |

: | Linear |

: | Late horizontal pseudo-radial |

: | Late horizontal pseudo-radial of buildup |

: | Pseudosteady flow period |

: | Total |

: | Vertical |

: | Flowing wellbore |

: | Shut-in wellbore. |

#### Conflict of Interests

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