Guy on Simulink

Simulink & Model-Based Design

Causes of Algebraic Loops

A lot of people ask the question, "Why does my model have an algebraic loop?" Of course, every model is different, but here are some general truths about algebraic loops:

  1. Real physical systems don't have algebraic loops.
  2. If you model a physical system and get an algebraic loop, there is probably something missing in the model.
  3. Modeling short cuts simplify a simulation and make it more efficient, but can introduce algebraic loops.
  4. Sensors and actuators are commonly ignored, especially for low fidelity models. These are ideal places to introduce delay into your system and break the loop.

Simulink models with missing sensors might encounter an algebraic loop if there is direct feed-through in the plant model.

Sensor Contest

Speaking of sensors, the 2010 Spring MATLAB programming contest started yesterday and is titled Sensor!

The topic of this contest is compression sensing technology for digital images. You have until Wednesday, May 5th, to look at the rules and create your submission.

You would like to be informed in advance of future programming contests? Visit the MATLAB Programming Contest Blog to get updates automatically.

Good luck!

Good luck fixing your algebraic loops, and entering the Sensor contest! Questions about algebraic loops? Leave a comment here and I'll try to answer.

  • print
  • send email


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.