From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2642/CH3/EX3.5/Ex3_5.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 2642/CH3/EX3.5/Ex3_5.sce (limited to '2642/CH3/EX3.5') 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); -- cgit