How do I eliminate an algebraic loop?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I am simulating a mechanical system in SimMechanics with a controller in Simulink. The solver is unable to solve an algebraic loop highlighted:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167438/image.png)
Is there a solution to this? I tried adding a memory block, but simulation results change.
Kind regards, Maciej
0 commentaires
Réponses (1)
Siddharth Jawahar
le 27 Sep 2017
Modifié(e) : Siddharth Jawahar
le 27 Sep 2017
Adding a memory block might not be a good idea depending on the nature of your model. For more information look at Guy's blog.
Check if there any direct feed throughs in the simulink simscape interface if there are look to remove them. Also the link below gives valuable hints on avoiding algbraic loops in a simscape model: Algebraic loops
0 commentaires
Voir également
Catégories
En savoir plus sur General Applications dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!