blob: 3771b28b00aaffe51970b864283cd577430f0e97 (
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
45
46
47
48
49
50
|
//CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 14
disp("CHAPTER 7");
disp("EXAMPLE 14");
//VARIABLE INITIALIZATION
va=22000; //apparent power
v1=1100; //primary voltage in Volts
v2=110; //secondary voltage in Volts
R1=2; //in Ohms
R2=0.02; //in Ohms
X1=5; //in Ohms
X2=0.045; //in Ohms
//SOLUTION
//N1byN2=v1/v2;
R_dash_2=R2*((v1/v2)^2);
X_dash_2=X2*((v1/v2)^2);
disp("SOLUTION (a)");
disp(sprintf("The equivalent resistance of secondary referred to primary is %fΩ",R_dash_2));
disp(sprintf("The equivalent reactance of secondary referred to primary is %f Ω",X_dash_2));
//
R_e1=R_dash_2+R1;
X_e1=X_dash_2+X1;
disp("SOLUTION (b)");
disp(sprintf("The total resistance referred to primary is %f Ω",R_e1));
disp(sprintf("The total reactance referred to primary is %f Ω",X_e1));
//
R_dash_1=R1*((v2/v1)^2);
X_dash_1=X1*((v2/v1)^2);
disp("SOLUTION (c)");
disp(sprintf("The equivalent resistance of secondary referred to secondary is %f Ω",R_dash_1));
disp(sprintf("The equivalent reactance of secondary referred to secondary is %f Ω",X_dash_1));
//
R_e2=R_dash_1+R2;
X_e2=X_dash_1+X2;
disp("SOLUTION (d)");
disp(sprintf("The total resistance referred to secondary is %f Ω",R_e2));
disp(sprintf("The total reactance referred to secondary is %f Ω",X_e2));
//
I1=va/v1;
I2=va/v2;
copperLoss=R1*I1^2+R2*I2^2;
disp("SOLUTION (e)");
disp(sprintf("The total copper loss is %f W",copperLoss));
disp(" ");
//
//END
|