A program to recognize and reward our most engaged community members
Hello Altair team,
I tried to run a simple model in Activate and got the error about an algebraic loop. Could you please provide me some ideas how I can avoid that?
Hi Taras,
Algebraic loops occur when the present-state calculations depend on the present-state output.
Firstly, I'd recommend you to double-check your transfer functions before using the workaround that I'll tell you.
I didn't see any integration in your dynamic system, and all the transfer functions are with 's' numerator. Anyway, you can introduce a transfer function with the following format TFunction = tf([1],[1,1]) right before you feedback gain:
You can also replace this TF by using a Memory Block and change your Solver on Setup.
Hope it helps you,
João.
I have used the Loop Breaker. Is it correct to use it in this case?
Yes, it can be used too!
The idea here is somehow avoid that the 'unknown' output in the first step will be used as input.
I mentioned adding a delay signal, but using this block is a great workaround too.
Yes, it can be used too! The idea here is somehow avoid that the 'unknown' output in the first step will be used as input. I mentioned adding a delay signal, but using this block is a great workaround too.
Thanks for your answers.