summaryrefslogtreecommitdiff
path: root/3760/CH1/EX1.10/Ex1_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH1/EX1.10/Ex1_10.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/CH1/EX1.10/Ex1_10.sce')
-rw-r--r--3760/CH1/EX1.10/Ex1_10.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/3760/CH1/EX1.10/Ex1_10.sce b/3760/CH1/EX1.10/Ex1_10.sce
new file mode 100644
index 000000000..2ab041e7c
--- /dev/null
+++ b/3760/CH1/EX1.10/Ex1_10.sce
@@ -0,0 +1,33 @@
+
+clc;
+E1=250;// voltage on low tension side
+E2=2500; // voltage on high tension side
+k=E2/E1; //turns ratio
+Z=380+230*%i; // given load connected to high tension side
+Zl=Z/k^2; // load referred to low tension side
+zl=0.2+0.7*%i; // leakage impedance of transformer
+zt=Zl+zl; // total series impedance
+ztm=abs(zt); // magnitude of total series impedance
+I1=E1/zt;
+I1m=abs(I1); // magnitude of primary load current
+I2=I1m/k; // secondary load current
+vt=5*abs(Z);
+printf('secondary terminal voltage is %f V\n',vt);
+R=500; // shunt branch resistance
+X=250; // shunt branch leakage reactance
+Ic=E1/R; // core less component of current
+Im=E1/(%i*X); // magnetizing component of current
+Ie=Ic+Im;// total exciting current
+It=I1+Ie;// total current on low tension side
+Itm=abs(It);
+printf('primary current is %f A\n',Itm);
+pf=cos(atan(imag(It),real(It)));
+printf('power factor is %f lagging\n',pf),
+lpf=real(Z)/abs(Z);
+op=vt*I2*lpf;
+printf('output power is %f W\n',op);
+pc=Ic^2*R; // core less power
+poh=I1m^2*real(zl); // ohmic losses
+pin=E1*Itm*pf; // input power
+n=(op/pin)*100; // efficiency
+printf('efficiency of transformer is %f percent',n);