
7-22 Creating an ACM Model
7-22
The Simulation Engine page also allows you to record
commands that you enter and play them back again later using
the Script Manager.
If you always need to make certain changes to the model before
it solves, you can also create a User Variable inside the ACMOp
to execute certain commands. For example, to always switch to
the DMO solver before the ACMOp solves, you could write the
following user variable method:
Sub PreExecute()
Dim test As ACMOp
Set test = ActiveCase.Flowsheet.Operations()("ACMOp-100")
test.ExecuteOOMFScriptCommand("solver dmo ")
End Sub
Komentáře k této Příručce