summaryrefslogtreecommitdiff
path: root/3574/CH2/EX2.11/EX2_11.sce
blob: 5aa228473ec7f408aa926720bb8e115c7f850a2b (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
// Example 2.11
// Computation of transformer regulation
// Page No. 71

clc;
clear;
close;

// Given data
S=10;                  // Transformer actual rating 10KVA
Srated=25;             // Rated 25KVA
PF=0.65;               // Power factor lagging
RPU=0.0124;            // Percent resistance drop
XPU=0.014;             // Percent reactance drop

// Transformer regulation
SPU=S/Srated;
SPU=SPU*100;
Theta=acosd(PF);
// Transformer regulation          
RegPU=sqrt( ( (RPU*SPU+PF)^2)+  ((XPU*SPU+sind(Theta))^2))-1;
// Transformer regulation in percentage
RegPU_Per=RegPU*100;

// Display result on command window
printf("\n Transformer regulation = %0.3f ",RegPU);
printf("\n Transformer regulation in percentage= %0.1f ",RegPU_Per);

// Answer varies due to round off errors