summaryrefslogtreecommitdiff
path: root/1445/CH7/EX7.12/ch7_ex_12.sce
blob: ee0c6f9044487e53b9ac72606a78c611ebf5df6a (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
//CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 12

disp("CHAPTER 7");
disp("EXAMPLE 12");

//VARIABLE INITIALIZATION 
v1=400;                         //primary voltage in Volts
f=50;                           //Hz
Io=10;                          //in Amp no load current
pf =0.25;                       //lagging
N1=500;                         //given

//SOLUTION
// N1/N2=V1/V2
phi0=acos(pf);
Iphi=Io*sin(phi0);
disp("SOLUTION (a)");
disp(sprintf("The magnetic component of no load current is %f Amp",Iphi));
//
ironLoss=v1*Io*pf;
disp("SOLUTION (b)");
disp(sprintf("The iron loss on no load is %f W",ironLoss));
//
//E1=4.44.f.N1.φm
phiM=v1/(4.44*f*N1);
disp("SOLUTION (c)");
disp(sprintf("The value of flux in the core is %f Wb",phiM));
disp(" "); 
// 
//END