PO.MBE.Exp.Eo
Description
Calculates oil and dissolved gas expansion term (Eo), [RB/STB]. Eo = (Bo-Boi) + (Rsi-Rs)*Bg.
Syntax
=PO.MBE.Exp.Eo(Bo, Boi, Rs, Rsi, Bg)Parameters
| Parameter | Description |
|---|---|
| Bo | Current oil FVF, [RB/STB]. |
| Boi | Initial oil FVF, [RB/STB]. |
| Rs | Current solution GOR, [scf/STB]. |
| Rsi | Initial solution GOR, [scf/STB]. |
| Bg | Current gas FVF, [RB/scf]. |
SI Unit Version
Lambda Name
PO.MBE.Exp.Eo.SIFormula
=LAMBDA(Bo, Boi, Rs, Rsi, Bg, LET(
Rs_scfSTB, PO.UnitConverter(Rs, "sm3/sm3", "scf/STB"),
Rsi_scfSTB, PO.UnitConverter(Rsi, "sm3/sm3", "scf/STB"),
Bg_bblft3, PO.UnitConverter(Bg, "m3/m3", "bbl/ft3"),
PO.MBE.Exp.Eo(Bo, Boi, Rs_scfSTB, Rsi_scfSTB, Bg_bblft3)))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
Bo |
- | Current oil FVF, [rm3/sm3] |
Boi |
- | Initial oil FVF, [rm3/sm3] |
Rs |
sm3/sm3 | Current solution GOR, [sm3/sm3] |
Rsi |
sm3/sm3 | Initial solution GOR, [sm3/sm3] |
Bg |
rm3/sm3 | Current gas FVF, [rm3/sm3] |
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.Exp.Eo.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.MBE.Exp.Eo.SI(...) anywhere in your workbook.