Concept
The ideal gas equation of state, pV = nRT, assumes that the molecules themselves occupy no volume and exert no forces on each other. A real gas satisfies neither condition: at low pressure the attraction between molecules makes the gas more compressible than an ideal gas, and at high pressure the volume of the molecules themselves makes it harder to compress. To keep the simple form of the equation of state, a correction factor Z is introduced, giving:
Z is called the compressibility factor, and is also known as the deviation factor or Z-factor. By definition, it equals the ratio of the actual volume of a given amount of gas at a given pressure and temperature to the volume calculated for an ideal gas. When Z = 1 the gas behaves as an ideal gas; Z < 1 means the gas is more easily compressed than an ideal gas, and Z > 1 means it is harder to compress than an ideal gas. Take care not to confuse it with the isothermal compressibility of natural gas Cg (in MPa−1), which is the relative rate of change of volume with pressure.
Z depends on pressure, temperature and gas composition. According to the principle of corresponding states, natural gases of different composition have roughly the same Z as long as their pseudoreduced pressure ppr and pseudoreduced temperature Tpr are the same, so the pseudocritical properties are found first and Z is then written as a function of ppr and Tpr. For the determination of pseudocritical properties and pseudoreduced properties, see Gas Composition and Pseudocritical Properties.
There are three ways to determine Z: direct measurement on a natural gas sample, calculation from composition, and estimation from gas specific gravity (relative density). Laboratories seldom have the means to measure Z directly, and charts or correlations are mostly used in the field.
Calculation Methods
Standing-Katz Chart
The Standing-Katz chart has ppr on the horizontal axis and Z on the vertical axis, with a family of curves, one for each Tpr; ppr covers 0 to 15 and Tpr covers 1.05 to 3.0. To read the chart, locate ppr on the horizontal axis, follow the vertical line to the curve for the corresponding Tpr, and read the vertical coordinate. The curves show that, at a given Tpr, Z first falls and then rises as ppr increases, passing through a minimum; the lower the Tpr, the deeper the minimum and the farther to the left it lies. There are also simplified charts that give Z directly from pressure, temperature and gas specific gravity in engineering units.
Hall-Yarborough Method
This method introduces a reduced density y, and Z is found iteratively from the following equations:
A = 0.06125t·e−1.2(1−t)2, B = (14.76 − 9.76t + 4.58t2)t, C = (90.7 − 242.2t + 42.4t2)t, D = 2.18 + 2.82t
F(y) = −Appr + (y + y2 + y3 − y4)/(1 − y)3 − By2 + CyD = 0
Z = Appr/y
The root of F(y) = 0 is found with the Newton-Raphson method: the initial value is y = 0.001, at each step F/(dF/dy) is subtracted from y, and the iteration stops when |F| is not greater than 10−4; if y exceeds 1 during the iteration it is reset to 0.6, and if the iteration does not converge within the specified number of steps, Z is set to 1.0. In programming, the convergence criterion can be made tighter; the examples in this entry use 10−8, and the results do not change within the digits shown. This method agrees well with the Standing-Katz chart and is often the first choice for programmed calculation.
Dranchuk-Purvis Correlation
This is an equation of state expressed in the reduced density ρR, which also requires iteration:
ρR = 0.27ppr/(ZTpr)
The constants are A1 = 0.31506, A2 = −1.0467, A3 = −0.5783, A4 = 0.5353, A5 = −0.6123, A6 = 0.6815. To solve, start from Z = 1.0 and find ρR, substitute back to obtain a new Z, and the answer is reached when the two are close enough. The equation contains only the first-order and second-order terms in ρR; it is the simplified form of the full eight-constant Dranchuk-Purvis-Robinson equation of state with the higher-order and exponential terms truncated, and at high pressure, where ρR is large, the truncation error becomes larger (see the worked examples). The low values noted below refer only to this simplified form.
Beggs-Brill Explicit Correlation
No iteration is needed; Z is calculated directly:
A = 1.39(Tpr − 0.92)0.5 − 0.36Tpr − 0.101
B = (0.62 − 0.23Tpr)ppr + [0.066/(Tpr − 0.86) − 0.037]ppr2 + 0.32ppr6/109(Tpr − 1)
C = 0.132 − 0.32 lg Tpr
D = 10(0.3106 − 0.49Tpr + 0.1824Tpr2)
The denominator of the last term of B is 10 raised to the power 9(Tpr − 1). The equations contain (Tpr − 0.92)0.5 and 1/(Tpr − 0.86), so they cannot be used when Tpr is close to or below 0.92.
Density and Formation Volume Factor from Z
From pV = ZnRT, the gas density and formation volume factor at reservoir conditions are:
Bg = pscZT/(pTsc)
where R = 0.008314 MPa·m³/(kmol·K); with p in MPa and M in g/mol, ρg is in kg/m³. The standard surface conditions in China are 20 °C and 0.101 MPa; in volumetric calculation of gas reservoir reserves, the term Tscpi/(pscTZi) is equivalent to the reciprocal of the original formation volume factor Bgi. In gas column pressure calculations, Z is taken at the average pressure and average temperature of the gas column, and since the average pressure is not known in advance, a trial-and-error calculation is needed.
Worked Example
Example 1: Checking a Chart Reading
Given: In a gas lift design example, the gas specific gravity is 0.75, the pressure is 730 psi (gauge), that is, 744.7 psia, or 5.135 MPa (absolute), and the temperature is 88 °F, or 304.26 K; Z = 0.842 is read from a simplified compressibility factor chart.
Find: Check Z with correlations.
Solution: Using the dry-gas correlations for γg ≥ 0.7, Tpc = 92.2222 + 176.6667×0.75 = 224.72 K and ppc = 4.8815 − 0.3861×0.75 = 4.592 MPa; ppr = 5.135/4.592 = 1.12 and Tpr = 304.26/224.72 = 1.35. The Hall-Yarborough method gives Z = 0.839, the Dranchuk-Purvis equation 0.840, and the Beggs-Brill equation 0.847. The first two differ from the chart reading of 0.842 by less than 0.5%, and the Beggs-Brill equation is about 0.6% high.
Example 2: Unified Example of This Category
Given: Continuing the unified example of this category. The gas reservoir formation pressure is 33.84 MPa (pressure coefficient of 1.15, assumed), the formation temperature is 373.15 K (assumed), and the gas composition is assumed. From the composition, M = 17.63 g/mol, ppc = 4.616 MPa and Tpc = 199.5 K, so ppr = 7.33 and Tpr = 1.87 (see Gas Composition and Pseudocritical Properties).
Find: Z, gas density and formation volume factor at reservoir conditions.
Solution:
- Three methods: the Hall-Yarborough method gives Z = 1.01, the Dranchuk-Purvis equation 0.998 and the Beggs-Brill equation 0.988, with a maximum difference of about 2%. The Hall-Yarborough value of 1.01 is used below.
- Gas density ρg = 33.84×17.63/(1.01×0.008314×373.15) = 190.4 kg/m³; for an ideal gas (Z = 1) it is 192.3 kg/m³, about 1% high.
- Formation volume factor Bg = 0.101×1.01×373.15/(33.84×293.15) = 0.003837, that is, 1 m³ of surface gas occupies about 3.84×10−3 m³ in the reservoir.
At the same temperature, when the pressure is halved (ppr = 3.67), the Hall-Yarborough method gives Z = 0.912, close to the minimum of this isotherm. Thus, although Z is close to 1 at the formation pressure of this example, during depletion Z first falls and then rises, and it cannot be taken as 1 throughout.
For comparison, at a pseudoreduced temperature of only 1.3 and ppr = 10, the Hall-Yarborough method gives Z = 1.155, the Beggs-Brill equation 1.157, and the Dranchuk-Purvis equation only 1.02, about 12% low. The difference arises because the Dranchuk-Purvis equation retains terms only up to second order in reduced density; at high pressure and a lower Tpr the reduced density is large and the truncation error is significant.
Recommended Values
| Method | Characteristics | Applicability and notes |
|---|---|---|
| Standing-Katz chart | Benchmark method, read from the chart | ppr 0 to 15, Tpr 1.05 to 3.0; reading error is in the second decimal place |
| Hall-Yarborough | Iterative, agrees well with the chart | Preferred for programmed calculation; when t > 1 (Tpr < 1), take t = 1 as in the original procedure |
| Dranchuk-Purvis (six-constant form) | Iterative, short equations | Close to the chart at medium and low pressure; low at high pressure and low Tpr, about 12% low at ppr = 10 and Tpr = 1.3 in the example of this entry |
| Beggs-Brill | Explicit, no iteration needed | Tpr must not be close to 0.92; differs from the Hall-Yarborough method by 1% to 2% in the two examples of this entry |
When the results of the methods differ by more than 1%, take the Hall-Yarborough method or the chart as the reference, and state the method used. Where a measured Z is available, the measured value governs.
Influencing Factors and Considerations
- Pressure. At a given temperature, Z first falls and then rises as pressure increases; at low pressure Z < 1, and once the pressure is high enough Z > 1. In this example at Tpr = 1.87, as ppr rises from 3.67 to 7.33, Z rises from 0.912 to 1.01.
- Temperature. The lower the pseudoreduced temperature, the lower the minimum of Z and the farther the gas departs from ideal behavior; as Tpr rises, the isotherms as a whole move closer to 1.
- Composition. Composition acts through the pseudocritical properties. When CO2 and H2S contents are high, apply the Wichert-Aziz correction before finding ppr and Tpr; otherwise Z may be considerably in error. Sampling and analysis of natural gas containing H2S must follow the sour-service operating procedures.
- Taking average values. In wellbore gas column and pipeline calculations, Z is taken at the average pressure and average temperature, with trial-and-error calculation when the average pressure is unknown; well sections with a very large pressure change should be calculated in segments.
- Units. Both p and ppc are absolute pressures, and T and Tpc are both in K or both in °R; neither may be in degrees Celsius. The 730 psi in Example 1 is a gauge pressure, and 14.7 psi must be added to convert it to absolute pressure.
- Iterative solution. The Hall-Yarborough method and the Dranchuk-Purvis equation both require iteration; direct substitution may oscillate at high pressure, and the Newton-Raphson or secant method can be used instead to find the root of the same equation, with the same result.