How to solve algebric loop in a simulink model?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Paul
el 2 de Feb. de 2014
Editada: Paul
el 2 de Feb. de 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 comentario
Seyma Biskin
el 28 de Abr. de 2018
Editada: Seyma Biskin
el 28 de Abr. de 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?
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!