Size an ESP against the well's inflow

Intake pressure, total dynamic head, stages and motor horsepower for a target rate.

Open in the workbench

Engineering use cases UC-ESP-001 (Calculate Total Dynamic Head), UC-ESP-003 (Determine Number of Stages) and UC-ESP-010 (Design Complete ESP System). The operating point of a catalogue pump on the same kind of well is esp-operating-point, its drive frequency esp-vsd-frequency.

The design rate has to be one the reservoir can give: the intake pressure comes from the productivity index, and a rate that draws the well below the bubble point puts free gas into the pump. Check PumpIntakePressure against the bubble point before trusting the stage count.

Head per stage and pump efficiency come from the manufacturer's curve at the design rate, in ft per stage and as a fraction. Pressures are psia, depth ft TVD, rates STB/d.

Source

using Team76.Engineering.AL.ESP;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        var esp = SystemAnalysis.DesignCheck(
            designRate: 2000,          // STB/d
            pumpTvd: 7500,             // ft
            wellheadPressure: 150,
            reservoirPressure: 3200,
            productivityIndex: 2.2,
            specificGravity: 0.88,
            headPerStage: 42,          // from the pump curve
            pumpEfficiency: 0.68,
            formationVolumeFactor: 1.2);

        // esp.StagesRequired, esp.TotalDynamicHead,
        // esp.PumpIntakePressure, esp.MotorHorsepowerRequired

        return ctx.Result()
            .Set("stages", esp.StagesRequired)
            .Set("tdh", esp.TotalDynamicHead)
            .Set("motorHp", esp.MotorHorsepowerRequired);
    }
}