How do I eliminate an algebraic loop?

Hi,
I am simulating a mechanical system in SimMechanics with a controller in Simulink. The solver is unable to solve an algebraic loop highlighted:
Is there a solution to this? I tried adding a memory block, but simulation results change.
Kind regards, Maciej

Respuestas (1)

Siddharth Jawahar
Siddharth Jawahar el 27 de Sept. de 2017
Editada: Siddharth Jawahar el 27 de Sept. de 2017

0 votos

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

Categorías

Preguntada:

el 22 de Sept. de 2017

Editada:

el 27 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by