summaryrefslogtreecommitdiff
path: root/1092/CH14/EX14.2/Example14_2.sce
blob: 54a22430d2d6a18400cfb474b11a4e079066d3ad (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
// Electric Machinery and Transformers
// Irving L kosow 
// Prentice Hall of India
// 2nd editiom

// Chapter 14: TRANSFORMERS
// Example 14-2

clear; clc; close; // Clear the work space and console.

// Given data
V_h = 2300 ; // high voltage in volt
V_l = 115 ; // low voltage in volt
V_1 = 2300 ; // Primary voltage in volt
V_2 = 115 ; // Secondary voltage in volt
f = 60 ; // Frequency in Hz
S = 4.6 ; // kVA rating of the step-down transformer
S_1 = S ; 
S_2 = S ;
V_per_turn = 2.5 ; // Induced EMF per turn in V/turn
// Ideal transformer

// Calculations
// case a
N_h = V_h / V_per_turn ; // Number of high-side turns
N_l = V_l / V_per_turn ; // Number of low-side turns

N_1 = N_h;// Number of turns in the primary
N_2 = N_l;// Number of turns in the secondary

// case b
I_1 = S_1*1000 / V_1 ; // Rated primary current in A
I_2 = S_2*1000 / V_2 ; // Rated secondary current in A

I_h = 2 ; // Rated current in A on HV side
I_l = 40 ; // Rated current in A on LV side

// case c
// subscript c for alpha_stepdown and alpha_stepup indicates case c
alpha_stepdown_c = N_1 / N_2 ; // step-down transformation ratio
alpha_stepup_c = N_l / N_h ; // step-up transformation ratio

// case d
// subscript d for alpha_stepdown and alpha_stepup indicates case d
alpha_stepdown_d = I_2 / I_1 ; // step-down transformation ratio
alpha_stepup_d = I_h / I_l ; // step-up transformation ratio

// Display the results
disp("Example 14-2 Solution : ");

printf(" \n a: Number of high-side turns :\n    N_h = %d t = N_1 \n",N_h);
printf(" \n    Number of low-side turns :\n    N_l = %d t = N_2\n",N_l);

printf(" \n b: Rated primary current :\n    I_h = I_1 = %d A \n",I_1);
printf(" \n    Rated secondary current :\n    I_l = I_2 = %d A\n",I_2);

printf(" \n c: step-down transformation ratio :\n    α = N_1/N_2 = %d\n",alpha_stepdown_c);
printf(" \n    step-up transformation ratio :\n    α = N_l/N_h = %.2f\n",alpha_stepup_c);

printf(" \n d: step-down transformation ratio :\n    α = I_2 / I_1 = %d\n",alpha_stepdown_d);
printf(" \n    step-up transformation ratio :\n    α = I_h / I_lh = %.2f\n",alpha_stepup_d);