Optimal Clustering of Energy Consumers based on Entropy of the Correlation Matrix between Clusters

Nameer Al Khafaf, Mahdi Jalili, Peter SokolowskiarXiv 2019

Abstract

Smart meters generate billions of data points, making it difficult for utilities to analyze consumer behavior at scale. This paper introduces a novel metric based on the entropy of a correlation matrix to mathematically determine the optimal number of consumer clusters. By combining Genetic Algorithms (GA) for feature selection and Self-Organizing Maps (SOM) for clustering, the authors successfully segment users to reveal distinct peak demand patterns. This approach paves the way for highly targeted grid management and demand response programs by ensuring that clusters are both distinct and manageable.

Introduction

Modern smart meters record household energy consumption at high frequencies, such as every 30 minutes, resulting in over 17,000 data points per customer annually. When scaled to millions of users, this creates a massive data mining challenge. To make sense of this data, utilities group (cluster) consumers with similar energy habits.

However, a major unresolved challenge in machine learning is deciding how many clusters to create. Most existing research relies on pre-determined, arbitrary cluster numbers. If too few clusters are created, distinct consumer behaviors are merged and lost; if too many are created, the clusters become redundant and computationally wasteful. This paper tackles the problem of finding the exact, mathematically optimal number of clusters for energy consumers to maximize the usefulness of the data for grid operators.

Methodology

The authors propose a three-step pipeline designed to handle high-dimensional smart meter data while preserving granular behavioral patterns:

  1. Feature Selection via Genetic Algorithm (GA): Rather than averaging data over long periods, which can obscure peak demand spikes, the authors maintain the yearly dataset. A GA is employed to identify the most significant 30-minute time intervals that characterize consumer behavior, significantly reducing computational complexity without losing critical information.
  2. Clustering via Self-Organizing Maps (SOMs): The reduced feature set is processed by an SOM, an unsupervised neural network that groups data based on Euclidean distance similarity.
  3. The Optimal Cluster Metric ($C$): The primary contribution is the introduction of a novel metric, $C$. This metric is derived by calculating the correlation matrix between generated clusters, extracting its eigenvalues, and determining their entropy. The metric $C$ ranges from 0 to 1, where a value closer to 0 indicates highly uncorrelated and thus maximally distinguishable clusters.
The metric $C$ plotted against the number of clusters, showing an optimal minimum at 4 clusters for the Australian dataset.

Datasets

The approach was validated on two real-world datasets:

  • Australian Dataset: 609 residential households in Victoria, Australia, with one year of 30-minute interval data.
  • Irish Dataset: 4,225 residential customers from the Irish Commission for Energy Regulation (CER) behavioral trial (2009-2010), standardized to a one-year timeframe.

Results and Discussion

The proposed metric successfully identified optimal cluster counts for both datasets, revealing insights that would be hidden by arbitrary clustering or data averaging.

Australian Data Insights

For the Australian dataset, the $C$ metric identified 4 as the optimal number of clusters. This segmentation isolated two distinct peak demand periods: one in July and another in December. For instance, Cluster 3 contained 30% of users driving the July peak, identifying them as a primary target for winter demand response programs.

Energy consumption profiles over time for different consumer groups, illustrating the granular patterns preserved by the clustering method.

Irish Data Insights

For the Irish dataset, the metric identified 15 as the optimal number of clusters. This allowed for a clean categorization of 4,225 users into low (0.25–0.66 kWh), medium (0.7–2.1 kWh), and high (3.2–16.6 kWh) annual energy consumption categories.

Key Findings

  • Distinguishability: The core philosophy is that clusters should share minimal information. If increasing cluster count causes $C$ to rise, the new clusters are too correlated and redundant.
  • Preservation of Spikes: By avoiding traditional averaging and using GA-based feature selection, the authors prevented high and low consumption spikes from canceling each other out, maintaining actionable data for grid operators.
  • Risks of Sub-optimal Clustering: The authors demonstrated that forcing the Australian data into 3 clusters instead of 4 merged distinct seasonal behaviors (summer vs. winter peaks) into a single profile, which would undermine targeted demand response efforts.

Conclusion

This research provides a mathematically rigorous framework for determining the optimal number of consumer clusters in large-scale smart meter datasets. By ensuring clusters are maximally distinguishable, utilities can better understand and manage grid demand. Future work involves collaborating with the distribution industry to use these optimal clusters for designing and implementing actual demand-side management policies and targeted pricing programs.

Summary updated

BibTeX
@misc{khafaf2019optimal,
  author = {Nameer Al Khafaf and Mahdi Jalili and Peter Sokolowski},
  title = {{Optimal Clustering of Energy Consumers based on Entropy of the Correlation Matrix between Clusters}},
  year = {2019},
  eprint = {1903.01159},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.01159},
}
Figure