summaryrefslogtreecommitdiff
path: root/503/CH3/EX3.17/ch3_17.sci
blob: 6c1ba9ef9b1bde8a603dcfc5fb5f0def3f07c3aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// To determine the rating and full load efficiency of autotransformer

clc;
//when used as transformer
v1=240;
v2=120;
r=12000;
I1=r/v1;
I2=r/v2;

//when connected as autotransformer
V1=240;
V2=v1+v2;
rr=I2*V2;            disp(rr,'rating of autotransformer(va)');

pf=1;
P_o=r*pf;            //output power
n=.962            //efficiency at upf
P_L=P_o*(1-n)/n;

pff=.85            //if pf=.85
Po=rr*pff;
nn=1/(1+P_L/Po);        disp(nn*100,'efficiency(%) at .85 pf is');