Next Article in Journal
Coordinated Control of a Wind-Methanol-Fuel Cell System with Hydrogen Storage
Previous Article in Journal
Control Algorithms of Shunt Active Power Filter for Harmonics Mitigation: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Segmentation of Residential Gas Consumers Using Clustering Analysis

IDMEC, Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisboa, Portugal
*
Author to whom correspondence should be addressed.
Energies 2017, 10(12), 2047; https://doi.org/10.3390/en10122047
Submission received: 26 September 2017 / Revised: 13 November 2017 / Accepted: 24 November 2017 / Published: 4 December 2017

Abstract

:
The growing environmental concerns and liberalization of energy markets have resulted in an increased competition between utilities and a strong focus on efficiency. To develop new energy efficiency measures and optimize operations, utilities seek new market-related insights and customer engagement strategies. This paper proposes a clustering-based methodology to define the segmentation of residential gas consumers. The segments of gas consumers are obtained through a detailed clustering analysis using smart metering data. Insights are derived from the segmentation, where the segments result from the clustering process and are characterized based on the consumption profiles, as well as according to information regarding consumers’ socio-economic and household key features. The study is based on a sample of approximately one thousand households over one year. The representative load profiles of consumers are essentially characterized by two evident consumption peaks, one in the morning and the other in the evening, and an off-peak consumption. Significant insights can be derived from this methodology regarding typical consumption curves of the different segments of consumers in the population. This knowledge can assist energy utilities and policy makers in the development of consumer engagement strategies, demand forecasting tools and in the design of more sophisticated tariff systems.

Graphical Abstract

1. Introduction

The energy sector constitutes the source of at least two-thirds of greenhouse gas emissions, which means action must be undertaken to reduce energy consumption and the associated greenhouse gas emissions. According to the World Energy Outlook 2016 Report [1], there will be a 30% rise in global energy demand to 2040. Globally, it is predicted that renewable energy will see by far the fastest growth [1]. Natural gas, as the cleanest fossil fuel, can be considered as an important adjunct to renewable energy sources [2]. Therefore, it is expected that gas consumption will increase worldwide, where the potential for demand growth will be significant in Asia, while Japan will fall back as nuclear power is reintroduced [1,3].
The European Commission adopted measures aimed at achieving savings of 20% in primary energy consumption until 2020 [4]. Some of these measures strongly focus on the residential sector, an important target of energy policy where potential energy savings can be achieved [4,5,6]. Residential consumers give preference to natural gas energy for heating, cooking and hot water over other sources of energy, for being environmentally-friendly, easy to use and reliable, in terms of distribution and supply and eventually less expensive compared to other sources. Smart grids play a relevant role in this matter by empowering consumers to make smarter decisions regarding the use of energy in their household.
The emerging smart grid requires distributed intelligence, as well as the development of models based on artificial intelligence, e.g., [7,8,9]. Several studies have been published in the electrical energy field, mostly facilitated by the availability of suitable databases [10]. Different is the case for research on the analysis of gas demand, especially when it comes to clustering and consumer profiling based on consumption data. These data can provide significant insights for utilities and policy makers regarding typical consumption curves of the different segments of consumers. The effect of energy policy on the different segments of consumers can be studied based on the way these different segments consume this energy source. A substantial amount of effort has been put into the gas demand forecasting [11,12,13,14,15,16] and into the determinant factors of residential gas consumption [17,18]. The study of energy savings has been conducted for buildings, as well, mostly inserted in projects for the development of sustainable cities [19,20]. The investigation of the weather impact on energy consumption is also addressed in the literature. The gas sector is one of the most sensitive sectors affected by weather risk and time of year [21,22,23,24,25], since there is higher gas demand in colder seasons compared to warmer seasons.
Regarding the use of clustering techniques for residential gas consumers’ load profiling, few papers have been published. In a study [26] from 2009, gas standardized load profiles (SLP) were obtained by using clustering as part of the development of a semiparametric regression model. Consumers were classified according to their classes (household and small and medium commercial), type (household, office, manufacturer, heating plant, etc.) and gas appliances (heating, cooking, hot water and technology). Then, the authors used Ward’s hierarchical clustering (HC) [27] and the K-means (KM) clustering algorithm [28] to obtain the clusters of consumers in the population. For the model implementation, the consumers were classified into the resulting segments obtained, where the most suited type of estimated SLP curves was assigned to them. In [29,30], a clustering analysis was performed to determine the segmentation of residential gas consumers. In [29], fuzzy C-means (FCM) [31], KM algorithms and HC were used to obtain seasonal representative profiles of gas consumers. These were characterized based on the consumption patterns; however, the consumers’ socio-economic and household key features were not considered. In [30], the segments were characterized based on the consumption patterns and on the consumers’ socio-economic and household key features; however, a single clustering technique was used.
In this paper, we propose a methodology to determine the segmentation of residential natural gas consumers using clustering techniques. This analysis is novel for the case of natural gas profiling for two reasons. The first is because we use more than a clustering algorithm to obtain the segments. The second relies on the fact that we characterize these segments based not only on the representative profiles obtained from clustering, as well as according to information regarding consumers’ socio-economic and household key features. We use three clustering algorithms, namely KM, FCM and Ward’s HC, to define the profiles of consumers. Classical KM is one of the most used clustering algorithms to obtain energy consumption profiles. Both KM and FCM have already been successfully used for the case of smart metering electricity data [32,33,34,35,36,37,38,39,40,41] and natural gas data [26,30]. FCM allows gradual memberships to cluster, which offers the opportunity to deal with data that belong to more than one cluster simultaneously [31]. Besides partitioning methods, Ward’s method was selected for being an agglomerative hierarchical clustering technique and because it has already been applied to natural gas data [26,29]. A logistic regression is performed to link the socio-economic and household key features to the groups of consumers obtained with clustering.
We use clustering validity indices (CVIs), namely silhouette, Davies and Bouldin’s index, Dunn’s validity index, weighted average intra-inter cluster distance index and Xie and Beni’s index, to evaluate the results obtained from the clustering algorithms referred to above. These CVIs were selected because they all focus on maximizing intra-cluster and minimizing inter-cluster similarities. Davies and Bouldin’s and Dunn’s validity indices are well-known measures, frequently used for the task of selecting the best clustering solution [42]. The weighted average intra-inter cluster distance index was selected because it gives a measure of the overall cluster quality [43]. Silhouette combines both cohesion and separation, and the average silhouette width provides an evaluation of clustering validity, which can be visually assessed in a graphical representation [44]. Finally, Xie and Beni’s index proved to be suited for assessing clustering results, particularly for the FCM algorithm [45].
We analyze the seasonal clusters obtained and draw conclusions regarding the consumption curves and characteristics of each cluster. High frequency smart metering gas consumption data from Ireland [46] are used. The database is rich since it contains data of approximately one and a half thousand households over one and a half years.
The outline of the paper is as follows. In Section 2, we present the data preprocessing steps. In Section 3, we address the clustering techniques and the CVIs. In Section 4, we evaluate and discuss the clustering results and the specific characteristics of each segment of gas consumers. In Section 5, we present the conclusions of this research and future work.

2. Data Preprocessing

Smart metering data consist of consumption data recorded in a smart meter device in intervals of an h or less. In order to obtain the profiles of consumers for an easier interpretation and analysis, preprocessing was performed. The data preprocessing adopted in the paper is represented in Figure 1.
Data collected from smart meters may exhibit missing values, e.g., due to noise. The missing data may be replaced by appropriate values or left as missing. In the paper, missing data were ignored, given that the aggregation task reduced this impact on the overall data quality. The missing data analysis was followed by a process of context filtering, which involved the selection of data representing a specific context such as a temporal window, type of day and location. Regarding the outliers’ analysis, all households with a significant percentage of null consumption measurements were considered outliers and excluded. In the task of data aggregation, the period used (e.g., monthly, weekly) and operator (e.g., sum, median) have to be defined. The operator of summation was used to aggregate consumption data hourly per season for each consumer, as presented in Figure 2. “Day A” corresponded to the aggregated hours of a day for a consumer in the respective season. Thus, for H input features and N consumers, the feature vector for consumer k is x = [ x k 1 , , x k H ] where k = 1:N, X I R N × H contained the information in matrix of (1).
X = x 1 1 x 1 H x N 1 x N H
In this paper, the profiles were normalized based on the maximum hourly consumption of all consumers, using the minimum-maximum normalization method:
x n o r m = x x m i n x m a x x m i n
where x n o r m is the normalized version of the feature value x to be normalized. x m a x and x m i n are the maximum and minimum value of feature x, respectively. This method is commonly used in engineering and clustering applications to normalize the data due to its linear transforming form [47].

