ICape Unit Port VariablesVariable Method
The position of a port variable in the EO model.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
The position of the variable.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[DispIdAttribute(1)]
int Variable(
string Variable_type,
string Component
)VB
<DispIdAttribute(1)>
Function Variable (
Variable_type As String,
Component As String
) As IntegerParameters
Field Value
Int32The position of the variable.
Remarks
Gets the position of a port variable in the EO model - used to
correctly build the equations representing a connection to this port.
Variable type can be - flowrate, temperature, pressure,
specificEnthalpy, VaporFraction and for Vapour fraction component
name must also be specified.