Size a rod pump's plunger for the rate

What a beam pump actually delivers: the fluid load on the plunger, the rod and tubing stretch it causes, the overtravel from the rods' acceleration, the effective plunger stroke, and the production after fillage, for plungers from 1 1/4" to 2 1/4" with the tubing anchored and free.

Open in the workbench

Engineering use cases UC-RP-001 (Size Downhole Pump), UC-RP-004 (Calculate Rod Stretch) and UC-RP-005 (Determine Effective Stroke).

At the bottom of each stroke the fluid load Fo = Ap × H × gradient passes from the tubing to the rods, and the rods stretch by Fo L / (E Ar) before the plunger moves: that much of the surface stroke is lost. Unanchored tubing gives up its stretch on the other half of the cycle and loses more. The rods' own acceleration throws the plunger past the end of the stroke, e_p = 5.79 × 10⁻⁴ S L² N² / E, which wins some back. Displacement is 0.1484 Ap Sp N barrels a day, and fillage takes off what the barrel does not fill.

What an engineer learns from it: the 84" surface stroke gives the 1 3/4" plunger 240 bbl/d on paper, but its 4,570 lbf fluid load stretches 5,000 ft of 7/8" rods by 15.2", the overtravel gives back 2.6", and the plunger strokes 71.4". With 85 % fillage the well makes 173 bbl/d, matching the use case's 1 3/4" plunger at 8 SPM for a 150 bbl/d target. A bigger plunger does not scale the rate with its area: the fluid load grows with the area too and so does the stretch, so 2 1/4" (65 % more area than 1 3/4") makes only 43 % more. Leaving the tubing free costs another 5" of stroke on the 1 3/4" plunger (7 % of the rate) and grows with the plunger: anchor it.

Units are field: in, ft, lbf, bbl/d, SPM. Steel rods, a single taper, the fluid level at the pump. The loads, stresses and torque the same well puts on the rods and the unit are rp-rod-loads.

Source

using System;
using System.Linq;
using Team76.Engineering.AL.RP;

public class S : ICalcScript
{
    public ScriptResult Run(ICalcContext ctx)
    {
        // A beam pump at 5,000 ft on 7/8" rods: 84" surface stroke, 8 strokes a minute, a 0.38 psi/ft liquid, pumped off
        // (the fluid level at the pump), 85 % pump fillage.
        const double pumpDepth = 5000, rodDiameter = 0.875, stroke = 84, spm = 8, gradient = 0.38, fillage = 0.85;
        const double tubingMetalArea = 1.812;   // 2 7/8" tubing, in²
        double rodArea = Rod.AreaFromDiameter(rodDiameter);

        // What the plunger travels: the surface stroke, less the rods' stretch under the fluid load as the standing and
        // travelling valves swap it over, plus the overtravel the rods' acceleration throws the plunger.
        (double Fluid, double Stroke, double Rate) Plunger(double plungerDiameter, bool anchored)
        {
            double plungerArea = Math.PI / 4 * plungerDiameter * plungerDiameter;
            double fluidLoad = Load.FluidLoad(plungerArea, pumpDepth, gradient);
            double rodStretch = Rod.StretchDueToFluidLoad(fluidLoad, pumpDepth, rodArea);
            double tubingStretch = anchored ? 0 : Rod.StretchDueToFluidLoad(fluidLoad, pumpDepth, tubingMetalArea);
            double overtravel = Pump.PlungerOvertravel(stroke, pumpDepth, spm);
            double effective = Pump.EffectiveStrokeLength(stroke, rodStretch, tubingStretch, overtravel);
            return (fluidLoad, effective, Pump.EffectiveDisplacement(Pump.Displacement(plungerArea, effective, spm), fillage));
        }

        var design = Plunger(1.75, anchored: true);

        double designArea = Math.PI / 4 * 1.75 * 1.75;
        var rows = new[] { 1.25, 1.5, 1.75, 2.0, 2.25 }
            .Select(d => (Diameter: d, Anchored: Plunger(d, true), Free: Plunger(d, false)))
            .Select(p => new object[]
            {
                p.Diameter,
                Math.Round(p.Anchored.Fluid),
                Math.Round(p.Anchored.Stroke, 1),
                Math.Round(p.Anchored.Rate),
                Math.Round(p.Free.Stroke, 1),
                Math.Round(p.Free.Rate),
            })
            .ToList();

        return ctx.Result()
            .Set("Fluid load (lbf)", Math.Round(design.Fluid))
            .Set("Rod stretch (in)", Math.Round(Rod.StretchDueToFluidLoad(design.Fluid, pumpDepth, rodArea), 1))
            .Set("Plunger overtravel (in)", Math.Round(Pump.PlungerOvertravel(stroke, pumpDepth, spm), 1))
            .Set("Effective plunger stroke (in)", Math.Round(design.Stroke, 1))
            .Set("Displacement at the surface stroke (bbl/d)", Math.Round(Pump.Displacement(designArea, stroke, spm)))
            .Set("Production (bbl/d)", Math.Round(design.Rate))
            .Set("Plungers", new ScriptTable(
                ["Plunger (in)", "Fluid load (lbf)", "Stroke, anchored (in)", "Rate, anchored (bbl/d)", "Stroke, free tubing (in)", "Rate, free tubing (bbl/d)"],
                rows, title: "Plunger size against rate, 84 in at 8 SPM"));
    }
}