PO.IPR.GW.D
Description
Calculates Non-Darcy flow coefficient (D) for gas well turbulence effects, [D/mscf]. Used as input to GW.PSS.Rate.NonDarcy.
Syntax
=PO.IPR.GW.D(Rw, h, h_perf, SG_gas, Ug, K)Parameters
| Parameter | Description |
|---|---|
| Rw | Wellbore radius, [ft]. |
| h | Reservoir thickness, [ft]. |
| h_perf | Perforated reservoir thickness, [ft]. |
| SG_gas | Gas specific gravity, [dimensionless]. |
| Ug | Gas viscosity, [cP]. |
| K | Near wellbore permeability, [mD]. |
SI Unit Version
Lambda Name
PO.IPR.GW.D.SIFormula
=LAMBDA(Rw, h, h_perf, SG_gas, Ug, K, LET(
Rw_ft, PO.UnitConverter(Rw, "m", "ft"),
h_ft, PO.UnitConverter(h, "m", "ft"),
h_perf_ft, PO.UnitConverter(h_perf, "m", "ft"),
result_1Mscf, PO.IPR.GW.D(Rw_ft, h_ft, h_perf_ft, SG_gas, Ug, K),
result_1Mscf * PO.UnitConverter(1, "sm3/d", "Mscf/d")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
Rw |
m | Wellbore radius, [m] |
h |
m | Reservoir thickness, [m] |
h_perf |
m | Perforated reservoir thickness, [m] |
SG_gas |
- | Gas specific gravity, [dimensionless] |
Ug |
- | Gas viscosity, [cP] |
K |
- | Near wellbore permeability, [mD] |
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.IPR.GW.D.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.IPR.GW.D.SI(...) anywhere in your workbook.