New Clustering-based Forecasting Method for
Disaggregated End-consumer Electricity Load
Using Smart Grid Data
Peter Laurinec, and Mária Lucká
14.11.2017
Slovak University of Technology in Bratislava
Motivation
More accurate forecast of electricity consumption is needed due to:
• Optimization of electricity consumption.
• Distribution (utility) companies. Deregulation of the market.
Purchase and sale of electricity.
• Ecological factors.
However, it is very difficult task for individual end-consumers due to:
• Stochastic behaviour (processes).
• Many factors influencing the consumption:
• Seasonality
• Weather
• Holidays
• Market
1
Example of consumers electricity load
20
40
60
0 250 500 750 1000
Time (3 weeks)
Load(kW)
2
Example of consumers electricity load
3.0
3.5
4.0
4.5
0 250 500 750 1000
Time (3 weeks)
Load(kW)
3
Example of consumers electricity load
0.0
2.5
5.0
7.5
10.0
12.5
0 250 500 750 1000
Time (3 weeks)
Load(kW)
4
Example of consumers electricity load - residential
0
1
2
3
0 250 500 750 1000
Time (3 weeks)
Load(kW)
5
Classical vs. our approach
The classical way is to train a model for every consumer
separately (drawbacks).
Our approach uses data from all consumers in a smart grid to
overcome stochastic changes and noisy character of data (time
series).
Solution: clustering of all consumers.
6
Our method
We will suppose that N is a number of consumers, the length of the training set is 21
days (3 weeks) whereby in every day we will consider 24 × 2 = 48 measurements, and
we will execute one hour ahead forecasts.
1. Starting with iteration iter = 0.
2. Creating of time series for each consumer of the lengths of three weeks.
3. Normalisation of each time series by z-score (keeping a mean and a standard
deviation in memory for every time series).
4. Computation of representations of each time series.
5. K-means clustering of representations and an optimal number of clusters is
computed.
6. The extraction of K centroids and using them as training set to any forecasting
method.
7. The denormalisation of K forecasts using the stored mean and standard
deviation to produce N forecasts.
8. iter = iter + 1. If iter is divisible by 24 (iter mod 24 = 0 mod 24) then steps 4) and
5) are performed otherwise they are skipped and the stored centroids are used.
7
Representation of time series
After normalisation -> computation of representations of time
series.
We conducted from our previous works 1 that clustering
model-based representations significantly improves accuracy
of the forecast of the global (aggregate) consumption.
For a representation, regression coefficients from the multiple
linear regression is used. The linear model is composed of
daily and weekly seasonal parameters.
xt = βd1utd1 + · · · + βdsutds + βw1utw1 + · · · + βw6utw6 + εt
1
Laurinec et al., WCECS (2016) and ICDMW (2016)
8
Representation of time series
−1
0
1
2
3
0 250 500 750 1000
Length
NormalizedLoad
Original Time Series
Daily Period
Weekly
Period
−1
0
1
0 20 40
Length
RegressionCoefficients
Final Representation of Time Series
9
Clustering
17 18 19 20
13 14 15 16
9 10 11 12
5 6 7 8
1 2 3 4
0 20 40 0 20 40 0 20 40 0 20 40
−1
0
1
2
3
−2
−1
0
1
2
3
−2
0
2
−2
0
2
−2
−1
0
1
2
3
−1
0
1
2
−3
−2
−1
0
1
2
−2
0
2
−2
−1
0
1
2
0
2
4
−2
0
2
4
−1
0
1
2
−2
0
2
4
−2
0
2
−2
−1
0
1
2
3
−1
0
1
2
−1
0
1
2
3
0
2
4
−2
−1
0
1
2
−2
−1
0
1
2
Length
RegressionCoefficients
10
Final centroids
17 18 19 20
13 14 15 16
9 10 11 12
5 6 7 8
1 2 3 4
0 250 500 750 1000 0 250 500 750 1000 0 250 500 750 1000 0 250 500 750 1000
−0.5
0.0
0.5
1.0
1.5
−1.5
−1.0
−0.5
0.0
0.5
1.0
−0.50
−0.25
0.00
0.25
−1
0
1
−1.0
−0.5
0.0
0.5
−1.0
−0.5
0.0
0.5
1.0
−1.0
−0.5
0.0
0.5
−1.0
−0.5
0.0
0.5
1.0
−1.0
−0.5
0.0
0.5
1.0
−0.5
0.0
0.5
1.0
0
1
0
1
2
−0.5
0.0
0.5
−1.0
−0.5
0.0
0.5
1.0
−0.5
0.0
0.5
1.0
1.5
0
1
0
1
2
0
1
2
3
4
5
−1.0
−0.5
0.0
0.5
1.0
−1
0
1
Time
NormalizedLoad
11
Forecasting methods
Four methods were implemented
• Seasonal naive method (SNAIVE)
• Multiple Linear Regression (MLR)
• Random Forest (RF)
• Triple exponential smoothing (ES)
MAE (Mean Absolute Error):
1
n
n∑
t=1
|xt − xt|,
where xt is a real consumption, xt is the forecasted load and n
is a length of data.
12
Scaling forecasts
Denormalising K centroid-based forecasts by stored mean and
standard deviation from every consumer (N).
13
Data for experiments
We used two different datasets consisting of a large number of
variable patterns that were gathered from smart meters. This
measurement data includes Irish and Slovak electricity load
data.
For the Irish residential testing dataset (3639 consumers) the
data measurements from 1.2.2010 to 21.2.2010.
For the Slovak factories testing dataset (3607 consumers) the
data measurements from 10.2.2014 to 2.3.2014.
14
Evaluation
MAE Ireland dataset
Mean Median Max
SNAIVE_DisAgg 0.3807 ± 0.203 0.1928 ± 0.147 3.014 ± 1.3
SNAIVE_Clust 0.3373 ± 0.178 0.235 ± 0.143 2.6605 ± 1.192
MLR_Clust 0.3403 ± 0.18 0.2394 ± 0.146 2.6453 ± 1.187
RF_Clust 0.3394 ± 0.18 0.2425 ± 0.147 2.675 ± 1.192
ES_Clust 0.3359 ± 0.177 0.2387 ± 0.144 2.6629 ± 1.189
MAE Slovak dataset
Mean Median Max
SNAIVE_DisAgg 2.6903 ± 2.854 1.769 ± 2.27 16.1599 ± 14.621
SNAIVE_Clust 2.7873 ± 2.858 2.1479 ± 2.452 14.0958 ± 12.711
MLR_Clust 2.9326 ± 2.984 2.3109 ± 2.612 14.0306 ± 12.673
RF_Clust 2.7639 ± 2.836 2.0765 ± 2.388 14.4476 ± 13.081
ES_Clust 2.6752 ± 2.771 2.0283 ± 2.357 14.1695 ± 12.816
15
Ireland dataset results
0
1
2
3
4
5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Hour
MAE
Method
ES_Clust
MLR_Clust
RF_Clust
SNAIVE_Clust
SNAIVE_DisAgg
16
Slovak dataset results
0
20
40
60
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Hour
MAE
Method
ES_Clust
MLR_Clust
RF_Clust
SNAIVE_Clust
SNAIVE_DisAgg
17
Conclusion
• Newly proposed clustering-based forecasting method for end-consumer load
using all data from a smart grid.
• We proved that our clustering-based method decreases the forecasting error in
the meaning of an average and the maximum (high rates of error).
• However, the error rates did not decrease with respect to the median because
of the nature of smart meter data.
• Our method needs to train only K models (in our case about 28) instead of N
models (thousands) that is leading to a huge decrease of the computational
load.
Future work:
• More experiments to find the number of optimal clusters.
• Other centroid-based clustering methods like K-medians, K-medoids and Fuzzy
C-means can be also used.
18

