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