3. Clustering

Data clustering is a method of creating groups of objects, or clusters, in such a way that objects in one cluster are similar and objects in different clusters are distinct [48]. In this paper, we used clustering methods in a specified context, such as a season, to obtain the segments of consumers. Figure 3 presents the methodology we followed to determine the segments of consumers and their respective representative profiles. The clustering analysis was similar to the one proposed in [49] for the case of electricity smart metering data. This analysis consists of processing smart metering data to obtain the representative profiles of consumers. Clustering configurations are tested and assessed by means of CVIs. Expert judgement is also used in this step, through graphical visualization of the clusters obtained. Once a clustering configuration is selected, the representative profiles of the population are obtained.

3.1. Clustering Algorithms

A clustering algorithm is mainly characterized by a proximity measure, which quantifies how “similar” two data points are, and a clustering criterion, as well as by its efficiency to define a clustering scheme that fits the dataset [50]. The clustering criterion is expressed via a cost function in the case of the partitioning algorithms or via the termination condition where data objects are grouped into a tree until a single cluster remains, in the case of hierarchical clustering. The objective functions serve as cost functions that have to be minimized to obtain optimal cluster solutions.

3.1.1. K-Means

Hard c-means, better known as K-means (KM), is classified as a partitional clustering algorithm, where the number of clusters ( n c ) is assumed to be fixed [28]. In the KM algorithm, the clusters are represented by the center vectors c i ¯ . It is required that the set of clusters C = { c 1 , , c n c } is a partition of the dataset into non-empty pairwise disjoint subsets. Such a data partition is said to be optimal when the sum of the squared distances between the cluster centers and the data points assigned to them is minimal. The objective function of the KM algorithm is the following:
J h ( X , U h , V ) = i = 1 n c j = 1 N μ i j d i j 2 ( x j , c i ¯ )
where U h is the partition matrix n c × N and V = { c 1 ¯ , , c n c ¯ } is the set of cluster centers. The Euclidean distance is represented by d i j , and μ i j { 0 , 1 } indicates the assignment of data to clusters. Each data point is assigned to its closest cluster center according to the formula:
μ i j = 1 , if i = argmin l = 1 n c d l j 0 , otherwise
The calculation of the mean for each cluster is in (5):
c ¯ i = j = 1 N μ i j x j j = 1 N μ i j

3.1.2. Fuzzy C-Means

FCM was developed by J.C.Dunn in 1973 [31] and improved by J.C. Bezdek in 1981 [51]. Fuzzy cluster analysis allows gradual memberships of data points to clusters μ i j [0, 1] in U f . The objective function of the FCM algorithm is the following:
J f ( X , U f , V ) = i = 1 n c j = 1 N μ i j m d i j 2 ( x j , c i ¯ )
The parameter m, where m > 1, is the weighting exponent, which determines the ‘fuzziness’ of the classification. For the FCM algorithm, the membership degrees are selected according to (7):
μ i j = 1 l = 1 n c d i j 2 d l j 2 1 m 1 = d i j 2 m 1 l = 1 n c d l j 2 m 1
The fuzzy partition matrix U f is held fixed, and the calculation of the mean for each cluster is:
c ¯ i = j = 1 N μ i j m x j j = 1 N μ i j m

3.1.3. Hierarchical Clustering

Ward’s minimum variance method is a hierarchical agglomerative clustering algorithm [27]. Ward’s method finds in each iteration the pair of clusters that leads to the minimum increase in total within-cluster variance after merging. We used the weighted squared Euclidean distance as linkage measure. Ward’s method first selects the most appropriate n c and considers each sample as a cluster in order to calculate the square sum of each cluster deviation. Each cluster is combined until all samples with higher similarity are in the same cluster.

3.2. Clustering Validity Indices

The number of clusters n c in the data is usually unknown, so it has to be specified as an input parameter. The CVIs used to assess the optimal n c in the data are introduced as follows. The aim is to maximize the intra-cluster and minimize the inter-cluster similarities.

3.2.1. Silhouette Index

The silhouette (Sil) [44] consists of a method of interpretation and validation of consistency within clusters:
S i l = 1 N c k C x i c k b ( x i , c k ) a ( x i , c k ) m a x { a ( x i , c k ) , b ( x i , c k ) }
where:
a ( x i , c k ) = 1 / | c k | x j c k d ( x i , x j )
and:
b ( x i , c k ) = min c l C \ c k 1 / | c l | x j c l d ( x i , x j ) .
Values a ( x i , c k ) and b ( x i , c k ) are a measure of cohesion and isolation, respectively. Entities with a Sil width close to one are well clustered, while those with a lower width can be considered intermediate.

3.2.2. Davies–Bouldin Index

The Davies and Bouldin’s index (DB) [52] identifies compact clusters that are far from each other, and it is defined as:
D B = 1 n c c i C max c k C \ c i s ( c i ) + s ( c k ) d ( c i ¯ , c k ¯ )
where:
s ( c k ) = 1 / | c k | x j c k d ( x j , c k ¯ ) .
It is desirable for the clusters to have the minimum possible similarity to each other; therefore, the best clustering results are given by a minimum value of the index.

3.2.3. Dunn’s Index

