summaryrefslogtreecommitdiff
path: root/Working_Examples/154/DEPENDENCIES/ch11_14.sce
diff options
context:
space:
mode:
authorSiddharth Agarwal2019-09-03 18:27:40 +0530
committerSiddharth Agarwal2019-09-03 18:27:40 +0530
commit8ac15bc5efafa2afc053c293152605b0e6ae60ff (patch)
treee1bc17aae137922b1ee990f17aae4a6cb15b7d87 /Working_Examples/154/DEPENDENCIES/ch11_14.sce
parent52a477ec613900885e29c4a0b02806a415b4f83a (diff)
downloadXcos_block_examples-master.tar.gz
Xcos_block_examples-master.tar.bz2
Xcos_block_examples-master.zip
Xcos examples from textbooks and for blocksHEADmaster
Diffstat (limited to 'Working_Examples/154/DEPENDENCIES/ch11_14.sce')
-rwxr-xr-xWorking_Examples/154/DEPENDENCIES/ch11_14.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/Working_Examples/154/DEPENDENCIES/ch11_14.sce b/Working_Examples/154/DEPENDENCIES/ch11_14.sce
new file mode 100755
index 0000000..8b28778
--- /dev/null
+++ b/Working_Examples/154/DEPENDENCIES/ch11_14.sce
@@ -0,0 +1,25 @@
+clc
+disp("Problem 11.14")
+printf("\n")
+
+printf("Given")
+disp("Power =1000kW ; pf=0.5(lag)")
+disp("Voltage source is 5kV")
+disp("Improved power factor is 0.8")
+
+//Before improvement
+P=1000*10^3;
+pf=0.5;V=5*10^3;
+S=(P/pf)*10^-3
+I=S/V
+
+//After improvement
+P=1000*10^3;
+pf=0.8;V=5*10^3;
+S=(P/pf)*10^-3
+I1=S/V
+
+disp("Current is reduced by ")
+red=((I-I1)/I)*100
+printf("Percentage reduction in current is %3.1fpercent\n",red)
+