Filter löschen
Filter löschen

Cannot solve due to algebraic loop involving

17 Ansichten (letzte 30 Tage)
FAIZ UL HASSAN
FAIZ UL HASSAN am 11 Mai 2023
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 ?

Antworten (1)

Selena Mastrodonato
Selena Mastrodonato am 11 Mai 2023
Hi @FAIZ UL HASSAN, try to add a Unit delay block.
  8 Kommentare
FAIZ UL HASSAN
FAIZ UL HASSAN am 12 Mai 2023
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 am 12 Mai 2023
Could you please attach the model?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by