Take the rock out of a geopressured p/z

A gas reservoir discovered at 12,000 psia: the effective compressibility of its rock and connate water, the OGIP from the plain p/z and from the modified p/z that accounts for them, and how the answer moves with the formation compressibility.

Open in the workbench

Engineering use case UC-MBE-006 (Analyze Geopressured Gas Reservoir).

At normal pressures the gas is so much more compressible than the rock that the rock can be left out. At 12,000 psia it cannot: the pore volume shrinks and the connate water expands as the pressure falls, and both push gas out. The plain p/z reads that support as more gas. The modified p/z multiplies p/z by (1 − ce Δp), with ce = (cw Sw + cf) / (1 − Sw) from EffectiveCompressibility.ForGasReservoir, which straightens the line.

What an engineer learns from it: with cf = 8 microsips, cw = 3 and Sw = 25 %, ce is 1.167 × 10⁻⁵ 1/psi and the correction at 3,000 psi of depletion is 0.965. The plain p/z gives 355 Bscf, the modified one 317 Bscf: booking the plain answer overstates the reserve by 12 %. The chart sweeps cf from 0 to 20 microsips, 351 to 276 Bscf, which is why a geopressured reserve needs a measured pore compressibility, not a textbook one. In the field the early p/z points of such a reservoir lie on a flatter line that steepens later, and extrapolating the early ones is the classic overestimate.

Pressures in psia, compressibilities in 1/psi, gas in Bscf. The modified p/z holds a constant ce; for a cf that changes with stress, or gas coming out of solution from the water, use EffectiveCompressibility.ForGeopressured.

Source

using System;
using System.Linq;
using Team76.Engineering.MBE.Compressibility;
using Team76.Engineering.MBE.GasMBE;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        // A geopressured gas reservoir: discovered at 12,000 psia (z 0.95), now at 9,000 psia (z 0.92) after 80 Bscf.
        double pi = 12_000, zi = 0.95, p = 9_000, z = 0.92, gp = 80;   // psia, Bscf
        double cw = 3e-6, swi = 0.25;                                  // 1/psi; fraction

        // The rock and the connate water expand as the pressure falls: ce = (cw Sw + cf) / (1 − Sw).
        double cf = 8e-6;   // 1/psi
        var ce = EffectiveCompressibility.ForGasReservoir(cw: cw, cf: cf, Sw: swi);

        // The plain p/z reads that support as gas; the modified p/z takes it out.
        var standard = GasMaterialBalance.EstimateOGIP(p, z, pi, zi, gp);
        var modified = GasMaterialBalance.EstimateOGIPModified(p, z, pi, zi, gp, ce);

        // How much the answer moves with the formation compressibility, which a core lab measures badly.
        var cfs = Enumerable.Range(0, 11).Select(i => i * 2e-6).ToArray();
        var ogips = cfs.Select(c => GasMaterialBalance.EstimateOGIPModified(p, z, pi, zi, gp, EffectiveCompressibility.ForGasReservoir(cw, c, swi))).ToArray();

        return ctx.Result()
            .Set("OGIP against cf", new ScriptChart(cfs.Select(c => c * 1e6).ToArray(), ogips,
                title: "Modified p/z OGIP against formation compressibility", xLabel: "cf (microsips)", yLabel: "OGIP (Bscf)"))
            .Set("ce (1/psi)", Math.Round(ce, 9))
            .Set("Standard p/z OGIP (Bscf)", Math.Round(standard))
            .Set("Modified p/z OGIP (Bscf)", Math.Round(modified))
            .Set("Standard overstates by (%)", Math.Round(100 * (standard / modified - 1)));
    }
}