Hello, I'm getting the following error while trying to compute my simulation. I've tried to change the solver but I didn't really help. The problem is that this model do actually work on Matlab 2009b, but it fails to compute on Matlab 2017a, which is my objective. Could you possibly help me with this error?
Error using test7_poscig_a (line 20)Simulink cannot solve the algebraic loop containing 'Metody_test7_a/Derivative3' at time5.4656330917168992E-8 using the TrustRegion-based algorithm due to one of the followingreasons: the model is ill-defined i.e., the system equations do not have a solution; or thenonlinear equation solver failed to converge due to numerical issues. To rule out solver convergence as the cause of this error, either a) switch to LineSearch-based algorithm using set_param('Metody_test7_a','AlgebraicLoopSolver','LineSearch') b) reducing the ode113 solver RelTol parameter so that the solver takes smaller time steps. If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.
Best Answer