summaryrefslogtreecommitdiff
path: root/3574/CH3/EX3.2/EX3_2.sce
blob: 09be5eaf3b0b0dc2a83908f3e749c5acd19f153d (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
// Example 3.2
// Computation of (a) Rated primary and secondary currents when connected as 
// autotransformer (b) Apparent power rating when connected as an autotransformer
// Page No. 100

clc;
clear;
close;

// Given data
S=10000;              // Supply voltage
VLS=240;              // Voltage at the low side
VHS=2400;             // Voltage at the high side
Sw=10;                // Power rating

// (a) Rated primary and secondary currents when connected as autotransformer 

ILSWINDING=S/VLS;     // Rated primary current
IHSWINDING=S/VHS;     // Rated secondary current


// (b) Apparent power rating when connected as an autotransformer

a=VHS/VLS;                  // Magnetic drop across R1
Sat=(a+1)*Sw;    


//Display result on command window

printf("\n Rated primary current = %0.2f A ",ILSWINDING);
printf("\n Rated secondary current = %0.3f A ",IHSWINDING);
printf("\n Apparent power rating = %0.0f KVA ",Sat);