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
Type | Parameter | Description |
---|---|---|
String | property | if97 Property Name |
String | parameter | Parameter Key |
Double | value | Parameter 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)