PO.PVT.Pb.ByVasquezBeggs
Description
Calculates oil bubble point pressure using Vasquez and Beggs (1980) correlation, [psi].
Syntax
=PO.PVT.Pb.ByVasquezBeggs(SG_gas, API, Rs, T_degF)Parameters
| Parameter | Description |
|---|---|
| SG_gas | Gas specific gravity, [dimensionless]. |
| API | Oil gravity, [API]. |
| Rs | Solution gas-oil ratio, [scf/STB]. |
| T_degF | Temperature, [degF]. |
SI Unit Version
Lambda Name
PO.PVT.Pb.ByVasquezBeggs.SIFormula
=LAMBDA(SG_gas, API, Rs, T_degC, LET(
Rs_scfSTB, PO.UnitConverter(Rs, "sm3/sm3", "scf/STB"),
T_degF, PO.UnitConverter(T_degC, "degC", "degF"),
result_psi, PO.PVT.Pb.ByVasquezBeggs(SG_gas, API, Rs_scfSTB, T_degF),
PO.UnitConverter(result_psi, "psi", "kPa")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
SG_gas |
- | Gas specific gravity (air = 1.0) |
API |
- | Oil API gravity |
Rs |
sm3/sm3 | Solution gas-oil ratio |
T_degC |
degC | Temperature |
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.PVT.Pb.ByVasquezBeggs.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.PVT.Pb.ByVasquezBeggs.SI(...) anywhere in your workbook.