summaryrefslogtreecommitdiff
path: root/1445/CH7/EX7.17/Ex7_17.sce
blob: 55029114b3de02491389f37cb2a940ade7670813 (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
38
39
40
41
42
43
44
//CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 17

clc;
disp("CHAPTER 7");
disp("EXAMPLE 17");

//200kVA single phase transformer
//VARIABLE INITIALIZATION 
va=200000;                      //
ironLoss=1000;                  // Watts
cuLoss=2000;                    //Watts
pf=0.8;
//
//SOLUTION
// 
Pout=va*pf;                     //Full load output
loss=ironLoss+cuLoss;
Pin=Pout+loss;                  //INPUT=OUTPUT+LOSS
eff=Pout*100/Pin;
disp("SOLUTION (a)");
disp(sprintf("The percent efficiency at full load is %.2f",eff)); 
//
//at half load
Pout=va*pf/2;
loss=ironLoss+cuLoss*(1/2)^2;       // ironloss is independent of output
Pin=Pout+loss;
eff=Pout*100/Pin;
disp("SOLUTION (b)");
disp(sprintf("The percent efficiency at full load is %.2f",eff)); 
//
//fraction x of copperloss=ironloss for maximum efficiency
//x^2.cuLoss=ironLoss
x=sqrt(ironLoss/cuLoss);
Pout=x*va*pf;
loss=ironLoss+cuLoss*x^2;
Pin=Pout+loss;
eff=Pout*100/Pin;
disp("SOLUTION (c)");
disp(sprintf("The percent efficiency at %f load is %.2f ",x,eff)); 

disp(" "); 
// 
//END