how to solve algebraic loop problem??

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일

1 개 추천

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?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2013년 5월 10일

댓글:

2016년 6월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by