Kilmore
Computer
- Jun 5, 2008
- 3
I tried to model following two equations in Simulink but it says (correctly) there is algebraic loop there. I need i3 to calculate di2/dt, but i3 needs di2/dt to be calculated... What to do about it? Thanks for any help.
L di2/dt + (R1+R2) i2 + 1/C1 int(i2)dt + R1 i3 + 1/C1 int(i3)dt = u
R3 i3 + 1/C2 int(i3)dt - L di2/dt - R2 i2 = 0
L di2/dt + (R1+R2) i2 + 1/C1 int(i2)dt + R1 i3 + 1/C1 int(i3)dt = u
R3 i3 + 1/C2 int(i3)dt - L di2/dt - R2 i2 = 0