summaryrefslogtreecommitdiff
path: root/2441/CH6/EX6.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2441/CH6/EX6.6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2441/CH6/EX6.6')
-rwxr-xr-x2441/CH6/EX6.6/Ex6_6.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2441/CH6/EX6.6/Ex6_6.sce b/2441/CH6/EX6.6/Ex6_6.sce
new file mode 100755
index 000000000..6d60c08fb
--- /dev/null
+++ b/2441/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,21 @@
+//exa 6.6
+clc;clear;close;
+format('v',6);
+A=0.98*expm(%i*3*%pi/180);//Constant
+B=110*expm(%i*75*%pi/180);//ohm/phase
+P=50;//MVA
+pf=0.8;//lagging
+V=132;//kV
+//Formula : Pr=|Vs|*|Vr|/|B|*cosd(Beta-delta)-|A|*|Vr|^2/|B|*cosd(Beta-alfa) :
+betaSUBdelta=acosd((P*pf+abs(A)*V^2/abs(B)*cosd(atand(imag(B),real(B))-atand(imag(A),real(A))))/V^2*abs(B));
+Qr=V^2/abs(B)*sind(betaSUBdelta)-abs(A)*V^2/abs(B)*sind(atand(imag(B),real(B))-atand(imag(A),real(A)));//MVar
+Qr=P*0.6-Qr;//MVar//Since load require lagging component
+disp(Qr,"(a) Capacity of shunt compensation equipment(MVar) : ");
+//part(b)
+//Formula : Pr=|Vs|*|Vr|/|B|*cosd(Beta-delta)-|A|*|Vr|^2/|B|*cosd(Beta-alfa) :
+format('v',5);
+P=0;//MW
+betaSUBdelta=acosd((P*pf+abs(A)*V^2/abs(B)*cosd(atand(imag(B),real(B))-atand(imag(A),real(A))))/V^2*abs(B));
+Qr=V^2/abs(B)*sind(betaSUBdelta)-abs(A)*V^2/abs(B)*sind(atand(imag(B),real(B))-atand(imag(A),real(A)));//MVar
+Qr=P*0.6-Qr;//MVar//Since load require lagging component
+disp(-Qr,"(b) Capacity of shunt compensation equipment(MVar) : ");