slow simulation because of integrator

2 views (last 30 days)
Magda
Magda on 15 Sep 2023
Commented: Sam Chak on 16 Sep 2023
Hi! My simulink system could not simulate all values, so simulink provided a link so all values could be simulated in the integrator, but now the system is simulated very slowly because of the integrator. How can I get simulink to simulate normally again.

Answers (1)

Sam Chak
Sam Chak on 15 Sep 2023
Since no details are provided to describe why the simulation is slow, I can only guess that the system is stiff. To address this issue, either remove the stiffness or use a stiff ODE solver.
  2 Comments
Magda
Magda on 15 Sep 2023
Hi Sam! Okay will try, but do you know if there are any possibility to reverse that link i clicked on?
Sam Chak
Sam Chak on 16 Sep 2023
Could you specify the link that you clicked?
You can also find examples of solving stiff systems at this link:

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!