Petroleum Knowledge Base

Gas Well Testing

Gas well testing falls into two classes, deliverability testing and pressure transient testing: the former uses back pressure, isochronal, modified isochronal, or single point tests to establish a binomial or exponential deliverability equation and the absolute open flow potential, while the latter uses pseudopressure or its simplified forms to obtain permeability, and uses the apparent skin factor at different rates to separate the mechanical skin from the non-Darcy flow coefficient.

Concept

Gas well testing is the pressure and rate testing and interpretation carried out on gas wells, with the following objectives in order: to determine the gas deliverability under different drawdowns, to determine the skin factor caused by bottomhole damage, and to determine the gas-zone permeability and formation pressure. It is correspondingly divided into two classes:

  1. Deliverability test (flow-after-flow test): stabilized or isochronal rates and flowing bottomhole pressures are measured under several operating conditions, to establish the deliverability equation and obtain the absolute open flow potential, providing a basis for production allocation and the field development plan;
  2. Pressure transient well test: the pressure-time curve of flow drawdown or shut-in buildup is analyzed to obtain permeability, skin factor, non-Darcy flow coefficient, and so on. A deliverability test generally cannot give these formation parameters.

The interpretation methods for gas wells and oil wells are related, and the differences arise from two points. First, the viscosity, compressibility factor, and compressibility of a gas all vary with pressure, so the premise of "slightly compressible, with constant properties" in the oil well equations does not hold, and the pressure must first be converted to pseudopressure. Second, gas has low viscosity and high flow velocity, so inertial (non-Darcy) flow near the wellbore produces an additional pressure drop that increases with rate.

Calculation Methods

Units: gas rate q in 10⁴ m³/d at standard conditions; pressure is absolute pressure in MPa; T is formation temperature in K; μ is gas viscosity in mPa·s; Z is the compressibility factor; K is in μm²; h and rw are in m; t is in h; Ct is in MPa⁻¹.

Pseudopressure and its simplifications

Pseudopressure is defined as:

ψ(p) = ∫p0p 2p/(μZ) dp

p0 is an arbitrarily chosen reference pressure, often taken as 0. With ψ in place of pressure, the diffusivity equation of a gas takes the same form as that of a liquid, and oil well methods such as type curves and semilog straight lines can be used as they are. Pseudopressure must be obtained by numerical integration from μ(p) and Z(p); it can be simplified when the pressure range is suitable:

Pressure range Simplification Permeability
p < 13.8 MPa ψ ≈ p2/(μZ) (pressure-squared method) K = 0.01467μZqT/(mh), where m is the slope of p2 versus lg t, MPa²/cycle
p > 20.7 MPa p/(μZ) approximately constant, ψ ≈ 2pip/(μiZi) (pressure method) K = 7.335×10−3μiZiqT/(pimh), where m is the slope of p versus lg t, MPa/cycle
Between the two No simplification; use ψ The interpretation procedure is the same as for oil wells, but with the slope mψ of ψ versus lg t: K = 0.01467qT/(mψh). K, q, T and h carry the same units as in the row above, μZ is already incorporated in mψ, and mψ is in MPa²/(mPa·s)/cycle

The upper limit of applicability of the pressure-squared method is written elsewhere as about 14 MPa, with the average pressure used to calculate properties. The skin factor is obtained in the same way as for oil wells; for drawdown (pressure method) it is:

S′ = 1.151[(pi − pwf(1h))/m − lg(K/(φμCtrw2)) − 0.9077]

The pressure-squared method replaces pi − pwf(1h) with pi2 − pwf2(1h). μ and Ct are taken at the initial (or average) pressure, and Ct is dominated by the gas compressibility. Pseudopressure is obtained by numerical integration of the μ and Z data and is usually first compiled into a ψ–p table for ready use; once pressure is replaced by pseudopressure, the deliverability equation keeps the same form, but its coefficients must be recalculated.

Apparent skin and non-Darcy flow coefficient

The S′ obtained from a well test is called the apparent skin factor, and is the sum of the mechanical skin S and a non-Darcy term:

S′ = S + Dq

D is the non-Darcy flow coefficient, with units of reciprocal rate. When pressure transient tests are made at two or more different rates, plotting S′ against q gives a straight line, whose intercept is S and whose slope is D. When only one rate is measured, S and D cannot be separated. Other accounts require at least three rates to be tested.