The Dunn’s validity index (DI) is used to identify “compact and well separated” [53] clusters. The index for a specific number of clusters is defined as:
D I = min 1 i n c { min 1 j n c , j i δ D ( c i , c j ) max 1 k n c Δ D ( c k )
where:
δ D ( c i , c j ) = min x c i ¯ , y c j ¯ d ( x , y )
and:
Δ D ( c k ) = max x , y c k d ( x , y )
Equations (15) and (16) represent the inter- and intra-cluster distances, respectively. The best clustering results are obtained with the maximum value of the index.

3.2.4. Weighted Intra-Inter Index

The weighted average intra-inter cluster distance index (WI) was proposed by Strehl [43], and it is based on the ratio of the weighted average inter-cluster to the weighted average intra-cluster similarity:
W I = ( 1 2 n c / N ) 1 i = 1 n c | c i | N | c i | j { 1 , , i 1 , i + 1 , , n c } | c j | · δ W ( c i , c j ) i = 1 n c | c i | Δ W ( c i )
where:
δ W ( c i , c j ) = 1 | c i | · | c j | x c i ¯ , y c j ¯ d ( x , y )
and:
Δ W ( c i ) = 2 ( | c i | 1 ) | c i | x , y c i d ( x , y )
Inter- and intra-cluster distances are represented by (18) and (19), respectively. A null WI indicates that objects within the same cluster are on average not more similar than objects from different clusters. On the contrary, for a WI of one, all pairs of objects from different clusters have a similarity of zero, and at least one pair from the same cluster has a non-zero similarity.

3.2.5. Xie and Beni’s Index

Xie and Beni [54] defined an index of fuzzy cluster validity (with the parameter m = 2), which was later generalized by Pal and Bezdek [45]. Cluster compactness and separateness are measured by using:
X B = i = 1 n c j = 1 N ( μ i j ) m d i j 2 ( x j , v i ) N min i , j d i j 2 ( c i ¯ , c j ¯ )
The optimal n c should be obtained with the minimum value of the index.

4. Results and Discussion

4.1. Natural Gas Data Preprocessing

The gas consumption data, as well as the socio-economic features of consumers and household characteristics were provided by the Irish Social Science Data Archive (ISSDA) [55]. The smart metering gas consumption data (in kWh) were collected from 1 December 2009–30 May 2011 with a frequency of a half an h in each day. Smart metering data from 1493 households were available for preprocessing.

4.1.1. Missing Data Analysis

Six days were missing in the database. We ignored these days, since there was no obvious way to attribute the gas use. We considered that the available data had a significant extent and their absence would not affect the following steps of data preprocessing. Moreover, the aggregation task would reduce this impact on the overall data quality.

4.1.2. Context Filtering

We excluded weekends and holidays from the analysis since they represented atypical periods of consumption. Thus, we used only smart metering data from working days. Then, we extracted the profiles seasonally, by aggregating days for each season of a year. We used data from December of 2009–2010. The way we divided data for each season is presented in Table 1. The corresponding number of days to be aggregated was 243.

4.1.3. Outliers Analysis

We observed that there were households with low gas use throughout the study period. These may correspond to holidays or renting accommodation households, which were considered exceptions. Therefore, after data analysis, we considered that all consumers with more than 90% of null consumption measurements in the study period should be excluded. With the removal of these outliers, we obtained more defined and compact representative profiles of consumers. With this criterion, we excluded 63 consumers and were left with 1430. An example of a standard and of a low gas use profile in a year is depicted in Figure 4.

4.1.4. Data Aggregation

We performed an hourly aggregation of all consumption data, obtaining 24 features for each consumer in each season, as presented in Figure 2 of Section 2. We used summation as the aggregation operator in order to keep the value of total amount of gas consumption for each consumer. Given N samples (here, N = 1430) and H input features (here, H = 24), we constructed a matrix for each season, as given in (1).

4.1.5. Data Normalization

We normalized the profiles of consumers using the minimum-maximum normalization method (2), based on the maximum hourly consumption of all consumers for each season. By using a normalization, the normalized consumption curves provided more insights related to the patterns of consumption, and the profiles were more defined.

4.2. Seasonal Consumptions

The profile curves of the seasonal mean hourly aggregated consumption of all consumers are depicted in Figure 5.
As expected, winter, the coldest season, presents the highest mean hourly aggregated consumptions, while summer, the warmer season, presents the lowest. This happens because gas is mainly used for bathing and cooking in the summer, while in the winter, it is also needed for heating. For every season, there are two evident consumption peaks, one in the morning and the other in the evening. Mean hourly aggregated consumptions are low during the night and, in the case of summer, practically null.

4.3. Seasonal Profiles

Before performing clustering analysis, we assessed the normalized consumption patterns of consumers for each season and concluded that there was no structure, as it can be seen in Figure 6. In order to obtain the seasonal profiles, we performed clustering with classical KM and FCM algorithms and Ward’s HC, using MATLAB software. We used the five CVIs presented in Section 3.2 to assess clustering results. In order to obtain the best clustering configurations, we varied n c between two and 10. We considered that the best clustering configuration should present a uniform distribution, minimize intra-cluster distance and maximize inter-cluster distance.
Since the KM algorithm depends on the initialization, we performed ten iterations for each number of clusters ( n c ) and selected one that presented the best CVI values. For the FCM algorithm, we varied m between 1.25 and two. The best results were achieved with an m of 1.25; therefore, we only present the results obtained with this parameter value.
Clustering results presented in Table 2 are based on the CVI scores, as well as expert judgment. The criterion to select the algorithm and number of clusters consisted of selecting the algorithm where there was a higher number of CVI agreement on the number of clusters. We provide the results of the CVI scores for each n c in Appendix A.
DI consistently indicated two as the best n c , as well as Sil, except for two events with HC, as presented in Table 2. When analyzing the representative profiles obtained with two clusters, we observed that, for all seasons, it consisted of a separation between high and low consumption consumers, as presented in Appendix B. In this scenario, the majority of the profiles were significantly different from the representative ones. For this reason, we considered that a more interesting analysis regarding the consumption profiles should be performed with a higher n c . Thus, the best n c obtained for spring and summer was three, with the HC and FCM algorithm, respectively, for autumn was four with HC and for winter was five with the KM algorithm. The selection of algorithms and n c for each season was based on the following rationale:
  • Spring, HC with three clusters: HC was the algorithm where two CVIs agreed regarding the best number of clusters to select;
  • Summer, FCM with three clusters: Although two CVIs agreed on five clusters for KM and three CVIs agreed on four clusters for HC, for both, one of the clusters was not representative of the population, with a reduced number of consumers. For FCM, two CVIs presented the highest values for five (DB) and three (WI) clusters. Following the elbow method, where an inferior n c is chosen since adding more clusters does not improve clustering results, three clusters were selected. These clusters were compact, well defined and representative of the population;
  • Autumn, HC with four clusters: HC was the algorithm where three CVIs agreed regarding the best number of clusters to select;
  • Winter, KM with five clusters: Both the KM algorithm and HC had three CVIs that agreed on the number of clusters; however KM, presented more compact clusters, which was assessed by visual analysis.
In the following figures illustrating the normalized consumption profiles of the consumers, the x-axis represents the 24 h in a day.
The spring profiles are presented in Figure 7, where three clusters were obtained using HC. From Figure 8, it can be observed that WI and XBpresented higher performance with this n c . DI and Sil also presented a high value for three clusters, very similar to the ones obtained with two clusters.
The summer profiles are presented in Figure 9, where three clusters were obtained using the FCM algorithm. This n c was mainly indicated by WI, as noticeable in Figure 10. We considered the higher degree of membership of a consumer to a cluster to turn fuzzy memberships into crisp partitions. With three clusters, higher CVI performance results were achieved with the HC and KM algorithm. However, for both, one of the clusters had a reduced number of consumers. These clusters were not considered representative of the population; therefore, results obtained with FCM algorithm were selected.
The XB index is suited to assess the clustering results of the FCM algorithm; however, this CVI consistently indicated two clusters as the best n c , as can be seen in Table 2. For the case of summer, analyzing the XB index in Figure 10, there is an elbow point for five clusters. The elbow point consists of the number of clusters with a sharp change of the index values, and it is a method of selecting the best number of clusters. However, between three and five clusters, three were selected, following the principle of the elbow method, where an inferior n c is chosen since adding more clusters does not improve clustering results. The three clusters obtained were compact, well defined and representative of the population.
The autumn profiles are presented in Figure 11, where four clusters were obtained using HC. The clusters obtained with HC were more compact and well defined, compared to the other algorithms, and presented consistent CVIs performance, which can be verified in Figure 12.
The winter profiles are presented in Figure 13, where five clusters were obtained using the KM algorithm. For this algorithm, all CVIs indicated five clusters as the best result, except for Sil and DI. Although Sil and DI presented the best result for two clusters, five clusters were the second best result for both, which can be observed in Figure 14. The clusters obtained with KM were more compact and well defined, compared to HC. For the HC and FCM algorithm, five clusters were selected as the best by at least two CVIs, which can be verified in Table 2. The higher number of profiles obtained, comparing with the other seasons, is related to a higher use of gas in this season. Consumers’ households are equipped with different heating systems, and depending upon households structural characteristics, as for example the floor area or number of divisions, not to mention socio-economic factors, consumption patterns may substantially vary amongst consumers.

4.4. Normalized Representative Consumption Profiles

The profiles of the population are represented as normalized load profiles (LP) in Figure 15 and consist of the clusters’ centers. Cluster 1 corresponds to LP 1, Cluster 2 to LP 2, and the same applies for the other clusters. The population representative profiles are essentially characterized by:
  • the morning and evening consumption peaks;
  • the time at which the consumption starts to rise and to decline;
  • the off-peak consumption.
Except for summer, for each season, there is a normalized LP, which presents the highest peak consumption, compared to the other season LPs. However, despite having the highest peaks, the off-peak consumption of these LPs is not higher than the others of the respective season. In the case of spring, daytime off-peak consumption of LP 1 is higher than the others. Nevertheless, during night, there is another profile (LP 2) with higher off-peak consumption. Summer is the only season where there is a profile with both peaks lower than all the other season profiles’ peaks.
For each season, there is at least one normalized LP that presents an accentuated difference between peaks, as can be verified in Figure 15; for spring, LP 2 and LP 3, for summer LP 1, for autumn LP 2 and for winter LP 5. The off-peak consumption is significantly lower in spring and summer given that these are colder compared to the other seasons and thus characterized by a higher amount of gas use. Regarding the off-peak consumption hours, colder seasons have a normalized LP (LP 2 for autumn and LP 5 for winter) with consumptions at 12 p.m. approximately equal to those in the morning peak. Despite this fact, the off-peak consumption of winter LPs during night until morning activity starts is relatively low, compared with the consumptions that the LPs present throughout the day.
Each season has at least one normalized LP with a larger peak consumption that may take several hours to rise and decline, which may be related to the heating systems’ programming.
The representative normalized consumption profiles were obtained from data of 1430 consumers. We found that among these, the database contained information regarding socio-economic and household key features of 1246 consumers. After analyzing the normalized profiles obtained and the available features in the database, we found that the most relevant were the ones presented in Table 3. We aimed at assessing the relationship between LPs and socio-economic and household features for a season and a mid-season, namely summer and spring.
The percentage of the 1246 consumers in each cluster is presented in Table 4, from c 1 c 5 , where each cluster is represented by LP 1–LP 5, respectively. We considered that the profiles obtained were representative of the population, with a significant number of consumers in each cluster.
The percentage of consumers in each normalized LP is presented for each categorical feature, considering the consumers of each cluster in Table 5. The percentages considering the consumers of all clusters (i.e., the total number of consumers) for each normalized LP are presented in Table 6. The percentage value of the category that best represents the consumers’ profiles, i.e., the one with a higher relative percentage in the population for that key feature, is highlighted in bold text.
The consumers’ normalized representative profiles can be described for each season (see Table 5):
  • Spring:
    -
    LP 1: those who have the highest morning and evening peak consumption, as well as the highest daytime off-peak consumption and a low one during night. This normalized LP represents the smallest group (8%) of consumers in this season. The majority of consumers belong to upper middle social class AB and receive an income superior to 75 k€. More than a half of the consumers’ households have four bedrooms;
    -
    LP 2: those who have a high morning peak consumption and the lowest in the evening, as well as a low daytime off-peak consumption and the highest one during night. The majority of consumers belongs to lower middle social class C1 and use mostly gas and electric cookers as cooking sources;
    -
    LP 3: those who have a low off-peak consumption during both day and night, as well as the lowest morning peak consumption and a higher one in the evening. This normalized LP represents the larger group (66%) of consumers in this season. More than a half of the consumers’ households have three bedrooms and are less than 25 years old. About a half of the consumers use an electric cooker as the cooking source, this being reflected in the overall gas consumption, which is the lowest during the day, comparatively with the other normalized LPs.
  • Summer:
    -
    LP 1: those who have the highest morning and evening peak consumption. This normalized LP represents the smallest group (18%) of consumers in this season. The majority of consumers belong to upper middle social class AB and receive an income superior to 75 k€. More than a half of the consumers’ households have four bedrooms;
    -
    LP 2: those who have approximately equal morning and evening peak consumption, as well as the highest daytime off-peak consumption. The majority of consumers are between 46 and 55 years old and belong to lower middle and semi-skilled workers social classes C1 and DE, respectively. The majority of the households are less than 50 years old, where the category 26–50 is the most representative in the population for this normalized LP (see Table 6);
    -
    LP 3: those who have a low daytime off-peak consumption and the lowest consumption peaks. This normalized LP represents the larger group (50%) of consumers in this season. The majority of consumers belong to lower middle social class C1 and are between 36 and 45 years old. Almost a half of the consumers use an electric cooker as the cooking source, which is reflected in the overall low gas consumption throughout the day.

4.5. Analysis with Logistic Regression

Logistic regression (LR) models the posterior probabilities (P) of the classes (correspondent to the representative normalized LPs in this case) via a linear function in x, while ensuring they sum to one and remain in [0, 1]. We performed an LR for all the N consumers, where N = 1246 and k = 1:N in (21)–(24). We aimed to assess the relationship between the socio-economic and household key features and the different groups of consumption patterns in each season. The drivers of gas consumption could also be ascertained through regression methods such as ordinary least squares (OLS), relating the consumer features to their accumulated consumption. As we aim further with this work to seek the drivers of different consumption dynamics, we wish to understand not only how characteristics relate to high and low consumption, but also how they relate to consumption peaks and other demand curve characteristics at different times of the day. Each cluster of a season displays different curves of normalized consumption, and this is characterized by the morning and evening peak and the off-peak consumptions. Thus, through classification with LR, it is possible to link the gas consumers’ key features with the different consumption groups obtained with clustering, which exhibit different characteristic consumption dynamics.
The clustering analysis resulted in n c clusters; thus, the classifier linearly separated each one of n c − 1 clusters into the c n c clusters. The coefficients express the effects of the predictor features on the log odds of being in one cluster c 1 or c 2 versus the reference cluster c 3 .
The equations that describe the LR model for spring are the following:
log P ( x k c 1 ) P ( x k c 3 ) = 0.48 ( c o n s u m e r _ a g e ) 0.28 ( s o c i a l _ c l a s s ) + 0.58 ( h o u s e _ a g e ) + + 1.56 ( n u m b e r _ o f _ b e d r o o m s ) 0.35 ( c o o k i n g _ s o u r c e s ) + 0.27 ( y e a r l y _ i n c o m e ) 10.37
log P ( x k c 2 ) P ( x k c 3 ) = 0.27 ( c o n s u m e r _ a g e ) 0.06 ( s o c i a l _ c l a s s ) + 0.20 ( h o u s e _ a g e ) + + 0.86 ( n u m b e r _ o f _ b e d r o o m s ) 0.17 ( c o o k i n g _ s o u r c e s ) + 0.26 ( y e a r l y _ i n c o m e ) 5.65
The equations that describe the LR model for summer are the following:
log P ( x k c 1 ) P ( x k c 3 ) = 0.49 ( c o n s u m e r _ a g e ) + 0.29 ( s o c i a l _ c l a s s ) 0.45 ( h o u s e _ a g e ) 1.79 ( n u m b e r _ o f _ b e d r o o m s ) + 0.21 ( c o o k i n g _ s o u r c e s ) 0.22 ( y e a r l y _ i n c o m e ) + 9.63
log P ( x k c 2 ) P ( x k c 3 ) = 0.02 ( c o n s u m e r _ a g e ) + 0.28 ( s o c i a l _ c l a s s ) 0.16 ( h o u s e _ a g e ) 0.75 ( n u m b e r _ o f _ b e d r o o m s ) + 0.23 ( c o o k i n g _ s o u r c e s ) 0.25 ( y e a r l y _ i n c o m e ) + 3.35
We assumed a significance level of 0.05, i.e., features were considered statistically significant if their coefficients were associated with p-values < 0.05 (see Table 7).
Regarding the household characteristics, the number of bedrooms was significant for the models of both seasons. The coefficients associated with this feature presented the higher values in all equations. The house age was significant in both models, except to discriminate a classification between c 2 and c 3 in summer (24). The odds of a consumer being in c 1 or c 2 versus c 3 were positively related with both features in spring, while in summer, they were negatively related.
Regarding the consumers’ characteristics, their age was significant for both models, except to discriminate a classification between c 2 and c 3 in summer (24). The social class was significant only for the summer LR model. The yearly income was significant for both models, except to discriminate a classification between c 1 and c 3 in spring (21). The odds of a consumer being in c 1 or c 2 versus c 3 was positively related with consumers’ age and yearly income in spring. In summer, the odds of a consumer being in c 1 or c 2 versus c 3 were negatively related to these features, with the exception of consumers’ age in (24), the coefficient value (0.02) of which was minimum, compared with the others, and not statistically significant. On the contrary, the odds of a consumer being in c 1 or c 2 versus c 3 were negatively related with social class in spring and positively related in summer.
The cooking sources were significant for one of the spring and summer equations, in (21) and (24), respectively. The odds of a consumer being in c 1 or c 2 versus c 3 were negatively related with this feature in spring, while in summer, they were positively related.

5. Conclusions

In this paper, we proposed a clustering-based methodology to define the segmentation of residential gas consumers. We tested this methodology by extracting the representative profiles of the population, using smart metering gas consumption data. In order to find the different segments of the population, we used three clustering algorithms and five CVIs, which resulted in a total of 15 normalized representative load profiles reflecting the different consumption patterns. For spring and summer, we obtained three representative profiles, using the HC and FCM algorithm, respectively. For autumn, we obtained four representative profiles using HC. For winter, we obtained five representative profiles using the KM algorithm.
The representative profiles were essentially characterized by two evident consumption peaks, one in the morning and the other in the evening, the off-peak consumption and the time at which the consumption started to rise and to decline. Moreover, we selected two seasons, spring and summer, to analyze the relationship between specific socio-economic and household characteristics and consumers’ normalized representative load profiles. We obtained interesting insights by studying a mid-season and a season displaying different consumption dynamics. Therefore, we found specific characteristics in each cluster, leading to the identification of the different population groups for each season. For both seasons, the smaller representative group of the population presented the highest morning and evening peak consumption. In this group, the majority of consumers belonged to the upper middle social class, received an income superior to 75 k€ and more than a half had four bedrooms in the household. The most representative group of the population was characterized by about a half, in spring, and almost a half, in summer, of the consumers using mainly the electric cooker as the cooking source, which was reflected in the overall low gas consumption throughout the day.
The LR was performed based on the clustering results obtained, so that a relationship between the key features and the consumption profiles could be defined considering the different groups of consumption patterns in each season. We found that the number of bedrooms in the household was a significant feature in the LR models. This was in accordance with the clustering results, where the most representative category of this feature for each cluster had a representative value superior to 46%.
In the future, other clustering algorithms, such as mixed fuzzy clustering, which combines time-variant and time invariant variables, CVIs and similarity measures can be applied in order to further explore the data. The knowledge derived from the proposed methodology can assist energy utilities and policy makers in the development of consumer engagement strategies, demand forecasting tools and in the design of more sophisticated tariff systems.

Supplementary Files

Supplementary File 1

Acknowledgments

This work was supported by Fundação para a Ciência e a Tecnologia (FCT), through Instituto de Engenharia Mecânica (IDMEC), under Laboratório Associado de Energia, Transportes e Aeronáutica (LAETA)-UID/EMS/50022/2013, and project SusCity MITP-TB/CS/0026/2013. The work of Marta Fernandes was supported by the Ph.D. Scholarship PD/BD/114150/2016 from FCT. The work of Joaquim L. Viegas was supported by the Ph.D. in Industry Scholarship SFRH/BDE/95414/2013 from FCT and Novabase. Susana M. Vieira acknowledges support by Program Investigador FCT (IF/00833/2014) from FCT, co-funded by the European Social Fund (ESF) through the Operational Program Human Potential (POPH).

Author Contributions

All authors conceived the study design, revised and approved the final manuscript and contributed to the scientific content of the paper. Marta P. Fernandes analyzed the data in MATLAB R2015a (The MathWorks Inc.) and wrote the paper. Joaquim L. Viegas helped with editing the manuscript. Susana M. Vieira and João M. C. Sousa supervised the work.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Clustering Validity Indices’ Results

Table A1. Seasons’ CVIs, where the best values of the indices are highlighted in grey color, for a certain number of clusters n c for each algorithm.
Table A1. Seasons’ CVIs, where the best values of the indices are highlighted in grey color, for a certain number of clusters n c for each algorithm.
Alg. n c SpringSummerAutumnWinter
Sil ↑DB ↓DI ↑WI ↑XB ↓Sil ↑DB ↓DI ↑WI ↑XB ↓Sil ↑DB ↓DI ↑WI ↑XB ↓Sil ↑DB ↓DI ↑WI ↑XB ↓
KM20.311.860.840.500.820.461.780.750.230.770.241.800.940.360.830.231.900.880.580.92
30.201.920.650.461.260.441.750.670.330.870.122.210.570.621.760.132.230.570.651.70
40.141.770.560.591.560.401.560.250.750.970.141.820.610.601.290.141.890.650.651.26
50.151.730.500.581.320.411.400.220.760.820.141.720.660.611.070.141.800.660.661.10
60.151.840.490.521.330.311.460.160.611.450.131.730.600.591.270.121.820.650.631.31
70.141.800.480.581.620.241.550.120.482.380.111.660.550.601.420.101.730.490.651.85
80.111.680.440.571.790.231.580.110.522.720.121.760.540.601.430.101.800.490.651.85
90.111.790.350.561.750.201.650.090.483.840.091.760.500.601.790.101.740.510.651.45
100.081.840.340.592.700.291.470.100.541.540.101.820.480.601.470.101.780.500.651.40
HC20.232.210.720.291.320.292.030.620.261.760.172.150.780.331.290.052.080.770.421.60
30.222.140.700.741.250.291.460.260.611.830.132.300.600.691.730.062.360.660.591.64
40.072.070.500.542.270.301.450.130.621.690.121.840.700.711.240.072.220.620.621.71
50.082.010.480.572.170.281.610.130.661.890.082.040.490.572.310.082.050.570.631.60
60.071.990.410.562.960.291.630.130.671.750.052.040.500.582.200.082.030.510.641.94
70.072.160.410.582.850.301.580.120.671.660.062.110.490.582.110.062.020.530.651.74
80.071.970.280.582.750.311.560.120.681.470.062.030.420.592.060.061.950.520.651.69
90.061.940.310.572.240.311.590.000.681.400.051.990.420.602.000.071.970.520.651.64
100.051.930.300.562.300.311.540.000.681.350.062.040.420.601.950.081.920.520.661.59
FCM20.301.880.820.480.940.451.810.730.480.910.241.810.930.360.880.231.910.880.561.01
30.161.930.600.501.600.371.900.520.751.270.142.070.640.541.480.132.180.650.611.63
40.141.820.570.551.600.301.920.450.401.790.141.970.600.591.430.131.950.630.641.65
50.141.880.560.581.270.291.690.210.611.700.141.600.650.601.270.131.620.670.671.25
60.121.740.460.571.940.231.720.160.522.870.111.640.530.601.620.101.740.500.651.91
70.101.850.440.572.300.221.820.150.503.290.111.930.510.601.670.091.840.490.651.99
80.101.710.430.582.070.211.680.190.593.540.101.860.500.601.730.091.830.490.651.84
90.111.810.390.562.010.211.650.070.473.220.091.800.480.601.750.091.780.520.651.50
100.111.800.370.561.820.171.730.060.504.300.091.890.480.601.610.081.900.540.651.80

Appendix B. Representative Profiles for the Case of Two Clusters per Season

Figure A1. Seasonal profiles for two clusters using the KM algorithm: (a) Spring cluster 1; (b) Spring cluster 2; (c) Summer cluster 1; (d) Summer cluster 2; (e) Autumn cluster 1; (f) Autumn cluster 2; (g) Winter cluster 1; and (h) Winter cluster 2.
Figure A1. Seasonal profiles for two clusters using the KM algorithm: (a) Spring cluster 1; (b) Spring cluster 2; (c) Summer cluster 1; (d) Summer cluster 2; (e) Autumn cluster 1; (f) Autumn cluster 2; (g) Winter cluster 1; and (h) Winter cluster 2.
Energies 10 02047 g0a1

References

  1. International Energy Agency (IEA). World Energy Outlook 2016; Technical Report; International Energy Agency: Paris, France, 2016. [Google Scholar]
  2. Lehner, P. Natural Gas—A Bridge to the New Energy Economy; Natural Resources Defense Council: New York, NY, USA, 2008. [Google Scholar]
  3. Stern, J. The Future of Gas in Decarbonising European Energy Markets: The Need for a New Approach; The Oxford Institute for Energy Studies: Oxford, UK, 2017. [Google Scholar]
  4. Commission of the European Communities. Action Plan for Energy Efficiency: Realising the Potential; COM(2006) 546; Communication from the Commission: Brussels, Belgium, 2006. [Google Scholar]
  5. Saidur, R.; Masjuki, H.; Jamaluddin, M. An application of energy and exergy analysis in residential sector of Malaysia. Energy Policy 2007, 35, 1050–1063. [Google Scholar] [CrossRef]
  6. Viklund, M. Energy policy options—From the perspective of public attitudes and risk perceptions. Energy Policy 2004, 32, 1159–1171. [Google Scholar] [CrossRef]
  7. Macedo, M.; Galo, J.; De Almeida, L.; Lima, A.D.C. Demand side management using artificial neural networks in a smart grid environment. Renew. Sustain. Energy Rev. 2015, 41, 128–133. [Google Scholar] [CrossRef]
  8. Malik, F.H.; Lehtonen, M. A review: Agents in smart grids. Electr. Power Syst. Res. 2016, 131, 71–79. [Google Scholar] [CrossRef]
  9. Raza, M.Q.; Khosravi, A. A review on artificial intelligence based load demand forecasting techniques for smart grid and buildings. Renew. Sustain. Energy Rev. 2015, 50, 1352–1372. [Google Scholar] [CrossRef]
  10. Fagiani, M.; Squartini, S.; Gabrielli, L.; Pizzichini, M.; Spinsante, S. Computational Intelligence in Smart water and gas grids: An up-to-date overview. In Proceedings of the 2014 International Joint Conference on Neural Networks (IJCNN), Beijing, China, 6–11 July 2014; pp. 921–926. [Google Scholar]
  11. Soldo, B. Forecasting natural gas consumption. Appl. Energy 2012, 92, 26–37. [Google Scholar] [CrossRef]
  12. Fagiani, M.; Squartini, S.; Gabrielli, L.; Spinsante, S.; Piazza, F. A review of datasets and load forecasting techniques for smart natural gas and water grids: Analysis and experiments. Neurocomputing 2015, 170, 448–465. [Google Scholar] [CrossRef]
  13. Izadyar, N.; Ghadamian, H.; Ong, H.C.; Moghadam, Z.; Tong, C.W.; Shamshirband, S. Appraisal of the support vector machine to forecast residential heating demand for the District Heating System based on the monthly overall natural gas consumption. Energy 2015, 93, 1558–1567. [Google Scholar] [CrossRef]
  14. Szoplik, J. Forecasting of natural gas consumption with artificial neural networks. Energy 2015, 85, 208–220. [Google Scholar] [CrossRef]
  15. Zhu, L.; Li, M.; Wu, Q.; Jiang, L. Short-term natural gas demand prediction based on support vector regression with false neighbours filtered. Energy 2015, 80, 428–436. [Google Scholar] [CrossRef]
  16. Forouzanfar, M.; Doustmohammadi, A.; Menhaj, M.B.; Hasanzadeh, S. Modeling and estimation of the natural gas consumption for residential and commercial sectors in Iran. Appl. Energy 2010, 87, 268–274. [Google Scholar] [CrossRef]
  17. Harold, J.; Lyons, S.; Cullinan, J. The determinants of residential gas demand in Ireland. Energy Econ. 2015, 51, 475–483. [Google Scholar] [CrossRef]
  18. Hara, K.; Uwasu, M.; Kishita, Y.; Takeda, H. Determinant factors of residential consumption and perception of energy conservation: Time-series analysis by large-scale questionnaire in Suita, Japan. Energy Policy 2015, 87, 240–249. [Google Scholar] [CrossRef]
  19. Vázquez, F.I.; Kastner, W. Usage profiles for sustainable buildings. In Proceedings of the 2010 IEEE Conference on Emerging Technologies and Factory Automation (ETFA), Bilbao, Spain, 13–16 September 2010; pp. 1–8. [Google Scholar]
  20. Yao, R.; Steemers, K. A method of formulating energy load profile for domestic buildings in the UK. Energy Build. 2005, 37, 663–671. [Google Scholar] [CrossRef]
  21. Zanotti, G.; Gabbi, G.; Laboratore, D. Climate variables and weather derivatives: Gas demand, temperature and seasonality effects in the Italian case. SSRN Electron. J. 2003. [Google Scholar] [CrossRef]
  22. Vondráček, J.; Pelikán, E.; Konár, O.; Čermáková, J.; Eben, K.; Malỳ, M.; Brabec, M. A statistical model for the estimation of natural gas consumption. Appl. Energy 2008, 85, 362–370. [Google Scholar] [CrossRef]
  23. Eurogas. Eurogas: Gas Supply in 2015 Responds to Increased Consumer Demand; Press Release; Eurogas: Brussels, Belgium, 2015. [Google Scholar]
  24. Dirks, J.A.; Gorrissen, W.J.; Hathaway, J.H.; Skorski, D.C.; Scott, M.J.; Pulsipher, T.C.; Huang, M.; Liu, Y.; Rice, J.S. Impacts of climate change on energy consumption and peak demand in buildings: A detailed regional approach. Energy 2015, 79, 20–32. [Google Scholar] [CrossRef]
  25. Sailor, D.J.; Muñoz, J.R. Sensitivity of electricity and natural gas consumption to climate in the USA—Methodology and results for eight states. Energy 1997, 22, 987–998. [Google Scholar] [CrossRef]
  26. Brabec, M.; Konár, O.; Malỳ, M.; Pelikán, E.; Vondráček, J. A statistical model for natural gas standardized load profiles. J. R. Stat. Soc. Ser. C (Appl. Stat.) 2009, 58, 123–139. [Google Scholar] [CrossRef]
  27. Ward, J.H., Jr. Hierarchical grouping to optimize an objective function. J. Am. Stat. Assoc. 1963, 58, 236–244. [Google Scholar] [CrossRef]
  28. MacQueen, J. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, Oakland, CA, USA, 21 June–18 July 1965 and 27 December 1965–7 January 1966; Volume 1, pp. 281–297. [Google Scholar]
  29. Fernandes, M.P.; Viegas, J.L.; Vieira, S.M.; Sousa, J.M. Seasonal Clustering of Residential Natural Gas Consumers. In Proceedings of the 16th International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems, IPMU 2016, Eindhoven, The Netherlands, 20–24 June 2016; pp. 723–734. [Google Scholar]
  30. Fernandes, M.P.; Viegas, J.L.; Vieira, S.M.; Sousa, J.M. Analysis of residential natural gas consumers using fuzzy c-means clustering. In Proceedings of the 2016 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Vancouver, BC, Canada, 24–29 July 2016; pp. 1484–1491. [Google Scholar]
  31. Dunn, J.C. A fuzzy relative of the ISODATA process and its use in detecting compact well-separated clusters. J. Cybern. 1973, 3, 32–57. [Google Scholar] [CrossRef]
  32. Yang, S.L.; Shen, C. A review of electric load classification in smart grid environment. Renew. Sustain. Energy Rev. 2013, 24, 103–110. [Google Scholar]
  33. Deepak Sharma, D.; Singh, S. Electrical load profile analysis and peak load assessment using clustering technique. In Proceedings of the 2014 IEEE on PES General Meeting|Conference & Exposition, National Harbor, MD, USA, 27–31 July 2014; pp. 1–5. [Google Scholar]
  34. Kim, Y.I.; Ko, J.M.; Choi, S.H. Methods for generating TLPs (typical load profiles) for smart grid-based energy programs. In Proceedings of the 2011 IEEE Symposium on Computational Intelligence Applications In Smart Grid (CIASG), Paris, France, 11–15 April 2011; pp. 1–6. [Google Scholar]
  35. Bidoki, S.; Mahmoudi-Kohan, N.; Gerami, S. Comparison of several clustering methods in the case of electrical load curves classification. In Proceedings of the 2011 16th Conference on Electrical Power Distribution Networks (EPDC), Bandar Abbas, Iran, 19–20 April 2011; pp. 1–7. [Google Scholar]
  36. Sathiracheewin, S.; Surapatana, V. Daily typical load clustering of residential customers. In Proceedings of the 2011 8th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), Khon Kaen, Thailand, 17–19 May 2011; pp. 797–800. [Google Scholar]
  37. Hossain, M.J.; Kabir, A.; Rahman, M.M.; Kabir, B.; Islam, M.R. Determination of typical load profile of consumers using fuzzy c-means clustering algorithm. Int. J. Soft Comput. Eng. 2011, 1, 2231–2307. [Google Scholar]
  38. Lo, K.; Zakaria, Z.; Sohod, M. Determination of consumers’ load profiles based on two-stage fuzzy c-means. In Proceedings of the 5th WSEAS International Conference on Power Systems and Electromagnetic Compatibility, Corfu, Greece, 23–25 August 2005; pp. 212–217. [Google Scholar]
  39. Viegas, J.L.; Vieira, S.M.; Sousa, J.M.C. Fuzzy clustering and prediction of electricity demand based on household characteristics. In Proceedings of the 16th World Congress of the International Fuzzy Systems Association (IFSA) and the 9th Conference of the European Society for Fuzzy Logic and Technology (EUSFLAT), Gijón, Asturias, Spain, 30 June–3 July 2015. [Google Scholar]
  40. Viegas, J.L.; Vieira, S.M.; Melício, R.; Mendes, V.M.F.; Sousa, J.M.C. Electricity demand profile prediction based on household characteristics. In Proceedings of the 12th International Conference on the European Energy Market, Lisbon, Portugal, 19–22 May 2015. [Google Scholar]
  41. Viegas, J.L.; Vieira, S.M.; Melício, R.; Mendes, V.; Sousa, J.M. Classification of new electricity customers based on surveys and smart metering data. Energy 2016, 107, 804–817. [Google Scholar] [CrossRef]
  42. Kryszczuk, K.; Hurley, P. Estimation of the number of clusters using multiple clustering validity indices. In International Workshop on Multiple Classifier Systems; Springer: Berlin, Germany, 2010; pp. 114–123. [Google Scholar]
  43. Strehl, A. Relationship-Based Clustering and Cluster Ensembles for High-Dimensional Data Mining (2002). Available online: http://hdl.handle.net/2152/967 (accessed on 30 December 2015).
  44. Rousseeuw, P.J. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef]
  45. Pal, N.R.; Bezdek, J.C. On cluster validity for the fuzzy c-means model. IEEE Trans. Fuzzy Syst. 1995, 3, 370–379. [Google Scholar] [CrossRef]
  46. CER. Smart Metering Information Paper: Gas Customer Behaviour Trial Findings Report, Commission for Energy Regulation (CER); Technical Report; CER: Dublin, Ireland, 2011. [Google Scholar]
  47. Milligan, G.W.; Cooper, M.C. A study of standardization of variables in cluster analysis. J. Classif. 1988, 5, 181–204. [Google Scholar] [CrossRef]
  48. Gan, G.; Ma, C.; Wu, J. Data Clustering: Theory, Algorithms, and Applications; SIAM: Philadelphia, PA, USA, 2007. [Google Scholar]
  49. Ramos, S.; Duarte, J.M.; Duarte, F.J.; Vale, Z. A data-mining-based methodology to support MV electricity customers’ characterization. Energy Build. 2015, 91, 16–25. [Google Scholar] [CrossRef]
  50. Vazirgiannis, M.; Halkidi, M.; Gunopulos, D. Uncertainty Handling and Quality Assessment in Data Mining; Springer: London, UK, 2003. [Google Scholar]
  51. Bezdek, J.C. Pattern-Recognition with Fuzzy Objective Function Algorithms; Kluwer Academic Publishers: Norwell, MA, USA, 1981. [Google Scholar]
  52. Davies, D.L.; Bouldin, D.W. A cluster separation measure. IEEE Trans. Pattern Anal. Mach. Intell. 1979, PAMI-1, 224–227. [Google Scholar] [CrossRef]
  53. Dunn, J.C. Well-separated clusters and optimal fuzzy partitions. J. Cybern. 1974, 4, 95–104. [Google Scholar] [CrossRef]
  54. Xie, X.L.; Beni, G. A validity measure for fuzzy clustering. IEEE Trans. Pattern Anal. Mach. Intell. 1991, 13, 841–847. [Google Scholar] [CrossRef]
  55. Irish Social Science Data Archive (ISSDA). Data from the Commission for Energy Regulation (CER). Available online: www.ucd.ie/issda (accessed on 30 December 2015).
