Integration step Issue in Simulink execution
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I'm trying to execute a model of electric machine in simulink, from the scratch.
But it gets really slow, when i press the run button...
In the debug model, the messages presented in the figure bellow, appears.
Anyone know what this mean and, how to fix this situation?
Thanks
0 Kommentare
Antworten (1)
Yoshi Minagawa
am 14 Jul. 2021
Bearbeitet: Yoshi Minagawa
am 14 Jul. 2021
Hi Hugh,
Your simulink model might be stiff-model. The stiff model is a difficult model to simulate and the calculation speed of this model is significantly slower. This problem often occurs when it involves dynamics with different speeds of movement, such as electrical and mechanical. (dynamics of electrical is very fast and mechanical is much slower than electrical)
To solve this problem, you can change solver setting and select the stiff solver for simulation. Please see the picture below.
(The solver with the alphabet written after the solver name is the solver for stiff.)
I hope this will help.
Siehe auch
Kategorien
Mehr zu Simulation and Analysis 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!