Defining Logic > Statements > Animate

Animate

The ANIMATE statement sets the simulation’s animation speed. The higher the value, the faster the animation. ANIMATE is used primarily to speed up or slow down a model for cursory or detailed observation whenever a particular condition is encountered. Another common use is to set the animation speed to 100 in the Initialization Logic to rapidly advance the simulation to some point in time. The statement has valid use within any logic.

 

The following are examples of the ANIMATE statement:

ANIMATE <expression>

ANIMATE 85

ANIMATE Var1

Components

Speed — the new speed of the animation. If an expression or variable is used with the statement, the expression or variable must evaluate to any number from 0 through 100, inclusively, and it is evaluated every time the ANIMATE statement is encountered. A value of 0 will disable the animation.


© 2015 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com