summaryrefslogtreecommitdiff
path: root/431/CH3/EX3.19/EX3_19.sce
blob: 46706fb10ebaccc246f2e5a588168359d21cd138 (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
//Calculating the efficiency and voltage regulation//Chapter 3
//Example 3.19
//page 225
clear;
clc;
disp("Example 3.19")
kVA=50;                        //rating of the transformer
V1=3300;                        //open circuit primary voltage
Culoss=540;                    //copper loss from short circuit test
coreloss=460;                  //core loss from open circuit test
V1sc=124;                      //short circuit primary voltage in volts
I1sc=15.4;                      //short circuit primary current in amperes
Psc=540                         //short circuit primary power in watts       
phi=acosd(0.8)
effi=(kVA*1000*cosd(phi)*100)/((kVA*1000*cosd(phi))+Culoss+coreloss)
printf("From the open-circuit test, core-loss=%dW",coreloss);
printf("\nFrom short circuit test, copper loss=%dW",Culoss);
printf("\nThe efficiency at full-load and 0.8 lagging power factor=%f",effi);
Ze=V1sc/I1sc;
Re=Psc/I1sc^2;
Xe=sqrt(Ze^2-Re^2);
V2=3203;
phi2=acosd(0.8);
phie=acosd(Culoss/(V1sc*I1sc));
reg=(V1sc*cosd(phie-phi2)*100)/V1;
printf("\nVoltage regulation=%dpercent",reg)