Work out brine properties for a waterflood

A 5 % NaCl brine at 200 °F from 1,000 to 5,000 psia: its formation volume factor, viscosity, compressibility and dissolved methane, by McCain's correlations, and the reservoir rate a surface injection rate becomes.

Open in the workbench

Engineering use case UC-PVT-008 (Water Injection Design).

McCain (1990) builds each property from two corrections. Bw = (1 + ΔVwt)(1 + ΔVwp): the water expands with temperature far more than it compresses with pressure, so Bw sits just above 1. The viscosity is a dead-brine value at 14.7 psia, μw1 = A TB with A and B polynomials in salinity, times a pressure factor 0.9994 + 4.0295 × 10⁻⁵ p + 3.1062 × 10⁻⁹ p². The dissolved-gas ratio is the pure-water value scaled by 10(−0.0840655 S T^−0.285854) for the salt. The compressibility is the saturated brine's, with its dissolved gas.

What an engineer learns from it: at 3,000 psia and 200 °F, Bw is 1.0339 rb/STB, so 10,000 STB/d of surface water is 10,339 rb/d in the reservoir. The brine's viscosity is 0.36 cP at 14.7 psia and 0.41 cP at 3,000 psia, a 15 % rise that the mobility ratio against the oil has to carry. The salt cuts the dissolved methane from 15.1 to 12.2 scf/STB, about a fifth, and cw is 5.8 × 10⁻⁶ 1/psi, roughly a third of a light oil's: the water's expansion is small but not zero in material balance.

Field units: °F, psia, salinity in weight percent NaCl, rb/STB, cP, 1/psi and scf/STB. The correlations hold to about 260 °F, 5,000 psia and 26 % salinity.

Source

using System;
using System.Linq;
using Team76.Engineering.Core.Measures;
using Team76.Engineering.PVT.Correlations;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        // A 5 % NaCl brine at 200 °F, injected into a 3,000 psia reservoir; the solution gas is 0.70 gravity.
        var t = Temperature.FromDegF(200);
        var salinity = Salinity.FromPercent(5.0);
        var gg = GasSpecificGravity.From(0.70);

        object[] Row(double psia)
        {
            var p = Pressure.FromPsi(psia);
            var bw = WaterVolumeFactor.ByMcCain(p, t);
            var mu1 = WaterViscosity.AtAtmosphericPressureByMcCain(t, salinity);
            var mu = WaterViscosity.ByMcCain(p, mu1);
            var cw = WaterCompressibility.SaturatedByMcCain(p, t, salinity, gg);
            var rswPure = SolutionGasWaterRelation.PureWaterByMcCain(p, t);
            var rsw = SolutionGasWaterRelation.ReservoirWaterByMcCain(rswPure, salinity, t);
            return [psia, Math.Round(bw.BblPerStb, 4), Math.Round(mu.CP, 3), Math.Round(cw.PerPsi() * 1e6, 2), Math.Round(rswPure.ScfPerStb, 1), Math.Round(rsw.ScfPerStb, 1)];
        }

        var table = new[] { 1000.0, 2000, 3000, 4000, 5000 }.Select(Row).ToList();

        var atReservoir = Row(3000);
        var bw3000 = Convert.ToDouble(atReservoir[1]);

        // 10,000 bbl/d of surface water at reservoir conditions, and the mobility ratio against a 0.5 cP oil.
        var injected = 10000 * bw3000;

        return ctx.Result()
            .Set("Bw at 3,000 psia (rb/STB)", atReservoir[1])
            .Set("μw at 3,000 psia (cP)", atReservoir[2])
            .Set("μw at 14.7 psia (cP)", Math.Round(WaterViscosity.AtAtmosphericPressureByMcCain(t, salinity).CP, 3))
            .Set("cw at 3,000 psia (1/psi)", Convert.ToDouble(atReservoir[3]) * 1e-6)
            .Set("Rsw pure water (scf/STB)", atReservoir[4])
            .Set("Rsw brine (scf/STB)", atReservoir[5])
            .Set("Reservoir rate for 10,000 STB/d (rb/d)", Math.Round(injected))
            .Set("Brine", new ScriptTable(["P (psia)", "Bw (rb/STB)", "μw (cP)", "cw (1e-6/psi)", "Rsw pure (scf/STB)", "Rsw brine (scf/STB)"], table));
    }
}