summaryrefslogtreecommitdiff
path: root/2078/CH5/EX5.8/Example5_8.sce
blob: f36b431c74c7686046f0d9d844e2fe5966609740 (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
//Exa 5.8
clc;
clear;
close;
//Given data :
l=80;//km
P=15;//MW
VR=66*10^3;//Volt
R=l*0.3125;//ohm
X=l*1;//ohm
Y=l*17.5*10^-6;//S
pf=0.8;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
IR=P*10^6/(VR*pf);//A
IR=IR*(cos_fi_r-%i*sin_fi_r);//A
IC=%i*Y*VR;//A
IS=IR+IC;//A
disp("Sending end current(A), magnitude is "+string(abs(IS))+" and angle in degree is "+string(atand(imag(IS),real(IS))));
VS=VR+IS*(R+%i*X);//volt
disp("Sending end voltage(V), magnitude is "+string(abs(VS))+" and angle in degree is "+string(atand(imag(VS),real(VS))));
fi_s=atand(imag(VS),real(VS))-atand(imag(IS),real(IS));//
cos_fis=cosd(fi_s);//sending end pf
disp(cos_fis,"Sending end power factor(lag) : ");
Reg=(abs(VS)-VR)/VR*100;//%
disp(Reg,"Regulation(%) :  ");
LineLoss=abs(IS)^2*R/1000;//kW
disp(LineLoss,"Line Losses in kW : ");
Eta_T=P*1000/(P*1000+LineLoss)*100;//%
disp(Eta_T,"Transmission Efficiency(%) : ");