Cannot solve due to algebraic loop involving

18 visualizaciones (últimos 30 días)
FAIZ UL HASSAN
FAIZ UL HASSAN el 11 de Mayo de 2023
Comentada: Selena Mastrodonato el 12 de Mayo de 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 ?

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Configure Simulation Conditions en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by