Vous êtes sur la page 1sur 4

Populating LDC,TLC table from Network_meter_reading table.

Input tables:
1. Network_meter_table
2. Feeder meter table
Output tables:
1. LDC_Curve
2. Typical_load_durationcurve
To perform the above task following three section are created.
1.loadDurationCurveController
2.NetworkMeterReadingService, networkMeter and
IdentificationoffeederMeterandCorrespondingDtrMeter
3Utilitied program to populate Ldcand tlc tables.
loadDurationCurveController
The Function of this program is to call subroutines /methods in
networkMeterReading service , networkMeter and Utilty programs to
populate output in Ldc and Tlc tables.
NetworkMeterReading Service
Funtion of this program is to make a list of networkmeters along with their
meter reading parameters like kilowatt KVA and powerfactor along with th
timestamp between queried fromdate and todate.
IdentificationOfFeederMeterandCorresponidingDtrMeter
Function of this program is to segregate or identify meterIds
corresponding to dtr and feeders from the list of networkmeters fetched
from previous step.
NetworkMeter
Function Of this program is to calculate load factor loadlossfactor and
loadDurationCurve and diversityFactor.
LoadFactor
averageDemand = Sum of all demand Sample Values/total number of
samples
MaximumDemand = MaximumValueOfDemandSamples
loadFactor = Average/Maximum
loadFactor For the given table is 0.54625/2.275 = 0.24011
loadLossFactor = .3*loadFactor+ (1-.3)*loadFactor)^2 = 0.11239

Calculation of load curve


Sort the demand samples in descending order, divide with maximum
demand value and multiply with 100 to get percentage demand samples.
Find unique demand sample value integers and their sample frequency of
occcurance.
Percentage time for each occurance is calculated using below expression.
f

( k N ) 100

k=1

Where n = number Of unique Integer percentage demand samples


f k = frequency occurance of the kth unique Integer percentage
demand sample
N = total number of percentage demand samples

The Kth sample and its corresponding percentage time is stored as key value pair in data Structure called Map.
Restricting number of load duration curve points to be inserted into table.
first and last points are retained
Remaining points are selected by using treeSet datastructre.

SampleNo
1
2
3
4
5
6
7
8
9
10
11
12
13

Sorted
DemanInKilow DemanInKilow percentageDe
att
att
mand
0.385
2.275
100
0.365
2.195
96
0.425
1.78
78
0.5
1.775
78
0.63
1.75
77
0.69
1.73
76
1.02
1.68
74
0.83
1.65
73
0.325
1.62
71
0.22
1.605
71
0.315
1.57
69
0.225
1.495
66
0.29
1.48
65

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

0.245
0.28
0.265
0.285
0.39
1.78
1.75
1.73
1.01
0.59
0.585
0.38
0.375
0.51
0.57
0.615
0.95
1.155
0.805
0.36
0.295
0.42
0.29
0.305
0.39
0.275
0.24
0.33
0.285
1.57
1.68
1.775
1.175
0.56
0.38
0.52
0.6
0.68
0.645
0.725
0.89
1.21
0.88
0.365
0.335
0.355

1.21
1.205
1.185
1.175
1.175
1.155
1.135
1.13
1.06
1.02
1.01
0.95
0.935
0.89
0.88
0.83
0.805
0.725
0.71
0.69
0.68
0.655
0.645
0.645
0.63
0.625
0.615
0.6
0.59
0.585
0.585
0.585
0.57
0.565
0.56
0.52
0.52
0.515
0.51
0.5
0.48
0.435
0.425
0.425
0.425
0.42

53
53
52
52
52
51
50
50
47
45
44
42
41
39
39
36
35
32
31
30
30
29
28
28
28
27
27
26
26
26
26
26
25
25
25
23
23
23
22
22
21
19
19
19
19
18

60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

0.405
0.39
0.345
0.395
0.585
0.31
0.425
2.275
2.195
1.65
1.205
0.585
0.425
0.415
0.515
0.52
0.645
1.13
1.62
1.06
0.935
0.285
0.435
0.71
1.175
1.495
0.625
0.655
0.565
0.275
0.415
1.185
1.605
1.48
1.135
0.48
0.37

0.415
0.415
0.405
0.395
0.39
0.39
0.39
0.385
0.38
0.38
0.375
0.37
0.365
0.365
0.36
0.355
0.345
0.335
0.33
0.325
0.315
0.31
0.305
0.295
0.29
0.29
0.285
0.285
0.285
0.28
0.275
0.275
0.265
0.245
0.24
0.225
0.22

18
18
18
17
17
17
17
17
17
17
16
16
16
16
16
16
15
15
15
14
14
14
13
13
13
13
13
13
13
12
12
12
12
11
11
10
10