Simulink Error Regarding "Ambiguous sorted order detected due to use of triggered subsystem(s) and/or Model blocks in a loop."

3 views (last 30 days)
I am having an issue with my Simulink set-up and I think it stems from my use of the gen-set controller. My solving configuration blocks seem to be in order, my mechanical ports seem to be meshed well, and everything else seems to be okay. Attached are screen shots of my set up.

Answers (1)

Urmila Rajpurohith
Urmila Rajpurohith on 27 Mar 2020
The error that you are encountering is may be due to the input of the triggered subsystem is dependent on its output. Like most algebraic loops, this issue can be solved by adding a "unit delay" to the model.
For more information about using a Unit Delay to solve an algebraic loop, please refer to the following link:

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!