Model Settings
Before setting up the model for RITM, add the RITM machine to Engee as shown in article.
The RITM model is configured in the Engee workspace. Specify the RITM in the target platform selection window .
After selecting RITM as the target platform, the window will change its appearance:
In settings window The "RITM" tab will appear. It allows you to set the parameters of the model for the RITM:
-
Enable Overrun Detection — activates monitoring for exceeding the time of the calculated step of the model.
-
Action on overrun — if overflow detection is enabled, then two options are available:
-
Terminate — stops the model after a specified number of overflows. The threshold is set in the parameter Terminate model after this number of overruns (see below).
-
Notify — displays a message about the overflow of the calculation step.
-
-
Terminate model after this number of overruns — applies only when an option is selected Terminate and sets the maximum number of overflows, after which the model stops working.
-
Enable Task Execution Time calculation — activates the calculation of TET (Task Execution Time) and displays this value on the monitor, to the right of the value of Model Time:
-
If this option is disabled, the model does not transmit data on the time of the calculation step to the RITM.
-
If this option is enabled, the duration of each calculation step is monitored on the RITM.
-
-
Enable execution profiling — activates the collection of data on the execution time of each calculation step and saves them to the file `/home/ritm/build/<model name>/<model name>_profile.txt `there’s a RITM on the car
-
Number of profiling points to log — determines how many steps will be recorded in the file. By default, the execution time of the last
400
steps is fixed.