Algebraic loop Problem at Simulink

Hi,
I am working on a problem containing 7 differential equations in which all the outputs of each equation are at the same time inputs of them. Therefore when I try solving the problem, it appears an error message "Trouble solving algebraic loop containing 'model_name' at time 2.10470..." Please how to use IC block on my model, or another solution ??
Thanks for your answers.

Respuestas (1)

Titus Edelhofer
Titus Edelhofer el 3 de Nov. de 2011

0 votos

Hi,
the fact that the input is needed should not be a problem. I did not download the model (since I have no Simulink right here), but this problem typically arises when one uses differential blocks instead of integrators. If this is a case, take a look at model vdp as an example how to use integrators to build the differential equations.
Titus

1 comentario

Victor
Victor el 3 de Nov. de 2011
I have used integrators block to describe the equations. This is not the problem, the problem is that simulink doesn't really know where exactly it has to start calculating( I guess) because all the equations have therms involving results from other equations, is like a big Loop.
Can you have a look at the model, and tell me something ??
Do you know if I can apply IC Block to my model ? How ?
Thanks !!!

Iniciar sesión para comentar.

Preguntada:

el 3 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by