PO.PE.Plunger.Cycle
Description
How many trips a plunger can make in a day, and the liquid it lifts. A cycle is the shut-in, the rise and the afterflow. During the shut-in the plunger falls, first through the gas in the tubing and then, more slowly, through the liquid standing above the bottom stop, while the casing builds pressure; the well can only be opened when both are done, so the shut-in is the longer of the fall and the buildup. The plunger then rises at its rise velocity and the well flows on (the afterflow) until it is shut in again. The function returns the fall and rise times, the cycle, the cycles per day and the liquid rate, the slug times the cycles.
Formula
=LAMBDA(depth, liquid_ht, v_gas, v_liq, v_rise, buildup, afterflow, slug, output, IF(OR(depth<=0, liquid_ht<0, liquid_ht>depth, v_gas<=0, v_liq<=0, v_rise<=0, buildup<0, afterflow<0, slug<0), NA(), LET(
fall, (depth-liquid_ht)/v_gas+liquid_ht/v_liq, rise, depth/v_rise, cyc, MAX(fall, buildup)+rise+afterflow, IF(output="Fall", fall, IF(output="Rise", rise, IF(output="Cycle", cyc, IF(output="Cycles", 1440/cyc, IF(output="Liquid", slug*1440/cyc, NA()))))))))Parameters
| Parameter | Unit | Description |
|---|---|---|
depth |
ft | Depth of the plunger's bottom stop; above 0 |
liquid_ht |
ft | Height of the liquid standing above the bottom stop when the plunger falls; 0 to depth |
v_gas |
ft/min | Plunger fall velocity through gas; above 0 |
v_liq |
ft/min | Plunger fall velocity through liquid; above 0 |
v_rise |
ft/min | Average plunger rise velocity; above 0 |
buildup |
min | Casing pressure buildup time the shut-in needs (from the casing pressure set points); 0 or more |
afterflow |
min | Flow time after the plunger arrives; 0 or more |
slug |
bbl | Liquid lifted each cycle; 0 or more |
output |
text | "Fall" fall time [min], "Rise" rise time [min], "Cycle" cycle time [min], "Cycles" cycles per day, or "Liquid" liquid rate [bbl/d] |
Examples
| Invocation | Expected |
|---|---|
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 30, 20, 0.5, "Fall") |
9.444186047 |
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 30, 20, 0.5, "Rise") |
8 |
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 30, 20, 0.5, "Cycle") |
58 |
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 30, 20, 0.5, "Cycles") |
24.82758621 |
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 30, 20, 0.5, "Liquid") |
12.4137931 |
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 5, 20, 0.5, "Cycle") |
37.44418605 |
=PO.PE.Plunger.Cycle(8000, 300, 1000, 172, 1000, 5, 20, 0.5, "Liquid") |
19.22861934 |
=IF(ISNA(PO.PE.Plunger.Cycle(8000, 9000, 1000, 172, 1000, 30, 20, 0.5, "Cycle")), 1, 0) |
1 |