algebraic loop

1 Ansicht (letzte 30 Tage)
Danilo NASCIMENTO
Danilo NASCIMENTO am 20 Dez. 2011
Kommentiert: Sean am 3 Dez. 2014
I'm trying to make an application using Simulink but I'm encountering some mistakes. The output of my subsytem is a derivative of a variable, dw, then I use an integrator to integrate this variable and get w, then I feed back this system with this same variable and I get this message below.
"Cannot solve algebraic loop involving 'novo_modelo/Fuel Cell Stack/Anode Flow Model/Anode' because it consists of blocks that cannot be assigned algebraic variables, i.e., blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems"
Why of this? Am I doing something wrong?

Antworten (2)

Fangjun Jiang
Fangjun Jiang am 20 Dez. 2011
It sounds like that the algebraic loop should not occur since you have an integrator, unless what you described of your model is not accurate.
  7 Kommentare
Danilo NASCIMENTO
Danilo NASCIMENTO am 20 Dez. 2011
Where do I see whether it is atomic or not? And the integrator is within the subsystem.
Danilo NASCIMENTO
Danilo NASCIMENTO am 20 Dez. 2011
The problem is only with the integrator? There are other subsystems that are having the same mistake and they don't have integrator.

Melden Sie sich an, um zu kommentieren.


Guy Rouleau
Guy Rouleau am 21 Dez. 2011
I recommend taking the time to go through the algebraic loop section of the doc:
This section contains multiple examples explaining what is an algebraic loop, an atomic subsystem and why it can lead to "artificial" algebraic loop.
  1 Kommentar
Sean
Sean am 3 Dez. 2014
The link above does not work (as of 12/3/14)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by