summaryrefslogtreecommitdiff
path: root/1319/CH5/EX5.7/5_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1319/CH5/EX5.7/5_7.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 '1319/CH5/EX5.7/5_7.sce')
-rw-r--r--1319/CH5/EX5.7/5_7.sce42
1 files changed, 42 insertions, 0 deletions
diff --git a/1319/CH5/EX5.7/5_7.sce b/1319/CH5/EX5.7/5_7.sce
new file mode 100644
index 000000000..d96f5696f
--- /dev/null
+++ b/1319/CH5/EX5.7/5_7.sce
@@ -0,0 +1,42 @@
+// Calculate the circuit parameters of a transformer using OC and SC tests
+
+clc;
+clear;
+
+E1=200;
+E2=400;
+
+n=E2/E1; // Transformation ratio
+
+// O.C Calculations
+V1=200;
+Ioc=0.7;
+Pi=70;
+
+R0=(V1^2)/Pi;
+
+Iw=V1/R0;
+
+Im=sqrt((Ioc^2)-(Iw^2));
+
+X0=V1/Im;
+
+//S.C Calculations on HT side
+
+Pc=80;
+I=10;
+V=15;
+
+Rth= Pc/(I^2);
+Z=V/I;
+
+Xth=sqrt((Z^2)-(Rth^2));
+
+// Both these value are referred to HT side, but the answer is required to be referred to LT side
+
+Xtl=Xth/(n^2); // Reactance referred to LT side
+Rtl=Rth/(n^2); // Resistance referred to LT side
+
+printf('The Circuit parameters referred to LT side is as follows \n')
+
+printf('Ro = %f ohms \n Xo = %f ohms \n Rt = %f ohms \n Xt = %f ohms \n',R0,X0,Rtl,Xtl)