Specifications
3-56 Extension Unit Operations
3-56
The Execute method of an object can be called more than once
in either of the Solve Passes, as variables in the object are
touched by other objects in the flowsheet.
3.10.4 Extension Unit
Operation Example
In this example, you use Visual Basic 5.0 to build a unit
operation extension that saturates a feed stream with Water.
1. Open a new project in Visual Basic 5.0 and from the New
tab of the New Project property view select the ActiveX.DLL
icon and click the Open button.
2. Make sure that the HYSYS 3.* Type Library checkbox is
selected in the References property view, which is accessed
by selecting References command from the Project menu.
3. In the Properties tiled property view, rename the class
module Saturate, and ensure that the Instancing field is set
to 5-MultiUse.
Figure 3.25
ActiveXDLL icon
Properties tiled property
view