Cusum Lec
Cusum Lec
11
13
15
17
19
21
23
25
27
29
WEEK NUMBER
"Energy Monitoring & Target setting using CUSUM" Cheriton Technology Publications 1989
Therms were commonly used to measure heat content of fuels = 100,000 Btu = 94,780 kJ
1. How many energy-saving measures have been implemented, and at which weeks?
2. How much energy has been saved by each measure ?
3. Are all the measures still, working ?
Clearly, you cannot answer these questions with certainty; the variation in the value of
(therms per tonne, or specific energy consumption) makes it difficult to be sure what has
happened.
Perhaps the graphs showing the weekly tonnages and therms (Figures 2 and 3) will make
matters easier to understand :
PRODUCTION - TONNES
2000
1800
1600
1400
1200
1000
800
600
400
200
0
1
11
13
15
17
19
21
23
25
27
29
WEEK NUMBER
11
13
15
17
19
21
23
25
27
29
WEEK NUMBER
where A represents a constant energy use which is independent of production, say the
amount of energy required to keep the furnace on "tick-over", and B is the specific energy
content.
The units of A and B will be therms, and therms per tonne, respectively. It is now clear
that using the indicator of therms per tonne ignores the value of constant A, and that the
error in so doing may be significant at low values of production. The actual numerical
values of A and B have to be determined from the production and therms data of the
furnace. It can be taken that A and B will remain roughly constant for the weeks before
any changes are made and after that, the effect of energy-saving measures should be
revealed in reduced values of, A and/or B. For the case we are considering, we will assume
that it is known that the first energy-saving measure is introduced at the beginning of week
9 (this assumption is discussed later in the section).
Using simple linear regression analysis on the first 8 weeks of data gives the following
formula:
E = 9831 + 15.16 x P
Where E is the energy consumption in therms, and
P is the production in tonnes.
If this formula is correct then there should be little difference between the measured and
predicted values for the first 8 weeks of data. Also the running total (or cumulative sum)
of these differences should be small compared to the values of E. The relevant figures are
shown in Table 1 below with the running total represented by the acronym CUSUM:
Week
1
2
3
4
5
6
7
8
Production
tonnes
(1)
1500
800
600
500
1700
1800
1200
400
Measured
therms
(2)
33000
21500
19500
17000
35000
38000
27000
16500
Predicted
therms
(3)
32570
21958
18926
17410
35601
37117
28022
15895
Difference
CUSUM
(4)
(5)
430
-458
574
-410
-601
883
-1022
605
430
-28
546
135
-466
416
-605
0
(1)
(3)
(4)
(5)
Repeating the calculation over the remaining weeks should show a more significant
difference between measured and predicted therms if energy saving measures are taking
effect, and hence an ever-changing value of CUSUM. The calculation for the whole 30week period is shown in Table 2:
Week
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
30
Production
Measured
Predicted
Difference
CUSUM
tonnes
therms
therms
(1)
(2)
(3)
(4)
(5)
1500
33000
32570
430
800
21500
21958
-458
600
19500
18926
574
500
17000
17410
-410
1700
35000
35601
-601
1800
38000
37117
883
1200
27000
28022
-1022
400
16500
15895
605
1100
23900
26506
-2606
900
21100
23474
-2374
400
12000
15895
-3895
500
14600
17410
-2810
1400
27600
31054
-3454
1550
29900
33328
-3428
1650
31300
34844
-3544
1900
34650
38633
-3983
400
16000
15895
105
550
17700
18168
-468
1500
33000
32570
430
800
22000
21958
42
625
15500
19305
-3805
1100
21200
26506
-5306
700
16000
20442
-4442
1700
29000
35601
-6601
1900
34000
38633
-4633
1600
27200
34086
-6886
1200
28000
28022
-22
1900
38500
38633
-133
500
17250
17410
-160
900
23700
23474
226
430
-28
546
135
-466
416
-605
0
-2606
-4980
-8875
-11685
-15139
-18566
-22110
-26093
-25988
-26456
-26026
-25984
-29789
-35095
-39538
-46139
-50772
-57658
-57680
-57813
-57974
-57748
11
13
15
17
19
21
23
25
27
29
27
29
-10
-20
-30
-40
-50
-60
WEEK NUMBER
11
13
15
17
19
21
23
-10
25
SAVING
~2600 THERMS
-20
-30
SAVING
~3200 THERMS
-40
-50
-60
WEEK NUMBER
CUSUM
10000
DATUM LINE
0
1
9 10 11 12 13 14 15 16 17 18 19 20 21 22
-10000
ACTION 1
SAVINGS
-20000
-30000
-40000
-50000
ACTION 2
-60000
WEEKS
1
5
.
1
61
4
.8
8
1
.8
5
%
1
5
.
1
6
A similar calculation can be carried out on the data for weeks 21 to 26, which will reveal
the expression
E = 5809 + 14.06 x P
The percentage improvements can now be determined.
Concluding remarks
Further information is required from the company to determine precisely what actions
caused the savings to occur and why these actions ceased to take effect. The implication of
the CUSUM curve is that the energy-saving measures suddenly stopped being effective.
The more likely situation in practice would be a slow reduction in efficiency over a longer
period caused by, say the deterioration in equipment or poor maintenance. Over a short
period, the CUSUM curve for the successive implementation of two actions would be as
shown in Figure 6 with the savings due to each action as shown.
In the previous example, it was assumed that the energy-saving measures were first
implemented in week 9. In practice, the exact time would be logged in company records. If
such a company invests in energy-saving measures then they will expect a certain
percentage improvement. This expected performance is a target against which the actual
performance can be compared and both the anticipated and actual performance can easily
be plotted on a CUSUM curve on a regular weekly or monthly basis. In this way, CUSUM
is also a technique for monitoring. In the situation where no energy-saving measures have
been applied CUSUM will indicate any plant deterioration as a positive value above the
datum line. When remedial action is taken the CUSUM line will again return to the
horizontal, parallel to the datum line.
The technique has a wider application; for example, the heating requirements of a building
usually follow the pattern of degree days which apply to the locale. It can also be used
when energy consumption is related to more than one variable. In this case the regression
analysis for say, three variables may take the form:
E = A + (B x P1) + (C x P2) + (D x P3)
where the suffices relate to the production lines of products 1, 2, and 3, or more generally,
three independent variables.
The previous discussion has suggested that a linear relationship always exists between the
energy consumption and the independent variable(s). This is not always the case; certain
types of products are better described by non-linear energy consumption equations.
Providing there is enough reliable data, then all modern PC databases will have facilities
for undertaking the relevant regression analysis. The CUSUM technique simply requires
an appropriate formula for predicting the energy usage of a system.
Of course, the technique should be applied with care. Much depends on the accuracy of
the data. Unreliable data is revealed by the regression analysis not giving a near-horizontal
datum line as shown on Figure 6. In such cases the CUSUM analysis will be only a fair
general indicator of energy saving but a very good indicator of the need for more and
improved quality monitoring equipment. Equally, the situation where there is a product
mix on a single production line will require accurate data for each separate product within
the line if the CUSUM analysis is to be used.
Example of CUSUM
Foundry data
800000
700000
600000
kWh
500000
400000
300000
200000
100000
0
0
100
200
300
400
500
600
700
800
900
Tonnes
In this example the standing losses are small in comparison to the production related
energy use. The small negative intercept would be due to the scatter of the results.
Normally the intercept would be positive.
Degree days
Degree days provide a measure of the outside temperature and hence can be correlated to
the amount of energy required to heat or cool buildings.
Degree days can be simply defined as the product of the difference temperature and time,
that, the average outside temperature is below (heating) or above (cooling) a base
temperature.
energy
1
degree days
energy
degree days
energy
degree days
degree days
energy
5
base 20.5 C
base 15.5 C
base 10.5 C
degree days
10