Kindly explain what this warning exactly refers to ?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 5 Déc 2013
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 commentaires
Walter Roberson
le 26 Mar 2018
https://blogs.mathworks.com/simulink/2015/07/18/why-you-should-never-break-an-algebraic-loop-with-with-a-memory-block/
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!