
3-46 Extension Property Packages
3-46
5. You can now go to the Reactions tab of the Simulation Basis
Manager property view and add a VinylAcetate Reaction
Extension from the Reactions property view.
3.9 Extension Property
Packages
You can put your own physical property calculations into HYSYS
as an Extension Property Package, which appears to the user as
any other property package in the program.
HYSYS makes calls to property packages under a number of
different situations. Calls are made in both Steady State and
Dynamics mode.
To implement an Extension Property Package, you must
implement two interfaces:
Many different methods must be supported by Extension
Property Packages; however, depending on what functionality is
supported, certain methods may be left unimplemented. The
extension must let its container know which features it supports
through the ExtensionPPkgInit structure passed to the extension
in its Initialize method.
Figure 3.24
Interface Description
ExtensionObject Called when the property package extension
is added to the simulation.
ExtnPropertyPackage Called when the property package extension
is used.
Komentáře k této Příručce