Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Algebraic loop problem

Status
Not open for further replies.

Kilmore

Computer
Joined
Jun 5, 2008
Messages
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
 
Schoolwork is not allowed

TTFN

FAQ731-376
 
It is not schoolwork for I do not ask anyone to actually do the whole work for me. I just wish to know how to react in such situation when algebraic loop occurs. Usual school examples are plain and do not involve any problems of this kind.
 
I'm not sure why you're calling a system of differential equations an "algebraic loop."

I suggest that you read the help file on how to set up solutions to differential equations.

TTFN

FAQ731-376
 
How did you model that? it shouldn't be a problem if it is made correct
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top