PO.SF.CH.Sachdeva.Pwh
Description
Wellhead pressure using Sachdeva (1986) two-phase model, [psia]. Iterative solution for target rate.
Syntax
=PO.SF.CH.Sachdeva.Pwh(Ql, d_choke, GLR)Parameters
| Parameter | Description |
|---|---|
| Ql | Liquid rate, [bbl/d]. |
| d_choke | Choke diameter, [inches]. |
| GLR | Gas-liquid ratio, [scf/bbl]. |
SI Unit Version
Lambda Name
PO.SF.CH.Sachdeva.Pwh.SIFormula
=LAMBDA(Ql, d_choke, GLR, LET(
Ql_bbld, PO.UnitConverter(Ql, "m3/d", "bbl/d"),
d_choke_in, PO.UnitConverter(d_choke, "cm", "in"),
GLR_scfbbl, PO.UnitConverter(GLR, "sm3/m3", "scf/bbl"),
result_psi, PO.SF.CH.Sachdeva.Pwh(Ql_bbld, d_choke_in, GLR_scfbbl),
PO.UnitConverter(result_psi, "psi", "kPa")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
Ql |
m3/d | Liquid rate, [m3/d] |
d_choke |
cm | Choke diameter, [cm] |
GLR |
sm3/m3 | Gas-liquid ratio, [sm3/m3] |
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.Sachdeva.Pwh.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.SF.CH.Sachdeva.Pwh.SI(...) anywhere in your workbook.