⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imsol.m

📁 solve power flows by gauss seidel method ans newton Rapson
💻 M
字号:
% 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('\n\n  Analysis of the equivalent circuit at slip S = %g\n\n', S)
fprintf('  ns = %g rpm', Ns), fprintf('   ws  = %g rad/s\n', Ws)
fprintf('  nr = %g rpm', Nr), fprintf('   wr  = %g rad/s\n', 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -