PO.RP.Pump.Displacement.FromDiameter
Description
Calculates theoretical pump displacement from plunger diameter, [bbl/d].
Syntax
=PO.RP.Pump.Displacement.FromDiameter(d, Sp, N)Parameters
| Parameter | Description |
|---|---|
| d | Plunger diameter, [in]. |
| Sp | Effective plunger stroke, [in]. |
| N | Pumping speed, [SPM]. |
SI Unit Version
Lambda Name
PO.RP.Pump.Displacement.FromDiameter.SIFormula
=LAMBDA(d, Sp, N, LET(
d_in, PO.UnitConverter(d, "cm", "in"),
Sp_in, PO.UnitConverter(Sp, "cm", "in"),
result_bbld, PO.RP.Pump.Displacement.FromDiameter(d_in, Sp_in, N),
PO.UnitConverter(result_bbld, "bbl/d", "m3/d")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
d |
cm | Plunger diameter, [cm] |
Sp |
cm | Effective plunger stroke, [cm] |
N |
- | Pumping speed, [SPM] |
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.Displacement.FromDiameter.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.RP.Pump.Displacement.FromDiameter.SI(...) anywhere in your workbook.