필터 지우기
필터 지우기

Cannot solve due to algebraic loop involving

조회 수: 17 (최근 30일)
FAIZ UL HASSAN
FAIZ UL HASSAN 2023년 5월 11일
댓글: Selena Mastrodonato 2023년 5월 12일
Cannot solve algebraic loop involving 'Model_Test/Controller' because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop.
Component:Simulink | Category:Model error
Algebraic loop error with 'Model_Test/ Model '
Component:Simulink | Category:Model error
Algebraic loop error with 'Model_Test/Controller'
How to fix this error ?

답변 (1개)

Selena Mastrodonato
Selena Mastrodonato 2023년 5월 11일
Hi @FAIZ UL HASSAN, try to add a Unit delay block.
  댓글 수: 8
FAIZ UL HASSAN
FAIZ UL HASSAN 2023년 5월 12일
Initial condition for output graph to start from (non zero value) and yes I tried ode15s (stiff/NDF) with different values of relative and absolute tolerance. I already added unit delay for algebraic loop.
Selena Mastrodonato
Selena Mastrodonato 2023년 5월 12일
Could you please attach the model?

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

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by