Size a subsea tieback for hydrates, erosion and corrosion

A 5-mile subsea tieback carrying 20 MMscf/d and 1,000 bbl/d of liquid to a platform at 800 psia: the wellhead pressure that 4, 6 and 8-inch lines need, the erosion ratio at the cold arrival, the hydrate subcooling and CO₂ corrosion at both ends of the chosen line, and the methanol that keeps it out of hydrates.

Open in the workbench

Engineering use case UC-MULTI-006 (Production System Design), FA + VFP.

The workflow runs the use case's three steps. VFP: Beggs and Brill over 26,400 ft of horizontal line gives the inlet (wellhead) pressure that delivers the stream at 800 psia, and the traverse fluid gives the vapour's density and formation volume factor at each end. FA: at a point, the no-slip mixture density and velocity against the API RP 14E limit (C = 100), the subcooling below the Towler–Mokhatab hydrate curve, and the de Waard–Milliams bare-steel CO₂ rate. Integration: the smallest line whose arrival sits in the acceptable erosion band (V/V_e below 0.8), and the Hammerschmidt methanol dose for its cold end with a 5 °F margin.

What an engineer learns from it: a 4-inch line needs a 1,793 psia wellhead, loses almost 1,000 psi, and arrives at 0.82 of the erosional velocity; the 6-inch line needs 991 psia, loses 191 psi and arrives at 0.36, and the 8-inch line saves only another 138 psi. So the 6-inch line is chosen. Its arrival on a 40 °F seabed is 21.5 °F inside the hydrate region, which takes 26.6 wt% methanol in the 500 bbl/d of water, about 9,650 gal/d; the hot wellhead is far outside it. Bare steel would lose several mm/yr at the 120 °F wellhead and about 0.5 mm/yr at the cold arrival: the corrosion is a wellhead-end problem and the hydrates an arrival-end one, so the line needs inhibition at both ends of the design.

Units: psia, °F, Mscf/d, bbl/d, ft/s, lb/ft³, mm/yr, wt%, US gal/d. The line is horizontal and the traverse runs at one mean temperature (80 °F); the FA checks use each end's own temperature. The liquid is a 50 lb/ft³ blend of condensate and water at no slip, so the arrival velocity is the mixture velocity, not the vapour's in a stratified line. Methanol losses to the vapour and condensate are not in the rate, and the corrosion is uninhibited bare-steel.

Source

