In traveling from its original location in the reservoir to the final point of consumption, the gas must first travel through the reservoir rock or porous medium. A certain amount of energy is required to overcome the resistance to flow through the rock, which is manifested in a pressure decrease in the direction of flow, toward the well. This pressure drop or decrease depends on the gas flow rate, properties of the reservoir fluids, and properties of the rock. The fluid properties were discussed in Best and Most Widely Methods to Perform Necessary Calculations with a Gas“Methods to Made Calculation of a Gas Producing System”, and a brief discussion of the rock properties is given in this article.

- Reservoir Gas Flow
- Flow Regime Characteristics
- Flow Equations
- Well Deliverability or Capacity
- Transient Testing
- Real Gas Pseudo-Pressure Analysis
- Gas Reserves
- Reserve Estimates – Volumetric Method
- Reserve Estimates – Material Balance Method
- Energy Plots
- Abnormally Pressured Reservoirs
- Well Completion Effects
- Open-Hole Completions
- Perforated Completions
- Perforated, Gravel-Packed Completions
- Tight Gas Well Analysis
- Guidelines for Gas Well Testing
- Sweet Dry Gas
- Sweet Wet Gas
- Sour Gas
- Flow Measuring
- Pressure Measuring
- Test Design
- Problems in Gas-Well Testing
- Reporting Data

The engineer involved in gas production operations must be able to predict not only the rate at which a well or field will produce, but also how much gas is originally in the reservoir and how much of it can be recovered economically. This requires the ability to relate volumes of gas existing in the reservoir to reservoir pressure. Because the flow capacity of a well depends on the reservoir pressure, both reservoir gas flow and reserve estimates are discussed in this article.

## Reservoir Gas Flow

Determination of the inflow performance or reservoir flow capacity for a gas well requires a relationship between flow rate coming into a well and the sand-face pressure or flowing bottom-hole pressure. This relationship may be established by the proper solution of Darcy’s Law, which is the accepted expression relating pressure drop and fluid velocity in a porous medium, provided that the flow is laminar. Solution of Darcy’s Law depends on the conditions of flow existing in the reservoir or the flow regime. The flow type or regime may be independent of time or steady-state, or if conditions at a particular location change with time, the flow regime is transient or unsteady-state. Under certain conditions of transient flow, conditions change at a constant rate at all locations in the reservoir. This condition is called pseudo-steady-state and may be analyzed more simply than the transient condition.

The flow regimes will be discussed qualitatively first, the equations for each regime will be presented, and then the application of the equations for determining inflow performance or well flow capacity will be presented.

### Flow Regime Characteristics

When a well is opened to production from a shut-in condition, the pressure disturbance created at the well travels outward through the rock at a velocity governed by the rock and fluid properties. The various flow regimes are discussed with respect to the behavior of this pressure disturbance.

*Steady-State Flow*. Picture 1 illustrates the pressure and flow rate distribution occurring during radial, steady-state flow into a well. This pressure distribution will remain constant as long as the radius being drained by the well remains constant.

For such a situation to be strictly true it is necessary that the flow across the external drainage radius r_{e} be equal to the flow across the well radius at r_{w}. This is never sttictly met in a reservoir other than a strong water drive, whereby the water influx rate equals the producing rate. Pressure maintainance by water injection down-dip or by gas injection updip would also approximate steady-state conditions as would most pattern waterfloods after the initial stages of injection have passed.

Steady-state equations are also useful in analyzing the conditions near the wellbore because even in an unsteady-state system the flow rate near the wellbore is almost constant so that the conditions around the wellbore are almost constant. Thus, steady-state flow equations can be applied to this portion of the reservoir without any significant error.

*Unsteady-State Flow*. Picture 2 shows the pressure and rate distributions for a radial system at various times for a closed reservoir (no flow across r_{e}).

In this case all of the production is due to the expansion of the fluid in the reservoir. This causes the rate at r_{e} to be zero and the rate increases to a maximum at the well radius, r_{w}. In the steady-state case the flow across r_{w}, the well radius. With flow across r_{e} zero, the only energy causing the flow of fluid is the expansion of the fluids themselves. Initially the pressure is uniform throughout the reservoir at p_{i}. This represents the zero producing time.

The production rate is a controlled so that the pressure at the well is constant. A pressure distribution shown as p at t_{1} is obtained after a short period of time of producing the well at such a rate that the well pressure remains constant. At this time only a small portion of the reservoir has been affected or has had a significant pressure drop.

For a closed reservoir, flow occurs due to expansion of the fluid. Consequently, if no pressure drop exists in the reservoir at a particular point, or outside of that point, no flow could be taking place at that particular radius. The fluid could not expand without a drop in pressure.

Thus, as shown in the plot of q at t_{1} the rate at r_{e} is zero and increases with a reduction in radius until the maximum rate in the reservoir is obtained at r_{w}. The pressure and rate distribution at time t_{1} represent an instant in time, and the pressure and rate distributions move on through these positions immediately as the production continues to affect more and more of the reservoir. That is, more and more of the reservoir continues to experience a significant pressure drop and is subjected to flow until the entire reservoir is affected as shown by the pressure at t_{2}. The rate, q, at t_{2} indicates that the flow rate at this time extends throughout the reservoir since all of the reservoir has been affected and has had a significant pressure drop.

Notice that the rate at the well has declined somewhat from time t_{1} to t_{2} since the same pressure drop (p_{i}-p_{w}), is effective over a much larger volume of the reservoir. Once the pressure in the entire reservoir has been affected the pressure will drop throughout the reservoir as production continues so that the pressure distribution might be as shown for p at t_{3}. The rate will have declined somewhat during time t_{1} to t_{2} due to the increase in the radius over which flow is taking place, and it will continue to decline from t_{2} to t_{3} due to the decline of thc total pressure drop from r_{e} to r_{w}, (p_{e}-p_{w}).

Note that from time t = 0 to time t_{2}, when a pressure drop is finally affected throughout the entire reservoir, the pressure and rate distributions would not be affected by the size of the reservoir or the position of the external drainage radius r_{e}. During this time the reservoir is said to be infinite-acting because during this period the outer drainage radius r_{e}, could mathematically be infinite. Even in reservoir systems that are dominated by steady-state flow, the effect of changes in well rates or well pressures at the well will be governed by unsteady-state flow equations until the changes have been in effect for a sufficient length of time to affect the entire reservoir and have the reservoir again reach a steady-state condition.

*Pseudo-Steady-State Flow*. Picture 3 illustrates the pressure and rate distribution for the same unsteady-state system except that in this case the rate at the well, q_{w}, is held constant. This might be comparable to a prorated well or one that is pumping at a constant rate.

Again at time t = 0 the pressure throughout the reservoir is uniform at p_{i}. The after some short producing time t_{1} at a constant rate, only a small portion of the reservoir will have experienced a significant pressure drop, and consequently the reservoir will be flowing only out to a radius r_{1}. As production continues at the constant rate, the

entire reservoir will eventually experience a significant pressure drop as shown at t_{2}. Shortly after the entire reservoir pressure has been affected, the change in the pressure with time at all radii in the reservoir becomes uniform so that the pressure distributions at subsequent times are parallel as illustrated by the pressure distributions at times t_{3}, t_{4} and t_{5}. This situation will continue with con stant changes in pressure with time at all radii and with subsequent parallel pressure distributions until the reservoir is no longer able to sustain a constant flow rate at the wellbore. This will occur when the pressure at the well, p_{w}, has reached its physical lower limit.

### Flow Equations

From the previous description of the various flow regimes it is obvious that a particular well will be operating in each of these regimes at some time in the life of the well. The applicable equations for each flow regime will be derived or presented in this section.

*Steady-State Flow*

Darcy’s Law for flow in a porous medium is:

where:

- v = fluid velocity;
- q = volumetric flow rate;
- k = effective permeability;
- μ = fluid viscosity, and;
- $\frac{dp}{dx}$
= pressure gradient in the direction of flow.

For radial flow in which the distance is defined as positive moving away from the well, the equation becomes:

where:

- r = radial distance, and;
- h = reservoir thickness.

Darcy’s Law describes the pressure loss due to viscous shear occurring in the flowing fluid. If the formation is not horizontal, the hydrostatic or potential energy term must be included. This is usually negligible for gas flow in reservoirs. Equation 2 is a differential equation and must be integrated for application. Before integration the flow equation must be combined with an equation of state and the continuity equation. The continuity equation is:

From Best and Most Widely Methods to Perform Necessary Calculations with a Gas“Methods to Made Calculation of a Gas Producing System”, the equation of state for a real gas is:

The flow rate for a gas is usually desired at some standard conditions of pressure and temperature, p_{sc} and T_{sc}. Using these conditions in Equation 3 and combining Equations 3 and 4:

or:

Solving for q_{sc} and expressing q with Equation 2 gives:

The variables in this equation are p and r. Separating the variables and integrating:

or:

In this derivation it was assumed that μ and Z were independent of pressure. They may be evaluated at reservoir temperature and average pressure in the drainage area:

Equation 5 is applicable for any consistent set of units. In so-called conventional oil field units the equation becomes:

where:

- q
_{sc}= Mscf/day; - k = permeability in millidarcies;
- h = formation thickness in feet;
- p
_{e}= pressure at r_{e}, psia; - p
_{w}= wellbore pressure at r_{w}, psia, and; - $\overline{\mu}$
= gas viscosity,

*cp*.

This equation incorporates the following values for standard pressure and temperature:

_{sc}= 14,7 psia,

_{sc}= 60 °F = 520 °R.

These units will be used in all equations in the text unless otherwise stated.

**Example 1**

Given the following data, determine the well bore pressure required for an inflow rate of 3 900 *Mscfd* assuming steady-state flow.

- k = 1,5
*md*; - p
_{e}= 4 625*psia*; - T = 712 °R = 252 °F;
- r
_{e}= 550*ft*; - h = 30
*ft*; - $\overline{\mu}$
= 0,027

*cp*; - γ
_{g}= 0,76; - r
_{w}= 0,333*ft*.

**Solution:**

The solution is iterative since:

where:

- $\overline{p}=\frac{{p}_{e}+{p}_{w}}{2},$
and;

- r
_{w}is the unknown.

As a first estimate, assume

$\overline{Z}$

= 1,0.

*First Trial*

Evaluation of

$\overline{Z}$

at 3 291 *psia* and 712 °R gives

$\overline{Z}$

= 0,88.

*Second Trial*

At 3 530 *psia* and 712°R,

$\overline{Z}$

= 0,89.

*Third Trial*

Since the value for

$\overline{Z}$

is the same as for Trial 2, the solution has converged and the required well pressure is 2 400 *psia*. The solution would have been more complicated if a constant for μ had not been assumed.

The above treatment of steady-state flow assumes no turbulent flow in the formation and no formation or skin damage around the wellbore. The effects of turbulence and skin will be examined in a following section.

Although steady-state flow in a gas reservoir is seldom reached, the conditions around the wellbore can approach steady-state. The steady-state equation including turbulence is:

or:

where:

In the definition of the B term it was assumed that (1/r_{e}) is negligible compared to (1/r_{w}).

The first term on the right hand side is the pressure drop from laminar or Darcy flow, while the second term gives the additional pressure drop due to turbulence. If the fluid properties are known and the permeability is known from some source such as a drawdown test, the turbulent effects can be calculated using the results of a test. This will be used later to distinguish between actual formation damage and turbulence. Values of the velocity coefficient β for various permeabilities and porosities can be obtained from Picture 4 or calculated from Equation 8.

where:

- k – is millidarcies.

*Pseudo-Steady-State Flow*

An equation for pseudo-steady-state flow can be derived that will show that:

Although time does not appear explicitly in Equation 9, it should be remembered that both

${\overline{p}}_{R}$

and p_{w} will be declining at the same rate for a constant q once the pressure disturbance has reached the reservoir boundary.

The effects of skin damage and turbulence are sometimes included in Equation 9 as follows:

where:

- S = dimensionless skin factor, and;
- D = turbulence coefficient.

It is frequently necessary to solve Equation 10 for pressure or pressure drop for a known q_{sc}.

or:

*Unsteady-State Flow*

