If i run PV model in matlab I have face this problem. Pls guide me how to solve this error. if I increase the time 1e-7 simulation is running but very slow.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
An error occurred while running the simulation and the simulation was terminated Caused by: Simulink cannot solve the algebraic loop containing 'pv970kw/PV Array 1/Diode Rsh/Product5' at time 5.0E-5 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('pv970kw','AlgebraicLoopSolver','LineSearch') b) reducing the VariableStepDiscrete 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.
2 commentaires
keyur acharya
le 28 Mar 2018
Modifié(e) : keyur acharya
le 28 Mar 2018
hi,were you able to solve the problem? if yes please share the solution. I am also facing the same issue.
Shashank Kumar
le 1 Août 2018
Place a unit delay block in Simulink model between the blocks where algebraic loop occurs. I hope this will help you.
Réponses (1)
Shashank Kumar
le 1 Août 2018
Place a unit delay block in Simulink model between the blocks where algebraic loop occurs. I hope this will help you.
Voir également
Catégories
En savoir plus sur Configure Simulation Conditions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!