How to solve algebric loop in a simulink model?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I built up a full vehicle simulink model. After running the simulation i am getting the error as Algebraic state in algebraic loop containing '...../Product33' computed at time 0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).Ireduced the fixed step size but the message error appear again.please is there some one help me to remove this error.thanks in advance.
0 commentaires
Réponses (1)
Paul
le 2 Fév 2014
Modifié(e) : Paul
le 2 Fév 2014
Put a delay or memory block in the signal of the variable which gives the algebraic loop. The problem is that you probably use a signal which is the output of a block and at the same time also an input of it (or at least used for calculation of the input). By using a delay/memory block you delay the output 1 step, thus the input is known.
1 commentaire
Seyma Biskin
le 28 Avr 2018
Modifié(e) : Seyma Biskin
le 28 Avr 2018
Hello, I have also same problem, here is the error: Algebraic state in algebraic loop containing 'micro_grid_last/PV Array/Diode Rsh/Product5' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
And pv array is not editable and we cannot insert unit delay or memory. Do you know how to solve this?
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!