simulation error of in simulink model. when Simulation is executed an error log is displayed which shows that there is an algebraic loop error in program which stops simulation. wants to know the reason and its solution

im simulatng a system containing plant, inverse model and MPC conrtoller. initially ot starts to work but suddenly generates an error log which says:
"Trouble solving algebraic loop containing (simulink modelname /block name)at time (a time such as 5 10 or 100 is shown). Stopping simulation. 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 highlights a particular block. the issue is resolved if a place a discrete time delay with the block somehow. i need to know the reason why should i add a delay? what is the impact of this delay? and what is meant by this error

This question is closed.

Asked:

on 2 Apr 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!