IAPWS95_TSAT
This function computes saturation temperature for water from saturation pressure using the IAPWS-95 inverse saturation fit.
The inverse relation is:
T_{sat} = f^{-1}(P_{sat})
where P_{sat} is saturation pressure and T_{sat} is saturation temperature.
Excel Usage
=IAPWS95_TSAT(Psat)
Psat(float, required): Water saturation pressure (Pa).
Returns (float): Saturation temperature of water at the specified saturation pressure (K).
Example 1: Saturation temperature at low pressure
Inputs:
| Psat |
|---|
| 50000 |
Excel formula:
=IAPWS95_TSAT(50000)
Expected output:
354.467
Example 2: Saturation temperature near one atmosphere
Inputs:
| Psat |
|---|
| 101325 |
Excel formula:
=IAPWS95_TSAT(101325)
Expected output:
373.124
Example 3: Saturation temperature at elevated pressure
Inputs:
| Psat |
|---|
| 1000000 |
Excel formula:
=IAPWS95_TSAT(1000000)
Expected output:
453.028
Example 4: Saturation temperature near critical pressure
Inputs:
| Psat |
|---|
| 20000000 |
Excel formula:
=IAPWS95_TSAT(20000000)
Expected output:
638.899
Python Code
Show Code
from chemicals.iapws import iapws95_Tsat as chemicals_iapws95_tsat
def iapws95_tsat(Psat):
"""
Compute saturation temperature from pressure using IAPWS-95.
See: https://chemicals.readthedocs.io/chemicals.iapws.html#chemicals.iapws.iapws95_Tsat
This example function is provided as-is without any representation of accuracy.
Args:
Psat (float): Water saturation pressure (Pa).
Returns:
float: Saturation temperature of water at the specified saturation pressure (K).
"""
try:
return chemicals_iapws95_tsat(Psat)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Water saturation pressure (Pa).