MATLAB: Reducing the error tolerance

error tolerance

The error is:-
Trouble solving algebraic loop containing 'mymodel/SSSC/CLOSED LOOP CONTROL SYSTEM/Subtract2' at time 0. 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
How to solve this problem? Please help.

Best Answer

If it happens at time 0, you definitely have an algebraic loop. See Algebraic Loops.
There are many ways to solve it. But in this case, I believe it is your design problem. You need to double check your model to see if its the correct design.
Related Question