Why do I receive a warning message when I enable the "Minimize algebraic loop occurences" setting of a model used as model reference into another model in Simulink 7.4(R2009b)?

1 view (last 30 days)
I have a model that incorporates Model referencing to refer to another model.
When I enable the "Minimize algebraic loop occurrences" option in the referenced model, I receive the following error:
Unable to remove algebraic loops for 'Minimize algebraic loop occurrences' CO2ModelTestD model referencing parameter. An algebraic loop will occur if direct feedback exists involving model input corresponding to CO2ModelTestD/InsCO2.
My model does not contain algebraic loop.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Jun 2012
This change has been incorporated into the documentation in Release 2011a (R2011a). For previous releases, read below for any additional information:
The "Minimize Algebraic Loop occurrences" option is unchecked by default and it should be enabled only when algebraic loops are detected in the model, so that they can be minimized by Simulink.
This warning is displayed when the "Minimize Algebraic Loop occurrences" option is enabled and the Model Reference block contains direct feedthrough path. This error message is displayed to inform the user that if he uses the output of the Model Reference block to compute its input, an algebraic loop will occur and it will be impossible to minimize it.
This diagnostic can be set to 'none', 'warning' or 'error' in the diagnostic section of the model configuration pane.
In some cases, the referenced model does not contain any direct feedthrough path and the "Minimize Algebraic Loop occurrences" algorithm can fail. For an example of such situation, download the attached model "MainModel.mdl" and the model it refers to "RefModel.mdl"
For more details on algebraic loops and direct feedthrough blocks, you can click on the link below.
<http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f7-8243.html#f7-19688>

More Answers (0)

Categories

Find more on Configure and View Diagnostics in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2008b

Community Treasure Hunt

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

Start Hunting!