using System;
using System.Collections.Generic;
using System.Linq;
using Team76.Engineering.Core.Measures;
using Team76.Engineering.FA;
using Team76.Engineering.VFP.Builders;
using Team76.Engineering.VFP.Models;
using Team76.Engineering.VFP.Providers;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        // A subsea tieback: 20 MMscf/d of 0.7-gravity vapour with 2 mol% CO2 and 1,000 bbl/d of liquid (half of it water),
        // through 5 miles of flowline on a 40 °F seabed to a platform that receives it at 800 psia.
        const double gravity = 0.7, co2 = 0.02;
        const double gasRate = 20000, liquidRate = 1000, waterRate = 500; // Mscf/d, bbl/d, bbl/d
        const double arrival = 800;                                        // psia
        const double wellheadTemperature = 120, seabed = 40;               // °F
        const double lineLength = 26400;                                   // ft

        var fluid = new TraverseFluidProvider(GasSpecificGravity.From(gravity), Density.FromLbPerFt3(50), Viscosity.FromCP(1.0),
            InterfacialTension.FromDynesPerCm(20), Temperature.FromDegF((wellheadTemperature + seabed) / 2));
        var liquid = FlowRate.FromBblPerD(liquidRate);
        var gas = FlowRate.FromMscfPerD(gasRate);

        // The flow-assurance checks at one point of the line: hydrate margin, erosion ratio and the CO2 corrosion rate.
        (double Pressure, double Temperature, double Subcooling, double Velocity, double Ratio, double Corrosion) Check(double psia, double fahrenheit, double id)
        {
            var state = fluid.GetState(Pressure.FromPsi(psia), Temperature.FromDegF(fahrenheit));
            double gasActual = gasRate * 1000 * state.GasFVF.RcfPerScf / 86400; // ft3/s
            double liquidActual = liquidRate * 5.614583 / 86400;               // ft3/s
            double lambda = gasActual / (gasActual + liquidActual);            // no-slip void fraction
            double density = Erosion.MixtureDensity(state.LiquidDensity.LbPerFt3, state.GasDensity.LbPerFt3, lambda);
            double velocity = Erosion.MixtureVelocity(gasActual, liquidActual, id);
            double ratio = Erosion.ErosionRatio(velocity, Erosion.ErosionalVelocityApi14E(density, 100));
            double subcooling = Hydrate.Subcooling(Hydrate.EquilibriumTemperature(psia, gravity), fahrenheit);
            double corrosion = Corrosion.Co2RateDeWaard(fahrenheit, Corrosion.Co2PartialPressure(psia, co2));
            return (psia, fahrenheit, subcooling, velocity, ratio, corrosion);
        }

        // 1. VFP: the wellhead pressure each line size needs to deliver the stream at 800 psia (Beggs and Brill, horizontal).
        double Wellhead(double id) => FlowModelBuilder.BeggsAndBrill(
            new Pipe(Length.FromFeet(lineLength), Angle.FromDegrees(0), Roughness.From(0.0006), Length.FromInches(id)), fluid)
            .InletPressure(Pressure.FromPsi(arrival), liquid, gas).Psi;

        // 2. FA: the risks at the cold arrival of each line, where the pressure is lowest and the velocity highest.
        (string Size, double Id)[] sizes = [("4\"", 4.026), ("6\"", 6.065), ("8\"", 7.981)];
        var lines = sizes.Select(s => (s.Size, s.Id, Wellhead: Wellhead(s.Id), Arrival: Check(arrival, seabed, s.Id))).ToList();

        // 3. Integration: the smallest line in the acceptable erosion band (V/Ve below 0.8), its hot end, and the methanol its cold end needs.
        var chosen = lines.First(l => l.Arrival.Ratio < 0.8);
        var top = Check(chosen.Wellhead, wellheadTemperature, chosen.Id);
        double depression = Hydrate.RequiredDepression(chosen.Arrival.Subcooling, 5);
        double methanol = Hydrate.RequiredMethanolConcentration(depression);

        var rows = lines.Select(l => new object[]
        {
            l.Size, Math.Round(l.Wellhead, 0), Math.Round(l.Wellhead - arrival, 0), Math.Round(l.Arrival.Velocity, 1), Math.Round(l.Arrival.Ratio, 2),
            Erosion.RiskClassification(l.Arrival.Ratio),
        }).ToList();
        var points = new List<object[]>
        {
            new object[] { "Wellhead", Math.Round(top.Pressure, 0), top.Temperature, Math.Round(top.Subcooling, 1), Math.Round(top.Ratio, 2), Math.Round(top.Corrosion, 2) },
            new object[] { "Arrival", arrival, seabed, Math.Round(chosen.Arrival.Subcooling, 1), Math.Round(chosen.Arrival.Ratio, 2), Math.Round(chosen.Arrival.Corrosion, 2) },
        };
        var state = fluid.GetState(Pressure.FromPsi(arrival), Temperature.FromDegF(seabed));

        return ctx.Result()
            .Set("Line sizes", new ScriptTable(["Size", "Wellhead (psia)", "Line drop (psi)", "Arrival velocity (ft/s)", "V / Ve at arrival", "Erosion risk"], rows))
            .Set("Risks along the chosen line", new ScriptTable(["Point", "Pressure (psia)", "Temperature (°F)", "Subcooling (°F)", "V / Ve", "CO2 corrosion (mm/yr)"], points))
            .Set("Chosen line", chosen.Size)
            .Set("Wellhead pressure, chosen line (psia)", Math.Round(chosen.Wellhead, 0))
            .Set("Arrival gas density (lb/ft3)", Math.Round(state.GasDensity.LbPerFt3, 3))
            .Set("Arrival gas FVF (rcf/scf)", Math.Round(state.GasFVF.RcfPerScf, 5))
            .Set("Arrival subcooling (°F)", Math.Round(chosen.Arrival.Subcooling, 1))
            .Set("Wellhead subcooling (°F)", Math.Round(top.Subcooling, 1))
            .Set("Design depression (°F)", Math.Round(depression, 1))
            .Set("Methanol in the water (wt%)", Math.Round(methanol, 1))
            .Set("Methanol injection (gal/d)", Math.Round(Hydrate.MethanolInjectionRate(waterRate, methanol), 0))
            .Set("Wellhead CO2 corrosion, bare steel (mm/yr)", Math.Round(top.Corrosion, 2))
            .Set("Arrival CO2 corrosion, bare steel (mm/yr)", Math.Round(chosen.Arrival.Corrosion, 2));
    }
}