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
Type | Parameter | Description |
---|---|---|
Double | h | Specific Enthalpy (J/kg) |
Double | s | Specific Entropy (J/(kg·K)) |
Double | p | Absolute 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