summaryrefslogtreecommitdiff
path: root/3574/CH2/EX2.10/EX2_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3574/CH2/EX2.10/EX2_10.sce')
-rw-r--r--3574/CH2/EX2.10/EX2_10.sce37
1 files changed, 37 insertions, 0 deletions
diff --git a/3574/CH2/EX2.10/EX2_10.sce b/3574/CH2/EX2.10/EX2_10.sce
new file mode 100644
index 000000000..bd6a7eb4e
--- /dev/null
+++ b/3574/CH2/EX2.10/EX2_10.sce
@@ -0,0 +1,37 @@
+// Example 2.10
+// Computation of (a) Transformer regulation (b) Secondary voltage when the
+// load is disconnected (c) Input primary voltage
+// Page No. 70
+
+clc;
+clear;
+close;
+
+// Given data
+FP=0.75 // Power-factor leading
+RPU=0.013; // Percent resistance
+XPU=0.038; // Percent reactance
+Vrated=600; // Rated voltage of transformer
+TTR=12; // Transformer turns ratio (7200/600)
+ELS=621; // Low side voltage
+
+
+
+// (a) Transformer regulation
+Theta=acosd(FP);
+// Transformer regulation
+RegPU=sqrt( ( (RPU+FP)^2)+ ((XPU-sind(Theta))^2))-1;
+// Transformer regulation in percentage
+RegPU_Per=RegPU*100;
+
+// (b) Secondary voltage when the load is disconnected
+Vnl=(RegPU*Vrated)+Vrated;
+
+// (c) Input primary voltage
+
+EHS=Vnl*TTR;
+
+// Display result on command window
+printf("\n Transformer regulation = %0.4f ",RegPU);
+printf("\n Secondary voltage when the load is disconnected = %0.1f V", Vnl);
+printf(" \n Input primary voltage = %0.0f V",EHS);