ICapeUnitPortVariablesVariable 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)
[DispIdAttribute(1)]
int Variable(
	string Variable_type,
	string Component
)

Parameters

Variable_type  String
The Type of the variable.
Component  String
The compnent of the variable.

Field Value

Int32
The 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.

See Also