Dose methanol or MEG to keep a flowline out of hydrates

A 0.7-gravity sweet gas in a subsea flowline at 1,000 psia and a 40 °F seabed: the hydrate formation temperature, the subcooling, the depression a 5 °F margin needs, the methanol or MEG concentration that gives it by Hammerschmidt, and the injection rate for 100 bbl/d of produced water.

Open in the workbench

Engineering use cases UC-FA-001 (Design Hydrate Inhibition Program), UC-FA-002 (Calculate Methanol Injection Rate) and UC-FA-005 (Size Inhibitor Injection System).

The hydrate temperature is Towler and Mokhatab's fit to the Katz gas-gravity chart, T = 13.47 ln p + 34.27 ln γ − 1.675 ln p ln γ − 20.35 (°F, psia). The subcooling is how far the line runs below it, and the design depression is the subcooling plus the margin. Hammerschmidt's ΔT = K W / (M (100 − W)), with K = 2335 and M = 32.04 for methanol and K = 2700 and M = 62.07 for MEG, inverted for the aqueous concentration W; the rate is the inhibitor that mixes with the water at that concentration.

What an engineer learns from it: the gas forms hydrates below 64.6 °F at 1,000 psia, so a 40 °F seabed puts the line 24.6 °F inside the hydrate region. A 29.6 °F depression takes 28.9 wt% methanol or 40.5 wt% MEG in the water: about 2,160 gal/d of methanol or 2,580 gal/d of MEG for 100 bbl/d of water. MEG needs a stronger solution because its molar mass is twice methanol's, but it is recovered and reused, which is why long subsea tiebacks choose it. The 0.8-gravity check gives 67.6 °F at 1,000 psia, Ahmed and McKinney's Example 3.26 read from the Katz chart.

Units: psia, °F, wt% in the aqueous phase, bbl/d of water, US gal/d of inhibitor. The rate is the aqueous-phase inhibitor only: the methanol lost to the gas and to the condensate, often as much again in a cold gas line, is not in it, and Hammerschmidt reads low above about 25 wt% methanol, where Nielsen–Bucklin is the usual check. The fit carries no N₂, CO₂ or H₂S effect. The use case's field example quotes 35 wt% methanol and 55 wt% MEG for a 30 °F depression; Hammerschmidt with the library's constants gives 29 and 41 wt%.

Source

using System;
using System.Globalization;
using System.Linq;
using Team76.Engineering.FA;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        // A 0.7-gravity sweet gas in a subsea flowline at 1,000 psia, cooled to 40 °F by the seabed in winter,
        // producing 100 bbl/d of water. Design margin 5 °F.
        const double gravity = 0.7;
        const double pressure = 1000;    // psia
        const double seabed = 40;        // °F
        const double margin = 5;         // °F
        const double water = 100;        // bbl/d

        double hydrate = Hydrate.EquilibriumTemperature(pressure, gravity);   // Towler-Mokhatab fit to the Katz chart
        double subcooling = Hydrate.Subcooling(hydrate, seabed);              // positive: inside the hydrate region
        double depression = Hydrate.RequiredDepression(subcooling, margin);

        // Hammerschmidt: the aqueous-phase concentration that depresses the curve that far, and the rate to inject.
        double methanol = Hydrate.RequiredMethanolConcentration(depression);  // wt%
        double meg = Hydrate.RequiredMegConcentration(depression);
        double methanolRate = Hydrate.MethanolInjectionRate(water, methanol); // US gal/d
        double megRate = Hydrate.MegInjectionRate(water, meg);

        var pressures = new[] { 200.0, 300, 500, 750, 1000, 1500, 2000, 3000 };
        var curve = pressures.Select(p => Math.Round(Hydrate.EquilibriumTemperature(p, gravity), 2)).ToArray();
        var inhibited = curve.Select(t => Math.Round(t - Hydrate.TemperatureDepressionMethanol(methanol), 2)).ToArray();
        var concentrations = new[] { 5.0, 10, 15, 20, 25, 30, 35, 40 };
        var rows = concentrations.Select(w => new object[]
        {
            w, Math.Round(Hydrate.TemperatureDepressionMethanol(w), 1), Math.Round(Hydrate.TemperatureDepressionMeg(w), 1),
            Math.Round(Hydrate.MethanolInjectionRate(water, w), 0), Math.Round(Hydrate.MegInjectionRate(water, w), 0),
        }).ToList();
        string dose = Math.Round(methanol, 1).ToString(CultureInfo.InvariantCulture);

        return ctx.Result()
            .Set("Hydrate curve", new ScriptChart(
                [new ScriptSeries("Uninhibited", curve, pressures), new ScriptSeries($"With {dose} wt% methanol", inhibited, pressures)],
                title: "Hydrate formation curve, 0.7-gravity gas", xLabel: "Temperature (°F)", yLabel: "Pressure (psia)"))
            .Set("Inhibitor strength", new ScriptTable(["Concentration (wt%)", "Methanol depression (°F)", "MEG depression (°F)", "Methanol (gal/d)", "MEG (gal/d)"], rows))
            .Set("Hydrate temperature at 1000 psia (°F)", Math.Round(hydrate, 1))
            .Set("Subcooling at the seabed (°F)", Math.Round(subcooling, 1))
            .Set("Design depression (°F)", Math.Round(depression, 1))
            .Set("Methanol in the water (wt%)", Math.Round(methanol, 1))
            .Set("MEG in the water (wt%)", Math.Round(meg, 1))
            .Set("Methanol injection (gal/d)", Math.Round(methanolRate, 0))
            .Set("MEG injection (gal/d)", Math.Round(megRate, 0))
            .Set("Hydrate temperature, 0.8-gravity gas at 1000 psia (°F)", Math.Round(Hydrate.EquilibriumTemperature(1000, 0.8), 1));
    }
}