summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.59/EX2_59.sce
blob: 74525fbfef825c2920de1b95a3367e070d1a0c9e (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
    //EXAMPLE 2-59   PG NO-103
C1=15.5*10^3;
L=1000;
V=230;
PL1=10;            //active load power
PL2=6;            //active load power
QL1=7.5;        //reactive load power
QL2=8;     //reactiveload power
P=PL1+PL2;     //total active power
Q=QL1+QL2;      //total reactive power
AP=(P*P+Q*Q)^0.5;      //total apparent power
I=(AP*L)/V;          //TOTAL CURRENT
Ic=(C1/V);
Xc=V/Ic;
K=16;
C=1/(2*%pi*50*Xc);
I1=(L*K)/V;
disp(' total active power is = '+string(P)+' KW');   
disp(' total reactive power is = '+string(Q)+'K var ');   
disp(' total apparent power is = '+string(AP)+' KVA');   
disp(' total current(I) is = '+string(P)+' A');   
disp(' Ic is = '+string(P)+' A'); 
disp(' Xc is = '+string(Xc)+' ohm');    
disp(' capacitor is = '+string(C)+' F');   
disp(' current(I1) is = '+string(I1)+' A');