Speed up the simulation

There are two modes to run the simulation. Experiment with the two modes (continuous and step mode) to find the appropriate method for your simulation.

Continuous mode. Use the slider to speed up the MPCPro block execution by an execution multiplier in continuous mode. The time scale scrolls continuously based on the multiplier.

Step mode. Use step mode to execute a selected number of MPCPro block executions. The time scale advances based on the number of executions (in seconds). For example, if the number of steps is set at 2, the block executes twice and the time scale advances 2 seconds. (The default number of steps is the time span of the future area.)

tips
  • The status bar above the Mode and Simulation Controls pane tells you which mode you are currently operating in.
  • Click the Pause button to change the number of steps when you switch from continuous mode to step mode.
  • Double-click the number of steps field to enter a new value.
  • Use the Run button to start the MPCPro block execution in continuous mode.
  • When the History button is selected, all parameter transitions are displayed in the trend, regardless of the execution multiplier setting (typically 1-100, based upon module execution time). For example, at a 1 second execution time, a multiplier setting of 100 shows 100 seconds of parameter changes on the graph every second.When the History button is not selected, higher execution speeds are permitted (typically 1-2000, based upon module execution time). During this mode, parameter transitions are displayed only after execution completes. For example, at a 1 second execution time, a multiplier setting of 100 shows only the ending value after 100 executions on the graph every second. The primary reason to not select the History button is to ignore long deadtimes, and just drive the process to a setpoint quickly (without caring to view how it got there).