TSAT_IAPWS
This function computes the saturation temperature corresponding to a specified water vapor pressure using the explicit IAPWS inverse relation. It supports pressure-to-boiling-temperature conversions in process calculations.
The inverse saturation mapping is:
T_{sat} = f^{-1}(P)
where P is saturation pressure and T_{sat} is saturation temperature.
Excel Usage
=TSAT_IAPWS(P)
P(float, required): Water saturation pressure (Pa).
Returns (float): Saturation temperature of water at the specified pressure (K).
Example 1: Saturation temperature near one atmosphere
Inputs:
| P |
|---|
| 101325 |
Excel formula:
=TSAT_IAPWS(101325)
Expected output:
373.124
Example 2: Saturation temperature at reduced pressure
Inputs:
| P |
|---|
| 50000 |
Excel formula:
=TSAT_IAPWS(50000)
Expected output:
354.467
Example 3: Saturation temperature at elevated pressure
Inputs:
| P |
|---|
| 500000 |
Excel formula:
=TSAT_IAPWS(500000)
Expected output:
424.986
Example 4: Saturation temperature near critical pressure
Inputs:
| P |
|---|
| 20000000 |
Excel formula:
=TSAT_IAPWS(20000000)
Expected output:
638.896
Python Code
Show Code
from chemicals.iapws import Tsat_IAPWS as chemicals_tsat_iapws
def tsat_iapws(P):
"""
Compute water saturation temperature from pressure with the explicit IAPWS equation.
See: https://chemicals.readthedocs.io/chemicals.iapws.html#chemicals.iapws.Tsat_IAPWS
This example function is provided as-is without any representation of accuracy.
Args:
P (float): Water saturation pressure (Pa).
Returns:
float: Saturation temperature of water at the specified pressure (K).
"""
try:
return chemicals_tsat_iapws(P)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Water saturation pressure (Pa).