I have a system where simulink complains about algebraic loops, however in runtime algebraic loops will never occur. Is it possible to ignore the error?
The model have the same properties as below. There are two switches which will make an algebraic loop if both switched on, but this will never switch in runtime. Simulink cannot solve it since the value is complex.
The error message is: Cannot solve algebraic loop involving 'complexAlgebraicLoop/Sum' because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop.