how to solve algebraic loop problem??

26 ビュー (過去 30 日間)
Tina
Tina 2013 年 5 月 10 日
コメント済み: Lambros Lambrou 2016 年 6 月 28 日
in my simulink block to simulate a solar cell, i am getting this error, please help me to solve this: Simulink cannot solve the algebraic loop containing 'entireblock2/(V+IRs)//Rsh' at time 0.0 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('entireblock2','AlgebraicLoopSolver','TrustRegion') 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

回答 (1 件)

Chandrasekhar
Chandrasekhar 2013 年 5 月 10 日
add a unit delay block in the feedback path
  1 件のコメント
Lambros Lambrou
Lambros Lambrou 2016 年 6 月 28 日
By using the unit delay then i got nan values... Why?

サインインしてコメントする。

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by