PO.GL.Inj.Pd
Description
Calculates injection gas pressure at depth, [psi].
Syntax
=PO.GL.Inj.Pd(Ps, D, G)Parameters
| Parameter | Description |
|---|---|
| Ps | Surface injection pressure, [psi]. |
| D | Depth, [ft TVD]. |
| G | Gas gradient, [psi/ft]. |
SI Unit Version
Lambda Name
PO.GL.Inj.Pd.SIFormula
=LAMBDA(Ps, D, G, LET(
Ps_psi, PO.UnitConverter(Ps, "kPa", "psi"),
D_ft, PO.UnitConverter(D, "m", "ft"),
G_psift, PO.UnitConverter(G, "kPa/m", "psi/ft"),
result_psi, PO.GL.Inj.Pd(Ps_psi, D_ft, G_psift),
PO.UnitConverter(result_psi, "psi", "kPa")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
Ps |
kPa | Surface injection pressure, [kPa] |
D |
m | Depth, [m] |
G |
kPa/m | Gas gradient, [kPa/m] |
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.GL.Inj.Pd.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.GL.Inj.Pd.SI(...) anywhere in your workbook.