PO.SF.PL.Liq.Rate
Description
Liquid flow rate for given pressure drop using Darcy-Weisbach, [bbl/d]
Syntax
=PO.SF.PL.Liq.Rate(dP, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness)Parameters
| Parameter | Description |
|---|---|
| dP | Available pressure drop, [psi] |
| Rho_l | Liquid density, [lb/ft3] |
| Ul | Liquid viscosity, [cP] |
| pipe_ID | Pipe inner diameter, [in] |
| pipe_length | Pipe length, [ft] |
| pipe_roughness | Relative roughness (e/D) |
SI Unit Version
Lambda Name
PO.SF.PL.Liq.Rate.SIFormula
=LAMBDA(dP, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, LET(
dP_psi, PO.UnitConverter(dP, "kPa", "psi"),
Rho_l_lbft3, PO.UnitConverter(Rho_l, "kg/m3", "lb/ft3"),
pipe_ID_in, PO.UnitConverter(pipe_ID, "cm", "in"),
pipe_length_ft, PO.UnitConverter(pipe_length, "m", "ft"),
result_bbld, PO.SF.PL.Liq.Rate(dP_psi, Rho_l_lbft3, Ul, pipe_ID_in, pipe_length_ft, pipe_roughness),
PO.UnitConverter(result_bbld, "bbl/d", "m3/d")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
dP |
kPa | Available pressure drop, [kPa] |
Rho_l |
kg/m3 | Liquid density, [kg/m3] |
Ul |
- | Liquid viscosity, [cP] |
pipe_ID |
cm | Pipe inner diameter, [cm] |
pipe_length |
m | Pipe length, [m] |
pipe_roughness |
- | Relative roughness (e/D) |
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.SF.PL.Liq.Rate.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.SF.PL.Liq.Rate.SI(...) anywhere in your workbook.