Effacer les filtres
Effacer les filtres

What to do if simulink detects nonexistant algebraic loops

1 vue (au cours des 30 derniers jours)
Balazs Fischer
Balazs Fischer le 3 Mar 2021
Commenté : Fangjun Jiang le 3 Mar 2021
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 commentaire
Fangjun Jiang
Fangjun Jiang le 3 Mar 2021
submit your model to Mathworks tech support to see if you discovered a bug in algebraic loop detection

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by