how to write the program for current equations????

20 visualizzazioni (ultimi 30 giorni)
kadiyala
kadiyala il 28 Mar 2013
im having 4 current equations and i have solved them using z transforms.. now i need to write a program for the obtained equations... but im unable to write a program for it since the
iqs(n) depends upon ids(n),idr(n),iqr(n) similarly ids(n)depends on all the other similarly iqs(n) and iqr(n)
plzzzzz help.....
iqs=int{[1/ls]*[vqs-(rs*iqs)-(we*ls*ids+we*lm*ldr)-(lm*d/dt(iqr))]} iqs=(1/ls)*int{[vqs-(rs*iqs)-(we*ls*ids+we*lm*ldr)-(lm*d/dt(iqr))]} iqs*ls = {vqs-(rs*iqs)-(we*ls*ids)+(we*lm*ldr)-(lm*iqr*s)}/s [iqs(ls*s+rs)]/s = {vqs-(we*ls*ids)+(we*lm*ldr)-(lm*iqr*s)}/s DEN s gets cancelled on both sides [iqs(ls*s+rs)] = {vqs-(we*ls*ids)+(we*lm*ldr)-(lm*iqr*s)} now put s= 2.[z-1]/(Ts.[z+1]) on substituting u get, {iqs[ls*2*(z-1)+rs*ts*(z+1)]} = vqs*ts*(z+1)-we*ls*ts*ids*(z+1)+we*lm*ts*idr*(z+1)-2*lm*iqr(z-1) Divide both sides with Z
Z^0 denotes present state i.e n & Z^-1 denotes previous state i.e (n-1)
#######iqs(s)={(ts*(vqs(n)+vqs(n-1)))-(ts*we*ls*(ids(s)+ids(s-1)))+(we*ts*lm*(idr(n)+idr(n-1)))-(lm*2*(iqr(n)-iqr(n-1)))-(iqs(n-1)*(rs*ts-2*ls))} / (2*ls+rs*ts); similarly for other equations.....
#######ids(s)={(ts*(vds(n)+vds(n-1)))+(ts*we*ls*(iqs(s)+iqs(s-1)))+(we*ts*lm*(iqr(n)+iqr(n-1)))-(lm*2*(idr(n)-idr(n-1)))-(ids(n-1)*(rs*ts-2*ls))} / (2*ls+rs*ts);
#######idr(s)={(ts*(vdr(n)+vdr(n-1)))+(ts*we*lr*(iqr(s)+iqr(s-1)))+(we*ts*lm*(iqs(n)+iqs(n-1)))-(wr*lr*ts*(iqr(n)+iqr(n-1)))-(wr*lm*ts*(iqs(n)+iqs(n-1)))-(lm*2*(ids(n)-ids(n-1)))-(idr(n-1)*(rr*ts-2*lr))} / (2*lr+rr*ts);
#######iqr(s)={(ts*(vqr(n)+vqr(n-1)))-(ts*we*lr*(idr(s)+idr(s-1)))-(we*ts*lm*(ids(n)+ids(n-1)))+(wr*lr*ts*(idr(n)+idr(n-1)))+(wr*lm*ts*(ids(n)+ids(n-1)))-(lm*2*(ids(n)-ids(n-1)))-(iqr(n-1)*(rr*ts-2*lr))} / (2*lr+rr*ts);
  1 Commento
kadiyala
kadiyala il 28 Mar 2013
these are the current equations of Doubly Fed Induction Generator...

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by