Minimize algebraic loop
Description
Select the diagnostic action to take if artificial algebraic loop minimization cannot be performed for an atomic subsystem or Model block because an input port has direct feedthrough.
When you set the Minimize algebraic loop occurrences parameter for an atomic subsystem or a Model block, if Simulink® detects an artificial algebraic loop, it attempts to eliminate the loop by checking for non-direct-feedthrough blocks before simulating the model. If Simulink cannot minimize the artificial algebraic loop, the simulation performs the diagnostic action specified by the Minimize algebraic loop parameter.
Category: Diagnostics
Settings
Default:
warning
none
Simulink takes no action.
warning
Simulink displays a warning that it cannot minimize the artificial algebraic loop.
error
Simulink terminates the simulation and displays an error that it cannot minimize the artificial algebraic loop.
Tips
If the port is involved in an artificial algebraic loop, Simulink software can remove the loop only if at least one other input port in the loop lacks direct feedthrough.
Simulink software cannot minimize artificial algebraic loops containing signals designated as test points (see Working with Test Points).
Command-Line Information
Parameter:
ArtificialAlgebraicLoopMsg |
Value:
'none' | 'warning' |
'error' |
Default:
'warning' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Efficiency | No impact |
Traceability | No impact |
Safety precaution | error |