How to solve an algebraic loop without adding a delay?
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have built a feedforward control system in Simulink like below. There exist a algebraic loop in the circled part where the two inputs have buffers with size 5 and the output is a buffer with size 1 convering the 1x5 vector to scalar. This error could be solved by adding a memory but the time delay caused by the memory mixes up the final result.
Is there any method I could use to solve this algebraic loop error without adding a time delay?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/839295/image.jpeg)
0 comentarios
Respuestas (1)
Sivani Pentapati
el 4 de En. de 2022
Hi Yidan,
Based on my understanding you want to eliminate algebraic loops in your model without using delay block. This can be done by solving algebraic loops manually, where you would specify an initial guess for an algebraic state or an algebraic state variable.
You can also try enabling "Minimize algebraic loop occurrences" option where simulink tries to eliminate artificial algebraic loops. Please refer to this answer for more information on addressing algebraic loops.
0 comentarios
Ver también
Categorías
Más información sobre General Applications en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!