summaryrefslogtreecommitdiff
path: root/3574/CH2/EX2.10/EX2_10.sce
blob: bd6a7eb4e1a59159df6b38074f65b6600e250005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);