Simulink cannot solve the algebraic loop

2 views (last 30 days)
Maryam
Maryam on 7 Dec 2015
Hi I try to simulate a regenerative brake system for an electric vehicle. I recive the following error: Simulink cannot solve the algebraic loop containing 'RGB/DCDC/Solver Configuration/EVAL_KEY/OUTPUT_1_0' at time 144.14439749058252 using the LineSearch-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues. To rule out solver convergence as the cause of this error, either a) switch to TrustRegion-based algorithm using set_param('RGB','AlgebraicLoopSolver','TrustRegion') b) reducing the ode23t solver RelTol parameter so that the solver takes smaller time steps.
Actually I did the second recommendation for reduceding the step size but it doesnt work. About the first one I dont know how should I apply it. Please help me to solve the problem.
Regards

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!