PO.SF.CH.AshfordPierce.Rate
Description
Liquid flow rate using Ashford-Pierce (1975) subcritical correction model, [bbl/d]. Extends critical flow correlations to subcritical conditions.
Syntax
=PO.SF.CH.AshfordPierce.Rate(P_up, P_dn, d_choke, GLR, API, SG_gas, WC, T)Parameters
| Parameter | Description |
|---|---|
| P_up | Upstream pressure, [psia]. |
| P_dn | Downstream pressure, [psia]. |
| d_choke | Choke diameter, [inches]. |
| GLR | Gas-liquid ratio, [scf/bbl]. |
| API | Oil API gravity, [degAPI]. |
| SG_gas | Gas specific gravity (air=1). |
| WC | Water cut (0-1). |
| T | Upstream temperature, [degF]. |
SI Unit Version
Lambda Name
PO.SF.CH.AshfordPierce.Rate.SIFormula
=LAMBDA(P_up, P_dn, d_choke, GLR, API, SG_gas, WC, T, LET(
P_up_psi, PO.UnitConverter(P_up, "kPa", "psi"),
P_dn_psi, PO.UnitConverter(P_dn, "kPa", "psi"),
d_choke_in, PO.UnitConverter(d_choke, "cm", "in"),
GLR_scfbbl, PO.UnitConverter(GLR, "sm3/m3", "scf/bbl"),
T_degF, PO.UnitConverter(T, "degC", "degF"),
result_bbld, PO.SF.CH.AshfordPierce.Rate(P_up_psi, P_dn_psi, d_choke_in, GLR_scfbbl, API, SG_gas, WC, T_degF),
PO.UnitConverter(result_bbld, "bbl/d", "m3/d")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
P_up |
kPa | Upstream pressure, [kPa] |
P_dn |
kPa | Downstream pressure, [kPa] |
d_choke |
cm | Choke diameter, [cm] |
GLR |
sm3/m3 | Gas-liquid ratio, [sm3/m3] |
API |
- | Oil API gravity, [degAPI] |
SG_gas |
- | Gas specific gravity (air=1) |
WC |
- | Water cut (0-1) |
T |
degC | Upstream temperature, [degC] |
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.CH.AshfordPierce.Rate.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.SF.CH.AshfordPierce.Rate.SI(...) anywhere in your workbook.