Gas PVT · ResvEngine standard pack
Gas Z and Bg (DAK)
ResvEngine computes gas compressibility factor Z with Dranchuk–Abou-Kassem (1975) — a numerical fit to the Standing–Katz chart — and pseudocriticals from Sutton (1985), with Wichert–Aziz when CO2 or H2S is present.
Pseudocritical properties (Sutton)
Sweet gas: Ppc and Tpc from gas specific gravity γg (air = 1). Sour components adjust Ppc′ and Tpc′ via Wichert–Aziz before reduced pressure and temperature are formed.
Z-factor (DAK)
DAK solves Z iteratively from reduced density ρr = 0.27 Pr / (Z Tr). Typical validity: 0.2 ≤ Pr ≤ 30, 1 ≤ Tr ≤ 3. At very low Pr the engine uses an ideal-gas fallback (Z → 1) and flags the row.
Root-finding: Newton–Raphson on ρr with the analytic derivative of the DAK residual, falling back to bisection if Newton doesn't converge — accurate and stable across the full envelope.
Gas FVF Bg
Bg in Rm³/Sm³; psc = 1.01325 bar, tsc = 15.5 °C (METRIC).