More Related Content

PPTX
ANSYS MAXWELL TRAINING AGENDA
PPTX
Correlación
PPTX
08 kyumin lee (cfv) single-diode model with rs temperature dependence
PDF
ML_Cohesiv_energies
PDF
Smooth Pinball based Quantile Neural Network
PDF
6U-RF module vibration simulation crystal oscillator
PPTX
18 deceglie modeling and monitoring rtsr
PDF
3 4 thevenard-pai epri-sandia 2016-05 presentation
ANSYS MAXWELL TRAINING AGENDA
Correlación
08 kyumin lee (cfv) single-diode model with rs temperature dependence
ML_Cohesiv_energies
Smooth Pinball based Quantile Neural Network
6U-RF module vibration simulation crystal oscillator
18 deceglie modeling and monitoring rtsr
3 4 thevenard-pai epri-sandia 2016-05 presentation

Similar to New Clustering-based Forecasting Method for Disaggregated End-consumer Electricity Load Using Smart Grid Data (20)

DOCX
Project 1
PPTX
Statr session 25 and 26
PPTX
Wavelet bootstrap Multiple linear regression models
PDF
Forecasting Assignment Help
PDF
DigitalGlobe Overview
PDF
Writing Sample
PDF
Statistical Inference.pdf
PDF
Inverted Energy: Diesel Generator Set Replacement
PPT
Unit Commitment
PDF
Projectproposalon10mwsolarpvpowerplant 160312085340 (2)
PPTX
Project Proposal on 10 MW Solar PV Power Plant
PDF
T2K status in 2017
PPTX
Presentation
PPTX
Statistical quality control
PPT
Push And Pull Production Systems Chap7 Ppt)
PDF
SOLAR TRAINING.pptx.pdf
PDF
Application of ibearugbulem’s model for optimizing granite concrete mix
PDF
Web trafic time series forecasting
PPTX
RESPONSE SURFACE METHODOLOGY PRESENTATION.pptx
PDF
Multi Objective Optimization of PMEDM Process Parameter by Topsis Method
Project 1
Statr session 25 and 26
Wavelet bootstrap Multiple linear regression models
Forecasting Assignment Help
DigitalGlobe Overview
Writing Sample
Statistical Inference.pdf
Inverted Energy: Diesel Generator Set Replacement
Unit Commitment
Projectproposalon10mwsolarpvpowerplant 160312085340 (2)
Project Proposal on 10 MW Solar PV Power Plant
T2K status in 2017
Presentation
Statistical quality control
Push And Pull Production Systems Chap7 Ppt)
SOLAR TRAINING.pptx.pdf
Application of ibearugbulem’s model for optimizing granite concrete mix
Web trafic time series forecasting
RESPONSE SURFACE METHODOLOGY PRESENTATION.pptx
Multi Objective Optimization of PMEDM Process Parameter by Topsis Method
Ad

