Concept
The bottomhole pressure of a gas well is the pressure in the wellbore at the depth of the middle of the gas zone. When the well has been shut in and stabilized, it is called the static bottomhole pressure (shut-in bottomhole pressure); when the well is producing, it is called the flowing bottomhole pressure. It is a basic input to deliverability equations, well test interpretation, and nodal analysis: pwf in the deliverability equation is the flowing bottomhole pressure; see Gas Well Deliverability Equation.
Bottomhole pressure can be measured directly with a downhole pressure gauge, but running instruments in deep, high-pressure, and sour wells is expensive and risky, so in production it is more often calculated from the wellhead pressure. Calculating the bottomhole pressure of a gas well differs from that of an oil well in several ways: gas is compressible, and its density varies with pressure and temperature along the well depth; the gas column is light and the wellhead pressure high, so the weight of the gas column is only a small part of the bottomhole pressure (about 20% in the unified example), and a reading error in the wellhead pressure carries directly into the result; and at high rates the tubing friction cannot be neglected.
The starting point of the calculation is the pressure gradient equation for pipe flow. Taking the wellhead as the origin and downward as positive, the pressure increment per unit length consists of gravity, friction, and kinetic energy terms, of which the kinetic energy term is clearly smaller than the other two:
When the well is shut in, v = 0 and only the gravity term remains, which is called the static gas column calculation; when the well is producing, gravity and friction must both be included, which is called the flowing gas column calculation.
Calculation Methods
Gas Density and Mass Flow Rate
The density of a real gas is ρ = pM/(ZRT), where M is the apparent molecular weight of the natural gas (M = 28.97γg) and Z is the compressibility factor; see Natural Gas Compressibility Factor. In steady production, the mass flow rate in the tubing, G = ρv, is constant along the well and equals the density at standard conditions multiplied by the volumetric flow rate at standard conditions and divided by the tubing cross-sectional area. The friction term can therefore be written fG2/(2dρ): the lower the pressure and the less dense the gas, the greater the friction gradient at the same rate.
Static Gas Column: Average Temperature and Compressibility Factor Method
After Z and T are taken as averages over the whole well, the gravity term can be integrated directly, giving an exponential form:
where pwh is the wellhead pressure (absolute), MPa; H is the true vertical depth, m; M is in g/mol; R = 8.314 J/(mol·K); T̄ is the average temperature, K; and Z̄ is the compressibility factor at the average pressure and average temperature. The field-unit form p = pseγD/(53.34T̄z̄) is equivalent, where 53.34 is the gas constant of air, in ft·lbf/(lbm·°R).
The average pressure and average temperature are generally taken as the arithmetic mean of the wellhead and bottomhole values; since the average pressure contains the unknown bottomhole pressure, Z̄ must be found by trial: assume a bottomhole pressure, find Z̄, calculate the bottomhole pressure again, and repeat until two successive results agree. Expanding the exponential to the first-order term gives the commonly used linear approximation pws ≈ pwh[1 + MgH/(1000R Z̄ T̄)], which is always low and suits only a shallow gas column with a small pressure increment.
The ideal-gas approximate formula commonly used in casing internal pressure design, ps = pb/e0.000111554γH, corresponds to an isothermal gas column with Z = 1 and a temperature of about 306 K; conversely, it can also be used to estimate the bottomhole pressure from the wellhead pressure. It neglects the compressibility factor of the real gas, and in high-temperature, high-pressure gas wells its error can reach 30%; in general the error is small only when the wellhead pressure is below 25 MPa.
Flowing Gas Column: Average Temperature and Compressibility Factor Method
Neglecting the kinetic energy term and taking Z̄ and T̄ as constants, the pressure gradient equation becomes dp/dz = ap + c/p, and integrating with respect to p2 gives:
a = Mg/(1000R Z̄ T̄), s = aH, c = fG2Z̄RT̄/(2d·M/1000)
In the equation the pressure is substituted in Pa, d is the tubing inner diameter, m, and G is the mass flow rate, kg/(m2·s). When q = 0, the second term vanishes and the equation reverts to the static gas column formula. The friction factor f is the Moody friction factor, determined from the relative roughness and the Reynolds number Re = Gd/μ; for turbulent flow (Re > 2300), the Jain equation can be used:
The absolute roughness of ordinary tubing can be taken as e = 0.01524 mm, and the value actually used must also consider corrosion and scale. Because G is constant along the well, Re varies only with the gas viscosity, and f varies very little over the whole well.
Stepwise Numerical Algorithm
The tubing is divided into several sections; for each section Z, viscosity, and f are found at the local pressure and temperature, and the pressure gradient equation is integrated section by section, with temperature taken from the wellhead-to-bottomhole distribution. This approach requires no averaging assumption and should be preferred for deep and high-pressure wells. The Cullender-Smith method is a commonly used one of this kind, and is also used to calculate the flowing pressure in gas lift injection strings; during injection the gas flows downward, and the sign of the friction term must be changed to negative.
Worked Example
Example 1: Static Bottomhole Pressure from the Shut-In Wellhead Pressure
Given: A vertical well of the C3 unified example (draft), with a true vertical depth of 3000 m to the middle of the gas zone; wellhead temperature 283.15 K and bottomhole temperature 373.15 K (a geothermal gradient of 3 °C/100 m is assumed, used to find the gas column temperature); the natural gas follows the assumed composition of Example 1 in Equation of State, with M = 17.63 g/mol, ppc = 4.616 MPa, and Tpc = 199.5 K. The shut-in wellhead pressure is 27.51 MPa (the value calculated in Example 2 of that entry from the formation pressure of 33.84 MPa).
Find: The static bottomhole pressure.
Solution:
- Stepwise numerical algorithm (Z from Hall-Yarborough): pws = 33.84 MPa, which returns to the original formation pressure, showing that the forward and backward calculations are consistent.
- Average temperature and compressibility factor method: T̄ = 328.15 K. At convergence of the trial calculation the average pressure is about 30.62 MPa, ppr = 6.633, Tpr = 1.645, and Z̄ = 0.933; substituting gives pws = 33.73 MPa.
- Taking Z̄ = 1 (ideal gas, same average temperature): pws = 33.27 MPa.
The averaging method is 0.11 MPa lower than the stepwise algorithm. The reason is that the gas column density is proportional to 1/(ZT), and in this example Z varies greatly along the well (about 0.83 at the wellhead and about 1.01 at the bottomhole), so 1/(ZT) does not vary linearly along the well, and the Z̄T̄ found from the average pressure and average temperature cannot represent the average density over the whole well. The ideal gas result is lower still because Z is below 1 over most of the well, so the real gas column is heavier than an ideal gas one.
Example 2: Flowing Bottomhole Pressure from the Wellhead Flowing Pressure
Given: The same well as in Example 1, with tubing run to the middle of the gas zone, using 2⅞ in. tubing with an inner diameter of 62.0 mm and a roughness of 0.01524 mm; the temperature distribution during flow is assumed to be the same as when shut in (heating of the wellbore by the flowing gas is neglected). At a gas rate of 10×10⁴ m³/d the wellhead flowing pressure is 23.67 MPa; at 20×10⁴ m³/d it is 18.55 MPa.
Find: The flowing bottomhole pressure at the two rates, and the part due to friction.
Solution:
- 10×10⁴ m³/d: the gas viscosity at average conditions is about 0.0224 mPa·s, Re ≈ 7.8×105, and the Jain equation gives f = 0.0154. The stepwise numerical algorithm gives pwf = 29.59 MPa; the averaging method gives 29.47 MPa; counting only the weight of the gas column gives 29.42 MPa, so friction is about 0.17 MPa.
- 20×10⁴ m³/d: the stepwise numerical algorithm gives pwf = 24.09 MPa; the averaging method gives 23.99 MPa; counting only the weight of the gas column gives 23.33 MPa, so friction is about 0.76 MPa.
The two flowing bottomhole pressures fall exactly on the inflow performance curve of the example in Gas Well Deliverability Equation (29.59 and 24.09 MPa), so these two wellhead flowing pressures are the operating points of the well at the two rates. When the rate doubles, friction increases to about 4.5 times: first, friction is proportional to G2, and second, the gas becomes less dense when the wellhead flowing pressure falls, so the velocity for the same mass flow rate is higher.
Using different tubing and calculating the wellhead flowing pressure backward (the flowing bottomhole pressure still 24.09 MPa, gas rate 20×10⁴ m³/d): 2⅜ in. tubing (inner diameter 50.7 mm) gives 17.37 MPa, and 3½ in. tubing (inner diameter 75.9 mm) gives 18.96 MPa. The smaller the tubing diameter, the greater the friction and the lower the pressure the wellhead can maintain.
Recommended Values
| Method | Applicability | Notes |
|---|---|---|
| Ideal-gas approximate formula | Estimating casing internal pressure, rough calculations | The error is small when the wellhead pressure is below 25 MPa; in high-temperature, high-pressure wells the difference can reach 30% |
| Linear approximation | Approximation of the gas column pressure at the valve in gas lift design | Since ex ≥ 1 + x, it is always low; not suitable when the pressure increment is large |
| Average temperature and compressibility factor method | Medium-depth wells, where Z varies little along the well | About 0.1 MPa low in this example; Z̄ must be found by trial |
| Stepwise numerical algorithm | Deep wells, high-pressure wells, interpretation of well test data | Use a section length small enough that the result no longer changes |
- Use absolute pressure. A wellhead pressure gauge reads gauge pressure; add atmospheric pressure before substituting.
- Temperature. When shut in, use the geothermal distribution; when flowing, the wellhead temperature is higher than the geothermal temperature at the surface. The experience in gas lift wells is that in high-rate wells the wellhead flowing temperature is close to the bottomhole flowing temperature, and the injected gas reaches the flowing temperature of the fluid within about 300 m below the wellhead; when the temperature cannot be determined accurately, the measured wellhead flowing temperature should be used.
- Use true vertical depth for depth. For a directional well or a horizontal well, the gravity term is calculated with the true vertical depth and the friction term with the length along the wellbore.
- Roughness. For new tubing use 0.01524 mm; the roughness of old tubing with corrosion and scale is larger, and friction increases accordingly.
Influencing Factors and Considerations
- Water production and condensate. The above formulas apply only to single-phase gas. When there is liquid in the wellbore, the gas column density increases markedly and the flowing bottomhole pressure calculated as dry gas may be much too low, so a gas-liquid two-phase pipe flow method should be used instead; when the rate is below the critical liquid-carrying flow rate, liquid also accumulates at the bottom of the well; see Critical Liquid-Carrying Flow Rate.
- Gas composition. The larger γg is, the heavier the gas column; for gas containing CO2 and H2S, the pseudocritical properties must first be corrected before Z is found; see Gas Composition and Pseudocritical Properties.
- Shut-in not stabilized. In the early stage of shut-in the wellhead pressure is still rising and the wellbore temperature is still recovering, so the bottomhole pressure calculated at that time is not the formation pressure; the pR used in the deliverability equation should be the stabilized value.
- Flow in tubing and casing. When production is through the casing or through tubing and casing together, friction is calculated with the hydraulic diameter of the annulus, and the tubing inner diameter cannot simply be applied.
- Wellhead and surface equipment. When the wellhead pressure is back-calculated from the bottomhole pressure, the result directly affects the selection of tubing, casing, and wellhead equipment; in high-temperature, high-pressure gas wells there have been cases in which the actual wellhead pressure exceeded the predicted value and surface equipment could not operate normally. For such designs, the stepwise numerical algorithm should be used and checked against measured values, and the specific safety factor taken from the design code; see Casing Burst Strength.