
5-14 User Variables Tabs
5-14
5.6.1 Macros Tab
The Macros tab lists the macros that can be enabled for the
variable currently being edited. The macros listed on the left
side of the tab vary depending on the level within your
simulation that the User Variable was created. These macros are
described in the following table:
Enable the macro by selecting the checkbox to the right of the
macro name, as shown in the figure below. This User Variable is
attached to a flowsheet object and, as such, has a Pre-Execute
and Post-Execution macro. Once selected, the empty sub-
routine code for the macro is initialized in the Code Editor.
Object Macros
Flowsheet
Object
PreExecuted. Invoked when the Steady State solver is
about to execute the flowsheet object that owns this
variable.
PostExecuted. Invoked immediately after the Steady
State solver executes the flowsheet object that owns this
variable.
Flowsheets PreSolve. Invoked before the Steady State solver begins
solving the flowsheet.
PostSolve. Invoked after the Steady State solver
completes the flowsheet solution.
Simulation
Case
Run. Explicitly invoked when the Run button on the
Simulation Case User Variables property view is clicked.
Figure 5.13
Comentários a estes Manuais