It was stated earlier that any well flows in the unsteady-state or transient regime until the pressure disturbance reaches a reservoir boundary or until interference from other wells takes effect. Although the flow capacity of a well is desired for pseudo-steady-state or stabilized conditions, much useful information can be obtained from transient tests. This information includes permeability, skin factor, turbulence coefficient, and average reservoir pressure. The procedures are developed in the section on transient testing. The relationships among flow rate, pressure, and time will be presented in this section for various conditions of well performance and reservoir types. It will be seen that the steady-state and pseudo-steady-state equations can be obtained from solution of the diffusivity equation as special cases.

The diffusivity equation can be derived by combining an unsteady-state continuity equation with Darcy’s Law and the gas equation of state. The equation is:

This equation can be solved for pressure as a function of flow rate and time, but the solutions and application of the solutions are simplified if the diffusivity equation is written in dimensionless form. This is accomplished by defining the following dimensionless variables:

The following units are to be used in calculating values for the dimensionless numbers in Table 1:

- k = millidarcies;
- t = hours;
- μ = cp;
- q
_{sc}= Mscfd; - p = psia;
- C = psi
^{-1}; - r = ft;
- T = °R;
- h = ft.

Table 1. Dimensionless Variables | ||
---|---|---|

Dimensionless Variable | Symbol | Definition |

Time | t_{D} | $\frac{2,64\xb7{10}^{\u20134}kt}{\varphi \overline{\mu}\overline{C}{r}^{2}}Eq.13$ |

Radius | r_{D} | $\frac{r}{{r}_{w}}Eq.14$ |

Flow rate | q_{D} | $\frac{1422T{q}_{sc}\overline{Z}\overline{\mu}}{kh{p}_{l}^{2}}Eq.15$ |

Pressure | p_{D} | $\frac{{p}^{2}}{{p}_{l}^{2}{q}_{D}}Eq.16$ |

Pressure drop | Δp_{D} | $\frac{{p}_{l}^{2}\u2013{p}^{2}}{{p}_{l}^{2}{q}_{D}}Eq.17$ |

The diffusivity equation in dimensionless variables becomes:

Solutions to Equation 18 depend on the reservoir type and boundary conditions. The following solutions will be presented:

- Constant rate at well, infinite-acting reservoir (transient);
- Constant rate at well, finite-acting (closed) reservoir (pseudo-steady-state);
- Constant rate at well, constant pressure at outer boundary (steady-state);
- Constant well pressure.

*Case 1*

The most useful solution for transient flow is the so-called line source solution. The solution is:

Values for the E_{i} or exponential integral term as a function of t_{D} can be found in various mathematics handbooks, but for all practical purposes the function may be represented by a logarithmic approximation. That is:

Once a value of the dimensionless pressure drop Δp_{D} is obtained, the actual pressures may be calculated by using the definition of Δp_{D} from Table 1.

**Example 2:**

Using the following data and assuming the well is still in the transient regime, calculate the pressure at the well after a flowing time of 1,5 *days*.

- h = 36
*ft*; - ϕ = 0,15;
- k = 20
*md*; - p
_{l}= 2 000*psia*; - τ
_{w}= 0,4*ft*; - r
_{e}= 2 000*ft*; - T = 580 °R;
- q
_{sc}= 7 000*Mscfd*; - $\overline{Z}$
= 0,85;

- $\overline{\mu}$
= 0,0152

*cp*; - $\overline{C}$
= 0,00061

*psi*.^{-1}

**Solution:**

Calculate t_{D} for r = r_{w}:

_{Dw}= 8,54·10

^{5}

_{D}= 0,5(ln(8,54·10

^{5})+0,809) = 7,23

_{D}= 0,0259

Equation 20 applies for values of dimensionless time based on the well’s drainage radius, t_{De} less than 0,25. That is, the well will still be infinite-acting if:

Another restriction on the validity of Equation 20 is that t_{D} be grater than 100.

If t_{D} is less than 100, the E_{i} solution (Equation 19) must be used. For most practical cases t_{D} will be greater than 100.

Equation 20 may also be used to calculate pressure at a location other than the well. That is, r need not always be r_{w}. For the solution to be valid, the dimensionless time based on the radius of interest must be greater than 100. That is:

*Case 2*

The solution for wells that have reached pseudo-steady-state was presented by Van Everdingen and Hurst in 1949. The solution can be applied to calculate the pressure at any radius where the flow rate is known, which effectively limits its application to calculating well pressures. The solution is presented both in graphical form and equation form. Values of Δp_{D} versus t_{Dw} are presented in Picture 5 for various reservoir sizes, that is for various values of r_{De}.

The equation form of the solution is:

**Example 3:**

Using the data given in Example 2, find the pressure at the well after the well has been flowing for 1 800 *hours*.

**Solution:**

Check for finite or pseudo-steady-state validity:

Since t_{Dθ} > 0,25, the well is finite acting.

_{Dw}= 11,183

For Example 2, q_{D} = 0,0259:

*Case 3*

If a wen is producing from a reservoir with constant pressure at the outer boundary, that is, in the steady-state condition, the solution to the diffusivity equation is:

In this case the fixed pressure used in the definition of Δp_{D} is p_{e} rather than p_{i}, where p_{e} is the constant pressure at the outer boundary. Substituting the definitions of the dimensionless variables will result in Equation 6 presented earlier for steady-state flow.

*Case 4*

The constant pressure solution to the diffusivity equation can be expressed as a function of a dimensionless cumulative production, Q_{tD}. Q_{tD} is defined as:

where:

- G
_{p}– is the cumulative gas produced in Mscf.

Values of Q_{tD} as a function of dimensionless time and radius have been presented both graphically and in table form. Pictures 6 and 7 show values of Q_{tD} versus t_{D}.

*Noncircular Reservoirs*

All of the previous equations were based on a single well draining a circular reservoir, which is rarely ever the actual case. The pressure behavior depends on the shape of the reservoir and the location of the well relative to the boundaries. The time to reach stabilized or pseudo-steady-state flow also depends on these factors.

The previous equations have been modified by Dietz as follows. If the well is still infinite-acting:

Calculation of t_{DA} is based on the drainage area and is defined as:

The shape factor C_{A}, as well as the value of t_{DA} required to reach pseudo-steady-state flow can be obtained from Table 2.

**Example 3 (a):**

Rework Example 3 if the well is located in the center of a rectangular shaped (1·4) drainage area containing 220 *acres*. (9,58·10^{6}*ft ^{2}*).

**Solution:**

Check for pseudo-steady-state:

Since t_{DA} > 0,7, the well is in pseudo-steady-state flow. From Table 2, C_{A} = 5,38 and:

_{D}= 8,517+4,461 = 12,978

*Rock Permeability*

All of the equations for reservoir gas flow contain rock and fluid properties that must be known in order to be applied. The fluid properties were presented in Best and Most Widely Methods to Perform Necessary Calculations with a Gas“Methods to Made Calculation of a Gas Producing System”. The only rock property involved in the equations is permeability. In many cases the flow equations will be used to determine permeability by measuring pressures and flow rates. This will be discussed in detail in a subsequent section.

A brief review of the behavior of effective or relative permeability when more than one fluid is present in the rock is given. In most dry gas reservoirs only gas will be flowing even though connate water will be present. In this case the permeability to gas will remain fairly constant over the life of the reservoir. If liquid condensation occurs in the reservoir the permeability to gas will decrease. Condensation of water vapor can also occur near the wellbore in some cases, which will also reduce the permeability to gas in this zone.

The absolute permeability of a rock is defined as a measure of the rock’s ability to transmit a fluid when it is completely saturated with the flowing fluid. The effective permeability to a particular fluid is a measure of the ability of the rock to transmit that fluid in the presence of other fluids. The effective permeability to gas must be used in all of the flow equations presented earlier.

Permeability data are frequently presented as relative permeability. This is the ratio of effective to absolute permeability and therefore varies from zero to one.

Picture 8 presents typical oil and gas relative permeability as a function of liquid saturation. Similar data can be developed for any reservoir and fluid system by core analysis.

This picture illustrates that the ability of the gas to flow is not seriously impaired until liquid saturation builds up to the point at which liquid begins to flow, about 35 % in this case. It can also be seen that there is a gas saturation below which gas will not flow. This is the equilibrium or critical gas saturation and cannot be recovered.

### Well Deliverability or Capacity

The stabilized flow capacity or deliverability of a gas well is required for planning the operation of any gas field. The flow capacity must be determined for different back pressures or flowing bottom-hole pressures at any time in the life of the reservoir and the change of flow capacity with average reservoir pressure change must be considered. The flow equations developed earlier are used in deliverability testing with some of the unknown parameters being evaluated empirically from well tests.

The most common method for determining gas well deliverability is called multipoint testing, in which a well is produced at several different rates (usually four) and from measured flow rates and well pressures, an inflow performance equation can be evaluated. There are basically two types of tests that can be conducted: the flow-after-flow test and the isochronal test. The isochronal test has been modified for very tight wells, but the modification cannot be theoretically justified.

The theory behind the tests is based on the pseudo-steady-state flow equation, Equation 11. Equation 11 may be written as follows:

where:

- $A=\frac{1422T\overline{\mu}\overline{Z}}{kh}\left(\mathrm{ln}\left(\frac{.472{r}_{e}}{{r}_{w}}\right)+S\right),$
and;

- $A=\frac{1422T\overline{\mu}\overline{Z}}{kh}D.$

For wells not located in the center of a circular drainage area, the A term is defined as:

where C_{A} is obtained from Table 2.

It is sometimes convenient to establish a relationship between the two parameters that indicate the degree of turbulence occurring in a gas reservoir. These parameters are the velocity coefficient and the Turbulence Coefficient D. Equation 7 can be written for pseudo-steady-state flow as:

This form of the equation includes the assumption that r_{e}≫r_{w}. Equating the terms multiplying

${{q}_{sc}}^{2}$

in Equations 11 and 29 yields:

or:

Expressing β in terms of permeability from Equation 8, the above expression becomes:

Equation 11 can also be written in the form:

For wells in which turbulence is important the value of n approaches 0,5, while for wells in which turbulence is negligible, n approaches 1,0. In most cases the value of n obtained from well tests will fall between 0,5 and 1,0.

If values for the flow coefficient C and exponent n can be determined, the flow rate corresponding to any value of p_{wf} can be calculated and an inflow performance curve can be constructed. A parameter commonly used to characterize or compare gas wells is the flow rate that would occur if p_{wf} could be brought to zero. This is called Absolute Open Flow Potential, or *AOF*.

Examination of Equation 31 reveals that a plot of:

versus q_{sc} on log-log scales should result in a straight line having a slope of 1/n. At a value of Δ(p^{2}) equal to one, C = q_{sc}. This is made evident by taking the log of both sides of Equation 31.

Once a value of n has been determined from the plot, the value of C can be calculated by using data from one of the tests that falls on the line. That is:

*Flow-After-Flow Tests*. A flow-after-flow test starts from a shut-in condition. The well is opened on a particular choke size and is not disturbed until the flow rate and p_{wf} stabilize. This may require a considerable amount of time, depending on the permeability of the reservoir. A well is usually considered to be stabilized if the pressure does not change over a 15-*minute* interval. Once stabilization is reached, q_{sc} and p_{wf} are measured, the rate is changed, and the procedure repeated for several flow rates, usually four. The behavior of flow rate and pressure with time is illustrated in Picture 9 for q_{sc} increasing in sequence.

The tests may also be run in the reverse sequence. A plot of typical flow-after-flow data is shown in Picture 10.

**Example 4:**

A flow-atter-flow test was performed on a well located in a low pressure reservoir in which the permeability was high. Using the following test data, determine:

- The values of n and C for the deliverability equation.
- The AOF.
- The flow rate for p
_{wf}= 160*psia*.

