summaryrefslogtreecommitdiff
path: root/3574/CH2/EX2.3/EX2_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3574/CH2/EX2.3/EX2_3.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 '3574/CH2/EX2.3/EX2_3.sce')
-rw-r--r--3574/CH2/EX2.3/EX2_3.sce54
1 files changed, 54 insertions, 0 deletions
diff --git a/3574/CH2/EX2.3/EX2_3.sce b/3574/CH2/EX2.3/EX2_3.sce
new file mode 100644
index 000000000..7e3a125c3
--- /dev/null
+++ b/3574/CH2/EX2.3/EX2_3.sce
@@ -0,0 +1,54 @@
+// Example 2.3
+// Computation of (a) Exciting current and its quadrature components
+// (b) Equalizing magnetic reactance and equivalent core loss resistance
+// (c) Magnetizing current (d)repeat (a) and (b) for the transformer in the
+// step up mode
+//Page No. 44
+
+clc;
+clear;
+close;
+
+Fp=0.210; // Power factor
+Pcore=138; // Active power
+VT=2400; // Voltage applied to primary
+VT1=240; // 240-V primary voltage -- Second case
+
+
+// (a)Exciting current and its quadrature components
+Theta=acosd(Fp); // Angle
+Thetai=-Theta; // As phase angle of applied voltage is zero
+Ife=Pcore/VT; // Exciting current
+I0=Ife/Fp; // Quadrature component
+Im=tand(Thetai)*Ife; // Quadrature component
+Im=Im*-1;
+
+
+// (b) Equalizing magnetic reactance and equivalent core loss resistance
+XM=VT/Im; // Magnetic reactance
+Rfe=VT/Ife; // Core-loss resistance
+XM=XM/1000;
+Rfe=Rfe/1000;
+//(c) Magnetizing current
+Ife1=Pcore/VT1; // Exciting current
+I01=Ife1/cosd(Thetai);
+IM1=tand(Thetai)*Ife1; // Quadrature component
+IM1=IM1*-1;
+
+//(d) repeat (a) and (b) for the transformer in the step up mode
+XM1=VT1/IM1; // Magnetizing reactance
+Rfe1=VT1/Ife1; // Core-loss resistance
+
+
+
+//Display result on command window
+printf("\n Exciting current = %0.4f A ",Ife);
+printf("\n Exciting current quadrature component 1 = %0.4f A ",I0);
+printf("\n Exciting current quadrature component 2 = %0.3f A ",Im);
+printf("\n Equivalent magnetic reactance = %0.2f kOhm ",XM);
+printf("\n Equivalent core loss resistance = %0.1f kOhm ",Rfe);
+printf("\n Exciting current in step-up mode = %0.3f A ",Ife1);
+printf("\n Exciting current in step-up mode quadrature component 1 = %0.2f A ",I01);
+printf("\n Exciting current in step-up mode quadrature component 2 = %0.2f A ",IM1);
+printf("\n Equivalent magnetic reactance in the step up mode = %0.1f Ohm ",XM1);
+printf("\n Equivalent core loss resistance in the step up mode = %0.1f Ohm ",Rfe1);