symbolic solve not giving solution
2 次查看(过去 30 天)
显示 更早的评论
clc;
syms Iqs Ids Vqr Vdr Idr Iqr wr Eqp Edp
syms x4 x5 x6 x7 Vd Td VL Tl Pgen Qgen Ia Ib
Eq1=(13229684*Vdr)/35859 - (5344789812969813349*Ids)/1682235198311235584 - (33176*Eqp)/35859 + 377*Edp*(wr - 1);
Eq2=(5344789812969813349*Iqs)/1682235198311235584 - (33176*Edp)/35859 - (13229684*Vqr)/35859 - 377*Eqp*(wr - 1);
Eq3=(2422776927211974619*exp(7/16 - 900/(377*wr))*(1584/(325*wr) - 4983/2500))
/(34359738368000000*wr) - (377*Eqp*Iqs)/4 - (377*Edp*Ids)/4;
Eq4=(131133806853362731567045*wr^3)/151115727451828646838272 - 5*Pgen;
Eq5= (131133806853362731567045*wr^3)/151115727451828646838272 - 5*Iqr - 5*Pgen + 5*x4;
Eq6= -5*Qgen;
Eq7= 5*x6 - 5*Qgen - 5*Idr;
Eq8=(26226761370672546313409*wr^3)/151115727451828646838272 - Iqr - Pgen - Vqr + x4 + x5;
Eq9=x6 - Qgen - Vdr - Idr + x7;
Eq10=- (203*Ids^2)/20000 + Edp*Ids - (203*Iqs^2)/20000 + Eqp*Iqs - Pgen - Idr*Vdr - Iqr*Vqr;
Eq11= - (271475720827549*Ids^2)/2251799813685248 + Eqp*Ids - (271475720827549*Iqs^2)/2251799813685248 - Edp*Iqs - Qgen;
Eq12=(2500*Eqp)/8773 - Idr + (35092*Ids)/35859;
Eq13= (35092*Iqs)/35859 - Iqr - (2500*Edp)/8773;
Eq14=Eqp - (271475720827549*Ids)/2251799813685248 - (203*Iqs)/20000 - Vd*cos(Td);
Eq15= Edp - (203*Ids)/20000 + (271475720827549*Iqs)/2251799813685248 + Vd*sin(Td);
Eq16=VL*sin(Tl)*(Ids - Ib + (sin(Td)*(Idr*Vdr + Iqr*Vqr))/Vd) - VL*cos(Tl)*(Ia + Iqs - (cos(Td)*(Idr*Vdr + Iqr*Vqr))/Vd) + 1/2;
Eq17=1/10 - VL*cos(Tl)*(Ids - Ib + (sin(Td)*(Idr*Vdr + Iqr*Vqr))/Vd) - VL*sin(Tl)*(Ia + Iqs - (cos(Td)*(Idr*Vdr + Iqr*Vqr))/Vd);
Eq18=Ib/10 - Ia/10 - Ids/10 - Iqs/10 - VL*cos(Tl) + Vd*cos(Td) + (cos(Td)*(Idr*Vdr + Iqr*Vqr))/(10*Vd) - (sin(Td)*(Idr*Vdr + Iqr*Vqr))/(10*Vd);
Eq19=Ids/10 - Ib/10 - Ia/10 - Iqs/10 - VL*sin(Tl) + Vd*sin(Td) + (cos(Td)*(Idr*Vdr + Iqr*Vqr))/(10*Vd) + (sin(Td)*(Idr*Vdr + Iqr*Vqr))/(10*Vd);
Eq20= (3*Ia)/100 - (17*Ib)/100 + Vd*cos(Td) - 1;
Eq21=(17*Ia)/100 + (3*Ib)/100 + Vd*sin(Td);
S= solve(Eq1,Eq2,Eq3,Eq4,Eq5,Eq6,Eq7,Eq8,Eq9,Eq10,Eq11,Eq12,Eq13,Eq14,Eq15,Eq16,Eq17,Eq18,Eq19,Eq20,Eq21)
I have 21 equations and 21 unknown variables ( declared symbolic )..But symbolic solve takes hours of time .What is the problem in this code?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!