Main Content

Minimize algebraic loop

Diagnostic behavior when the software is unable to resolve artificial algebraic loops

Model Configuration Pane: Diagnostics

Description

This parameter specifies the diagnostic behavior when the software is unable to resolve an artificial algebraic loop because an input port of an atomic subsystem or model reference has direct feedthrough.

When you select the Minimize algebraic loop occurrences parameter for an atomic subsystem or a Model block, the software attempts to eliminate algebraic loops by checking whether the atomic subsystems or referenced models contain blocks that do not have direct feedthrough before simulating the model. A block has direct feedthrough when one or more of the input ports for the block has direct feedthrough.

Settings

warning (default) | error | none
warning

The software issues a warning.

error

The software issues an error and terminates the simulation.

none

The software does not issue a diagnostic.

Tips

  • When a port on an atomic subsystem or model reference is part of an artificial algebraic loop, the software can eliminate the algebraic loop only when at least one other input port in the loop does not have direct feedthrough.

  • The software cannot eliminate artificial algebraic loops that contains signals designated as test points. For more information, see Working with Test Points.

Recommended Settings

ApplicationSetting
DebuggingNo impact
EfficiencyNo impact
TraceabilityNo impact
Safety precautionerror

Programmatic Use

Parameter: ArtificialAlgebraicLoopMsg
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Version History

Introduced before R2006a