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