PO.PVT.Cw.Sat.ByMcCain


Description

Calculates water compressibility for saturated conditions using McCain correlation, P <= Pb, [1/psi].

Syntax

=PO.PVT.Cw.Sat.ByMcCain(P, T_degF, salinity_gl)

Parameters

Parameter Description
P Pressure, [psi].
T_degF Temperature, [degF].
salinity_gl Salinity, [g NaCl/l].

SI Unit Version

Lambda Name PO.PVT.Cw.Sat.ByMcCain.SI
Formula
=LAMBDA(P, T_degC, salinity_gl, LET( P_psi, PO.UnitConverter(P, "kPa", "psi"), T_degF, PO.UnitConverter(T_degC, "degC", "degF"), result_1psi, PO.PVT.Cw.Sat.ByMcCain(P_psi, T_degF, salinity_gl), PO.UnitConverter(result_1psi, "1/psi", "1/kPa")))
SI Parameters
Parameter Unit Description
P kPa Pressure
T_degC degC Temperature
salinity_gl - Salinity (g NaCl/l)
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:

  1. Go to Formulas → Name Manager → New
  2. Enter a name, e.g. PO.PVT.Cw.Sat.ByMcCain.SI
  3. In Refers to, paste the LAMBDA formula without the trailing invocation (...)
  4. Click OK

Now use =PO.PVT.Cw.Sat.ByMcCain.SI(...) anywhere in your workbook.

Missing a formula? Suggest a New Formula

An unhandled error has occurred. Reload X