PO.ESP.Gas.RhoMix
Description
Calculates gas-liquid mixture density, [lb/ft3].
Syntax
=PO.ESP.Gas.RhoMix(Rho_l, Rho_g, lambda_g)Parameters
| Parameter | Description |
|---|---|
| Rho_l | Liquid density, [lb/ft3]. |
| Rho_g | Gas density, [lb/ft3]. |
| lambda_g | Gas void fraction, [fraction]. |
SI Unit Version
Lambda Name
PO.ESP.Gas.RhoMix.SIFormula
=LAMBDA(Rho_l, Rho_g, lambda_g, LET(
Rho_l_lbft3, PO.UnitConverter(Rho_l, "kg/m3", "lb/ft3"),
Rho_g_lbft3, PO.UnitConverter(Rho_g, "kg/m3", "lb/ft3"),
result_lbft3, PO.ESP.Gas.RhoMix(Rho_l_lbft3, Rho_g_lbft3, lambda_g),
PO.UnitConverter(result_lbft3, "lb/ft3", "kg/m3")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
Rho_l |
kg/m3 | Liquid density, [kg/m3] |
Rho_g |
kg/m3 | Gas density, [kg/m3] |
lambda_g |
- | Gas void fraction, [fraction] |
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.ESP.Gas.RhoMix.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.ESP.Gas.RhoMix.SI(...) anywhere in your workbook.