summaryrefslogtreecommitdiff
path: root/1943/CH1/EX1.5/Ex1_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1943/CH1/EX1.5/Ex1_5.sce
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 '1943/CH1/EX1.5/Ex1_5.sce')
-rwxr-xr-x1943/CH1/EX1.5/Ex1_5.sce44
1 files changed, 44 insertions, 0 deletions
diff --git a/1943/CH1/EX1.5/Ex1_5.sce b/1943/CH1/EX1.5/Ex1_5.sce
new file mode 100755
index 000000000..e2de1847d
--- /dev/null
+++ b/1943/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,44 @@
+
+clc
+clear
+//Input data
+D=500//Maximum demand in MW
+L=0.7//Load factor
+//1)Steam power plant 2)Hydroelectric power plant 3)Nuclear power plant
+CC=[3,4,5]//Capital cost per MW installed in Rs. crore
+I=[6,5,5]//Interest in percent
+D=[6,4,5]//Depreciation in percent
+OP=[30,5,15]//Operating cost (including fuel) per kWh
+TD=[2,3,2]//Transmission and distribution cost per kWh
+Y=8760//Number of hours in a year of 365 days
+
+//Calculations
+//1)Steam power plant
+CCX=(CC(1)*D*10^7)//Capital cost in Rs
+IX=((I(1)/100)*CCX)//Interest in Rs
+DX=((D(1)/100)*CCX)//Depreciation in Rs
+AFCX=IX+DX//Annual fixed cost in Rs
+EX=(L*D*1000*Y)//Energy generated per year in kWh
+RX=(OP(1)+TD(1))//Running cost/kWh in paise
+OX=((AFCX/EX)+(RX/100))*100//Overall cost/kWh in paise
+
+//2)Hydroelectric Power plant
+CCY=(CC(2)*D*10^7)//Capital cost in Rs
+IY=((I(2)/100)*CCY)//Interest in Rs
+DY=((D(2)/100)*CCY)//Depreciation in Rs
+AFCY=IY+DY//Annual fixed cost in Rs
+EY=(L*D*1000*Y)//Energy generated per year in kWh
+RY=(OP(2)+TD(2))//Running cost/kWh in paise
+OY=((AFCY/EY)+(RY/100))*100//Overall cost/kWh in paise
+
+//3)Nuclear power plant
+CCZ=(CC(3)*D*10^7)//Capital cost in Rs
+IZ=((I(3)/100)*CCZ)//Interest in Rs
+DZ=((D(3)/100)*CCZ)//Depreciation in Rs
+AFCZ=IZ+DZ//Annual fixed cost in Rs
+EZ=(L*D*1000*Y)//Energy generated per year in kWh
+RZ=(OP(3)+TD(3))//Running cost/kWh in paise
+OZ=((AFCZ/EZ)+(RZ/100))*100//Overall cost/kWh in paise
+
+//Output
+printf('(i)Overall cost per kWh in Steam power plant is %3.0f paise \n(ii)Overall cost per kWh in Hydroelectric power plant is %3.0f paise \n(iii)Overall cost per kWh in Nuclear power plant is %3.0f paise',OX,OY,OZ)