diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /416/CH4/EX4.21/example4_21.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '416/CH4/EX4.21/example4_21.sce')
-rwxr-xr-x | 416/CH4/EX4.21/example4_21.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/416/CH4/EX4.21/example4_21.sce b/416/CH4/EX4.21/example4_21.sce new file mode 100755 index 000000000..b33dad1b7 --- /dev/null +++ b/416/CH4/EX4.21/example4_21.sce @@ -0,0 +1,20 @@ +clc
+clear
+disp("example 4 21")
+md=800 //maximum demand
+pf=0.707 //power factor
+c=80 //cost
+p=200 //power
+e=0.99//efficiency
+pff=0.8 //fulload pf
+ikva=md/pf
+iafc=(round(ikva*100)*(c)/100)
+rsm=ikva*pf
+act=p*(0.7355)/e
+at=-act*sind(acosd(pff))
+tkw=rsm+act
+tkvr=rsm+at
+tkva=(tkw^2+tkvr^2)^0.5
+ikvad=tkva-ikva
+infc=ikvad*c
+printf(" initial kVA %.2fkVA \n initial annual fixed charges Rs%.1f \n after installation of synchronous motor reactive power of induction motor %dkVars\n active power input of synchrounous motor %.2fkW\n reactive power input to synchrounous motor %.2fKVAR \n total kW %.2fKW \n total kVars %.2fkVARS \n total kVA %.2fkVA \n increase in KVA demand %.2fkVA\n increase in annual fixed charges Rs%.1f ",ikva,iafc,rsm,act,at,tkw,tkvr,tkva,ikvad,infc)
|