Functions for Heat Transfer Agent Variables

The following functions can be used for setting or retrieving variables that refer to a specific heat transfer agent that is already registered in the process file:

Functions with three arguments:

         GetHXAgentVarVal (agentName As String, VarID As VarID, val) can be used to retrieve the value of input/output variables related to the specific agent

         SetHXAgentVarVal (agentName As String, VarID As VarID, val) can be used for setting input variables related to the specific agent

The first argument is the heat transfer agent’s name, the second argument (varID) is the variable identifier that specifies the variable we want to access and the third argument (val) is the variables value. The Variable ID that needs to be used for each variable is listed in Heat Transfer Agent Variables. Please see Accessing Pro-Designer Variables with COM for general information on accessing the Pro-Designer variables with the COM Server.