summaryrefslogtreecommitdiff
path: root/Working_Examples/215/CH12/EX12.6/ex12_6.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/215/CH12/EX12.6/ex12_6.sce')
-rwxr-xr-xWorking_Examples/215/CH12/EX12.6/ex12_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/Working_Examples/215/CH12/EX12.6/ex12_6.sce b/Working_Examples/215/CH12/EX12.6/ex12_6.sce
new file mode 100755
index 0000000..acc556e
--- /dev/null
+++ b/Working_Examples/215/CH12/EX12.6/ex12_6.sce
@@ -0,0 +1,20 @@
+clc
+//Example 12.6
+//Calculate amplitude of line current
+disp('Given')
+disp('Line voltage = 300V, Power factor=0.8(lag), Phase power = 1200W')
+Vline=300;pf=0.8;PW=1200;
+Vph=Vline/sqrt(3)
+disp('1200W will be consumed as 400W in each phase')
+Vp=400
+//Let phase current be Ip
+Ip=Vp/(Vph*pf)
+printf("Phase current=%3.2f A \n",Ip)
+//Let Zp be the phase impedance
+Zpmag=Vph/Ip
+//Sice power factor is 'lagging'
+Zpang=(acos(0.8)*180)/%pi
+printf("Phase impedance = %d(%3.2f deg)ohm\n",Zpmag,Zpang);
+//PW=sqrt(3)*VL*IL*pf
+IL=PW/(sqrt(3)*Vline*pf)
+printf("Line current=%3.2f A \n",IL) \ No newline at end of file