Please support me to solve this problem because the simulation stopped after 3.76 sec from starting by this error..?
2 views (last 30 days)
Show older comments
ibrahim elmohamady_Egypt on 7 May 2016
Commented: tret retret on 17 Jan 2020
An error occurred while running the simulation and the simulation was terminated
Simulink cannot solve the algebraic loop containing 'untitled/PV Array/Diode Rsh/Product5' at time 3.7605000000000004 using the TrustRegion-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 LineSearch-based algorithm using set_param('untitled','AlgebraicLoopSolver','LineSearch') b) reducing the ode45 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.
Walter Roberson on 8 May 2016
What happened when you used the command
and then re-ran?
I get the message :
what does it mean?
Warning: Changing property 'AlgebraicLoopSolver' is not allowed
Find more on Computational Fluid Dynamics (CFD) 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!