blob: 1c326044fcf5cf2a7edde96b31612efc79a2ce3f (
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
|
//CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 1
disp("CHAPTER 7");
disp("EXAMPLE 1");
//VARIABLE INITIALIZATION
I_0=10; //no load current in Amperes
pf=0.25; //power factor
v1=400; //in Volts
f=50; //in Hertz
//SOLUTION
//solution (a)
theta=acos(pf);
I_phi=I_0*sin(theta);
disp(sprintf("(a) The magnetizing component of no load current is %f A",I_phi));
//solution (b)
p_c=v1*I_0*pf;
disp(sprintf("(b) The iron loss is %d W",p_c));
//solution (c)
N1=500;
phi_m=v1/(sqrt(2)*%pi*f*N1);
disp(sprintf("(c) The maximum value of flux in the core is %f mWb",phi_m*1000));
//END
|