PO.FA.Corrosion.CR.CO2
Description
Calculates CO2 corrosion rate using de Waard-Milliams correlation, [mm/yr].
Syntax
=PO.FA.Corrosion.CR.CO2(T, pCO2)Parameters
| Parameter | Description |
|---|---|
| T | Temperature, [°F]. |
| pCO2 | CO2 partial pressure, [psi]. |
SI Unit Version
Lambda Name
PO.FA.Corrosion.CR.CO2.SIFormula
=LAMBDA(T, pCO2, LET(
T_degF, PO.UnitConverter(T, "degC", "degF"),
pCO2_psi, PO.UnitConverter(pCO2, "kPa", "psi"),
PO.FA.Corrosion.CR.CO2(T_degF, pCO2_psi)))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
T |
degC | Temperature, [degC] |
pCO2 |
kPa | CO2 partial pressure, [kPa] |
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.CR.CO2.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.FA.Corrosion.CR.CO2.SI(...) anywhere in your workbook.