summaryrefslogtreecommitdiff
path: root/Working_Examples/154/CH12/EX12.5/ch12_5.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/154/CH12/EX12.5/ch12_5.sce')
-rwxr-xr-xWorking_Examples/154/CH12/EX12.5/ch12_5.sce63
1 files changed, 63 insertions, 0 deletions
diff --git a/Working_Examples/154/CH12/EX12.5/ch12_5.sce b/Working_Examples/154/CH12/EX12.5/ch12_5.sce
new file mode 100755
index 0000000..d24df03
--- /dev/null
+++ b/Working_Examples/154/CH12/EX12.5/ch12_5.sce
@@ -0,0 +1,63 @@
+clc
+disp("Example 12.5")
+printf("\n")
+
+printf("Given")
+disp("The system ABC is DELTA connected")
+disp("Maximum line voltage is 339.4V")
+disp("The three impedances are 10(0 deg),10(30 deg),15(-30 deg)")
+
+ZABmag=10;ZABph=0;
+ZBCmag=10;ZBCph=30;
+ZCAmag=15;ZCAph=-30;
+//Let maximum line voltage is Vmax
+Vmax=339.4
+//From fig 12.7(a)
+//VAB=Vmax(120 deg)
+//VBC=Vmax(0 deg)
+//VCA=Vmax(240 deg)
+
+//From figure 12.15
+IABmag=Vmax/ZABmag
+IABph=120-ZABph
+printf("IAB=%3.2f(%d deg)\n",IABmag,IABph);
+
+IBCmag=Vmax/ZBCmag
+IBCph=0-ZBCph
+printf("IBC=%3.2f(%d deg)\n",IBCmag,IBCph);
+
+ICAmag=Vmax/ZCAmag
+ICAph=240-ZCAph
+printf("ICA=%3.2f(%d deg)\n",ICAmag,ICAph);
+
+//Applying KCL equation
+//IA=IAB+IAC
+//IB=IBC+IBA
+//IC=ICA+ICB
+
+x=IABmag*cos((IABph*%pi)/180);
+y=IABmag*sin((IABph*%pi)/180);
+z=complex(x,y)
+
+x1=ICAmag*cos((ICAph*%pi)/180);
+y1=ICAmag*sin((ICAph*%pi)/180);
+z1=complex(x1,y1)
+
+x2=IBCmag*cos((IBCph*%pi)/180);
+y2=IBCmag*sin((IBCph*%pi)/180);
+z2=complex(x2,y2)
+
+IA=z-z1;
+[RA,ThetaA]=polar(IA)
+
+IB=z2-z;
+[RB,ThetaB]=polar(IB)
+
+IC=z1-z2
+[RC,ThetaC]=polar(IC)
+
+disp("Therefore")
+
+printf("\nIA=%3.2f(%d deg)A\n",RA,ThetaA*(180/%pi));
+printf("\nIB=%3.2f(%d deg)A\n",RB,ThetaB*(180/%pi));
+printf("\nIC=%3.2f(%d deg)A\n",RC,ThetaC*(180/%pi)); \ No newline at end of file