Kindly explain what this warning exactly refers to ?

조회 수: 3 (최근 30일)
arunav ray
arunav ray 2013년 12월 5일
댓글: Walter Roberson 2018년 3월 26일
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

답변 (1개)

Walter Roberson
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
Youcef BOUNADJA
Youcef BOUNADJA 2018년 3월 26일
plz how to do that ?
Walter Roberson
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 CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by