Simulink - Warning algebric loop

Thread Starter

Adam Brave

Joined Mar 26, 2014
13
Hi,

I've a circuit on simulink where I collect three phase currents and voltages from a measuremnt bus and then use them in blocks of abc-to-dq transformation. When I run the circuit for the first time I get the following message:

Rich (BB code):
    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.
So, I check the option "minimize algebric loop occurrences and then I get the following message:

Rich (BB code):
Warning: If the inport 'dfig_controloGSC_v2/Controlo GSC/Iabc' of subsystem 'dfig_controloGSC_v2/Controlo GSC'
involves direct feedback, then an algebraic loop exists, which Simulink cannot remove. Consider clearing the
'Minimize algebraic loop occurrences' parameter to avoid this warning. 
> In testeGSC at 65
  In run at 74
Warning: If the inport 'dfig_controloGSC_v2/Controlo GSC/Vabc' of subsystem 'dfig_controloGSC_v2/Controlo GSC'
involves direct feedback, then an algebraic loop exists, which Simulink cannot remove. Consider clearing the
'Minimize algebraic loop occurrences' parameter to avoid this warning.
I think this loop is affecting my results but I need to do the abc-to-dq transformation. How can I solve this? Would a block delay help in this situation?

Thanks in advance
 

ActivePower

Joined Mar 15, 2012
155
It is likely that you are looping back onto a single connection without meaning to. In other words, you've probably tied a signal back onto itself or a similar signal which makes the compiler unable to decide the correct discrete value of the result.

I know this sounds vague but your images don't seem to convey everything you have inside your subsystem. Look around and with some luck, you'll be able to narrow it down.

HTH.
 
Top