Deliverability equations

A back pressure test (flow-after-flow test) steps through 4 to 5 operating conditions in order of increasing rate, and each condition is produced until both the rate and the flowing bottomhole pressure have stabilized. Two kinds of equations are used to process the data:

Binomial: pR2 − pwf2 = Aq + Bq2
Exponential: q = C(pR2 − pwf2)n

In the binomial equation, (pR2 − pwf2)/q versus q gives a straight line, with intercept A and slope B; the Bq term corresponds to the additional resistance caused by inertial force at high velocity; the exponential equation becomes a straight line on log-log coordinates after taking logarithms, with slope n. pR is the shut-in formation pressure. The exponent n reflects the flow regime and should lie between 0.5 and 1: 1 corresponds to purely laminar flow and 0.5 to purely turbulent flow; when a calculated n falls outside this range, the raw data and the processing should be rechecked. The rate when the bottomhole back pressure drops to 0.1 MPa is called the absolute open flow potential qAOF:

qAOF = [−A + √(A2 + 4B(pR2 − 0.12))]/(2B), or qAOF = C(pR2 − 0.12)n

The isochronal test is used for gas reservoirs of low permeability in which the rate and flowing pressure remain unstable for a long time: each rate is produced for the same length of time, and before each flow period the well is shut in to recover to the static pressure; the points are connected into one transient deliverability line, and then one more point extended to stabilization is measured, and the line through that point parallel to the transient line is the stabilized deliverability line. The modified isochronal test shortens each shut-in to the same length as the flow time, and uses the unstabilized pressure at the end of shut-in instead of the static pressure to calculate the pressure-square difference of the next point; it is suitable for tighter gas reservoirs.

The single point test measures only one stabilized rate and the corresponding flowing bottomhole pressure, and estimates qAOF with the empirical curve of pwf/pR versus q/qAOF established from the past stabilized tests of many wells in the area; it is suitable for new wells whose pipelines are not yet connected and which should not be vented for long periods. The one-point formulas of the various areas in essence fix the exponent of the deliverability equation at its statistical average: the common formula qAOF = q[1 − (pwf/pR)2]−0.6594 (gauge pressure) amounts to taking n uniformly as 0.6594, and can only give a rough estimate. In a new area a proper deliverability test should be run first, and a correction factor fixed from the ratio of the measured value to the formula (measured ratios 0.81, 0.86, 0.80, averaging 0.82).

Worked Example

Given: The well and reservoir follow the unified D4 example (draft): pi = 33.84 MPa, φ = 0.20, rw = 0.108 m, with h = 10 m assumed. This entry changes it to a dry gas zone, and in addition assumes K = 0.005 μm², T = 373.15 K, μg = 0.027 mPa·s, Z = 1.03, and Ct = 0.025 MPa⁻¹ (used only in this entry). The two sets of readings below are forward-calculated demonstration data rounded to three decimal places, not measurements:

  • Pressure transient test (forward-calculated from the assumed values listed above and an assumed S = 2 and D = 0.05): with the well opened at q = 10, the semilog straight-line slope is 0.450 MPa/cycle and the flowing pressure at 1 h on the line is 30.879 MPa; a second test at q = 20 gives a slope of 0.900 MPa/cycle and a 1 h flowing pressure of 27.528 MPa.
  • Back pressure test (another well of much better permeability, with A = 2.0 and B = 0.05 directly assumed and used for forward calculation, only to demonstrate the processing of the deliverability equation): at q = 5, 10, 15, and 20, the stabilized flowing pressures are 33.673, 33.469, 33.225, and 32.942 MPa respectively.

The two sets of figures are not from the same well and must not be mixed: at q = 10 the transient drawdown of the first well at 1 h is already 2.96 MPa, whereas the stabilized drawdown of these back pressure readings is only 0.371 MPa; the stabilized drawdown cannot be smaller than the early transient drawdown. For a well with K = 0.005 μm², A would be an order of magnitude larger, and the open flow potential correspondingly much smaller.

Find: K, the apparent skin, the mechanical skin, and D; qAOF from the binomial and exponential equations.

