How to avoid algebraic loops in model?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I want to avoid algebraic loop in my model. My model is running in discrete time step with step size of 100usec. To avoid loop I tried using unit delay which resulted in unexpected results. so using delay is not an option for me. Also tried using IC block from simulink library for initializing the signal value but unable to avoid any loop. Please suggest some ways to avoid algebraic loops an discrete time system.
0 comentarios
Respuestas (2)
Ryan G
el 6 de Jul. de 2012
Here are some good tips for algebraic loops:
If you are running a fully discrete model you can explicitly set all the sample times too 100 usec, run the model at a faster rate and set the unit delay to that faster rate so the data will be available at the beginning of the next time step. Not 100% sure how well that will actually work though.
4 comentarios
TAB
el 11 de Jul. de 2012
Editada: TAB
el 11 de Jul. de 2012
@ANKIT
Upload your picture on any image hosting website (like tinypic.com) and link the image in your question, comment or answer(see markup help).
Khim Chhantyal
el 29 de Nov. de 2018
Hi,
I have the similiar problem.
I can avoid algebriac loop using both "Initial condition" block and "unit delay" block.
However, using unit delay, the system response is different AND unfortunately, I can only build an .exe file by using unit delay option.
For .exe file, initial condition block does not remove algebriac loop. :(
Can you please help me with this?
Thanks.
-Khim
0 comentarios
Ver también
Categorías
Más información sobre General Applications en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!