Skip to main content
Version: 8.1

if97

Because expression functions do not support operator overloading (and adding functions to cover all possibilities of parameters is impractical), this module provides a single expression function for accessing all if97 properties.

Syntax

if97(property, [[parameter], [value]...])

Parameters

TypeParameterDescription
Stringpropertyif97 Property Name
StringparameterParameter Key
DoublevalueParameter Value
tip

All system.thermo.if97 scripting functions can be executed by this expression function.

A full list of property names can be found here.

Returns

Double - The result of the calculated the property.

Scope

Gateway, Designer, Client, Perspective Session

Examples

if97("specificEntropy", "p", 200000, "t", 400)
if97("saturationPressure", "t", 500)
if97("vaporFraction", "p", 110000, "t", 1150000)