From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2078/CH5/EX5.8/Example5_8.sce | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 2078/CH5/EX5.8/Example5_8.sce (limited to '2078/CH5/EX5.8') diff --git a/2078/CH5/EX5.8/Example5_8.sce b/2078/CH5/EX5.8/Example5_8.sce new file mode 100755 index 000000000..f36b431c7 --- /dev/null +++ b/2078/CH5/EX5.8/Example5_8.sce @@ -0,0 +1,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(%) : "); -- cgit