Imsol.m
资源名称:power.rar [点击查看]
上传用户:eighthdate
上传日期:2014-05-24
资源大小:270k
文件大小:3k
源码类别:
其他行业
开发平台:
Matlab
- % This program is used by im obtains the induction motor performance
- % at a given slip.
- %
- % Copyright (C) 1998 by H. Saadat
- Vmp=Vm/sqrt(3);
- V= Vmp+j*0;
- Ns=120.*f/P;
- Nr=(1.-S)*Ns;
- Ws=2.*pi*Ns/60;
- Wr=(1.-S)*Ws;
- R2ds=R2/S;
- Z2=R2ds + j*abs(X2);
- if Rc == inf | Rc == 0, Gc = 0; else Gc = 1/Rc; end
- if abs(Xm) == inf | abs(Xm) == 0, Bm = 0; else Bm = 1/abs(Xm); end
- Y2=1/Z2 ;
- Ye=Gc-j*Bm;
- if Gc == 0 & Bm == 0 Ze = inf+j*inf; else Ze = 1/Ye; end
- Yf=Y2+Ye;
- Zf=1/Yf; Rf = real(Zf); Xf = imag(Zf);
- Zin=Z1+Zf; Rin = real(Zin); Xin = imag(Zin);
- if Gc ~= 0 | Bm ~= 0
- Zth= Z1*Ze/(Z1+Ze);
- Vthc=V*Ze/(Z1 +Ze);
- else
- Zth=Z1 ;
- Vthc=V ;
- end
- Vth=abs(Vthc); Tth = angle(Vthc)*180/pi;
- Rth=real(Zth);
- Xth=imag(Zth);
- Rdd=sqrt(Rth^2 + (Xth+X2)^2);
- Smax=R2/Rdd;
- Pmax=1.5*Vth^2./(Rth+Rdd);
- Tmax=Pmax/Ws;
- I1=V/Zin;
- I1m=abs(I1);
- T1=angle(I1)*180./pi;
- if real(Ze) == inf & imag(Ze) == inf I2 =I1; else
- I2= Ze*I1/(Ze+Z2); end
- T2=angle(I2)*180/pi;
- I2m=abs(I2);
- S1=3.*V*conj(I1);
- SCL=3*R1*I1m^2;
- Pin=real(S1);
- Pg=3.* R2ds*I2m^2;
- RCL=3.*R2*I2m^2;
- Pm=Pg-RCL;
- Td=Pg/Ws;
- I2st = Vth/(Zth+Z2s);
- Pgst = 3.*R2*abs(I2st)^2;
- Tst = Pgst/Ws;
- if S ~= 1
- Po=Pm-Prot; hp = Po/746;
- To=Po/Wr;
- Ef=100*Po/Pin;
- else, end
- clc
- fprintf('nn Analysis of the equivalent circuit at slip S = %gnn', S)
- fprintf(' ns = %g rpm', Ns), fprintf(' ws = %g rad/sn', Ws)
- fprintf(' nr = %g rpm', Nr), fprintf(' wr = %g rad/sn', Wr)
- fprintf(' Zshunt parallel with Z2'' Zf = %g', Rf), fprintf(' + j %g ohm n', Xf)
- fprintf(' Input Impedance Zin = %g', Rin), fprintf(' + j %g ohm n', Xin)
- fprintf(' Thevenin''s Impedance Zth = %g', Rth), fprintf(' + j %g ohm n', Xth)
- fprintf(' Thevenin''s voltage/phase Vth = %g', Vth)
- fprintf(' at %g