PO.RP.Pump.Stroke.Eff
Description
Calculates effective plunger stroke from surface stroke and stretch, [in].
Syntax
=PO.RP.Pump.Stroke.Eff(S, ΔLr, ΔLt)Parameters
| Parameter | Description |
|---|---|
| S | Surface (polished rod) stroke length, [in]. |
| ΔLr | Total rod string stretch, [in]. |
| ΔLt | Tubing stretch under load, [in]. |
SI Unit Version
Lambda Name
PO.RP.Pump.Stroke.Eff.SIFormula
=LAMBDA(S, dLr, dLt, LET(
S_in, PO.UnitConverter(S, "cm", "in"),
dLr_in, PO.UnitConverter(dLr, "cm", "in"),
dLt_in, PO.UnitConverter(dLt, "cm", "in"),
result_in, PO.RP.Pump.Stroke.Eff(S_in, dLr_in, dLt_in),
PO.UnitConverter(result_in, "in", "cm")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
S |
cm | Surface (polished rod) stroke length, [cm] |
dLr |
cm | Total rod string stretch, [cm] |
dLt |
cm | Tubing stretch under load, [cm] |
How to save as a reusable Excel function
LAMBDA is a built-in Excel feature (Microsoft 365) that lets you create custom functions without VBA. The formula above works as-is when pasted into a cell.
To save a LAMBDA as a reusable named function:
- Go to Formulas → Name Manager → New
- Enter a name, e.g.
PO.RP.Pump.Stroke.Eff.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.RP.Pump.Stroke.Eff.SI(...) anywhere in your workbook.