Algebraic Loop Journey of Understanding

I seem to have introduced an algebraic loop into my model by adding an enable port and a supervisor block to start the model when certain conditions are met. When I debug it seems that the only algebraic loop is through the input and output ports of the enabled block and the enable port itself, rather than any details of the enabled block. Can anyone comment on why it would behave that way?

답변 (1개)

Jarrod Rivituso
Jarrod Rivituso 2011년 4월 29일

0 개 추천

Adding an Enable port to a subsystem makes the subsystem Atomic, so Simulink has to treat the internal contents of the subsystem as indivisible (enable Format -> Block Displays -> Sorted Order to see what I mean).
This has a consequence that sometimes "ghost" algebraic loops are created. Here's a great blog post on the issue:
I would recommend trying what the blog suggests
  1. Right-click the subsystem
  2. Enable the Mimize Algebraic Loop Occurences option
  3. Try simulating again
Good luck!

댓글 수: 1

Jarrod Rivituso
Jarrod Rivituso 2011년 4월 29일
ps - Seth I think you should vote my answer up cause I referenced your blog :)

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

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 Configure Simulation Conditions에 대해 자세히 알아보기

질문:

2011년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by