algebric loop error while running

7 ビュー (過去 30 日間)
abdelrahman mubarak
abdelrahman mubarak 2018 年 5 月 6 日
回答済み: Birdman 2018 年 5 月 7 日
An error occurred while running the simulation and the simulation was terminated Caused by: Simulink cannot solve the algebraic loop containing 'untitled/PV Panel/PV Array/Diode Rsh/Product5' at time 0.0004 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 ode23t 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.

回答 (1 件)

Birdman
Birdman 2018 年 5 月 7 日
Add a Delay or Unit Delay block in front of the Product5 block in your model to solve the issue.

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by