Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Simulation for Foxboro Control

SimSync Engine Time Slice Behavior

  • Last UpdatedApr 20, 2020
  • 1 minute read

The parameter governing the number of time steps (slices) per second is configured in the SimSyncEngine’s initial setup to synchronize its time with the SimExecutive. The default value is 1 for Simulation time step and 10 for Number of time slices (resolution). These default values produce 10 slices of approximately 100 ms each. Adjust these values, if needed, but ensure that they are integers. The engine tries to space the number of slices per second equally.

For example, if a configured engine is set to 10 slices per second at 100% simulation speed, each slice is 100 ms. If the simulation speed increases to 200%, each slice is 50 ms.

Upon each step, the simulation updates the time step based on the calculated time step. With the simulation set to 10 slices per second, the updated time is 100 ms per slice. At 20 slices per second, the updated time is 50 ms per slice.

As the simulation speed increases, the possibility of overruns (when the calculation steps are not completed in the set time) increases. The SimSyncEngine is designed to limit the engine from performing constant overruns. The minimum sleep time increases until the rate of overruns occurring is less than 1 per 30 seconds. The minimum simulation speed of the engine is 100% at a requested 100% or greater simulation speed. This behavior affects the alarm time stamps – see Alarm Time Stamps below.

TitleResults for “How to create a CRG?”Also Available in