Recently uploaded (20)

PPTX
indiraparyavaranbhavan-240418134200-31d840b3.pptx
PPTX
9 Bioterrorism.pptxnsbhsjdgdhdvkdbebrkndbd
PPTX
DATA MODELING, data model concepts, types of data concepts
PPTX
Chapter security of computer_8_v8.1.pptx
PPTX
research framework and review of related literature chapter 2
PDF
The Role of Pathology AI in Translational Cancer Research and Education
PPTX
865628565-Pertemuan-2-chapter-03-NUMERICAL-MEASURES.pptx
PDF
Concepts of Database Management, 10th Edition by Lisa Friedrichsen Test Bank.pdf
PPTX
AI AND ML PROPOSAL PRESENTATION MUST.pptx
PPTX
Statisticsccdxghbbnhhbvvvvvvvvvv. Dxcvvvhhbdzvbsdvvbbvv ccc
PPTX
machinelearningoverview-250809184828-927201d2.pptx
PPTX
ai agent creaction with langgraph_presentation_
PPTX
Capstone Presentation a.pptx on data sci
PPTX
GPS sensor used agriculture land for automation
PDF
REPORT CARD OF GRADE 2 2025-2026 MATATAG
PPTX
OJT-Narrative-Presentation-Entrep-group.pptx_20250808_102837_0000.pptx
PPT
dsa Lec-1 Introduction FOR THE STUDENTS OF bscs
PPTX
ifsm.pptx, institutional food service management
PPTX
Sheep Seg. Marketing Plan_C2 2025 (1).pptx
PDF
©️ 01_Algorithm for Microsoft New Product Launch - handling web site - by Ale...
indiraparyavaranbhavan-240418134200-31d840b3.pptx
9 Bioterrorism.pptxnsbhsjdgdhdvkdbebrkndbd
DATA MODELING, data model concepts, types of data concepts
Chapter security of computer_8_v8.1.pptx
research framework and review of related literature chapter 2
The Role of Pathology AI in Translational Cancer Research and Education
865628565-Pertemuan-2-chapter-03-NUMERICAL-MEASURES.pptx
Concepts of Database Management, 10th Edition by Lisa Friedrichsen Test Bank.pdf
AI AND ML PROPOSAL PRESENTATION MUST.pptx
Statisticsccdxghbbnhhbvvvvvvvvvv. Dxcvvvhhbdzvbsdvvbbvv ccc
machinelearningoverview-250809184828-927201d2.pptx
ai agent creaction with langgraph_presentation_
Capstone Presentation a.pptx on data sci
GPS sensor used agriculture land for automation
REPORT CARD OF GRADE 2 2025-2026 MATATAG
OJT-Narrative-Presentation-Entrep-group.pptx_20250808_102837_0000.pptx
dsa Lec-1 Introduction FOR THE STUDENTS OF bscs
ifsm.pptx, institutional food service management
Sheep Seg. Marketing Plan_C2 2025 (1).pptx
©️ 01_Algorithm for Microsoft New Product Launch - handling web site - by Ale...
Ad

