Algebraic state in algebraic loop containing 'new_arcmodel/Subsystem/Divide3' 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
Mostrar comentarios más antiguos
singularity problem
1 comentario
San
el 4 de Mayo de 2017
i think the block of 'delay' may help you.
Respuestas (1)
Sebastian Castro
el 11 de Ag. de 2015
Without having any information about your model (Screenshot or the file itself), that Divide3 block in the error message is part of an algebraic loop.
Algebraic loops happen when the input to a block depends directly on its output -- for instance, in your Divide block, one of the inputs probably is in feedback. The main problem here is that, because of initial conditions, you are trying to divide by zero right at the beginning of the simulation, and this is causing you errors.
In general, you should have some kind of mechanism that prevents divisions by zero. You should also try remodel the system so it doesn't have an algebraic loop (or add a delay if it's acceptable for this particular model).
Sebastian
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!