summaryrefslogtreecommitdiff
path: root/3472/CH39/EX39.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3472/CH39/EX39.1
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/CH39/EX39.1')
-rw-r--r--3472/CH39/EX39.1/Example39_1.sce37
1 files changed, 37 insertions, 0 deletions
diff --git a/3472/CH39/EX39.1/Example39_1.sce b/3472/CH39/EX39.1/Example39_1.sce
new file mode 100644
index 000000000..355c660d1
--- /dev/null
+++ b/3472/CH39/EX39.1/Example39_1.sce
@@ -0,0 +1,37 @@
+// A Texbook on POWER SYSTEM ENGINEERING
+// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
+// DHANPAT RAI & Co.
+// SECOND EDITION
+
+// PART IV : UTILIZATION AND TRACTION
+// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
+
+// EXAMPLE : 1.1 :
+// Page number 676
+clear ; clc ; close ; // Clear the work space and console
+
+// Given data
+capital_cost_group = 8000.0 // Capital cost of group drive(Rs)
+n_single = 5.0 // Number of individual drive
+capital_cost_single = 2500.0 // Capital cost of individual drive(Rs)
+energy_cons_group = 40000.0 // Annual energy consumption of group drive(kWh)
+energy_cons_single = 30000.0 // Annual energy consumption of group drive(kWh)
+cost_energy = 8.0/100 // Cost of energy per kWh(Rs)
+dmo_group = 12.0 // Depreciation,maintenance & other fixed charges for group drive(%)
+dmo_single = 18.0 // Depreciation,maintenance & other fixed charges for individual drive(%)
+
+// Calculations
+// Case(a)
+annual_cost_energy_a = energy_cons_group*cost_energy // Annual cost of energy(Rs)
+dmo_cost_a = capital_cost_group*dmo_group/100 // Depreciation,maintenance & other fixed charges per year for group drive(Rs)
+yearly_cost_a = annual_cost_energy_a+dmo_cost_a // Total yearly cost(Rs)
+// Case(b)
+total_cost = capital_cost_single*n_single // Capital cost of individual drive(Rs)
+annual_cost_energy_b = energy_cons_single*cost_energy // Annual cost of energy(Rs)
+dmo_cost_b = total_cost*dmo_single/100 // Depreciation,maintenance & other fixed charges per year for individual drive(Rs)
+yearly_cost_b = annual_cost_energy_b+dmo_cost_b // Total yearly cost(Rs)
+
+// Results
+disp("PART IV - EXAMPLE : 1.1 : SOLUTION :-")
+printf("\nTotal annual cost of group drive = Rs. %.f ", yearly_cost_a)
+printf("\nTotal annual cost of individual drive = Rs. %.f ", yearly_cost_b)