summaryrefslogtreecommitdiff
path: root/2642/CH3/EX3.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2642/CH3/EX3.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2642/CH3/EX3.5')
-rwxr-xr-x2642/CH3/EX3.5/Ex3_5.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/2642/CH3/EX3.5/Ex3_5.sce b/2642/CH3/EX3.5/Ex3_5.sce
new file mode 100755
index 000000000..a88344b6e
--- /dev/null
+++ b/2642/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,28 @@
+// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 3 : TRANSFORMER AND PER UNIT SYSTEM
+// Example : 3.5
+clc;clear; // clears the console and command history
+
+// Given data
+V_1 = 400 // primary voltage of transformer in V
+V_2 = 100 // secondary voltage of transformer in V
+I_0 = 0.4 // no-load current in A
+I_2 = 100 // load draws current in A
+cos_phi0 = 0.3 // power factor lagging from the supply
+cos_phi2 = 0.6 // power factor lagging from the secondary
+
+// caclulations
+phi0 = acosd(0.3)
+phi2 = acosd(0.6)
+phi1 = phi0-phi2
+a = V_1/V_2 // turn ratio
+I_2! = I_2/a // secondary current equivalent to the primary
+I_1 = sqrt((I_2!^2)+(I_0^2)+(2*I_2!*I_0*cosd(19.4))) // primary current in A
+
+// display the result
+disp("Example 3.5 solution");
+printf(" \n Primary current \n I_1 = %.2f A \n", I_1);