Cannot solve due to algebraic loop involving

14 ビュー (過去 30 日間)
FAIZ UL HASSAN
FAIZ UL HASSAN 2023 年 5 月 11 日
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 Center および File ExchangeConfigure Simulation Conditions についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by