Specifications
Automation 2-51
2-51
vsDefaultedValue are integer variables specified in the type
library.
Fixed Attachments
The FixedAttachments object is a collection object accessed
from Operations or Stream objects. The FixedAttachments
collection object contains a set of objects related to the feeds,
products, or connected operations.
The example below, shows how to determine the streams
attached to a specific unit operation. This example selects the
first column in the operations collection object and then sets an
object to the attached feeds of the column. The names of the
feed streams to the column appear in a property view.
Syntax: Using FixedAttachments
Set FixAtch = SimulationCase.Flowsheet.Operations.Item(0).AttachedFeeds
Set hyStream = FixAttachObj.Item(0)
Types of objects a FixedAttachments Collection
AttachedFeeds
- ProcessStream
AttachedProducts
- ProcessStream
AttachedLogicalOps
- UnitOperation
AttachedOpers
- UnitOperation
Examples: FixedAttachments
Dim hyFeeds As FixedAttachments
Dim hyOp As ColumnOp
Set hyOp = hyCase.Flowsheet.Operations(“ColumnOp”).Item(0)
Set hyFeeds = hyOp.AttachedFeeds
For j = 0 To hyFeeds.Count - 1
MsgBox “FeedStream “ & j & “ Name = “ & hyFeeds.Item(j).name
Next j