Kindly explain what this warning exactly refers to ?
3 次查看(过去 30 天)
显示 更早的评论
Warning: Block diagram 'A_3_Phase_Inverter_26_11_2013' contains 1 algebraic loop(s). To see
more details about the loops use the command line Simulink debugger by typing "sldebug
A_3_Phase_Inverter_26_11_2013" in the MATLAB command window. To eliminate this message, set
the Algebraic loop option in the Diagnostics page of the Simulation Parameters Dialog to
"None"
> In tst_solar at 23
Found algebraic loop containing:
'A_3_Phase_Inverter_26_11_2013/ /Kp4'
'A_3_Phase_Inverter_26_11_2013/ /Sum6'
'A_3_Phase_Inverter_26_11_2013/ /Saturation2' (discontinuity)
'A_3_Phase_Inverter_26_11_2013/PWM Generator/Switch' (discontinuity)
'A_3_Phase_Inverter_26_11_2013/PWM Generator/Relational Operator' (discontinuity)
'A_3_Phase_Inverter_26_11_2013/PWM Generator/BL4' (discontinuity)
'A_3_Phase_Inverter_26_11_2013/PWM Generator/Data Type Conversion'
'A_3_Phase_Inverter_26_11_2013/Universal Bridge/Model/discrete IGBT/Tail'
'A_3_Phase_Inverter_26_11_2013/powergui/EquivalentModel1/State-Space'
'A_3_Phase_Inverter_26_11_2013/Three-Phase V-I Measurement/Model/VI/Kv'
'A_3_Phase_Inverter_26_11_2013/Sum' (algebraic variable)
This algebraic loop may be resolved when the subsystem option 'Minimize algebraic loop occurrences' is selected on some or all of the atomic and enabled subsystems in this algebraic loop.
Warning: Discontinuities detected within algebraic loop(s), may have trouble solving
0 个评论
回答(1 个)
Walter Roberson
2013-12-5
Often algebraic loops are caused by having outputs feed back as inputs, but without putting a delay block on the outputs, hence leading to the outputs trying to be used as inputs at the same time as the current inputs, where what is wanted is for the outputs to become the inputs on the next cycle.
2 个评论
Walter Roberson
2018-3-26
https://blogs.mathworks.com/simulink/2015/07/18/why-you-should-never-break-an-algebraic-loop-with-with-a-memory-block/
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!