Test | q_{sc}, Mscfd | p_{wf}, psia | $({{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2})\xb7{10}^{\u20133}$ |
---|---|---|---|

0 | $201\left({\overline{p}}_{R}\right)$ | $40,4\left({{\overline{p}}_{R}}^{2}\right)$ | |

1 | 2 730 | 196 | 1,985 |

2 | 3 970 | 195 | 2,376 |

3 | 4 440 | 193 | 3,152 |

4 | 5 550 | 190 | 4,301 |

A plot of q_{sc} versus Δ(p^{2}) is shown in Picture 11. From the plot it is apparent that tests 1 and 4 lie on the straight line and can thus be used to determine n.

Therefore, the deliverability equation is:

- ${q}_{sc}=2,52{({{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2})}^{0,92};$
- For p
_{wf}= 0, q_{sc}= 2,52(201^{2}-0^{2})^{.92}= 43,579 Mscfd; - For p
_{wf}= 160 psia, q_{sc}= 2,52(201^{2}-160^{2})^{.92}= 17,300 Mscfd.

A plot such as Picture 11 may be used directly to obtain the AOF and the well’s inflow performance without calculating values for C and n.

The AOF is determined by entering the ordinate at

${{\overline{p}}_{R}}^{2}$

and reading the AOF as 43,6 *MMscfd*. An inflow rate at any value of p_{wf} can be obtained by entering the ordinate at the appropriate value of

$\u2206{p}^{2}={{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2}$

and reading the rate from the abscissa.

*Isochronal Testing*. The isochronal, or equal time, test is based on the theory that at equal flow times the same volume of reservoir is affected regardless of flow rate. The isochronal testing method, as introduced by Cullender’ in 1955, has been modified to require even shorter testing times. The modified isochronal test is described in the next section.

The isochronal test was proposed as a means of determining deliverability in tight wells that require a long period of time to reach stabilization. At least one stabilized point is still required to evaluate the coefficient C in Equation 30. The procedure for conducting an isochronal test is:

- Starting at a shut-in condition, open the well on a particular choke size for a period of time. Measure q
_{sc}and p_{wf}at specific time periods for this choke size. Shut the well in until the pressure returns to

${\overline{p}}_{R}.$

- Open the well on a larger choke size and measure q
_{sc}and p_{wf}at the same flowing time intervals as in Step 1. The total flow periods do not have to be of equal length but they usually are. Shut the well in until the pressure returns to

${\overline{p}}_{R}.$

- Repeat for several choke sizes, usually four.
- On the last choke size, allow the well to flow until a stabilized condition is reached. This may require several hours or even days, but only one rate has to be flowed for the long period as compared to all the rates for flow-after-flow testing.

The behavior of the flow rate and pressure with time is illustrated in Picture 12 for increasing flow rates. The reverse order could also be used.

The test is analyzed by plotting

${{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2}$

versus q_{sc} on log-log paper for each flow time at which the data were measured. This will produce one straight line for each flow time, the slopes of which will be equal. The slope allows determination of the exponent n, while the flow coefficient C can be determined using the stabilized or extended flow rate. A plot of typical isochronal flow data is shown in Picture 13.

**Example 5:**

An isochronal test was conducted on a well located in a reservoir that had an average pressure of 1 952 *psia*. The well was flowed on four choke sizes, and the flow rate and flowing bottom-hole pressure were measured at 3 *hr* and 6 *hr* for each choke size. An extended test was conducted for a period of 72 *hr* at a rate of 6,0 *MMscfd*, at which time p_{wf} was measured at 1 151 *psia*. Using the preceding data, find the following:

- Stabilized deliverability equation.
- AOF.
- Generate an inflow performance curve.

**Solution:**

t = 3 hr | t = 6 hr | |||
---|---|---|---|---|

q_{sc}, Mscfd | p_{wf} | ${{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2}\xb7{10}^{\u20133}$ | p_{wf} | ${{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2}\xb7{10}^{\u20133}$ |

2 600 | 1 793 | 597 | 1 761 | 709 |

3 300 | 1 757 | 724 | 1 657 | 1 064 |

5 000 | 1 623 | 1 177 | 1 510 | 1 530 |

6 300 | 1 505 | 1 545 | 1 320 | 2 066 |

6 000 | Extended flow, t = 72 hr | 1 545 | 1 320 | 2 485 |

1 The slopes of both the 3 *hr* and 6 *hr* lines are apparently equal (Pic. 14). Using the first and last points on the 6 *hr* test to calculate n gives:

Using the extended flow test to calculate C:

Therefore, the deliverability equation for q_{sc} in Mscfd is:

2 To calculate AOF, set p_{wf} = 0:

_{sc}= 0,0295(1 952

^{2}-0)

^{0,83}= 8 551 Mscfd

3 In order to generate an inflow performance curve, pick several values of p_{wf} and calculate the corresponding q_{sc}.

p_{wf}, psia | q_{sc}, Mscfd |
---|---|

1 952 | 0 |

1 800 | 1 768 |

1 400 | 4 695 |

1 000 | 6 642 |

600 | 7 875 |

200 | 8 477 |

0 | 8 551 |

The inflow performance curve is plotted in Picture 15.

If the log-log plot is used to determine the absolute open flow or the inflow performance, the line drawn through the stabilized test must be used.

*Modified Isochronal Testing*. The modified isochronal testing procedure was introduced so that even less flowing time is required for the well test. The procedure is very similar to the isochronal test, except that the shut-in period between each flow rate is not long enough to allow the well to return to the initial average reservoir pressure. In the modified method the well is shut-in for the same length of time that it was allowed to flow for each choke size. During this time the static well pressure will rebuild to some value, p_{ws}, which will be lower after each flow period. The flow rate-pressure behavior with time is shown in Picture 16. An extended flow period is still required to evaluate. the flow coefficient C.

The analysis is the same as the regular isochronal test, with the exception that:

is plotted versus q_{sc} to obtain a value for n. The value of C is calculated using the initial static or average reservoir pressure and the extended test values for p_{wf} and q_{sc}. Picture 17 illustrates a plot of typical modified isochronal test data.

*Jones, Blount and Glaze Method*. The method of plotting test data which was proposed by Jones, et al., can be applied to gas well testing to determine real or present time inflow performance relationships. The analysis procedure allows determination of turbulence or non-Darcy effects on completion efficiency irrespective of skin effect and laminar flow, The procedure also evaluates the laminar flow coefficient A, and if k_{g}h is known, an estimate of skin effect can be made, The data required are either two or more stabilized flow tests or two or more Isochronal flow tests. At least one stabilized flow test is required to obtain a stabilized value of the laminar coefficient A. No transient tests are required-to evaluate the completion efficiency if this method is applied. Jones, et al., also suggested methods to estimate the improvement in inflow performance which would result from reperforating a well to lenglhen the completion interval and presented guidelines to determine if the turbulent effects were excessive. Equation 11 can be divided through by q_{sc} and written as:

where:

- A and B are the laminar and turbulent coefficients respectively and are defined in Equation 11.

From Equation 11 it is apparent that a plot of

versus q_{sc} on cartesian coordinates will yield a line that has a slope of B and an intercept of A = Δ(p^{2})/q_{sc} as q_{sc} approaches zero. These plots apply to both linear and radial flow, but the definitions of A and B would depend on the type of flow.

Equation 11 can be solved for flow rate to yield:

In order to have some qualitative measure of the importance of the turbulent contribution to the total drawdown, Jones, et al., suggested comparison of the value of A calculated at the AOF of the well (A^{′}) to the stabilized value of A. The value of A^{′} can be calculated from:

^{′}= A+B(AOF)

where:

Jones, et al., suggested that if the ratio of A^{′} to A was greater than 2 or 3, then it is likely that some restriction in the completion exists. They also suggested that the formation thickness h used in the definition of B could be replaced by the length of the completed zone h_{p}, since most of the turbulent pressure drop occurs very near the wellbore. The effect of changing completion zone length on B and therefore on inflow performance can be estimated from:

where:

- B
_{2}= turbulence multiplier after recomplection; - B
_{1}= turbulence multiplier before completion; - h
_{p2}= new completion length, and; - h
_{p1}= old completion length.

It will be shown in a subsequent section that the improvement in the B term can also be estimated from:

_{2}= B

_{1}(N

_{1}/N

_{2})

^{2}

where:

- N – is the total number of effective perforations.

**Example 5 (a)**

A four-paint test was conducted on a gas well that had a perforated zone of 20 *ft*. Static reservoir pressure is 5 250 *psia*, Using the Jones, et al., method, determine:

- A and B.
- AOF.
- Ratio of A
^{′}/A. - New AOF if the perforated interval is increased to 30
*ft*.

Test Data | ||
---|---|---|

Test No. | q_{sc}, Mscfd | p_{wf}, psia |

1 | 9 300 | 5 130 |

2 | 6 000 | 5 190 |

3 | 5 200 | 5 203 |

4 | 3 300 | 5 225 |

**Solution:**

Test No. | q_{sc}, Mscfd | $({{\overline{p}}_{R}}^{2}\u2013{{p}_{wf}}^{2})/{q}_{sc},psi{a}^{2}/Mscfd$ |
---|---|---|

1 | 9 300 | 133,9 |

2 | 6 000 | 104,4 |

3 | 5 200 | 94,5 |

4 | 3 300 | 79,4 |

- From a plot of this data, Picture 17 (a), it is found that:
- A = 48 psia
^{2}/Mscfd; - B = 9,24·10
^{-3}psia^{2}/Mscfd^{2};

- A = 48 psia
- $AOF=\frac{\u201348+{\left[{48}^{2}+4(9,24\xb7{10}^{\u20133}){(5250)}^{2}\right]}^{0,5}}{2(9,24\xb7{10}^{\u20133})}$
AOF = 52,080 Mscfd.

- A
^{′}= 48+9,24·10^{-3}(52 080) = 529

A^{′}/A = 529/48 = 11; - B
_{2}= B_{1}(h_{p1}/h_{p2})^{2}

B_{2}= 9,24·10^{-3}(20/30)^{2}= 4,1·10^{-3}$AO{F}_{2}=\frac{\u201348+{\left[{48}^{2}+4(4,1\xb7{10}^{\u20133}){(5250)}^{2}\right]}^{0,5}}{2(4,1\xb7{10}^{\u20133})}$AOF

_{2}= 76,340 Mscfd.

The value of A^{′} calculated in the previous example indicates a large degree of turbulence. The effect of increasing the perforated interval on the AOF is substantial. Further implications of the effects of well completion efficiency will be discussed in the section on Well Completion Effects.

*Laminar Inertia Turbulence (LIT) Analysis*

All of the previously described methods for predicting gas well deliverability or inflow performance require at least one test conducted for a period long enough to reach stabilization. Equation 21 can be used to calculate the approximate time to stabilization as follows:

This can be a very long period of time in low permeability reservoirs, especially if a well is draining a large area.

Several methods have been proposed for obtaining a deliverability equation without a stabilized test. Essentially the only difference in these methods is the method used to obtain the coefficients A and B in Equation 11. A method presented by Brar and Aziz’ will be described in this section.

The pseudo-steady-state equation for gas flow is:

For unsteady-state flow, A varies with time and will be written as A_{i}. The equations can be written in terms of common logs rather than natural logs. For pseudo-steady-state:

where:

For transient flow:

Comparing Equations 34 and 36 to Equation 11 implies that:

and:

The object of the analysis is to be able to determine the values of A and B for stabilized flow, then Equation 11 can be used to calculate inflow performance. The skin factor S, the turbulence coefficient D, and the permeability k can also be determined.

Equation 36 may be written as:

where A_{r} and B are defined in Equations 38 and 39 respectively. The value of A_{r} will increase with time until stabilized flow is reached. A plot of Δ(p^{2})/q_{sc} versus q_{sc} on cartesian coordinates will result in a series of straight, parallel lines having slopes equal to B and intercepts A_{r} equal Δ(p^{2})/q_{sc} for each flow time. The slopes and intercepts can also be determined using least squares analysis. Equation 38 can be expressed as:

Therefore a plot of A_{t} versus t on the semi-log scales will result in a straight line having a slope equal to m and an intercept at t = 1 *hr* (log 1 = 0) equal to A_{tI}. The procedure for analyzing an Isochronal test is:

- Determine A
_{t}and B from transient tests for several flow times using plots of Equation 36 or least squares. - Plot A
_{r}versus t on semi-log scales to determine m and A_{tI}. - Using the value of m, calculate k from Equation 35.
- Solve Equation 38 for S using the values of m, k, and A
_{rI}. - Calculate a stabilized value for A using Equation 37.
- Using the value of B from Step 1, calculate D using Equation 39.
- Calculate the stabilized well performance from Equation 11 using the stabilized values for A and B.

The method of least squares may be used to determine A_{t} and B from N transient flow tests.

Values for A_{r} and B will be obtained for each time at which p_{wf} was measured. The value of B should be constant, and Brar and Aziz suggest using the value of B obtained from the longest flow test as the representative value.

Values for A_{t} and B can also be obtained by plotting the data as illustrated in Picture 17 (a). In this case a different line would be obtained for each time at which pressures were measured, resulting in a value of A_{t} which will increase with increasing time.

**Example 6:**

A modified isochronal test was conducted using four different flow rates, and the flowing bottom-hole pressure was measured at periods of 1, 2, 4, 6, and 8 *hours*. The test data are tabulated below.

- h = 12
*ft*. - r
_{w}= 0,23*ft*. - ϕ = 0,23.
- T = 582 °R.
- r
_{θ}= 2 000*ft*. - ${\overline{p}}_{R}$
= 922,6

*psia*. - $\overline{\mu}$
= 0,0116

*cp*. - $\overline{Z}$
= 0,972.

- $\overline{C}$
= 0,00109

*psia*.^{-1}

p_{ws} | ||||
---|---|---|---|---|

922,6 | 921,9 | 919,9 | 917,6 | |

t | p_{wf} | |||

q = 0,4746 | q = 0,8797 | q = 1,2716 | q = 1,6589 | |

1,0 | 900,1 | 863,0 | 798,9 | 676,3 |

2,0 | 897,1 | 853,9 | 769,9 | 662,2 |

4,0 | 892,2 | 833,0 | 754,9 | 642,0 |

6,0 | 890,1 | 827,9 | 732,8 | 635,2 |

8,0 | 888,1 | 825,1 | 727,3 | 629,3 |

Use the test data to determine k, S, D, and the stabilized deliverability equation.

**Solution:**

Table 3 may be constructed to conveniently calculate the vaiue for A_{t} and B. To further illustrate the procedure, some of the entries for t = 2 *hr* are calculated.

For q_{sc} = 0,4746 MMscfd:

The values calculated for A_{t} are plotted versus t on semi-log paper in Picture 18. The slope of the line is m = 58,7 *Mpsia ^{2}/MMscfd/cycle* obtained by drawing a straight line through the last three points. The intercept at t = 1

*hr*can be read from the graph as 29,5

*Mpsia*.

^{2}/MMscfdFrom Equation 35:

Solving Equation 38 for S, using the value of A_{t} at t = 1 *hr*:

To obtain the turbulence coefficient, solve Equation 39 for D:

Equation 34 may now be used to calculate A:

The value chosen for B is 119,07 *Mpsia ^{2}/MMscfd^{2}* = 0,1191

*psia*.

^{2}/Mscfd^{2}The stabilized fiow equation for determining inflow performance is then:

for p in psia and q_{sc} in Mscfd.

Equation 29 may be solved for q_{sc} to obtain:

For A = 209 and B = 0,1191:

The AOF for this well can be calculated using p_{wf} = 0 as:

*Factors Affecting Inflow Performance*. Once a well has been tested and the deliverability or inflow performance equation established, it is sometimes desirable to be able to predict how changes in certain parameters will affect the inflow performance. These changes may be the result of reservoir depletion or time, or they may result from well workovers.

The effects of various’ changes can be estimated by reference to Equations 31 and 10.

Comparing this with Equation 10, it can be seen that the effect of turbulence, Dq_{sc} are included in the exponent n, and the coefficient C contains several parameters subject to change.

The possible causes of changes in each parameter are discussed and modifications of C are suggested.

- The only factor that has an appreciable effect on
*permeability to gas*, k is liquid saturation in the reservoir. As pressure declines from depletion, the remaining gas expands to keep S_{g}constant, unless retrograde condensation occurs or water influx is present. For dry gas reservoirs, the change in k with time can be considered negligible. - In most cases the value of
*formation thickness*, h can be considered constant. A possible exception is if the completion interval is changed by perforating a longer section. It is likely that the well would be re-tested at this time. *Reservoir temperature*, T will remain constant, except for possible small changes around the wellbore.*Gas Viscosity and Compressibility Factor*,$\overline{\mu}$

and

$\overline{Z}$

are the parameters that are subject to the greatest change as

${\overline{p}}_{R}$

changes. The best method to handle these changes will be discussed in a later section on pseudo-pressure analysis. An approximation of the effect of changes in

${\overline{p}}_{R}$

on C can be made by modifying C as follows:

$\frac{{C}_{1}}{{C}_{2}}=\frac{{\left(\overline{\mu}\overline{Z}\right)}_{2}}{{\left(\overline{\mu}\overline{Z}\right)}_{1}}.Eq.44$- The
*drainage radius*, r_{e}depends on the well spacing and can be considered constant once stabilized flow is reached. - The
*wellbore radius*, r_{w}can be considered to remain constant. It is possible that the effective wellbore radius can be changed by stimulation, but this can be accounted for in the skin factor. - The
*skin factor*, S can be changed by fracturing or acidizing a well. The well should be retested at this time to re-evaluate both C and n.

**Example 7:**

Generate future inflow performance curves for the well in Example 5 at values of average reservoir pressure of 1 500 *psia* and 1 000 *psia*. The following additional data are known:

- γ
_{g}= 0,70; - Reservoir temperature = 200 °F.

**Solution:**

In order to correct for the changes in viscosity and compressibility factor, these will be calculated based on

${\overline{p}}_{R}:$

${\overline{p}}_{R}$ | μ | Z | μZ | C |
---|---|---|---|---|

1 952 | 0,0156 | 0,86 | 0,0134 | 0,0295 |

1 500 | 0,0148 | 0,88 | 0,0130 | 0,0304 |

1 000 | 0,0134 | 0,91 | 0,0122 | 0,0324 |

For

${\overline{p}}_{R}=1500psia,{q}_{sc}=0,0304{(1{500}^{2}\u2013{{p}_{wf}}^{2})}^{0,83}.$

For

${\overline{p}}_{R}=1000psia,{q}_{sc}=0,0324{(1{000}^{2}\u2013{{p}_{wf}}^{2})}^{0,83}.$

q_{sc}, Mscfd | ||
---|---|---|

p_{wf}, psia | ${\overline{p}}_{R}=1500psia$ | ${\overline{p}}_{R}=1000psia$ |

1 500 | 0 | – |

1 200 | 2 437 | – |

1 000 | 3 494 | 0 |

600 | 4 924 | 2 136 |

300 | 5 501 | 2 861 |

0 | 5 691 | 3 094 |

The data are plotted in Picture 19.

In many cases it will be impossible or impractical to obtain multi-rate tests at the same value of

${\overline{p}}_{R}$

.

That is, flow rates and either flowing wellhead or bottomhole pressures may be obtained over a long time span during the producing life of the well. These periodic tests are frequently required by regulatory agencies. If it is assumed that neither C nor n has changed during the time span, then Equation 31 will apply for all values of

${\overline{p}}_{R}$

and p_{wf}. That is, a plot of the data as illustrated in Picture 10 should result in a straight line even though different values of

${\overline{p}}_{R}$

were used to calculate Δ(p^{2}). A value of n can be obtained from the slope and a value for C can be calculated using one of the test points which falls on the line. The resulting equation would then be valid as long as both C and n remain constant. A similar approach could be used for the Jones, Blount and Glaze method if it is assumed that both A and B in Equation 11 remain constant.

### Transient Testing

Methods have been presented for determining the stabilized deliverability or inflow performance of a gas well for use in planning equipment purchases and other field development procedures.

Much useful reservoir information can be obtained from various types of unsteady-state or transient gas well tests. Information that can be obtained from transient tests includes permeability k, skin factor S, turbulence coefficient D, and average reservoir pressure,

${\overline{p}}_{R}$

. If a test is continued into the pseudo-steady-state flow regime, an estimate of reservoir size can be made. This is usually called a reservoir limit test.

The most common transient tests are drawdown tests and buildup tests. Essentially the same information can be obtained from each. The choice of which type of test to run depends on well and field conditions.

Any test that involves a change in flow rate is analyzed based on the principle of superposition. This principle, as it applies to well testing, is briefly described.

*Principle of Superposition*. The superposition principle in effect states that if a pressure disturbance is created in a reservoir, the disturbance continues to travel through the reservoir even though the source of the disturbance may change or cease. This means that in order to determine the pressure at a location as a function of time, all of the pressure disturbance effects must be added.

*Superposition in Time*. When the flow rate is changed in a well, the pressure disturbance caused by the previous flow rate continues to affect the reservoir. As an analogy, when the source of a noise is stopped, the sound waves already emitted do not stop. Consider the case in which a well is produced at some rate q_{1} for a time t_{1}. The rate is then changed to q_{2} and flow is continued. If the pressure is desired at some time t_{2}, the effect of both rates must be considered. The flow rate and pressure behavior are illustrated in Picture 20.

Adding the effect of the two rates flowing for their respective times gives:

where:

Δp_{D1} is based on total flowing time, t_{1}+t_{2}, Δp_{D2} is based on flowing time t-t_{1}.

*Superposition in Space*. When more than one well is producing in a reservoir, the effects of both pressure disturbances must be added to calculate the total pressure effect at any point in the reservoir. This of course requires evaluation of pressure at points other than the well. This is the basis for interference testing involving two or more wells. Superposition in time and space can be applied simultaneously.

*Pressure Drawdown Testing*. Several important reservoir parameters can be determined by flowing a well at a constant rate and measuring flowing wellbore pressure as a function of time. This is called drawdown testing and it can utilize information obtained in both the transient and pseudo-steady-state flow regimes. If the flow extends to pseudo-steady-state, the test is referred to as a Reservoir Limit Test and can be used to estimate the reservoir pore volume. Both single rate and two rate tests are utilized, depending on the information required. Some of the reservoir parameters which may be obtained from drawdown testing are flow capacity kh, skin factor S, and turbulence coefficient D.

A drawdown test begins from a shut-in condition and a constant flow rate is maintained while pressure is measured constantly. The early time pressure data will be affected by wellbore storage and is usually used only to determine the beginning of the transient flow period. This can be identified as the beginning of the straight line segment of the plot of (Δp^{2}) versus time.

The equation for transient flow, Equation 20, may be written including formation damage and turbulence effects as:

_{D}= 0,5(ln t

_{D}+.809)+S

^{′}Eq. 48

where:

- S
^{′}= S+Dq_{sc}. - S = actual well damage or improvement, such as clay swelling, or fractures, and may be positive or negative.
- D = turbulence coefficient, which will always be positive.

In terms of real variables and common logs, Equation 48 becomes:

where k is in millidarcys.

From this form of the equation it can be seen that a plot of Δ(p^{2}) vs. log t will give a straight line of slope m, where:

from which kh can be calculated. To obtain S^{′}, let t = 1 *hr* (log 1 = 0), then:

where p_{1hr} is obtained from an extrapolation of the linear segment of the plot. Solving for S^{′} in Equation 51 gives:

Since S^{′} is rate dependent, two single rate drawdown tests may be concducted to determine S and D. That is, from the two tests:

The removable pressure drop due to actual damage can be calculated from:

^{2})

_{S}= 0,869mS, Eq. 53

and the rate dependent pressure drop from:

^{2})

_{D}= 0,869mDq

_{sc}, Eq. 54

An estimate of the beginning and end of the transient flow period can be obtained from the dimensionless time once an estimate of k is obtained from the analysis. The approximate range of dimensionless time for transient flow is:

_{De}≤0,25.

If the segment chosen for obtaining the straight line slope did not fall within this range, the data should be re-examined.

A problem also results in determining at what pressure to calculate the fluid properties since the pressure is constantly changing during the test. The properties required are viscosity, Z-factor and isothermal compressibility. These properties be calculated at an average pressure defined as:

where p_{wf} is the lowest flowing bottomhole pressure used in the analysis.

**Example 8:**

The following data apply to a well on which a drawdown test was conducted. Use the data to calculate k and S^{′}.

- p
_{i}= 3 732*psia*. - ϕ = 0,10.
- $\overline{\mu}$
= 0,021

*cp*. - $\overline{C}$
= 2,2·10

^{-4}*psi*.^{-1} - T = 673 °R.
- r
_{w}= 0,29*ft*. - γ
_{g}= 0,68. - h = 20
*ft*. - r
_{θ}= 2 640*ft*. - $\overline{Z}$
= 0,85.

- q
_{sc}= 5,65*MMscfd*.

t, hr | p_{wf}, psia | $\u2206\left({p}^{2}\right)={p}_{i}^{2}\u2013{{p}_{wf}}^{2}\xb7{10}^{\u20136},psi{a}^{2}$ |
---|---|---|

1,60 | 3 729 | 0,022 |

2,67 | 3 546 | 1,354 |

3,20 | 3 509 | 1,615 |

5,07 | 3 491 | 1,741 |

6,13 | 3 481 | 1,810 |

8,00 | 3 433 | 2,142 |

15,20 | 3 388 | 2,449 |

20,00 | 3 366 | 2,598 |

30,13 | 3 354 | 2,679 |

40,00 | 3 342 | 2,759 |

60,27 | 3 323 | 2,885 |

80,00 | 3 315 | 2,939 |

100,27 | 3 306 | 2,998 |

120,53 | 3 295 | 3,071 |

From the graph of Δ(p^{2}) versus log t (Pic. 21) the slope is:

and:

To obtain p_{thr}, extend the line to t = 1 *hr* and read:

^{2}) = 1,84·10

^{6}psia

^{2}

^{′}= 1,151(3,172-8,393+3,23) = -2,29

To estimate the extra pressure drop due to skin at the test flow rate:

*Two-Rate Tests*. The two-rate test consists of flowing the well at a rate q_{1} for a period t and then changing the rate to q_{2}. The pressure and rate behavior are illustrated in Picture 22.

By applying superposition in time it can be shown that a plot of:

on cartesian coordinates will yield a straight line of slope:

If the data from the first flow period are analyzed to obtain

${S}_{1}^{\prime}$

a value for

${S}_{2}^{\prime}$

can be calculated from:

where:

- Δ(p
^{2})_{1}is read at Δt = 1; - Δ(p
^{2})_{0}is read at Δt = 0.

*Reservoir Limit Test*. If a drawdown test is allowed to flow until the reservoir boundary is felt (pseudo-steady-state), the pressure behavior is governed by Equation 23 for circular reservoirs or by Equation 27 for noncircular reservoirs. By rearranging Equation 23 and putting it in terms of real variables, it can be shown that a plot of Δ(p^{2}) versus time on cartesian coordinates will yield a straight line of slope m. This can be used to estimate the in place volume of gas in the reservoir, G.

where G is the gas volume in MMscf.

*Pressure Buildup Testing*. A pressure buildup test is the simplest test that can be run, on a gas well. If the effects of wellbore storage can be determined, much useful information can be obtained. This information includes permeability, k, apparent skin factor, S^{′}, and average reservoir pressure,

${\overline{p}}_{R}.$

The test consists of flowing the well at a constant rate q_{sc}, for a period of time t, shutting the well in (at Δt = 0), and measuring wellbore pressure increase with shut-in time Δt.

The test was developed by Horner, and his method of analysis is generally considered best. Other methods include those of Miller, Dyes, and Hutchinson and Muskat. The method was extended to allow determination of average reservoir pressure for bounded reservoirs by Matthews, Brons, and Hazebroek (*MBH*).

The theory behind the buildup test comes from superposition in time. In order to represent the shut-in condition, an injection rate of -q_{sc} beginning at Δt = 0 is superposed on the flow rate q_{sc} that began at time t = 0. Writing Equation 48 for both q_{sc} and -q_{sc} and adding the expressions results in:

From this expression it can be seen that a plot of

${{p}_{ws}}^{2}$

versus log((t+Δt/Δt)) will result in a straight line of slope – m, where:

from which kh or k can be determined.

Extrapolation of the line to an infinite shut in time Δt, or (t+Δt)/Δt = 1, results in a value for

${p}_{i}^{2}$

for an infinite reservoir. For bounded reservoir this value is labeled p^{*2} and can be used to obtain

${\overline{p}}_{R}$

, as described later.

The apparent skin factor can be determined by assuming that (t/(t+Δt)) ≈ 1 at Δt = 1 *hr* and using the following equation:

where:

- p
_{1hr}is read from the extrapolated straight line at Δt = I*hr*and; - p
_{wf}is the flowing wellbore pressure at shut-in (Δt = 0).

The permeability k is in millidarcys in this equation.

The value of

${\overline{p}}_{R}$

for finite or bounded reservoirs may be determined using the MBH method. The value obtained from extrapolating the line to infinite Δt, referred to as p^{*}, is neither the initial reservoir pressure p_{i}, nor the average reservoir pressure

${\overline{p}}_{R}$

. It is a pseudo-pressure that will fall between these values.

${\overline{p}}_{R}$

can be obtained from p* by using curves prepared by MBH for various shapes of drainage areas. A relationship between p* and

${\overline{p}}_{R}$

is plotted as a function of dimensionless time based on drainage area, t_{DA}.

where:

- t = producing time before shut-in, hrs, and;
- A = drainage area, ft
^{2}.

The value obtained from the curves for the appropriate t_{DA} is:

from which a value of

${\overline{p}}_{R}$

can be obtained. An example MBH curve is illustrated in Picture 24. Curves for other conditions are in the appendix.

The fluid properties for buildup analysis should be calculated at an average pressure defined by:

**Example 9:**

The well described in Example 8 was flowed at a rate of 5,65 *MMscfd* for a period of 120,5 *hours* and then shut-in for a buildup test. The flowing pressure at shut-in was 3 295 *psia*. Calculate k, S^{′}, and

${\overline{p}}_{R}$

if the well is producing from the center of a square drainage area containing 22·10^{6}*sq. ft*. The pressure versus time data are tabulated below.

**Solution:**

Δt, hr | p_{ws}, psia | $\frac{t+\u2206t}{\u2206t}$ | p_{ws}^{2}·10^{-6}, psia |
---|---|---|---|

0 | 3 295 | – | 10,86 |

,53 | 3 296 | 228,4 | 10,86 |

1,60 | 3 385 | 76,3 | 11,46 |

2,67 | 3 547 | 46,1 | 12,58 |

3,73 | 3 573 | 33,3 | 12,77 |

4,80 | 3 591 | 26,1 | 12,90 |

5,87 | 3 605 | 21,5 | 13,00 |

6,93 | 3 614 | 18,4 | 13,06 |

8,00 | 3 623 | 16,1 | 13,13 |

9,87 | 3 634 | 13,2 | 13,21 |

12,00 | 3 644 | 11,0 | 13,28 |

14,67 | 3 654 | 9,2 | 13,35 |

18,67 | 3 664 | 7,5 | 13,42 |

24,53 | 3 672 | 5,9 | 13,48 |

29,33 | 3 676 | 5,1 | 13,51 |

35,73 | 3 684 | 4,4 | 13,57 |

45,87 | 3 688 | 3,6 | 13,60 |

49,87 | 3 691 | 3,4 | 13,62 |

The plot of p_{ws}^{2} versus log((t+Δt)/Δt) is shown in Picture 23.

The slope may be obtained by taking the change in p_{ws}^{2} over 2 log cycles.

At:

The values obtained for k and S^{′} agree with those obtained from the drawdown test, Example 8.

In order to estimate

${\overline{p}}_{R}$

, obtain p^{*2} from the graph where (t+Δt)/Δt = 1 to be 13,92·10^{6}*psia ^{2}*. Using the value for k to calculate t

_{DA}gives:

From Table 2, the well is still in unsteady-state flow if t_{DA}<0,1, which is the case for this example. Therefore, p^{*} = p_{i} = 3 731 *psia*.

Equation 11 may be used to predict the stabilized performance of a well by utilizing the results of a transient test. However, this requires isolation of the effects of actual formation damage or simulation from those caused by non-Darcy or turbulent flow. That is, S^{′} must be broken down into its components S and Dq_{sc}. If transient test was conducted at only one flow rate, Equation 30 may be used to estimate D, and then S may be calculated from S = S^{′}-Dq_{sc}.

Applying this procedure to Example 9 results in:

^{-4}Mscfd

^{-1}

^{′}-Dq

_{sc}= -2,41-1,85·10

^{-4}(5 650)

### Real Gas Pseudo-Pressure Analysis

In deriving the equation for reservoir gas flow in terms of Δ(p^{2}), one step involved evaluation of the integral:

Both μ and Z are functions of pressure and therefore should be included in the integration. In order to simplify the derivation it was assumed that μ and Z could be considered constant at reservoir temperature and average pressure in the drainage area, which resulted in

$\overline{\mu}$

and

$\overline{Z}$

appearing in all of the flow equations. For fairly low pressure reservoirs (

${\overline{p}}_{R}$

≤2 500 *psia*) this approach is adequate, but for some pressure ranges the μZ product is far from linear with pressure. A method to more rigorously evaluate the effects of μ and Z was introduced by Al-Hussainy in 1965. He defined the integral in Equation 59 as the real gas pseudo-pressure, m(p).

All of the previously derived equations in this article can be modified to the pseudo-pressure analysis from the p^{2} analysis by replacing the pressure squared terms with the pseudo-pressure terms and eliminating the

$\overline{\mu}\overline{Z}$

product from the equation. As an example, Equation 11 becomes:

where:

- $m\left({\overline{p}}_{R}\right)$
is the value of the pseudo-pressure function at the pressure

${\overline{p}}_{R}$, and;

- m(p
_{w}) is the value at pressure p_{w}.

The definitions of some of the dimensionless variables defined in Table 1 will change if the m(p) approach is used.

where C_{i} and μ_{i} are evaluated at p_{i}, T. The m(p) analysis may also be used in deliverability testing. This involves substitution of Δm(p) for Δ(p^{2}) in the procedure to find A_{t} and B in the *LIT* analysis.

Use of the m(p) approach requires generation of a table or graph of m(p) versus p for the gas in question at reservoir temperature. This is easily accomplished by numerical integration of Equation 60 when values of μ and Z can be found in Best and Most Widely Methods to Perform Necessary Calculations with a Gas“Methods to Made Calculation of a Gas Producing System”. A computer. program for generating the m(p) versus p values is given in the appendix. An example calculation of m(p) data, as presented by Dake is illustrated.

**Example 10:**

A reservoir existing at a temperature of 200 °F contains a gas having a gravity of 0,85. Generate a relationship between m(p) and p over the pressure range of 4 400 to *zero psia*.

**Solution:**

The following table is used to tabulate the data, taking pressure increments of 400 *psi* for averaging. The results are plotted in Picture 25.

**Example 11:**

Analyze the buildup test of Example 9 using the pseudo-pressure analysis to obtain k, S^{′} and

${\overline{p}}_{R}$

. The relationship between p and m(p) is given in Picture 26.

**Solution:**

Values for m(p) and (t+Δt)/Δt are calculated and tabulated as follows.

Δt, hrs. | p_{ws}, psia | formula | m(p)·10^{-6}, psia^{2}/cp |
---|---|---|---|

0,00 | 3 295 | – | 709,8 |

0,53 | 3 296 | 228,4 | 710,1 |

1,60 | 3 385 | 76,3 | 742,7 |

2,67 | 3 547 | 46,1 | 802,8 |

3,73 | 3 573 | 33,3 | 812,6 |

4,80 | 3 591 | 26,1 | 819,3 |

5,87 | 3 605 | 21,5 | 824,6 |

6,93 | 3 614 | 18,4 | 828,0 |

8,00 | 3 623 | 16,1 | 831,4 |

9,87 | 3 634 | 13,2 | 835,5 |

12,00 | 3 644 | 11,0 | 839,3 |

14,67 | 3 654 | 9,2 | 843,1 |

18,67 | 3 664 | 7,5 | 846,8 |

24,53 | 3 672 | 5,9 | 849,9 |

29,33 | 3 676 | 5,1 | 851,4 |

35,73 | 3 684 | 4,4 | 854,5 |

45,87 | 3 688 | 3,6 | 855,9 |

49,87 | 3 691 | 3,4 | 857,1 |

A plot of m(p) versus log ((t+Δt)/Δt) is shown in Picture 27.

The slope of the straight line segment is:

At Δt = 1 hr, m(p_{1hr}) = 809·10^{6}.

^{′}= -2,2

These values of k and S^{′} agree with those obtained in Example 9.

In order to obtain a value for p^{*} = p_{i}(t_{DA}<0,1), read m(p^{*}) at (t+Δt)/t = 1 to be 873·10^{6}. This corresponds to a value of p_{i} = 3 730 *psia*, which is equal to the result obtained previously.

It has generally been recommended in the literature that the pseudo-pressure analysis be used in preference to the pressure-squared analysis when p_{i} = 2 500 *psia*. The only extra work involved in using the m(p) method is generation of the m(p) versus p data. This task has somehow delayed the acceptance of the m(p) method among field engineers, and many prefer using the more familiar p^{2} analysis. Some advantages of the m(p) method are:

- It is more theoretically correct;
- It applies for all ranges of pressure;
- Iteration to obtain
$\overline{p}=({p}_{i}+{p}_{wf})/2$

for evaluating

$\overline{\mu}\overline{Z}$

is not necessary, and;

- Once m(p) versus p is available, it is simpler to use.

## Gas Reserves

All of the flow equations used in the previous sections of this article involved either initial reservoir pressure p_{i}, or average reservoir pressure

${\overline{p}}_{R}$

. These pressures are functions of the gas in place in a reservoir and must be evaluated at various times in the reservoir life. The flow capacity or deliverability of the wells declines as gas is produced and

${\overline{p}}_{R}$

declines. Therefore, it is necessary to be able to predict

${\overline{p}}_{R}$

versus gas produced G_{p}.

In order to evaluate a gas reservoir the original gas in place G, must be determined and the gas recoverable at different values of

${\overline{p}}_{R}$

must be calculated. The decline in

${\overline{p}}_{R}$

with G_{p} can be calculated using the gas laws presented in Best and Most Widely Methods to Perform Necessary Calculations with a Gas“Methods to Made Calculation of a Gas Producing System” for a volumetric reservoir. If the volume occupied by gas changes because of water influx, it must be accounted for in the balance. This section will present methods to determine gas reservoir behavior using volumetric methods and material balance methods.

### Reserve Estimates – Volumetric Method

The volumetric method for determining initial gas in place and reserves requires enough geologic data to determine reservoir pore volume and water saturation. Reservoir pressure is also required, but no production history is necessary. It is applied mainly in new fields for rough estimates.

The equation for calculating gas in place is:

where:

- G = gas in place, scf;
- A = area of reservoir, acres;
- h = average reservoir thickness, ft;
- ϕ = porosity;
- S
_{w}= water saturation, and; - B
_{g}= gas formation volume factor, ft^{3}/scf.

This equation can be applied at both initial and abandonment conditions in order to calculate the recoverable gas.

or:

where B_{ga} is evaluated at abandonment pressure. Application of the volumetric method assumes that the pore volume occupied by gas is constant. If water influx is occurring, A, h, and S_{w} will change.

**Example 12:**

A gas reservoir has the following characteristics. Calculate the gas recovered and the recovery factor at pressures of 1 000 *psia* and 500 *psia*.

- A = 2 550
*acres*; - S
_{w}= 20 %; - γ
_{g}= 0,70; - h = 50
*ft*; - T = 186 °F;
- ϕ = 0,20;
- p
_{i}= 2 651*psia*.

p | Z | B_{g} |
---|---|---|

2 651 | 0,83 | 0,0057 |

1 000 | 0,90 | 0,0154 |

500 | 0,95 | 0,0346 |

**Solution:**

At p = 1 000 psia:

_{p}= 8,886·10

^{8}(175,44-64,94) = 9,818·10

^{10}scf

At p = 500:

_{p}= 8,886·10

^{8}(175,44-28,90) = 13,02·10

^{10}scf

The recovery factors for volumetric gas reservoirs will range from 80 to 90 %. If a strong water drive is present, trapping of residual gas at higher pressures can reduce the recovery factor substantially, to the range of 50 to 80 %.

### Reserve Estimates – Material Balance Method

If enough production-pressure history is available for a gas reservoir, the initial gas in place G, the initial reservoir pressure, p_{i}, and the gas reserves can be calculated without knowing A, h, ϕ or S_{w}. This is accomplished by forming a mass or mole balance on the gas. That is:

in equation form:

_{p}= n

_{i}– n. Eq. 64

Applying the gas law, pV = ZnRT gives:

where:

- T
_{f}= formation temperature; - V
_{i}= reservoir gas volume; - p
_{i}= initial reservoir pressure, and; - p = reservoir pressure after producing G
_{p}scf.

The reservoir gas volume can be put in units of scf by use of B_{gi}. That is:

_{i}= GB

_{gi}. Eq. 66

Combining Equations 65 and 66 and solving for p/Z gives:

from which it is obvious that a plot of p/Z versus G_{p} will produce a straight line of slope (T_{f}p_{sc}/T_{sc}B_{gi}G) and intercept at G_{p} = 0 of p_{i}/Z_{i}. Thus, both G and p_{i} can be obtained graphically. Once these values are obtained, a value of gas recovered G_{p}, can be determined for any pressure. Equation 67 can also be expressed in terms of recovery factor as:

Picture 28 illustrates typical plots of Equations 67 and 68.

**Example 13:**

The following production history was obtained from a volumetric gas reservoir. Plotting of p/Z versus G_{p} revealed that data points 1 and 4 fall on the best straight line through the data. Use these points to find G and p_{i}/Z_{i}. Also estimate the gas recovery if the reservoir pressure is drawn down to 300 *psia*. T_{f} = 200 F, γ_{g} = 0,9.

p, psia | Z | p/Z | G_{p}, Bcf | |
---|---|---|---|---|

1 | 1 885 | 0,767 | 2 458 | 6,873 |

2 | 1 620 | 0,787 | 2 058 | 14,002 |

3 | 1 205 | 0,828 | 1 455 | 23,687 |

4 | 888 | 0,866 | 1 025 | 31,009 |

5 | 645 | 0,900 | 717 | 36,207 |

**Solution:**

Using points 1 and 4, calculate the slope:

To find p_{i}/Z_{i}, use Equation 67 and data point 1:

Recovery at p = 300 *psia*:

At p = 300 *psia*, Z = 0,949, p/Z = 316 *psia*.

The value of p_{i} can be obtained from p_{i}/Z_{i} by trial-and-error. Values of p_{i} are estimated; Z_{i} and p_{i}/Z_{i} are calculated until a value is determined that gives 2 866 *psia*.

p_{i} | Z_{i} | p_{i}/Z_{i} |
---|---|---|

2 200 | .750 | 2 933 |

2 100 | .752 | 2 793 |

2 150 | .751 | 2 863 |

Linear interpolation between 2 200 and 2 150 gives p_{i} = 2 151 *psia*.

The above discussion applies to a reservoir in which the pore volume occupied by gas does not change, If water influx is occurring, V_{i} will be reduced by water influx as p declines.

Equation 67 then becomes:

The slope now includes a quantity that varies with G_{p} or time. This is the water influx W_{e}. Therefore, a plot of p/Z versus G_{p} will no longer be linear but will deviate upward with pressure decline depending on the strength of the water drive. This is illustrated in Picture 29.

If water influx is occurring, it can be calculated by using the constant pressure solution to the diffusivity equation, Equation 70. This involves the correct determination of certain water influx parameters. Havlena and Odeh have described a procedure by which the material balance equation can be used to determine if these parameters have been correctly evaluated.

Water influx is a function of time, and can be expressed as:

_{e}= CΣΔpQ

_{tD}, Eq. 70

where:

- C = water influx constant;
- Δp = p
_{i}-p_{t}; - Q
_{tD}= dimensionless water influx.

The value of Q_{tD} depends on the ratio of the aquifer volume to the gas reservoir volume and the time that the reservoir has been produced. Values may be obtained from Pictures 6 and 7.

### Energy Plots

Many other graphieal methods have been proposed for solving the material balance equation that are useful in detecting the presence of water influx. Equation 67 can be rearranged and using the definition of B_{gi} = (p_{sc}Z_{i}T_{f})/(p_{i}T_{sc}), it can be written as:

For W_{e} = 0, this becomes:

Taking the logarithm of both sides of Equation 72 yields:

From Equation 73, it is obvious that a plot of 1 – Z_{i}p/p_{i}Z versus G_{p} on log-log coordinates will yield a straight line with a slope of one (45° angle). An extrapolation to one on the vertical axis (p = 0) yields a value for initial gas in place, G. The graphs obtained from this type of analysis have been referred to as Energy Plots. They have been found to be useful in detecting water influx early in the life of a reservoir. If W_{e} is not zero, the slope of the plot will be less than one, and will also decrease with time, since W_{e} increases with time. An increasing slope can only occur as a result of either gas leaking from the reservoir or bad data, since the increasing slope would imply that the gas occupied pore volume was increasing with time. This is also true for plots of p/Z versus G_{p}.

The detection of production problems by observing anomalies in these plots is discussed further in Gas Field Operation Problems and Methods to Deal With ThemGas Production Problems and Methods to Detect Them.

## Abnormally Pressured Reservoirs

In most gas reservoirs the gas is much more compressible than the rock and the connate water, which justifies ignoring the rock and water expansion in the material balance equation. However, in abnormally high pressured reservoirs, this may introduce some error in estimating gas reserves. Including rock and water compressibility, Equation 67 becomes:

where:

- S
_{wi}= connate water saturation; - C
_{w}= connate water compressibility, and; - C
_{f}= formation compressibility.

An estimate of the effect of water and rock compressibility on errors in estimating gas-in-place from Equation 67 can be made by the following procedure:

- Solve Equation 67 for G
_{cal}. - Solve Equation 74 for G
_{actual}. - Substitute these expressions into the equation for percent error:$\%error=\left[\frac{{G}_{actual}\u2013{G}_{cal}}{{G}_{actual}}\right]\xb7100$

This results in the following equation:

From Equation 75, it can be seen that the error in G obtained from a plot of p/Z versus G_{p} increases as C_{w}, C_{f}, and p_{i} increase. It has been found that for values of p_{i} less than 5 000 *psia* and C_{f} less than 5·10^{-6}*psi ^{-1}*, the error in neglecting the compressibilities was negligible.

Further effects of abnormal reservoir pressure on reserve estimates are discussed in Gas Field Operation Problems and Methods to Deal With ThemGas Production Problems and Methods to Detect Them.

## Well Completion Effects

In many cases the inflow into a well is controlled more by the completion efficiency than by the actual reservoir characteristics.

There are basically three types of completions that may be made on a well, depending on the type of well, the well depth, and the type of reservoir or formation. In some cases the well is completed open-hole. That is, the casing is set at the top of the producing formation, and the formation is not exposed to cement. Also, no perforations are required. This type of completion is not nearly as common as it was several years ago, and most wells are now completed by cementing the casing through the producing formation.

The most widely used completion method is one in which the pipe is set through the formation, and cement is used to fill the annulus between the casing and the hole. This of course requires perforating the well to establish communication with the producing formation. This type of completion permits selection of the zones that are to be opened. The efficiency of the completion is highly dependent on the number ofholes or perforations, the depth to which the perforation extends into the formation, the perforation pattern, and whether there is a positive pressure differential from the well to the formation or vice versa. Compaction of the formation immediately around the perforation can reduce the efficiency considerably.

In some reservoirs the lack of cementing material in the reservoir allows sand to be produced into the well. When completing wells in which the formation is incompetent or unconsolidated, a gravel pack completion scheme is frequently employed. In this type of completion a perforated or slotted liner or a screen liner is set inside the casing opposite the producing formation. The annulus between the casing and the liner is then filled with a sand that is more coarse than the formation sand. The size of the sand, or gravel, depends on the reservoir sand characteristics and on the type of gravel pack. The gravel pack sand also fills the perforation tunnels, and in some cases a zone is washed out behind the pipe, which is also filled with pack sand. Even though the pack sand is loosely packed and has a high permeability, non-Darcy or turbulent flow through the sand-filled perforation tunnels can cause a considerable pressure drop across the gravel pack. This pressure drop not only decreases inflow into the wellbore but also destroys the gravel pack if it is too large.

In order to calculate the extra pressure drop caused by the completion, the general inflow equations can be modified to include the completion efficiency for any type of completion. The equations for gas flow are given as:

where:

^{′}= S+Dq

_{sc}

The value of S^{′} can be obtained from a single transient test, but obtaining accurate values for S and D requires transient tests conducted at two different rates.

Equation 10 may be written in a different form, as shown previously.

where:

- A – is the laminar coefficient and;
- B – is the turbulence multiplier.

Those coefficients may be written as composites of several terms that depend on the completion characteristics.

_{R}+A

_{P}+A

_{G}Eq. 76

_{R}+B

_{P}+B

_{G}Eq. 77

where:

- A
_{R}= laminar reservoir component; - A
_{P}= laminar perforation component; - A
_{G}= laminar gravel pack component; - B
_{R}= turbulent reservoir component; - B
_{P}= turbulent perforation component, and; - B
_{G}= turbulent gravel pack component.

These components have different definitions for oil and gas flow. Only values of the overall coefficients A and B can be obtained from well tests; therefore equations for estimating the value of the components must be available if the effects of each are to be isolated.

### Open-Hole Completions

The only effect of the completion on inflow performance of an open-hole completion will be caused by alteration of the reservoir permeability by damage or stimulation. The inflow equation becomes:

The laminar reservoir component includes the effect of Darcy or laminar flow in the reservoir plus any actual formation damage or stimulation. The defining equation is:

where:

- k
_{gR}= unaltered reservoir permeability to gas, and; - S
_{d}= skin factor due to permeability alteration around the wellbore.

A value for S_{d} may be estimated from the following equation:

where:

- k
_{R}= reservoir permeability; - k
_{d}= altered zone permeability; - r
_{w}= wellbore radius, and; - r
_{d}= altered zone radius.

The actual calculation of an accurate value of S_{d} is difficult, because values of k_{d} and r_{d} must be estimated. If a value of S can be obtained from a transient test, this will be equal to S_{d} for an open hole completion.

The value of B_{R} will usually be low except for high rate gas wells. It may be calculated from:

Values of the velocity coefficient β may be calculated from:

A value for B_{R}, can be caluclated if a value of D is available from a transient test on an open hole completion. The units to be used in all of the equations presented in this chapter are the field units described previously.

### Perforated Completions

The efficiency of a perforated completion depends on both the reservoir and perforation components in Equation 11. That is:

The laminar perforation component includes the effects of the number and types of perforations and the effects of compaction around the perforations. These effects were discussed in detail by McLeod and the discussion on perforated completions presented here is based largely on McLeod’s work. The Equation is:

where:

- S
_{P}= effect of flow converging into perforations, and; - S
_{dP}= effect of flow through the compacted and damaged zone around the perforation.

If sufficient data regarding the perforation are known, values for S_{P} and S_{dP} may be calculated. S_{p} is a function of perforating density, perforation length, perforation diameter, ratio of vertical to horizontal permeability, and damaged zone radius.

Values of S_{P} may be obtained from homographs published by Hong or Locke. An equation for estimating S_{P} was given by Saidikowski.

where:

- h = total formation thickness;
- h
_{p}= perforated interval length; - k
_{R}= reservoir permeability in the horizontal direction, and; - k
_{v}= vertical permeability.

The nomograph presented by Locke is shown in Picture 30.

McLeod derived an equation for calculating the effect of flow through the compacted zone as:

where:

- h = total formation thickness;
- L
_{P}= perforation length; - N = total number of perforations;
- k
_{R}= unaltered reservoir permeability; - k
_{d}= altered reservoir permeability; - k
_{dP}= compacted zone permeability; - r
_{P}= perforation radius, and; - r
_{dP}= compacted zone radius.

Picture 31, from Reference 16 shows a schematic of a perforated completion and the relationship among the various parameters in Equation 83.

The largest part of the pressure drop through a perforation is caused by turbulent or non-Darcy flow through the compacted zone. The equation for calculating this effect is:

The value of the velocity coefficient must be calculated using the compacted zone permeability. The equation is:

There are several variables in the equations for perforated completions that are hard to determine. These include the altered zone permeability, the compacted zone permeability, the compacted zone radius, the perforation length, and the altered zone radius. Some of these parameters can be estimated from API-RP-43 test data published by the perforating companies. The following guidelines have been recommended by McLeod:

*For wells perforated in mud*

*For wells perforated in brine*

where k_{c}/k values are obtained from the *API* test data. Guidelines for estimating k_{c}/k when no tests are available were also presented by McLeod in Table 4.

Table 4. Perforating Parameter Guidelines | ||
---|---|---|

Fluid in Hole | Pressure Conditions | k_{c}/k |

High solids mud | overbalance | 0,01-0,03 |

Low solids mud | overbalance | 0,02-0,04 |

Unfiltered brine | overbalance | 0,04-0,06 |

Filtered brine | overbalance | 0,08-0,16 |

Filtered brine | underbalance | 0,15-0,25 |

Clean fluid | underbalance | 0,30-0,50 |

Ideal fluid | underbalance | 1,00 |

McLeod also suggests that the compacted zone thickness is usually about 0,5 in. That is, r_{dP} = r_{P}+0,5 if r_{P} is in inches. If no information is available regarding the altered zone radius, a value of r_{d} = r_{w}+1 may be used, where r_{w} is given in ft.

### Perforated, Gravel-Packed Completions

The equation for a gravel-packed completion is:

For most gravel-packed wells the formation will have a high permeability because of the unconsolidated nature of the sand. This will also result in minimum damage from the compacted zone around the perforations. However, the effect of the linear flow through the perforation tunnel that is filled with pack sand can cause a significant non-Darcy flow pressure drop. The equations for A_{G} and B_{G} are:

where:

- k
_{G}= gravel permeability, md; - L = perforation tunnel length, ft, and:${\beta}_{G}=\frac{1,47\xb7{10}^{7}}{{{k}_{G}}^{0,55}}.Eq.91$

The following data, from Gurley, ‘0 may be used to estimate the gravel permeability based on its size.

Sieve Size | kg, md |
---|---|

10-20 | 5,00·10^{5} |

16-30 | 2,50·10^{5} |

20-40 | 1,20·10^{5} |

40-60 | 4,00·10^{4} |

A schematic of a gravel packed completion is illustrated in Picture 32.

As illustrated in Picture 32, the tunnel length is defined as the radius of the hole minus the outside radius of the screen. In some cases it is defined as the hole radius minus the inside radius of the casing.

In analyzing gravel-packed completions it is some times convenient to break down the total pressure drawdown into two separate components. That is, the pressure drop in the reservoir and the pressure drop in the gravel pack. This can be expressed as:

where p_{wfs} is the pressure existing at the sand face, as illustrated in Picture 3-32. Most operators agree that the pressure drop across the gravel pack, p_{wfs}-p_{wf}, shoud be below about 300 *psi*. The equations for the two pressure drops, ignoring A_{P} and B_{P}, may be written as:

This type of analysis may also be applied to nongravel packed completions.

## Tight Gas Well Analysis

Predicting the inflow performance for a very low permeability gas well can be difficult because of the necessity to obtain stabilized well tests. As was discussed previously, both the isochronal and modified isochronal tests require one stabilized production point for analysis. Even though the *LIT* analysis can be used without a stabilized test, using this method to generate a stabilized *IPR* assumes that the well will eventually stabilize.

If a gas well is draining a fairly large area from a tight reservoir, the well may produce in the unsteady-state flow regime for most of its life. As an example, the stabilization time for a well draining a square or circular area can be estimated from.

Consider a well having the following characteristics:

- ϕ = 10 %;
- A = 640
*acres*; - ${\overline{\mu}}_{g}$
= 0,011

*cp*; - k = 0,05
*md*; - $\overline{C}$
= 2,5·10

^{-4}*psi*.^{-1}

The stabilization time is approximately:

_{s}= 58,266 hours = 6,65 years

This is of course an extreme case, and a well with permeability this low would require stimulation by a massive hydraulic fracture to be commercial.

A procedure for predicting the inflow performance of a fractured gas well as a function of time was presented by Agarwal, et al., in 1979. The method uses the constant well pressure solution to the diffusivity equation and utilizes computer generated, dimensionless type curves to evaluate the fracture parameters.

A procedure is described to analyze a drawdown test in which the wellbore flowing pressure is held constant and the decline of flow rate with time is measured. The following dimensionless variables are used in analyzing a well with a hydraulic fracture of length X_{e} = 2X_{f}. A schematic of the system geometry is shown in Picture 33.

The dimensionless time based on fracture half-length is:

The dimensionless flow rate is expressed as:

- k = permeability, md;
- t = flowing time, hours;
- ϕ = porosity;
- (μC)
_{i}= viscosity-compressibility product evaluated at p_{i}, T; - μ = viscosity, cp;
- C = total compressibility, psi
^{-1}; - X
_{f}= fracture half-length, ft; - h = formation thickness, ft;
- p
_{i}= initial reservoir pressure, psia; - p
_{wf}= flowing wellbore pressure, psia; - q
_{sc}= gas flow rate, Mscfd; - T = reservoir temperature, °R, and;
- Z = gas compressibility factor evaluated at
T,

$\overline{p}=({p}_{i}+{p}_{wf})/2.$

A dimensionless fracture flow capacity was defined as:

where:

- k
_{f}= fracture permeability, md; - k = formation permeability, md;
- w = fracture width, ft, and;
- X
_{f}= fracture half-length, ft.

Agarwal, et al., presented dimensionless of 1/q_{D} versus t_{DX} with F_{CD} as a parameter. An example curve is shown in Picture 34. Larger versions of this curve are available from the Society of Petroleum Engineers.

The following procedure may be used to calculate the production rate versus time and flowing wellbore pressure. A drawdown test is used to evaluate X_{f}, k and F_{CD}.

- Plot 1/q
_{sc}versus flowing time t on a log-log scale having the same scale as the type curve, Picture 34. It is convenient to use tracing paper to make this plot. - Shift the tracing plot in both the horizontal and vertical directions until a match is obtained between the measured data and one of the curves on the type curve. This determines the correct value of F
_{CD}. - Select a match point at any convenient point on the graph. This establishes a correspondence between t and 1/q
_{sc}and 1/q_{D}. - Using the known values of t and q
_{D}, calculate k and X_{f}:$k=\frac{1422{q}_{sc}\overline{\mu}\overline{Z}T}{{q}_{D}h({p}_{i}^{2}\u2013{{p}_{wf}}^{2})}$${X}_{f}={\left[\frac{0,000264kt}{\varphi {\left(\mu C\right)}_{i}{t}_{DX}}\right]}^{0,5}$ - The actual fracture flow capacity can then be calculated from:k
_{f}w = F_{CD}(kX_{f}).To predict future performance: - Select a value for real time t and calculate t
_{DX}using the values of k and X_{f}obtained in Step 4. - From Picture 34 determine the value of q
_{D}for this t_{DX}using the correct F_{CD}curve. F_{CD}was determined in Step 2. - Calculate the actual flow rate corresponding to this time from:${q}_{sc}=\frac{{q}_{D}kh({p}_{i}^{2}\u2013{{p}_{wf}}^{2})}{1422\overline{\mu}\overline{Z}T}.$
- Repeat Steps 6 through 8 for various values of time t and P
_{wf}to obtain inflow performance curves applicable at various times. The data may be plotted as shown in Picture 35 if the effect of changing p_{wf}values is to be considered. To observe the decline in flow rate with time at a constant bottom-hole flowing pressure, a plot such as shown in Picture 36 may be constructed.

The accuracy of the previously described method can be increased somewhat if formation permeability k is known from a pre-frac Horner type analysis. In this case, q_{D} can be calculated for each real flow rate q_{sc}, and a plot of 1/q_{D} versus t can be constructed and used to find a match for the proper F_{CD} value. The match would then be obtained by shifting the real data curve in the horizontal direction only.

The procedure outlined here is only one of many methods that may be used for analyzing fractured gas wells. A discussion of all of the methods is beyond the scope of this book.

## Guidelines for Gas Well Testing

The accuracy of the results calculated using the previously presented procedures depends on the accuracy of the data used. Obtaining accurate field data can be accomplished only if the field personnel follow established procedures for data collection.

### Sweet Dry Gas

The simplest configuration of wellhead testing facilities is required for a well producing a sweet dry gas. The testing equipment essentially consists of a flow rate measurement device, a shut-in and flowing pressure measurement device, a thermometer, gas sampling equipment, and the necessary fittings for connecting the equipment to the wellhead.

When the produced gas is being vented to the atmosphere, a commonly used flow rate measurement device is a critical flow prover that is attached to the top of the wellhead. Unless there are regulations to the contrary, the gas vented from the flow prover is not burned. A horizontal positioning of the flow prover should be avoided since high flow rates will set up a considerable torque that may cause the prover fittings or the wellhead to unwind.

If the well being tested is to be produced into a gas gathering system, the flow rate measurement is usually made with an orifice meter using a permanent or removable meter run.

In some instances, the production well that is to be tested does not have a permanently installed flow measurement device. To avoid interruption of flow or the disruption of stabilized flow in a well that has been producing for some time, a simple procedure illustrated by Picture 37 may be employed.

As shown in this picture, if valve A is closed gradually, while valve B is being opened, maintaining a constant pressure in the flow string, the flow rate being measured by the flow prover will be the same as the production rate.

The desirability of constant flow rates during tests is very important. Picture 38 illustrates the wellhead rigging that may provide constant flow rates.

Flow downstream from the flow prover is usually vented to the atmosphere. If, however, the produced gas must be flared, care must be taken to ensure that critical flow conditions are maintained in the flow prover.

The theory and application of the metering devices are discussed in Determination of Volumetric Flow Rates of Gas using Orifice Metering System and other Techniques“Most Common Methods to Measure Gas Flow Rates”.

### Sweet Wet Gas

The term *“wet”* is used to describe a natural gas containing heavier hydrocarbons that appear as a condensate in the produced gas. In some instances, water may also be produced, but it is not included in the definition of a wet gas.

The presence of condensate in produced gas creates requirements for more complex testing facilities than those required for sweet, dry gas wells. A typical facility includes flow rate measurement devices, pressure measurement devices, thermometers, gas and condensate sampling equipment, line heaters, and separation facilities. Several stages of separation and a combination of measurements may be required for highly productive wells, but the most commonly used configurations involve either a single separator or two separators in series. These are illustrated by Pictures 39 and 40, which are intended only as a guide in the selection of test equipment and do not represent the complete wellhead and separation facilities.

The requirement for line heaters is necessitated by the possibility of hydrate formation within the flow lines and testing equipment.

Rather than using a line heater, glycolor alcohol may be injected into the gas stream to prevent the formation of hydrates.

### Sour Gas

For testing sour gas wells, more elaborate facilities are required. In addition to the standard equipment, depending on whether the gas is dry or wet, a gas meter and a flow line to an appropriate flare stack are required. In addition, liquid seals may also be necessary to protect the gas meter and pressure measuring device from H_{2}S gas.

### Flow Measuring

The accurate measurement of gas and liquid production rates is essential to the proper conduct and analysis of well tests. Correct sampling procedures are also necessary in order to obtain representative samples of the produced fluids and an accurate estimate of the constituents of the reservoir gas.

All flow measurement devices should be installed in accordance with recommended specifications since biased measurement errors can cause anomalous test results. Some of the more common biased errors are caused by insufficient pipe upstream and downstream of the meter, insufficient liquid retention time in the separators, inadequate liquid dumping cycles, incorrect meter coefficients or calibration factors, meter vibration, and other metering problems.

The most commonly used gas flow measurement devices are orifice meters and critical flow provers. Turbine and displacement meters are not as commonly used, but it is expected that with the advent of portable units their utility will increase.

When the condensate flow rate is being measured, turbine or positive displacement meters are usually used. The meter should be installed with sufficient straight pipe and should be located upstream of a snap-acting valve. This valve should be regulated so that there is sufficient retention time to ensure equilibrium of the gas and liquid in the separator.

In many instances, condensate is gaged in a stock tank. This method should be used only in instances where the input to the stock tank is from a low-pressure separator or when the flashed vapors are being collected. In the former case, care should be taken to ensure that the amount of flashed vapors is small enough to be neglected in recombination calculations.

Water flow rates may be measured with turbine or displacement meters, or gaged in a storage tank. If meters are being used, a snap-acting water dump valve should be used to ensure that there is sufficient flow to activate the meter. Since water, if present in gas, often presents a problem in the operation of gas wells and gas gathering systems, it is important to monitor any water production during a test. A knowledge of water production during tests is also important to the analysis and application of test results.

### Pressure Measuring

The accurate measurement of static pressures and the pressures corresponding to flow rates measured during the flow periods of various tests is of great importance in gas well testing. Since interpretation of deliverability, drawdown and build-up test results must be based on the theory of flow in the reservoir, it follows that the important pressure in interpreting the tests is the reservoir sandface pressure (in the wellbore). Ideally, this pressure is measured directly through use of an accurate, carefully calibrated bottom-hole pressure gage. There are many types of such gages available today, all of which, when used properly, are quite adequate for accurate measurement of sandface pressures.

In some instances, due to mechanical difficulties, sour gases, or other reasons, it is not practical to use a bottom-hole gage. In such situations, wellhead pressures are measured and subsequently converted to reservoir sandface pressures by the methods described in Performance of the Network of Pipes in Gas Industry“Performance of Piping System in the Modern Gas Industry”. The highest possible accuracy in wellhead pressure measurement is important, and for best results these pressures should be taken with a dead-weight gage. This is a device that balances the force created by the well pressure with calibrated weights.

### Test Design

If a deliverability test is to be conducted on a well, the test designer must make a decision regarding the range of production or flow rates and also the duration of each flow rate. A decision must also be made as to what type of test is better, flow-after-flow or isochronal. If stabilization time is short a conventional flow-after-flow test may be selected, but if the well is producing from a low permeability reservoir or draining a large area, an isochronal or modified isochronal may be more feasible. If estimates of permeability and drainage area can be made, Equation 33 can be used for estimating stabilization time. Equation 33 can also be solved for radius and used to estimate how far a pressure disturbance created at the well will have traveled at a particular time.

A flow-after-flow test requires at least two tests in which the rates are held constant until the well is stabilized. The best indication of stabilization is a constant flowing bottomhole pressure, but unless a surface readout of this pressure is available, the tester must rely on surface indications of stabilized conditions. Some surface indications of stabilization are constant wellhead pressure and constant gas and liquid production rates, although these do not necessarily mean that the bottomhole pressure is remaining constant. If there is considerable doubt as to the stabilization time, an isochronal test should be selected. It should also be kept in mind that any change in pressure or rate during the test creates another pressure disturbance and will require restabilization.

An isochronal test requires at least two transient tests for determining turbulence characteristics and one stabilized test for calculating the laminar flow behavior. Even though the well need not flow past stabilization time during the transient tests, the duration of these tests must be sufficiently long to insure that the measured pressures are not affected by wellbore storage effects and that the pressure disturbance has traveled past any formation damage or stimulation zones. The duration of each transient test should be at least four times longer than the larger of either the wellbore storage time or the time required for the pressure disturbance to have moved 100 *feet* from the well.

Equation 33 can be used to calculate the time when r = 100 *ft*, and the following equation can be used to estimate wellbore storage time.

where:

- t
_{ws}= wellbore storage time, hrs.; - μ = gas viscosity at average wellbore conditions, cp;
- V
_{w}= wellbore volume, ft^{3}; - C
_{w}= gas isothermal compressibility at average wellbore conditions, psi^{-1}; - k = formation permeability,
*md*, and; - h = formation thickness, ft.

The magnitude of the flow rates selected for the tests must be at least large enough to continuously remove any liquids produced along with the gas. This minimum rate can be estimated with equations presented in the next article. It should also be high enough to result in a wellhead temperature high enough to prevent hydrate formation. When these considerations do not apply, the minimum and maximum flow rates should be selected such that the drawdown in wellhead pressures are approximately 5 percent and 25 percent of the static wellhead pressure. If an estimate of the AOF is available the rates may be selected as about 10 percent and 75 percent respectively, of the AOF. Estimates of the AOF might be obtained from drillstem test data, well log data, or offset well performance. The rate for the stabilized test is often selected to be approximately equal to the anticipated production rate of the well. Consideration of problems such as water coning and unconsolidated formations must be taken in selecting the maximum rate.

## Problems in Gas-Well Testing

There are several problems unique in testing gas wells that can result in erroneous results. These problems are discussed from the standpoint of the types of errors that can result in the test data obtained.

*Liquid Loading*. The problem of liquid loading usually occurs when testing low productivity gas wells with high liquid-gas ratios. Wide variations of surface pressures may indicate liquid loading.

*Hydrate Formation*. The problem of hydrate formation occurs normally in high pressure gas wells. However, if adequate production equipment is available, this problem can be eliminated by maintaining the wellstream temperature above the hydrate formation temperature. Conditions promoting hydrate formation are discussed in Gas Field Operation Problems and Methods to Deal With ThemGas Production Problems and Methods to Detect Them.

*Wet Gas Streams*. Sometimes it is necessary to meter a gas stream at the wellhead. Such streams will often deposit liquid in the flow line downstream of the point where the orifice was installed. If the gas gravity is measured on a gas sample obtained at such a downstream point, its value will not represent the gravity of the gas that flowed through the orifice. In this instance, the measured gas gravity must be adjusted to give the gravity of the full stream. This can be accomplished by use of Best and Most Widely Methods to Perform Necessary Calculations with a Gas“Equation”.

*Irregular Flow*. One of the most frequent difficulties encountered in making accurate gas flow-rate measurements is the rapidly changing flow rates that accompany *“slug flow”*, freeze-ups, and paraffin deposition in the wellhead choke. Because this problem is frequent and is a source of major error, it deserves special attention.

Adjusting the dampening screw on the differential meter will narrow the span of the differential variations. This should enable the operator to get a better differential reading. The differential pen should not be dampened to a point of no response.

It is a common experience that mercury meters, even though the wells flow steadily, exhibit substantiai but relatively slow variations in differential reading during a 24 *hour* period because of atmospheric temperature changes. Temperature data may be obtained with a temperature recorder or periodically measured with a thermometer at the meter run. The variation in the flowing temperature factor is approximately 1 percent per 10 °F of variation in temperature.

*Sour (H _{2}S) Gas*. Extreme caution should be exercised in handling gases and liquids containing hydrogen sulfide (H

_{2}S). This hazardous substance is highly toxic and under certain concentration can cause illness and death. Special precautions should be taken when testing wells where hydrogen sulfide is present to be assured that exposure will not exceed the safe maximum allowable concentration for the work period required. Selfcontained breathing apparatus should be worn when hydrogen sulfide concentrations are present that might be injurious to health. Safety considerations are discussed in Gas Field Operation Problems and Methods to Deal With Them“Gas Production Problems and Methods to Detect Them”.

## Reporting Data

As discussed previously, well test data are used for various purposes. Routine tests for production records may require only a minimum amount of data such as periodic fluid-rate measurements. On the other hand, special tests for equipment evaluation, well evaluation, reservoir evaluation, and state regulatory body requirements require additional data. As a result, a large amount of data may be required. The amount and type of data will vary from state to state in the case of state regulatory body requirements, and will depend on test objectives if needed for evaluation purposes. Therefore, rather than attempt to list data for a particular purpose, a complete list of well test data is given.

- Fluid Measurements: gas rate for all streams, Mscf per day or MMscf per day; condensate rate, stock tank barrels per day; water rate, barrels per day; condensate gravity,
*API*(at 60 °F). - Pressure Measurements, psig: flowing wellhead pressure; shut-in wellhead pressure; flowing bottom-hole pressure (sometimes calculated); shut-in bottom-hole pressure (sometimes calculated); atmospheric pressure.
- Temperature Measurements, of: bottom-hole temperature; wellhead temperature; stock-tank liquid temperature; atmospheric temperature.
- Choke Size, Inches.
- Separation conditions, psig and of: number of separators; separator pressures and temperatures; stabilizer pressure and inlet and outlet temperatures.
- Time Data-Minutes, Hours, Days: duration of flowing test; length of time on test choke size before test period; shut-in time for pressure measurement.