
User Variables 5-27
5-27
5. Edit the enumeration values by clicking the Enumeration
Values button. Create two labels in the left column of this
property view named Not Yet Run and Has Run; assign the
values 0 and 1 to them, respectively.
6. When completed as shown in the figure above, click the OK
button.
7. On the Attributes tab, select the Automatic radio button in
the Activation group. This creates the variable in all current
and future instances of pumps in your simulation case.
Figure 5.26
The Label names are not important, but the numeric values
of the two must match the NotYetRun and HasRun constants
used in the associated code.
Komentáře k této Příručce