summaryrefslogtreecommitdiff
path: root/431/CH3/EX3.16/EX3_16.sce
blob: 9c2dad4bf7e2a7c315bb0f803e5f4239be5d863e (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
//Calculating secondary voltage and voltage regulation
//Chapter 3
//Example 3.16
//page 218
clear;
clc; 
disp("Example 3.16")
kVA=10;                //rating of the transformer
V1=2000;                //primary voltage in volts
V2=400;                //secondary voltage in volts
R1=5.5;                //primary voltage in ohms
R2=0.2;                //secondary voltage in ohms
X1=12;                  //primary reactance in ohms
X2=0.45;                //secondary reactance in ohms
//assuming  (V1/V2)=(N1/N2)
Re=R2+(R1*(V2/V1)^2);
printf("equivalent resistance referred to the secondary=%fohms",Re);
Xe=X2+(X1*(V2/V1)^2);
printf("equivalent reactance referred to the secondary=%fohms",Xe);
Ze=sqrt(Re^2+Xe^2);
printf("equivalent impedance referred to the secondary=%fohms",Ze);
phi=acosd(0.8);
Vl=374.5;
printf("\nVoltage across the full load and 0.8 p.f lagging=%fV",Vl);
reg=((V2-Vl)*100)/Vl;
printf("\npercentage voltage regulation=%f percent",reg);