Solution:

  1. The flowing pressures of both tests are above 20.7 MPa, so the pressure method is used. K = 7.335×10−3 × 0.027 × 1.03 × 10 × 373.15/(33.84 × 0.450 × 10) ≈ 0.00500 μm²; at q = 20 the slope doubles and gives the same K.
  2. The time term is lg[0.005/(0.20 × 0.027 × 0.025 × 0.1082)] + 0.9077 = 4.4095. At q = 10, S′ = 1.151 × [(33.84 − 30.879)/0.450 − 4.4095] ≈ 2.50; at q = 20, S′ ≈ 3.00.
  3. D = (3.00 − 2.50)/(20 − 10) = 0.050 (10⁴ m³/d)⁻¹, and S = 2.50 − 0.050 × 10 = 2.00. If only the single test at q = 10 had been made, all of the 2.50 would be taken as damage, overestimating the damage by 0.5.
  4. At q = 10 the additional pressure drop caused by the apparent skin is 0.8686 × 0.450 × 2.50 ≈ 0.977 MPa, of which the non-Darcy part is 0.8686 × 0.450 × 0.50 ≈ 0.195 MPa, about one fifth; the higher the rate, the larger this part.
  5. For comparison, a three-rate field measurement: the apparent skin increases linearly with rate, and the fit gives S = −5.43 and D = 0.0406 (10⁴ m³/d)⁻¹, so at q = 8, S′ = −5.11. The mechanical skin of this well is negative, and the non-Darcy term makes the apparent skin increase with rate, but it remains negative within the range of test production rates.
  6. Binomial equation: taking the first and fourth points, B = [(33.842 − 32.9422)/20 − (33.842 − 33.6732)/5]/(20 − 5) ≈ 0.0496, A = (33.842 − 33.6732)/5 − 0.0496 × 5 ≈ 2.007, and qAOF ≈ 133.05×10⁴ m³/d. The slight departure from the A = 2.0 and B = 0.05 used in the forward calculation arises because the flowing pressures were kept to only three decimals: the smallest drawdown is only 0.167 MPa, and the pressure-square difference is very sensitive to reading error.
  7. Exponential equation: with the same two points, n = lg(20/5)/lg[(33.842 − 32.9422)/(33.842 − 33.6732)] ≈ 0.829, C ≈ 0.6711, and qAOF ≈ 230.45×10⁴ m³/d.
Deliverability equation Parameters qAOF (10⁴ m³/d)
Binomial A 2.007, B 0.0496 133.05
Exponential n 0.829, C 0.6711 230.45

Both equations fit within the range of the test points, yet their extrapolations to the open flow potential differ by about a factor of 1.7 (Fig. 1). The reason is that the maximum pressure-square difference of the test points is only about 60 MPa², whereas qAOF corresponds to about 1145 MPa², an extrapolation of nearly 20 times; n is a constant, which amounts to extending the slope near the test points to a very large pressure difference, whereas the Bq2 term of the binomial equation makes the pressure drop grow faster at high rates. The readings in this example were generated from the binomial equation, so the binomial result is closer to the "true value." In an actual test the pressure differences of the test points should be spread as widely as possible, and when the extrapolated result is used as a reference for production allocation, it should be stated which equation was used.

  1. Single point test: for one well the measured stabilized flowing pressure is 7.84 MPa, the formation pressure is 9.10 MPa, and the rate is 43×10⁴ m³/d; the pressure ratio is 86.2%, q/qAOF = 47% is read from the empirical curve of the area, and qAOF = 43/0.47 ≈ 91.49×10⁴ m³/d.
Deliverability curves: binomial and exponential (back pressure readings forward-calculated with assumed A = 2.0 and B = 0.05)
Figure 1 Deliverability curves: binomial and exponential (back pressure readings forward-calculated with assumed A = 2.0 and B = 0.05)

Recommended Values

  • Stabilization criteria:
Gas well Stabilization period Pressure change Rate change
Moderate rate 8 h ≤ 0.5% of the initial stabilized pressure at that point < 5%
High rate Can be shortened to 2 to 4 h Same as above Same as above
Low rate, low permeability Longer than 8 h Same as above Same as above
  • Layout of test points. Use 4 to 5 operating conditions, with roughly equal pressure drops between adjacent points; the order is from small rate to large rate, and 1 to 2 points may be repeated in reverse order to check data quality if necessary. Operating conditions are changed by changing chokes or adjusting the needle valve, avoiding shut-in during the process as far as possible. Other accounts take 3 to 4 deliverability points. For gas reservoirs with bottom water the maximum rate must be controlled to prevent water coning.
  • Method selection. For high-permeability gas reservoirs both the back pressure test and the isochronal test can be used; for low-permeability gas reservoirs use the isochronal test, and for extremely low permeability use the modified isochronal test; the empirical curve of the single point test applies only to the area and gas field in which it was established, and in one area of southern Sichuan, a comparison with 22 stabilized tests of 19 other wells gave errors all below 10%.
  • Reasonable rate. There is no rigorous way to calculate it: for an unbounded sandstone gas layer, experience takes 20%–25% of the open flow potential, and for very tight layers it can go as low as 10%–15%; the actual production allocation must also take geology, pilot production, and demand into account.
  • Choice of pressure conversion. Choose pseudopressure, pressure squared, or the pressure method (table above) according to the pressure range during the test; when the range spans 13.8 to 20.7 MPa, use pseudopressure.

Influencing Factors and Considerations

  1. Non-Darcy flow. What a single rate gives is the apparent skin S′, and evaluating damage directly with it counts the turbulent additional pressure drop as damage; evaluation of acidizing and fracturing results must use the mechanical skin S.
  2. Extrapolation. The binomial and exponential equations may differ greatly on extrapolation (step 7); the absolute open flow potential is an index for comparing deliverability, a gas well cannot be flowed to the atmosphere without control, and the actual production allocation must also consider limits such as sand production, advance of edge or bottom water, casing collapse resistance, and wellhead equipment vibration, so a reasonable rate is chosen below the maximum allowable rate.
  3. Stabilized or not. In a low-permeability gas reservoir, if data are recorded before stabilization is reached, the flowing pressure recorded is higher than the stabilized value and the pressure-square difference is too small, so the deliverability equation and open flow potential are generally overly optimistic, and an isochronal-type method should be used instead; a decline of formation pressure during a long test will also distort a back pressure test. Insufficient test time also makes the open flow potential come out too large.
  4. Choice of properties. The μ, Z, and Ct in the pressure method and the pressure-squared method must correspond to the selected pressure interval; for the property calculation see natural gas compressibility factor.
  5. Wellbore and condensate. Liquid loading at the bottom of the well and condensate dropout change the effective permeability near the wellbore and the wellbore storage, and distort the curve; for condensate gas wells the test segments above and below the dew point must be distinguished. Wellbore storage and afterflow are handled as in wellbore storage. When condensate is produced together with the gas and the oil is still in the gas phase in the formation, the oil must be converted by mole number into a gas volume and included in the total gas rate; the conversion factor is about 2.4×104ρc/Mc m³/m³, where ρc is the condensate density in g/cm³ and Mc its molar mass in g/mol, with the gas volume referred to the standard state of 0.101 MPa and 293.15 K (putting the density in kg/m³ instead introduces an error of a factor of 1,000); working the data with the gas rate alone makes n come out too large.
  6. Standard state. The rate must state its standard state: China takes 0.101325 MPa and 293.15 K, while Europe and America commonly take 288.71 K; the volume of the same amount of gas computed at the Chinese standard state is about 1.0154 times that at the latter, and the two must be unified before any comparison.
  7. Correspondence with oil well methods. The steps of the semilog straight line, Horner extrapolation, and type curve matching can all be used as in pressure buildup test, the Horner method, and type curve matching, with the ordinate replaced by ψ, p2, or p.

References

  1. Li Kexiang. Drilling and Completion Technology for Oil and Gas Reservoir Protection (in Chinese). Petroleum Industry Press, 1993.
  2. Wu Yuanyan; Chen Bijue. Petroleum Geology (2nd Edition) (in Chinese). Petroleum Industry Press, 1996.
  3. Wan Renpu. Modern Well Completion Engineering (3rd Edition) (in Chinese). Petroleum Industry Press, 2008.
  4. Liu Nengqiang. Practical Modern Well Test Interpretation Methods (5th Edition) (in Chinese). Petroleum Industry Press, 2008.