summaryrefslogtreecommitdiff
path: root/3472/CH7/EX7.11/Example7_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3472/CH7/EX7.11/Example7_11.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3472/CH7/EX7.11/Example7_11.sce')
-rw-r--r--3472/CH7/EX7.11/Example7_11.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3472/CH7/EX7.11/Example7_11.sce b/3472/CH7/EX7.11/Example7_11.sce
new file mode 100644
index 000000000..5840303c2
--- /dev/null
+++ b/3472/CH7/EX7.11/Example7_11.sce
@@ -0,0 +1,31 @@
+// A Texbook on POWER SYSTEM ENGINEERING
+// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
+// DHANPAT RAI & Co.
+// SECOND EDITION
+
+// PART I : GENERATION
+// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
+
+// EXAMPLE : 7.11 :
+// Page number 76
+clear ; clc ; close ; // Clear the work space and console
+
+// Given data
+MD = 100.0*10**3 // Maximum demand(kW)
+capital_cost = 200.0*10**6 // Capital cost(Rs)
+LF = 0.4 // Annual load factor
+cost_fueloil = 15.0*10**6 // Annual cost of fuel and oil(Rs)
+cost_tax = 10.0*10**6 // Cost of taxes, wages and salaries(Rs)
+interest = 0.15 // Interest and depreciation
+
+// Calculations
+hours_year = 365.0*24 // Total hours in a year
+units_gen = MD*LF*hours_year // Units generated per annum(kWh)
+fixed_charge = interest*capital_cost // Annual fixed charges(Rs)
+running_charge = cost_fueloil+cost_tax // Annual running charges(Rs)
+annual_charge = fixed_charge+running_charge // Total annual charges(Rs)
+cost_unit = annual_charge*100/units_gen // Cost per unit(Paise)
+
+// Results
+disp("PART I - EXAMPLE : 7.11 : SOLUTION :-")
+printf("\nCost per unit generated = %.f paise", cost_unit)