PO.FA.Corrosion.Pp.CO2
Description
Calculates CO2 partial pressure from total pressure and mole fraction, [psi].
Syntax
=PO.FA.Corrosion.Pp.CO2(P, yCO2)Parameters
| Parameter | Description |
|---|---|
| P | Total pressure, [psia]. |
| yCO2 | CO2 mole fraction in gas, [fraction 0-1]. |
SI Unit Version
Lambda Name
PO.FA.Corrosion.Pp.CO2.SIFormula
=LAMBDA(P, yCO2, LET(
P_psi, PO.UnitConverter(P, "kPa", "psi"),
result_psi, PO.FA.Corrosion.Pp.CO2(P_psi, yCO2),
PO.UnitConverter(result_psi, "psi", "kPa")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
P |
kPa | Total pressure, [kPa] |
yCO2 |
- | CO2 mole fraction in gas, [fraction 0-1] |
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.FA.Corrosion.Pp.CO2.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.FA.Corrosion.Pp.CO2.SI(...) anywhere in your workbook.