PO.MBE.Gas.ModOGIP
Description
Estimates OGIP using modified p/z for geopressured reservoirs, [scf].
Syntax
=PO.MBE.Gas.ModOGIP(P, z, Pi, zi, Gp, ce)Parameters
| Parameter | Description |
|---|---|
| P | Current reservoir pressure, [psi]. |
| z | Current gas compressibility factor. |
| Pi | Initial reservoir pressure, [psi]. |
| zi | Initial gas compressibility factor. |
| Gp | Cumulative gas production, [scf]. |
| ce | Effective compressibility, [1/psi]. |
SI Unit Version
Lambda Name
PO.MBE.Gas.ModOGIP.SIFormula
=LAMBDA(P, z, Pi, zi, Gp, ce, LET(
P_psi, PO.UnitConverter(P, "kPa", "psi"),
Pi_psi, PO.UnitConverter(Pi, "kPa", "psi"),
Gp_ft3, PO.UnitConverter(Gp, "m3", "ft3"),
ce_1psi, PO.UnitConverter(ce, "1/kPa", "1/psi"),
result_ft3, PO.MBE.Gas.ModOGIP(P_psi, z, Pi_psi, zi, Gp_ft3, ce_1psi),
PO.UnitConverter(result_ft3, "ft3", "m3")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
P |
kPa | Current reservoir pressure, [kPa] |
z |
- | Current gas compressibility factor |
Pi |
kPa | Initial reservoir pressure, [kPa] |
zi |
- | Initial gas compressibility factor |
Gp |
sm3 | Cumulative gas production, [sm3] |
ce |
1/kPa | Effective compressibility, [1/kPa] |
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.MBE.Gas.ModOGIP.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.MBE.Gas.ModOGIP.SI(...) anywhere in your workbook.