
2-48 Key HYSYS Objects
2-48
related to the fluids residing on a particular column stage.
The example below, loops through each feed stage and displays
in the Debug property view its molar liquid flows.
2.4.7 Support Objects
Support objects are used primarily to perform a function or
service to an object in HYSYS. Support objects may not have a
visible equivalent in a HYSYS case when viewed within the
simulation environment. The support objects can be accessed by
several of the objects in HYSYS. The two most commonly
accessed objects in this category are FixedAttachments and
RealVariable.
Syntax: ColumnStage(s)
By Index:
Set hyColumnStage = hyColumnFlowsheet.ColumnStages.Item(0)
By Name:
Set hyColumnStage = hyColumnFlowsheet.ColumnStages.Item(“1_Main TS”)
Syntax: SeparationStage
Set hySepStage = hyColumnStage.SeparationStage
Example: ColumnStage
Dim hyColumn As ColumnOp
Dim hyColumnFlowsheet As ColumnFlowsheet
Dim hyFeedStage As Object
Dim hySepStage As SeparationStage
Set hyColumn = hyCase.Flowsheet.Operations(“ColumnOp”).Item(0)
With hyColumn.ColumnFlowsheet
For Each hyFeedStage In .FeedStages
Debug.Print “Stage “ &.ColumnStages(hyFeedStage.name)
StageNumberValue & “ Molar Liquid Flow (kgmole/hr) is “
&.ColumnStages(hyFeedStage.name).
SeparationStage.MolarLiquidFlowValue
Next hyFeedStage
End With
Comentários a estes Manuais