summaryrefslogtreecommitdiff
path: root/3760/CH6/EX6.9/Ex6_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH6/EX6.9/Ex6_9.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3760/CH6/EX6.9/Ex6_9.sce')
-rw-r--r--3760/CH6/EX6.9/Ex6_9.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/3760/CH6/EX6.9/Ex6_9.sce b/3760/CH6/EX6.9/Ex6_9.sce
new file mode 100644
index 000000000..a4c56a4ec
--- /dev/null
+++ b/3760/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,39 @@
+
+clc;
+P=4;
+r1=0.15;
+x1=0.45;
+r2=0.12;
+x2=0.45;
+Xm=28.5;
+s=0.04;
+V=400;
+f=50;
+Pfixed=400;
+
+t1=complex((r2/s),x2);
+t2=complex(0,Xm);
+t3=complex((r2/s),(x2+Xm));
+T=(t1*t2)/t3;
+Zab=complex(r1,x1)+T;
+Rf=real(T);
+I1=V/(sqrt(3)*abs(Zab));
+ian=atand(imag(Zab),real(Zab));
+Pf=cosd(ian);
+I1_mag=sqrt(real(I1)*real(I1)+imag(I1)*imag(I1));
+Psti=sqrt(3)*I1_mag*V*Pf;
+Pg=3*I1*I1*Rf;
+ns=(2*f)/P;
+nr=(1-s)*ns;
+Ws=2*3.14*ns;
+Pm=(1-s)*Pg;
+Psh=Pm-Pfixed;
+To=(Psh)/((1-s)*Ws);
+Psto=3*I1_mag*I1_mag*r1;
+Prto=s*Pg;
+Tls=Psto+Prto+Pfixed;
+Pi=Psh+Tls;
+E=(1-(Tls/Pi))*100;
+
+mprintf('staror current = %f amp at lagging phase angle of %f w.r.t input voltage \n rotor speed = %f rps or %f rpm output torque = %f Nm \n Efficiency = %f percent',I1,ian,nr,nr*60,To,E);
+