summaryrefslogtreecommitdiff
path: root/1319/CH5/EX5.18/5_18.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.18/5_18.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.18/5_18.sce')
-rw-r--r--1319/CH5/EX5.18/5_18.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/1319/CH5/EX5.18/5_18.sce b/1319/CH5/EX5.18/5_18.sce
new file mode 100644
index 000000000..700f9fcb4
--- /dev/null
+++ b/1319/CH5/EX5.18/5_18.sce
@@ -0,0 +1,33 @@
+// To determine Input current and voltage during SC test
+
+clc;
+clear;
+
+Vh=6600;
+Vl=250;
+V=400;
+
+a=Vh/Vl; // Turns ratio
+
+Rh=0.21;
+Rl=2.72*(10^-4);
+
+Xh=1;
+Xl=1.3*(10^-3);
+
+Rt=Rh+Rl*(a^2); // Equivalent resistance w.r.t the primary
+Xt=Xh+Xl*(a^2); // Equivalent reactance w.r.t the primary
+
+ZHeq= sqrt((Rt^2)+(Xt^2));
+
+Ih=V/ZHeq; // Current on high voltage side
+
+Pi=(Ih^2)*Rt; // Power input
+
+printf('W.R.T High Voltage side the equivalent resistance is %g ohms and the equivalent reactance is %g ohms \n',Rt,Xt)
+
+printf('The current on the high voltage side is %g A \n',Ih)
+
+printf('Power Input on the high voltage side is %g kW \n',Pi/1000)
+
+