diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3888/CH4/EX4.5/Ex4_5.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3888/CH4/EX4.5/Ex4_5.sce')
-rw-r--r-- | 3888/CH4/EX4.5/Ex4_5.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/3888/CH4/EX4.5/Ex4_5.sce b/3888/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..f2bbf254e --- /dev/null +++ b/3888/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,28 @@ +//Electric Power Generation, Transmission and Distribution by S.N.Singh
+//Publisher:PHI Learning Private Limited
+//Year: 2012 ; Edition - 2
+//Example 4.5
+//Scilab Version : 6.0.0 ; OS : Windows
+
+clc;
+clear;
+
+
+LF=0.35; //Load factor in percentage
+mon_consumption=504; //Monthly consumption in kWh
+max_dem_rate=180; //Maximum demand per kWh in Rs
+Unit_rate=2.00; //Unit rate of electricity per kWh in Rs
+max_dem1=mon_consumption/(LF*24*30); //Maximum demand of consumer in kW
+mon_bill1=(max_dem1*max_dem_rate)+(Unit_rate*mon_consumption); //Monthly bill of consumer in Rs
+overall_cost1=mon_bill1/mon_consumption; //Overall cost of consumer in Rs
+new_consumption=mon_consumption*1.20; //New consumption of consumer in kWh
+max_dem2=new_consumption/(LF*24*30); //Maximum demand of same Load factor in kW
+mon_bill2=(max_dem2*max_dem_rate)+(Unit_rate*new_consumption); //Monthly bill of consumer in Rs
+overall_cost2=mon_bill2/new_consumption; //Overall cost of consumer in Rs
+max_dem3=mon_consumption/(0.40*24*30); //Maximum demand of increased load factor in kW
+mon_bill3=(max_dem3*max_dem_rate)+(Unit_rate*mon_consumption); //Monthly bill of consumer in Rs
+overall_cost3=mon_bill3/mon_consumption; //Overall cost of consumer in Rs
+
+printf("\nThe monthly bill is %.f Rs and the average cost per KWh is %.2f Rs",mon_bill1,overall_cost1);
+printf("\nThe overall cost per kWh if the consumption is increased by 20 percentage with the same load factor is %.2f Rs",overall_cost2);
+printf("\nThe overall cost per kWh if the consumption remains same but loadfactor is increased to 40 percentage is %.2f Rs",overall_cost3);
|