summaryrefslogtreecommitdiff
path: root/3472/CH7/EX7.1/Example7_1.sce
blob: 116a3826e3d1d5c464f66ef47ee29e12348d5fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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.1 :
// Page number 73
clear ; clc ; close ; // Clear the work space and console

// Given data
connected_load = 450.0*10**3       // Connected load(kW)
maximum_demand = 250.0*10**3       // Maximum demand(kW)
units_generated = 615.0*10**6      // Units generated per annum(kWh)

// Calculations
// Case(i)
demand_factor = maximum_demand/connected_load        // Demand factor
// Case(ii)
hours_year = 365.0*24                                // Total hours in a year
average_demand = units_generated/hours_year          // Average demand(kW)
load_factor = average_demand/maximum_demand*100      // Load factor(%)

// Results
disp("PART I - EXAMPLE : 7.1 : SOLUTION :-")
printf("\nCase(i) : Demand factor = %.3f ", demand_factor)
printf("\nCase(ii): Load factor = %.1f percent", load_factor)