New Clustering-based Forecasting Method for Disaggregated End-consumer Electricity Load Using Smart Grid Data

  • 1. New Clustering-based Forecasting Method for Disaggregated End-consumer Electricity Load Using Smart Grid Data Peter Laurinec, and Mária Lucká 14.11.2017 Slovak University of Technology in Bratislava
  • 2. Motivation More accurate forecast of electricity consumption is needed due to: • Optimization of electricity consumption. • Distribution (utility) companies. Deregulation of the market. Purchase and sale of electricity. • Ecological factors. However, it is very difficult task for individual end-consumers due to: • Stochastic behaviour (processes). • Many factors influencing the consumption: • Seasonality • Weather • Holidays • Market 1
  • 3. Example of consumers electricity load 20 40 60 0 250 500 750 1000 Time (3 weeks) Load(kW) 2
  • 4. Example of consumers electricity load 3.0 3.5 4.0 4.5 0 250 500 750 1000 Time (3 weeks) Load(kW) 3
  • 5. Example of consumers electricity load 0.0 2.5 5.0 7.5 10.0 12.5 0 250 500 750 1000 Time (3 weeks) Load(kW) 4
  • 6. Example of consumers electricity load - residential 0 1 2 3 0 250 500 750 1000 Time (3 weeks) Load(kW) 5
  • 7. Classical vs. our approach The classical way is to train a model for every consumer separately (drawbacks). Our approach uses data from all consumers in a smart grid to overcome stochastic changes and noisy character of data (time series). Solution: clustering of all consumers. 6
  • 8. Our method We will suppose that N is a number of consumers, the length of the training set is 21 days (3 weeks) whereby in every day we will consider 24 × 2 = 48 measurements, and we will execute one hour ahead forecasts. 1. Starting with iteration iter = 0. 2. Creating of time series for each consumer of the lengths of three weeks. 3. Normalisation of each time series by z-score (keeping a mean and a standard deviation in memory for every time series). 4. Computation of representations of each time series. 5. K-means clustering of representations and an optimal number of clusters is computed. 6. The extraction of K centroids and using them as training set to any forecasting method. 7. The denormalisation of K forecasts using the stored mean and standard deviation to produce N forecasts. 8. iter = iter + 1. If iter is divisible by 24 (iter mod 24 = 0 mod 24) then steps 4) and 5) are performed otherwise they are skipped and the stored centroids are used. 7
  • 9. Representation of time series After normalisation -> computation of representations of time series. We conducted from our previous works 1 that clustering model-based representations significantly improves accuracy of the forecast of the global (aggregate) consumption. For a representation, regression coefficients from the multiple linear regression is used. The linear model is composed of daily and weekly seasonal parameters. xt = βd1utd1 + · · · + βdsutds + βw1utw1 + · · · + βw6utw6 + εt 1 Laurinec et al., WCECS (2016) and ICDMW (2016) 8
  • 10. Representation of time series −1 0 1 2 3 0 250 500 750 1000 Length NormalizedLoad Original Time Series Daily Period Weekly Period −1 0 1 0 20 40 Length RegressionCoefficients Final Representation of Time Series 9
  • 11. Clustering 17 18 19 20 13 14 15 16 9 10 11 12 5 6 7 8 1 2 3 4 0 20 40 0 20 40 0 20 40 0 20 40 −1 0 1 2 3 −2 −1 0 1 2 3 −2 0 2 −2 0 2 −2 −1 0 1 2 3 −1 0 1 2 −3 −2 −1 0 1 2 −2 0 2 −2 −1 0 1 2 0 2 4 −2 0 2 4 −1 0 1 2 −2 0 2 4 −2 0 2 −2 −1 0 1 2 3 −1 0 1 2 −1 0 1 2 3 0 2 4 −2 −1 0 1 2 −2 −1 0 1 2 Length RegressionCoefficients 10
  • 12. Final centroids 17 18 19 20 13 14 15 16 9 10 11 12 5 6 7 8 1 2 3 4 0 250 500 750 1000 0 250 500 750 1000 0 250 500 750 1000 0 250 500 750 1000 −0.5 0.0 0.5 1.0 1.5 −1.5 −1.0 −0.5 0.0 0.5 1.0 −0.50 −0.25 0.00 0.25 −1 0 1 −1.0 −0.5 0.0 0.5 −1.0 −0.5 0.0 0.5 1.0 −1.0 −0.5 0.0 0.5 −1.0 −0.5 0.0 0.5 1.0 −1.0 −0.5 0.0 0.5 1.0 −0.5 0.0 0.5 1.0 0 1 0 1 2 −0.5 0.0 0.5 −1.0 −0.5 0.0 0.5 1.0 −0.5 0.0 0.5 1.0 1.5 0 1 0 1 2 0 1 2 3 4 5 −1.0 −0.5 0.0 0.5 1.0 −1 0 1 Time NormalizedLoad 11
  • 13. Forecasting methods Four methods were implemented • Seasonal naive method (SNAIVE) • Multiple Linear Regression (MLR) • Random Forest (RF) • Triple exponential smoothing (ES) MAE (Mean Absolute Error): 1 n n∑ t=1 |xt − xt|, where xt is a real consumption, xt is the forecasted load and n is a length of data. 12
  • 14. Scaling forecasts Denormalising K centroid-based forecasts by stored mean and standard deviation from every consumer (N). 13
  • 15. Data for experiments We used two different datasets consisting of a large number of variable patterns that were gathered from smart meters. This measurement data includes Irish and Slovak electricity load data. For the Irish residential testing dataset (3639 consumers) the data measurements from 1.2.2010 to 21.2.2010. For the Slovak factories testing dataset (3607 consumers) the data measurements from 10.2.2014 to 2.3.2014. 14
  • 16. Evaluation MAE Ireland dataset Mean Median Max SNAIVE_DisAgg 0.3807 ± 0.203 0.1928 ± 0.147 3.014 ± 1.3 SNAIVE_Clust 0.3373 ± 0.178 0.235 ± 0.143 2.6605 ± 1.192 MLR_Clust 0.3403 ± 0.18 0.2394 ± 0.146 2.6453 ± 1.187 RF_Clust 0.3394 ± 0.18 0.2425 ± 0.147 2.675 ± 1.192 ES_Clust 0.3359 ± 0.177 0.2387 ± 0.144 2.6629 ± 1.189 MAE Slovak dataset Mean Median Max SNAIVE_DisAgg 2.6903 ± 2.854 1.769 ± 2.27 16.1599 ± 14.621 SNAIVE_Clust 2.7873 ± 2.858 2.1479 ± 2.452 14.0958 ± 12.711 MLR_Clust 2.9326 ± 2.984 2.3109 ± 2.612 14.0306 ± 12.673 RF_Clust 2.7639 ± 2.836 2.0765 ± 2.388 14.4476 ± 13.081 ES_Clust 2.6752 ± 2.771 2.0283 ± 2.357 14.1695 ± 12.816 15
  • 17. Ireland dataset results 0 1 2 3 4 5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Hour MAE Method ES_Clust MLR_Clust RF_Clust SNAIVE_Clust SNAIVE_DisAgg 16
  • 18. Slovak dataset results 0 20 40 60 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Hour MAE Method ES_Clust MLR_Clust RF_Clust SNAIVE_Clust SNAIVE_DisAgg 17
  • 19. Conclusion • Newly proposed clustering-based forecasting method for end-consumer load using all data from a smart grid. • We proved that our clustering-based method decreases the forecasting error in the meaning of an average and the maximum (high rates of error). • However, the error rates did not decrease with respect to the median because of the nature of smart meter data. • Our method needs to train only K models (in our case about 28) instead of N models (thousands) that is leading to a huge decrease of the computational load. Future work: • More experiments to find the number of optimal clusters. • Other centroid-based clustering methods like K-medians, K-medoids and Fuzzy C-means can be also used. 18