Hi,
I have a problem in my simulink model, simulation fail because of an algebraic loop according to the simulation diagnostic. I tried a lot of things but it didn't worked.
I think simulink try to solve the "chicken an egg" problem, i tried to set an initial value but nothing worked.
Thanks for your help

 Respuesta aceptada

Sebastian Castro
Sebastian Castro el 23 de Abr. de 2015

1 voto

Instead of using Algebraic Constraint blocks to try guide the initial condition of the algebraic loop solver, you could try break the loop with a low-pass filter (Transfer Fcn block in the Continuous library).
Just make sure that the cut-off frequency of this filter is large enough that it doesn't affect the dynamics of your actual system.
For example, if you know your system has frequencies up to 1000 Hz, try put the filter frequency at like... 5000 Hz or so.
- Sebastian

2 comentarios

jonas house
jonas house el 23 de Abr. de 2015
Movida: Walter Roberson el 20 de En. de 2025
It could work, I will try that. Anyway by reducing the step size of the simulation it works great, but the simulation time becomes very high.
Thanks
Pallavi
Pallavi el 20 de En. de 2025
Movida: Walter Roberson el 20 de En. de 2025
I have trying to simulate my model for 1ms but the algebraic loop doesnot allow it, I tried using unit delay it makes the system totally unstable. I tried adding low pass filter with cutoff frequency 300Hz. The low pass filter alone didnot eliminate the algebraic loop so I added unit delay followed by algebraic loop in the feedback; however my system is as unstable as before. Is there any solution?

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Etiquetas

Preguntada:

el 22 de Abr. de 2015

Movida:

el 20 de En. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by