Skip to main content
Version: 8.1

system.thermo.if97.temperature

Calculates temperature.

Syntax

system.thermo.if97.temperature(h, s) # Enthalpy and Entropy
system.thermo.if97.temperature(p, h) # Pressure and Enthalpy
system.thermo.if97.temperature(p, s) # Pressure and Entropy
info

This function must be called with named parameters.

Parameters

TypeParameterDescription
DoublehSpecific Enthalpy (J/kg)
DoublesSpecific Entropy (J/(kg·K))
DoublepAbsolute Pressure (Pa)

Returns

Double - Temperature (K)

The temperature under the specified thermodynamic conditions.

Scope

Gateway, Designer, Client, Perspective Session

Example

Pressure and Enthalpy

p = 101325
h = 200000
result = system.thermo.if97.temperature(p=p, h=h)
print result
Result
320.90888773