summaryrefslogtreecommitdiff
path: root/3556/CH12/EX12.4/Ex12_4.sce
blob: e2dbc009cd76e287b2e26eaeb5329a09f7b5e33b (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
51
52
53
54
55
56
57
58
59
60
61
clc
// Fundamental of Electric Circuit 
// Charles K. Alexander and  Matthew N.O Sadiku  
// Mc Graw Hill of New York 
// 5th Edition 

// Part 2     :  AC Circuits 
// Chapter 12 :  Three Phase Circuit 
// Example 12 - 4

clear; clc; close; 
//
// Given data
Vab_mag   = 330.0000;                               
Vab_angle =   0.0000;                                
Zdelta = complex(20,-15);                            
//
// Calculations Phase Voltage (VAB)
VAB_mag   = Vab_mag                                  
VAB_angle = Vab_angle                               
// Calculatioan Phase Current AB 
I_AB_mag   = VAB_mag/norm(Zdelta)                     
Zdelta_real = real(Zdelta)                         
Zdelta_imag = imag(Zdelta)                          
Zdelta_angle = atand(Zdelta_imag,Zdelta_real)        
I_AB_angle  = Vab_angle - Zdelta_angle              
// Calculations Phase Current BC
I_BC_mag = I_AB_mag;                                 
I_BC_angle = -120.0000 + I_AB_angle;                 
// Calculations Phase Current CA 
I_CA_mag = I_AB_mag;                                 
I_CA_angle = 120.0000 + I_AB_angle;                  
// Calculations Line Current a 
I_a_mag = (3)^0.5 * I_AB_mag;                        
I_a_angle = -30.0000 + I_AB_angle;                   
// Calculations Line Current b 
I_b_mag = I_a_mag;                                 
I_b_angle = -120.0000 + I_a_angle;                   
// Calculations Line Current c 
I_c_mag = I_a_mag;                                  
I_c_angle = 120.0000 + I_a_angle;                     
//
disp("Example 12-4 Solution : ");
printf(" \n I_AB_mag   = Magnitude of Phase Currents AB      = %.3f A",I_AB_mag)
printf(" \n I_AB_angle = Angle of Phase Current AB           = %.3f Degree",I_AB_angle)
printf(" \n I_BC_mag   = Magnitude of Phase Currents BC      = %.3f A",I_BC_mag)
printf(" \n I_BC_angle = Angle of Phase Current BC           = %.3f Degree",I_BC_angle)
printf(" \n I_CA_mag   = Magnitude of Phase Currents CA      = %.3f A",I_CA_mag)
printf(" \n I_CA_angle = Angle of Phase Current CA           = %.3f Degree",I_CA_angle)
printf(" \n I_a_mag    = Magnitude of Line Currents a        = %.3f A",I_a_mag)
printf(" \n I_a_angle  = Angle of Line Current a             = %.3f Degree",I_a_angle)
printf(" \n I_b_mag    = Magnitude of Line Current b         = %.3f A",I_b_mag)
printf(" \n I_b_angle  = Angle of Line Current b             = %.3f Degree",I_b_angle)
printf(" \n I_c_mag    = Magnitude of Line Currents c        = %.3f A",I_c_mag)
printf(" \n I_c_angle  = Angle of Line Current c             = %.3f Degree",I_c_angle)