Figure 1. Outline of the data preprocessing steps.
Figure 1. Outline of the data preprocessing steps.
Energies 10 02047 g001
Figure 2. Aggregation method where profiles are aggregated hourly.
Figure 2. Aggregation method where profiles are aggregated hourly.
Energies 10 02047 g002
Figure 3. Outline of the clustering steps.
Figure 3. Outline of the clustering steps.
Energies 10 02047 g003
Figure 4. An example of (a) a standard and (b) a low gas use profile.
Figure 4. An example of (a) a standard and (b) a low gas use profile.
Energies 10 02047 g004
Figure 5. Seasonal mean hourly aggregated consumption of all consumers.
Figure 5. Seasonal mean hourly aggregated consumption of all consumers.
Energies 10 02047 g005
Figure 6. Consumers’ normalized consumption profiles for: (a) spring; (b) summer; (c) autumn; and (d) winter.
Figure 6. Consumers’ normalized consumption profiles for: (a) spring; (b) summer; (c) autumn; and (d) winter.
Energies 10 02047 g006
Figure 7. Spring profiles for three clusters using HC: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3.
Figure 7. Spring profiles for three clusters using HC: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3.
Energies 10 02047 g007
Figure 8. Evolution of CVIs for spring using HC for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Figure 8. Evolution of CVIs for spring using HC for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Energies 10 02047 g008
Figure 9. Summer profiles for three clusters using the FCM algorithm: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3.
Figure 9. Summer profiles for three clusters using the FCM algorithm: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3.
Energies 10 02047 g009
Figure 10. Evolution of CVIs for summer using the FCM algorithm for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Figure 10. Evolution of CVIs for summer using the FCM algorithm for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Energies 10 02047 g010
Figure 11. Autumn profiles for four clusters using HC: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3; (d) Cluster 4.
Figure 11. Autumn profiles for four clusters using HC: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3; (d) Cluster 4.
Energies 10 02047 g011
Figure 12. Evolution of CVIs for autumn using HC for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Figure 12. Evolution of CVIs for autumn using HC for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Energies 10 02047 g012
Figure 13. Winter profiles for five clusters using the KM algorithm: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3; (d) Cluster 4; (e) Cluster 5.
Figure 13. Winter profiles for five clusters using the KM algorithm: (a) Cluster 1; (b) Cluster 2; (c) Cluster 3; (d) Cluster 4; (e) Cluster 5.
Energies 10 02047 g013
Figure 14. Evolution of CVIs for winter using the KM algorithm for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Figure 14. Evolution of CVIs for winter using the KM algorithm for n c clusters indicated by: (a) XB (↓); (b) DB (↓); (c) DI (↑); (d) WI (↑); (e) Sil (↑).
Energies 10 02047 g014
Figure 15. Seasonal representative of normalized load profiles (LP) for: (a) spring; (b) summer; (c) autumn; (d) winter.
Figure 15. Seasonal representative of normalized load profiles (LP) for: (a) spring; (b) summer; (c) autumn; (d) winter.
Energies 10 02047 g015
Table 1. Data division for each season, in accordance with the Irish calendar.
Table 1. Data division for each season, in accordance with the Irish calendar.
SeasonDatesYearDays
Winter21 December–19 March2009/201057
Spring20 March–20 June201061
Summer21 June–22 September201065
Autumn23 September–20 December201060
Table 2. Selected n c (with respective clustering validity index (CVI) score), for each algorithm and season. DB, Davies and Bouldin’s index; DI, Dunn’s validity index; WI, weighted average intra-inter cluster distance index; Sil, silhouette.
Table 2. Selected n c (with respective clustering validity index (CVI) score), for each algorithm and season. DB, Davies and Bouldin’s index; DI, Dunn’s validity index; WI, weighted average intra-inter cluster distance index; Sil, silhouette.
SeasonsAlgorithmsXB (↓)DB (↓)DI (↑)WI (↑)Sil (↑)
SpringKM2 (0.82)5 (1.73)2 (0.84)4 (0.59)2 (0.31)
HC3 (1.25)6 (1.99)2 (0.72)3 (0.74)2 (0.23)
FCM2 (1.60)4 (1.82)2 (0.82)5 (0.58)2 (0.30)
SummerKM2 (0.77)5 (1.40)2 (0.75)5 (0.76)2 (0.46)
HC4 (1.69)4 (1.45)2 (0.62)8 (0.68)4 (0.30)
FCM2 (0.91)5 (1.69)2 (0.73)3 (0.75)2 (0.45)
AutumnKM2 (0.83)2 (1.80)2 (0.94)3 (0.62)2 (0.24)
HC4 (1.24)4 (1.84)2 (0.78)4 (0.71)2 (0.17)
FCM2 (0.88)5 (1.60)2 (0.93)5 (0.60)2 (0.24)
WinterKM5 (1.10)5 (1.80)2 (0.88)5 (0.66)2 (0.23)
HC5 (1.60)5 (2.08)2 (0.77)7 (0.65)5 (0.08)
FCM2 (1.01)5 (1.62)2 (0.88)5 (0.67)2 (0.23)
Table 3. Socio-economic and household key features and respective categories.
Table 3. Socio-economic and household key features and respective categories.
FeaturesCategoriesAcronym
Consumer age (years)18–25-
26–35-
36–45-
46–55-
56–65-
65+-
Social class 1 Upper middleAB
Lower middleC1
Skilled workersC2
Semi-skilled workersDE
Non workers or farmersF
Yearly income (k€)0–15I1
16–30I2
31–50I3
51–75I4
75+I5
Cooking sources (cookers)Gas-
Gas (with an electric hob or oven)GasE
Electric-
Oil fired-
Solid fuel-
House age (years)0–25-
26–50-
51–75-
76–100-
100+-
Number of bedroomsFrom 1–5 or more-
1 The social class is based on the occupation of the chief income earner.
Table 4. Percentage of consumers in the clusters c 1 c 5 (where n/a is not applicable) for each season and respective algorithm.
Table 4. Percentage of consumers in the clusters c 1 c 5 (where n/a is not applicable) for each season and respective algorithm.
Season n c c 1 c 2 c 3 c 4 c 5 Algorithm
Spring38%26%66%n/an/aHC
Summer318%32%50%n/an/aFCM
Autumn411%16%8%65%n/aHC
Winter58%14%23%34%21%KM
Table 5. Key features for each normalized LP in spring and summer, where the percentage values of the most representative categories within each cluster are highlighted in bold text.
Table 5. Key features for each normalized LP in spring and summer, where the percentage values of the most representative categories within each cluster are highlighted in bold text.
FeaturesCategoriesSpringSummer
LP 1LP 2LP 3LP 1LP 2LP 3
Consumer age (%)18–250.00.00.50.00.00.7
26–351.07.518.53.96.323.6
36–4523.327.528.828.920.133.2
46–5531.128.720.931.926.918.6
56–6516.521.914.518.123.011.7
65+28.214.416.717.223.712.2
Total (%) 100.0100.0100.0100.0100.0100.0
Social class (%)AB35.926.322.937.115.726.6
C128.233.529.630.631.529.8
C211.718.021.013.421.820.1
DE24.321.925.819.030.023.0
F0.00.30.80.01.00.5
Total (%) 100.0100.0100.0100.0100.0100.0
Yearly income (%)I12.75.28.71.88.78.4
I212.010.817.510.721.013.2
I321.322.526.020.823.227.1
I421.326.525.721.425.826.9
I542.734.922.145.221.324.4
Total (%) 100.0100.0100.0100.0100.0100.0
Cooking sources (%)Gas33.334.930.335.331.130.9
GasE26.724.621.026.022.720.9
Electric40.039.948.638.745.548.2
Oil fired0.00.30.10.00.50.0
Solid fuel0.00.30.00.00.20.0
Total (%) 100.0100.0100.0100.0100.0100.0
Household age (%)0–2532.444.155.543.039.561.2
26–5032.432.023.429.435.219.2
51–7517.114.513.312.817.911.6
76–1009.55.63.18.14.13.0
100+8.63.84.66.83.34.9
Total (%) 100.0100.0100.0100.0100.0100.0
Number of bedrooms (%)10.00.01.50.00.02.0
21.04.710.31.74.812.8
324.037.960.124.849.562.5
455.846.725.457.339.220.6
5 or more19.210.72.616.26.52.0
Total (%) 100.0100.0100.0100.0100.0100.0
Table 6. Key features for each normalized LP in spring and summer, where the percentage values of the most representative categories for the population are highlighted in bold text.
Table 6. Key features for each normalized LP in spring and summer, where the percentage values of the most representative categories for the population are highlighted in bold text.
FeaturesCategoriesSpring Summer
LP 1LP 2LP 3Total (%)LP 1LP 2LP 3Total (%)
Consumer age (%)18–250.00.00.30.30.00.00.30.3
26–350.12.012.014.10.72.111.314.1
36–451.97.418.628.05.46.715.928.0
46–552.67.813.523.96.09.08.923.9
56–651.45.99.416.73.47.75.616.7
65+2.33.910.817.03.27.95.817.0
Total (%) 100.0 100.0
Social class (%)AB3.07.114.824.97.05.312.724.9
C12.49.119.130.55.810.614.230.5
C21.04.913.619.42.57.39.619.4
DE2.05.916.624.63.610.111.024.6
F0.00.10.50.60.00.30.20.6
Total (%) 100.0 100.0
Yearly income (%)I10.21.45.87.30.32.84.21.9
I20.92.811.515.31.96.86.65.2
I31.75.917.224.73.77.513.59.0
I41.76.917.025.63.88.413.410.9
I53.49.114.627.08.06.912.215.7
Total (%) 100.0 100.0
Cooking sources (%)Gas2.89.519.531.86.710.414.731.8
GasE2.26.713.622.54.97.610.022.5
Electric3.410.831.345.57.315.223.045.5
Oil fired0.00.10.10.20.00.20.00.2
Solid fuel0.00.10.00.10.00.10.00.1
Total (%) 100.0 100.0
Household age (%)0–252.712.035.850.58.113.229.120.8
26–502.78.715.126.55.511.89.112.4
51–751.43.98.614.02.46.05.56.3
76–1000.81.52.04.31.51.41.42.5
100+0.71.03.04.71.31.12.32.4
Total (%) 100.0 100.0
Number of bedrooms (%)10.00.01.01.00.00.01.00.0
20.11.36.78.00.31.66.12.5
32.010.338.751.04.716.629.717.5
44.712.716.433.810.813.29.820.1
5 or more1.62.91.76.23.12.21.04.3
Total (%) 100.0 100.0
Table 7. p-values of the LR coefficients associated with the key features of Equations (21)–(24), where the p-values < 0.05 are highlighted in grey color.
Table 7. p-values of the LR coefficients associated with the key features of Equations (21)–(24), where the p-values < 0.05 are highlighted in grey color.
FeaturesSpringSummer
(21)(22)(23)(24)
Consumer age2.6 × 10 4 3.7 × 10 4 1.1 × 10 6 8.6 × 10 1
Social class5.8 × 10 2 4.7 × 10 1 1.2 × 10 2 1.3 × 10 2
House age1.4 × 10 6 1.3 × 10 2 1.3 × 10 5 1.0 × 10 1
Number of bedrooms5.1 × 10 15 1.2 × 10 12 5.0 × 10 27 1.0 × 10 6
Cooking sources2.3 × 10 2 6.8 × 10 2 8.4 × 10 2 4.9 × 10 2
Yearly income5.1 × 10 2 1.3 × 10 3 4.0 × 10 2 1.6 × 10 2
LR constant2.8 × 10 18 3.7 × 10 17 1.8 × 10 25 1.3 × 10 4

Share and Cite

MDPI and ACS Style

Fernandes, M.P.; Viegas, J.L.; Vieira, S.M.; Sousa, J.M.C. Segmentation of Residential Gas Consumers Using Clustering Analysis. Energies 2017, 10, 2047. https://doi.org/10.3390/en10122047

AMA Style

Fernandes MP, Viegas JL, Vieira SM, Sousa JMC. Segmentation of Residential Gas Consumers Using Clustering Analysis. Energies. 2017; 10(12):2047. https://doi.org/10.3390/en10122047

Chicago/Turabian Style

Fernandes, Marta P., Joaquim L. Viegas, Susana M. Vieira, and João M. C. Sousa. 2017. "Segmentation of Residential Gas Consumers Using Clustering Analysis" Energies 10, no. 12: 2047. https://doi.org/10.3390/en10122047

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop