Algebraic loop when impementing switching system dynamics using If-Else Action Subsystems

I have a Simulink model that consists of multiple 'If action subsystems' in a sequence, each modeling a plant with certain dynamics and each feeding the final value of its state as the initial condition to the next plant. The control input to all the plants (subsystems) is a feedback signal. When I try to run the model, I see an error message that says
'Input data dependency validation error'.
Why is this so?

 采纳的回答

Please check the model for any algebraic loops. This is likely a causality problem, where at the first time step, there is no output available to generate the control input. This can be corrected by passing the output feedback signal through a Unit Delay block.   

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

产品

版本

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by