Relax real time requirement on Speedgoat on startup
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Thomas
am 6 Sep. 2024
Kommentiert: Thomas
am 23 Okt. 2024
Hello,
We have a model running on our Speedgoat Unit real-time target machine. Our aim is to run the model at a smaller timestep, we are aiming for a timestep of 0.2ms. Currently, the timestep is 0.66667ms.
I have attached an image from the TET Monitor. As can be seen in the image, for the main model BaseRate (0.00066667s), the min/max TETs are 0.112ms/0.213ms.
I appreciate I cannot run the model at 0.2ms, because the maximum TET is 0.213ms. However, when I am viewing the TET during real time operation, it is always much closer to the minimum, i.e. it never goes above 0.15ms.
I guess it only reaches the maximum TET (0.213ms) when the model is starting up in the first few seconds. Is there any way to relax the real time requirement when the model is first loaded to the simulator? For example if the first second actually takes 10 seconds this is fine as long as it then starts running in real time after. Alternatively, is there any other way to deal with this?
Thanks
0 Kommentare
Akzeptierte Antwort
Dimitri MANKOV
am 1 Okt. 2024
Hello Thomas,
Absolutely, this is possible using the SLRT Overload Options block, either via the "Startup duration" setting (if you'd like to tolerate some overloads specifically at startup) or via the "Max Overloads" parameter.
Note that allowing the CPU of the target computer to overload can cause incorrect results, especially for multi-rate models. Use this block only for diagnostics or to monitor sporadic CPU overloads, not as a tool to avoid systematic CPU overloads!
Hope this helps.
Dimitri
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!