What to do if simulink detects nonexistant algebraic loops
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
What can you do, if simulink detects an algebraic loop that simply does not exist? I tried every combination of atomic subsystems and minimize algebraic loop occurences that I could think of. I have a subsystem that has as outputs the outputs of 2 integrators. I have one input. If I feed the input directly into the integrators I don't get an algebraic loop. If I multiply the input with other values that are calculated in the subsystem then I get an algebraic loop. Normally the factors would depend on other inputs. But I have disabled that and replaced all other inputs by constants. Still if I multiply I get an algabraic loop, if I don't all is well for simulink.
The detection is simply wrong. I can simulate with fixed stepsize. But if I simulate with variable stepsize the solver crashes due to minimum stepsize reached.
1 comentario
Fangjun Jiang
el 3 de Mzo. de 2021
submit your model to Mathworks tech support to see if you discovered a bug in algebraic loop detection
Respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements 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!