Integration step Issue in Simulink execution

조회 수: 4 (최근 30일)
Hugh Antun
Hugh Antun 2021년 7월 12일
댓글: Hugh Antun 2021년 7월 14일
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

답변 (1개)

Yoshi Minagawa
Yoshi Minagawa 2021년 7월 14일
편집: Yoshi Minagawa 2021년 7월 14일
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.
  댓글 수: 1
Hugh Antun
Hugh Antun 2021년 7월 14일
Nothing change... It remains slow.
Anyway, thanks for the answer

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by