Next Article in Journal
Characterisation and Environmental Value Proposition of Reuse Models for Fast-Moving Consumer Goods: Reusable Packaging and Products
Next Article in Special Issue
Contaminant Flushing in Water Distribution Networks Incorporating Customer Faucet Control
Previous Article in Journal
Approaching Sustainability in Local Spatial Planning Processes: A Case Study in the Stockholm Region, Sweden
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Exploring the Effectiveness of Clustering Algorithms for Capturing Water Consumption Behavior at Household Level

by
Alexandra E. Ioannou
1,
Enrico F. Creaco
2 and
Chrysi S. Laspidou
1,*
1
Civil Engineering Department, University of Thessaly, 38334 Volos, Greece
2
Dipartimento di Ingegneria Civile e Architettura, Università degli Studi di Pavia, via Ferrata 3, 27100 Pavia, Italy
*
Author to whom correspondence should be addressed.
Sustainability 2021, 13(5), 2603; https://doi.org/10.3390/su13052603
Submission received: 3 February 2021 / Revised: 19 February 2021 / Accepted: 24 February 2021 / Published: 1 March 2021
(This article belongs to the Special Issue Sustainability in Water Supply and Smart Water Systems)

Abstract

:
As water scarcity becomes more prevalent, the analysis of urban water consumption patterns at the consumer level and the estimation of the corresponding water demand for water utility are expected to be among the top priorities of water companies in the near future. This study proposes a comprehensive methodology for water managers to achieve an efficient operation of urban water networks, by successfully detecting residential water consumption patterns corresponding to different household needs and behaviors. The methodology uses Self Organizing Maps as the main clustering algorithm in combination with K-means and Hierarchical Agglomerative Clustering. The objective is to create clusters in a literature dataset that includes water consumption from 21 customers located in Milford, Ohio, USA, for a 7-month period. Originally, water consumption data was recorded for every water use incident in the household, while for this analysis, the information is converted to half-hourly water consumption. Individual customers with similar consumption behavior are clustered and water-consumption curves are calculated for each cluster; these curves can be used by the water utility to obtain estimates of the spatio-temporal distribution of demand, thus giving insight into peak demands at different locations. Statistical indices of agreement are used to confirm a good agreement between the estimated and observed water use, when clustering is employed. The resulting curves show a clear improvement in capturing water consumption behavior at household level, when compared to corresponding curves obtained without clustering. This analysis offers water utilities an innovative solution that relies on real time data and uses data science principles for optimizing water supply and network operation and provides tools for the efficient use of water resources.

Graphical Abstract

1. Introduction

The United Nations predict that 9.7 billion people will live in cities by 2050 [1]. Along with the effects of climate change, cities face numerous challenges as their resources and infrastructure are placed under ever increasing levels of strain [2]. As water scarcity becomes more prevalent, the analysis of urban water consumption patterns for consumers and the estimation of the corresponding water demand are expected to be among the top priorities for water companies in the near future. There is a constant need to improve the knowledge of urban water demand and of factors that influence demand patterns in a household; this requires collection and analysis of water consumption data, which can be facilitated by Information and Communication Technology (ICT) systems in a smart city framework. ICTs can help managers in integrating the water sector with other city services and in monitoring their status in real time. This results in several operational benefits that optimize urban water management, including real time demand forecasting and optimization of network devices and of operating costs [3]. On this basis, it is possible to develop better water demand models and new customer-oriented tools to be used for smart metering, smart pricing and tariff planning, water distribution network planning and operation, energy savings in water transfer, and customer service and billing, as well as the real-time management of condition-based tariffs. These goals abide by the European legislation, as described in the EU Water Framework Directive and the Blueprint to safeguard Europe’s water resources [4] concerning water accounts and ecological flows, water pricing, water trading, and other factors. Furthermore, the recent technological progress in wireless sensors that enable monitoring of water use in individual households, or even in different faucets or appliances inside a single household, can provide detailed information concerning spatial and temporal water use patterns. These data have been collected in the past mainly for research purposes [5,6,7] but are now becoming more common with the diffusion of smart city initiatives, such as the installation of smart water meters [8]. In the future, the availability of such information will allow for more accurate billing and customer-specific services, but, more importantly, will increase water efficiency due to a better understanding of the water consumption behavior at household levels for both large and small customers and may help in the reduction of non-revenue water.
In order to assess urban water demand in time and space, a water consumption profile curve is needed. This curve shows the amount of water a customer uses over the course of time and it is useful for planning how much water the utility will need to make available for its customers at any given time. Furthermore, water consumption profiles reveal the pattern customers exhibit in using water at different hours of the day, days of the week and seasons of the year, and can specify what the customer’s share of the utility’s total water consumption is. By analogy with electricity load curves, water consumption profiles can provide estimates of the temporal and spatial distribution of demand, thus giving insight into peak demands at different locations [9]. The major factors affecting the consumption profile are (1) family size and customer water use behavior, as well as residence characteristics and (2) seasonality, i.e., time of day, week, or year. Local climate factors such as temperature, humidity, and solar radiation may play an important role in water consumption patterns, but their effect is captured by seasonality [10].
Even though it is typical for energy and telecommunication companies to classify their customers into groups with similar consumption patterns taking into account their characteristics and annual demand, such practices are not common for water utilities, maybe because of the relatively low cost of water. The goal of this classification is to assign to each customer a variable estimate of consumption, a sort of a “load curve”, in the absence of available meter data. These pre-fixed curves may also be useful for market investigation and distribution management for the utility. Yet, they have flaws as a result of their coarseness, since on the one hand, they may fail to follow actual consumptions, and on the other, they are unable to predict possible changes in people’s way of life and/or in their consumption patterns [11]. It is undisputed that a more thorough description and forecast of water consumption throughout the day, month, and year, capturing seasonality and weekday/weekend patterns in water use can lead to an improved management and planning of demand and distribution, resulting in a potential reduction of costs for the water utility. Understanding customer behavior can lead to a successful categorization based on the recognition of similarities in consumption patterns among consumers. This segmentation would allow water utilities to better tailor pumping, treatment, and network operation, while it can provide useful information on water pricing policies and other incentive-creation strategies [12].
Many researchers have shown an increasing interest in Artificial Neural Networks (ANN) to address various kinds of problems in water resources and hydrology [13,14,15,16]. Self-Organizing Maps (SOMs) is an ANN algorithm [17,18], which has proven to be an excellent tool for clustering, classification, estimation, prediction, and data mining [19,20,21]. Kalteh et al. [22] reviewed a number of successful SOM applications with emphasis on innovative and creative solutions for the analysis, estimation, and prediction of various hydrological processes, such as precipitation [23,24,25], river flow and rainfall-runoff [26,27,28], surface water quality [29,30,31,32], and other related disciplines such as climate and environment [33,34,35]. SOMs have many applications in signal recognition, organization of large data sets, process monitoring and analysis, and over the last decades, they have increasingly been used for analysis and modeling in the energy domain [9,36,37,38]. However, only a limited number of articles have been published on domestic water consumption pattern recognition, classifying customers in different segments [39,40,41].
This study aims to bridge this gap by proposing a comprehensive methodology to residents, water managers, and policy makers, in order to achieve the efficient operation of urban water networks by successfully detecting residential water consumption patterns corresponding to different residential needs and behaviors. This way, households with similar consumption patterns are grouped in clusters. A large dataset taken from the work of Buchberger et al. [42] and consisting of 7 months of water consumption data recording every instant of water use in the household from 21 customers located in Milford, Ohio, USA, was examined. To the best of the authors’ knowledge, residential water consumption data with this granularity have not been analyzed for the purpose of detecting behavioral patterns in water consumption. The aim of the article is to create more accurate customer-specific water consumption curves using refined measurement data. In this context, we propose a methodology that may be applied in complex and large water consumption time-series, using SOMs as the main clustering algorithm, in combination with K-Means (KM) and Hierarchical Agglomerative Clustering (HAC) to improve performance; this way, we provide a new-estimated water consumption profile for each customer group. The resulting curves that are obtained after clustering customers with similar consumption behavior are compared to the water consumption curves that the water company might use to create timely customer water use estimates without performing clustering. The results indicate that there is a clear improvement when using the newly estimated, data-based water consumption curves after clustering. This analysis offers water utilities an innovative solution that relies on real time data and uses data science principles relevant to a smart city setting for optimizing water supply and network operation and leading to efficient resource use. It creates opportunities to engage citizens while raising their awareness of household water consumption. Therefore, it lays the foundation for developing behavioral change processes for citizens towards more sustainable water use patterns that would reduce their environmental footprint, change their consumption and lifestyle choices, and achieve a climate-neutral way of living.

2. Materials and Methods

In order to develop reliable water consumption curves for customers belonging to different classes, large numbers of recorded water consumption values are required—for electricity, it is recommended to have at least 100 customers over a period of 3 years [43]. For household water consumption, such long datasets are unavailable due to the very recent implementation of smart technologies in the water sector, which is often confined to limited duration of research projects e.g., Yang et al. [7]. In this article, we use the data collected by Buchberger et al. [42], who carried out an experimental campaign aimed at monitoring residential water demand in the period from April to October 1997 in 21 households in Milford, OH, USA. An electromagnetic flowmeter was installed in the mainline of each household and water discharge data was collected for the 7-month period with a resolution of 1 s. It should be noted here that only indoor water consumption was included in our data, so even if a household had large gardens, or a swimming pool, it would not make a difference to our dataset. To create a uniform time series for all households, we grouped all water consumption data (210 days) to half-hour slots, resulting in a dataset of 10,080 entries for each household. In Figure 1, we show graphs of the consumption dataset for all households—each bar corresponds to the half-hour consumption and there are a total of 10,080 bars in each graph. To show the variation of consumption over weekdays and weekends, in Figure 2a, we show, indicatively for household C, average consumptions of all weekday, Saturday, and Sunday consumptions per half-hour time slot throughout the day, for a total of 48 time slots per day. This provides more information on the consumption pattern of each household. In Figure 2b, we show for each household, the average total daily consumption for all days and for weekdays, Saturdays, and Sundays. We notice that all households show high average daily water consumptions ranging from 229 liters/day (household F) to 875 liters/day (household T). It should be noted that the low average of household F is a result of many days with zero consumption. 19 households were used for the application of the clustering algorithm, simulating the procedure that the water utility would follow for clustering existing customers; on the other hand, two households, namely households M and N, were set aside and were assigned to clusters later, in order to simulate how well new customers would fit in pre-existing clusters. The number of households that was set aside was kept to a minimum (9.5% of the total data), since a very limited number of households is available in our dataset. Other researchers that have conducted similar analysis with electricity data, e.g., Rasanen et al. [9], used 5.6% of their data to simulate “new customers”, so for our case, the small number of data reserved for validation is deemed acceptable.

2.1. Clustering Methods

SOMs are well-known unsupervised neural learning algorithms [44] and an effective software tool for the modeling and visualization of high-dimensional data. They use unsupervised learning to group input data and produce a low-dimension discretized representation of the input space, i.e., a map. An SOM uses specific features of a population, such as household surface area, income level, age, number of bathrooms, etc. It calculates the Euclidean distance of each population unit, taking into account the features as dimensions or components of the input vectors. It then converts the multidimensional positions of the units into a 2-dimensional space and maps them. These maps (SOMs) depict all units as points in space in a sense that neighboring points have similar features; this way, clustering of similar units is made possible. In this work, an SOMs algorithm was applied as an intermediate step before the clustering process since it reduces the size of the data and makes the computational procedure more efficient. A feature-extraction approach was used to explore the data set and to identify which consumer properties are relevant to be included by the water utility in an automatic classification system [45]. In Table 1, we list the features that were chosen: they include a statistical property of the dataset (standard deviation) and are based on consumption values of individual days, as well as aggregated over the entire week, over workdays and weekends separately and over seasons. Since our benchmark dataset runs from April to October, we considered separately water use during the summer (June, July, and August) and autumn months (September and October). We used SOMs to calculate the Euclidean distance of the data and to find which households are in the same “neighborhood” or belong to the same cluster. This way, a map emerged consisting of nodes or neurons–in our case, various map sizes were tried, and the 3 × 3 size map was chosen with 9 nodes, since this number of nodes achieved the highest SOM’s clustering efficiency (95%). The lattice of the SOM can be either hexagonal or rectangular but hexagonal is preferred for this methodology due to more effective visualization [21,46]. All data were automatically normalized by the SOMs algorithm on a scale 0 to 1. All calculations were performed with RStudio [47], using the “Kohonen” package.
Once the SOMs algorithm is run and the map is obtained, it can be followed by a second step in which it is combined with other clustering algorithms. The main advantage of using this two-step approach is improved clustering. More specifically, while the SOMs algorithm provides a map of 9 nodes, its combination with other procedures results in fewer clusters (collecting various nodes in larger clusters) with higher accuracy. For this purpose, SOMs were combined with two other clustering algorithms: (1) K-Means clustering (KM) and (2) Hierarchical Agglomerative Clustering (HAC). KM [48] is a well-known non-hierarchical clustering algorithm with many applications in different domains. The exact number of clusters was decided by calculating the Within-Clusters-Sum-of-Squares (WCSS) measurement that denotes the total distance of data points from their respective cluster centroids [49]. Considering that we have nine SOM nodes, the ideal number of clusters proposed by KM is three, since this number is the closest match to the corresponding number of SOM nodes, when WCSS is calculated, as shown in Figure 3.
HAC is another popular clustering algorithm [50]. It creates a cluster dendrogram (tree) by grouping several data together over a variety of scales and based on this classification, a clustering scheme emerges. Three clusters were formed from the HAC tree map with this analysis, as shown in Figure 4 in grey boxes, which group different SOM nodes, or codebook vectors (shown as V1 to V9). Even though the number of clusters is the same with the two algorithms, the specific SOM nodes grouped under each clustering methodology are different, essentially each one providing a different clustering solution that is separately evaluated for its accuracy.
In order to assess the clustering accuracy, we want to know if the features we extracted on water consumption (Table 1), actually force households to group together under the same cluster. Ideally, we would use a series of known properties about our households to identify the ones that are particularly relevant, as far as the domestic water consumption pattern is concerned. Examples include size of house and year built, garden and/or swimming pool, number and age of residents, number of appliances/washers, etc. We would then see which of these properties vary significantly among clusters or can likely be discovered from the data. If a property seems to vary across clusters, it will mean that it is a good property to group households by, and that using the set of features we defined in Table 1, it is possible to differentiate households by that specific property. In our case, the only household property available for the 21 customers is the number of people per residence; this information is shown in Table 2. Naturally, this is a serious limitation in our data set; however, all households came from the same neighborhood in suburban Ohio, so we expect that the houses have some similarities in terms of year built, surface area, amenities, etc. Nevertheless, our only choice is to use number of residents per household to check whether it is appropriate to group households according to it and to calculate clustering accuracy based on this property. We do this only after we confirm that indeed this property varies across clusters, as explained above. Based on the calculation of this accuracy, we decide on the best combined clustering algorithm (SOM+KM or SOM+HAC) and on the final clustering of the households.

2.2. Validation: Estimated Water Consumption Curves and Associated Accuracy

After clustering, the new estimated water consumption curves are calculated for each cluster. These are the curves that would be used by the water utility for all customers belonging in the same cluster, in order to successfully estimate the next customer bill, or plan for the estimated water demand in the network. For comparison purposes, we calculate two types of estimated curves: one for each cluster and one for all households if no prior clustering is performed. The goal is to show that clustering improves estimated water consumption, namely that the index of agreement of customer consumption with the estimated water consumption curves increases when the clustering curve is used. This is done for the two households (M and N) that were set aside for validation, simulating “new customers” not included in the initial clustering; therefore, clustering was done using 19 households and clustering performance is assessed for the two new households.
For the construction of these curves, consumptions are transformed into an index series format, by grouping data in two-week intervals, and transforming the whole time-series into 15 two-week profiles summarizing half hourly data separately for weekdays, Saturdays, and Sundays. Index series format is what the water utility would use to model water consumption for customers, i.e., changing the assumed consumption profile every two weeks, following similar practices already employed for electricity consumption [9]. In our case, the two-week index series is scaled by taking into account not only the consumption of the two-week period, but also the cluster customers 7-month water use, to calculate the estimated water time-series (Equation (1)) [51]:
P i = W 10,080   Q i   q i
where P i is the estimated half-hourly water consumption, W is the total 7-month period water consumption for all households in the cluster, Q i is the average 2-week water consumption of the cluster, expressed in percent of the average 7-month period consumption, and q i is the half-hourly water consumption expressed in percent of the average 2-week consumption.
The correspondence between customer-specific water demand and the estimated water consumption curves is assessed by the modified Index of Agreement or Willmott Index W I m o d :
W I m o d = i = 1 n P i O i i = 1 n P i O ¯ + O i O ¯
where O i are the observed values of each customer’s water demand, P i are the corresponding values of each estimated water consumption curve and O ¯ is the average of observed data. The W I m o d is a dimensionless measure, limited to the range [0, 1], giving a relative size of the difference between an actual value ( O i ) and its estimated/predicted value ( P i ). A modified version of the WI was preferred over the original one due to the fact that the original version of the index may lead the user to erroneously select a predicting model that generates poor estimates [52]. Values of the W I m o d close to one indicate perfect fit, while values close to zero indicate complete disagreement between the observed and estimated values.
To summarize the methodology that the water utility will need to follow in order to implement this algorithm and benefit from clustering, we are presenting a compact list with all the steps:
  • Identify features in dataset that could potentially identify patterns in the population, in order to lead to data clustering;
  • Create input vectors and feed the SOM algorithm;
  • Decide on the optimum number of nodes, based on maximum clustering efficiency;
  • Run clustering algorithm (KM and/or HAC) to create clusters, grouping SOM nodes together (use WCSS and dendrogram to identify numbers of clusters for SOM-KM and SOM-HAC, respectively);
  • Choose the best performing combined algorithm by assessing clustering accuracy (as described in Section 3);
  • Construct a water consumption curve in index series format for each cluster. This is the curve that will be used to estimate the consumption of all customers in the same cluster;
  • For new customers, a questionnaire will be filled out by the customer, providing information on the features used initially to classify customers (step 1). Based on the responses, the new customer is assigned to a cluster and the water consumption curve (step 6) is now updated to include this customer’s consumption, as soon as it becomes available.

3. Results

With the aim of creating more accurate up-to-date customer-specific water consumption curves, refined measurement data were used from 21 households in Milford, Ohio, USA. In this context, the SOMs algorithm was applied as the main clustering algorithm and in combination with KM and HAC, optimal clustering was achieved. Specifically, for SOMs clustering, an initial mapping plot was produced, as shown in Figure 5a, which includes a number of observations (households) in each node. The observations are spatially distributed and their distance from the node codebook vector—the vector formed with values from the features extracted by the dataset for each node—signifies its relevance. We see that there are no empty nodes, which indicates that the map structure is appropriate for the data. The mapping quality is assessed by the quality plot in Figure 5b which shows the mean distance of objects mapped in a node to the codebook vector of that node; thus, values close to 0 indicate good quality of the SOM. Even for the two nodes shown in blue and magenta colors, the mapping quality is still good (0.2 or less), even though not ideal.
In order to link clustering household characteristics in the dataset and assess clustering accuracy, we test whether the number of people per household varies across SOM nodes. In Figure 6, we show the variation of number of people per SOM node and we see that indeed it varies across nodes. We also see that clustering could be improved, by combining various nodes in a single cluster, which is already an indication that the KM and HAC algorithms can be used to further cluster data to produce fewer and better clusters.
To assess the clustering accuracy of the combined algorithms (SOM-KM, SOM-HAC), we provided the number of people per household and checked how this number corresponds with clustering results. Nineteen households were grouped in 3 clusters—different for each combined algorithm. The accuracy results are 73% and 79% for SOM-KM and SOM-HAC respectively, indicating the SOM-HAC as a slightly better and the preferred clustering solution; calculation of the clustering accuracy is explained below. This does not mean that we reject the SOM-KM clustering technique; we simply choose to present one of the two, in the interest of saving space, namely the SOM-HAC technique. The outcome of the SOM-HAC clustering is presented in Figure 7a, in which dashed lines group SOM nodes together in larger clusters. This clustering results in the grouping of the codebook vectors or SOM nodes, as shown in the dendrogram in Figure 4. Cluster 1 contains a single node (#1 per Figure 5b) and a single household (D)—marked in yellow font. Cluster 2 contains 3 SOM nodes (#2, #6, and #8 per Figure 5b) and 9 households—marked in green font. Finally, cluster 3 groups 5 nodes (#3, #4, #5, #7, and #9 per Figure 5b) and 9 households—marked in blue font. This information is also summarized in Table 3. In Figure 7b, the algorithm maps the households again, but each entry is represented by its cluster number: therefore, in node #6 for example, instead of showing households F, Q and S (as is done in Figure 7a), we show the cluster number that these houses belong to. In other words, we show a series of 2s, since all these households belong to cluster #2. All entries in black font signify the households that should not be classified in that cluster, while red entries are the households that are correctly placed in the specific cluster. Clustering accuracy is the fraction of matches (reds) in each cluster for the combined algorithms. Cluster 2 contains mostly 2 residents per household, while cluster 3 contains mostly 3- or 4-people households. When a household with 3 or 4 people is classified in cluster 2, then it is marked black by the algorithm; the same is true for 2-people households classified in cluster 3. So, household L is classified in Cluster 3, even though it should be classified in Cluster 2 (2 residents in household L, as shown in Table 2); thus, the number 3 that corresponds to household L is shown in black in node #7. Cluster 1 contains only 1 household (D), even after employing the HAC algorithm that improves clustering; since clustering analysis has no meaning for a cluster with a single entry, we decide to not consider this cluster further, dropping household D from further analysis, as an outlier.

4. Discussion

The WImod is used to assess improvement in estimated customer water consumption achieved through clustering. For each of the 18 households, two WImod values are obtained: one that examines how the actual water consumption time series matches the cluster-estimated curve and one for the no-cluster-estimated curves. The former curve is calculated by including only households in the cluster, while the latter includes all households (no clustering). In Figure 8, we see a plot of WImod for the two cases and we can see that there is an improvement with clustering, which is significant for some households, proving that clustering can lead in obtaining estimated customer water consumption curves that are a closer match to the observed consumptions. Improvement is not observed across the board for all households and this is something that is expected, due to the very limited number of households and the limited duration of the data set (less than a year). The fact that a significant improvement is observed for some households is important and indicates that the methodology presented in this article is promising.
This analysis would be valid for the water utility on existing customers that are grouped based on their historical consumption data. But what about new customers that come without historical time series? In this case, the utility would classify new customers based on the number of people in the household. We do this for the two households that were set aside for validation, namely households M and N. Since household M has 2 people and N has 3, the former would be classified in cluster 2 and the latter in cluster 3. When we perform the same analysis with the curves, we see that household N has an improvement of almost 40% in the WImod and household M has about 4% improvement in the same index. In Figure 9a,b, we see how the curves of households M and N are comparatively closer to the curves of clusters 2 and 3, respectively, than the curve obtained for all households, thus validating the clustering methodology. Observing the plots in Figure 9a,b, one can see that better agreement is obtained on weekday data than on Saturdays or Sundays; this might be a result of more structured activities during weekdays, compared to weekends, when behavior is more stochastic and not characterized by a “typical” schedule that is expected to be followed during work- and schooldays for families. In addition, there are more weekdays than weekends in the dataset, so more data leads to better fitting.

5. Conclusions

Urban water consumption is one of the main concerns of city managers nowadays. Consumer awareness of household water consumption defines consumption behavior and may promote water conservation activities. In this article, we present a novel methodology suitable for handling large datasets of household water consumption. This analysis aims to divide customers into user groups (clusters) based on the similarities of their water use behavior; this way, advanced data-based methods may be employed for creating personalized information about consumer water use.
The presented methodology resulted in better estimates of customer water use when clustering was employed, compared to the predictions when clustering was not employed. This powerful information can provide a lot of insight to water companies, as it allows them to have knowledge of water demand in a detailed spatio-temporal granulation, thus promoting good planning and efficient operation. Water companies have better knowledge on what to expect from new customers, by classifying them in pre-existing clusters; they can obtain information on pumping energy needed and they have rich datasets that could be used for modeling the water distribution network, for reducing leakage, for optimizing treatment and pumping, for accurate billing, and for prioritizing investments.

Author Contributions

Conceptualization, C.S.L. and A.E.I.; methodology, A.E.I. and C.S.L.; software, A.E.I.; validation, A.E.I. and C.S.L.; formal analysis, A.E.I.; investigation, A.E.I.; resources, C.S.L.; data handling, E.F.C.; writing—original draft preparation, A.E.I.; writing—review and editing, C.S.L. and E.F.C.; visualization, A.E.I.; supervision, C.S.L.; project administration, C.S.L.; funding acquisition, C.S.L. All authors have read and agreed to the published version of the manuscript.

Funding

The work described in this paper has been conducted within the project Water4Cities. This project has received funding from the European Union’s Horizon 2020 Research and Innovation Staff Exchange programme under grant agreement number 734409. This paper and the content included in it do not represent the opinion of the European Union, and the European Union is not responsible for any use that might be made of its content.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article. The data used for this work were kindly shared by prof. S.G. Buchberger, as they were obtained from the work Buchberger, S.G., Carter, J.T., Lee, Y.H., and Schade, T.G. (2003). “Random demands, travel times and water quality in dead-ends.” AWWARF Rep. No. 294, American Water Works Association Research Foundation, Denver. https://www.waterrf.org/research/projects/random-demands-travel-times-and-water-quality-deadends (accessed on 9 June 2019).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. United Nations. World Population Prospects. In The 2015 Revision: Key Findings and Advance Tables; United Nations: New York, NY, USA, 2015; pp. 2–3. [Google Scholar]
  2. European Commission. Directorate-General for Regional Policy. In Cities of Tomorrow: Challenges, Visions, Ways Forward; Publications Office of the European Union: Luxembourg, 2001. [Google Scholar]
  3. Laspidou, C.S. ICT and stakeholder participation for improved urban water management in the cities of the future. Water Util. J. 2014, 8, 79–85. [Google Scholar]
  4. European Commission. A Water Blueprint for Europe; Publications Office of European Union: Luxembourg, 2013. [Google Scholar]
  5. Kofinas, D.T.; Spyropoulou, A.; Laspidou, C.S. A methodology for synthetic household water consumption data generation. Environ. Model. Softw. 2018, 100, 48–66. [Google Scholar] [CrossRef]
  6. Rizou, S.; Kenda, K.; Kofinas, D.; Mellios, N.; Pergar, P.; Ritsos, P.D.; Vardakas, J.; Kalaboukas, K.; Laspidou, C.; Senožetnik, M.; et al. Water4Cities: An ICT Platform Enabling Holistic Surface Water and Groundwater Management for Sustainable Cities. Proceedings 2018, 2, 695. [Google Scholar] [CrossRef] [Green Version]
  7. Yang, L.; Yang, S.H.; Magiera, E.; Froelich, W.; Jach, T.; Laspidou, C.S. Domestic water consumption monitoring and behaviour intervention by employing the internet of things technologies. Procedia Comput. Sci. 2017, 111, 367–375. [Google Scholar] [CrossRef]
  8. Water World. Available online: https://www.waterworld.com/international/article/16209217/smart-water-meters-for-nationwide-grid-in-malta (accessed on 18 September 2020).
  9. Rasanen, T.; Voukantsis, D.; Niska, H.; Karatzas, K.; Kolehmainen, M. Data-based method for creating electricity use load profiles using large amount of customer-specific hourly measured electricity use data. Appl. Energy 2010, 87, 3538–3545. [Google Scholar] [CrossRef]
  10. Kofinas, D.; Mellios, N.; Papageorgiou, E.; Laspidou, C. Urban Water Demand Forecasting for the Island of Skiathos. Procedia Eng. 2014, 89, 1023–1030. [Google Scholar] [CrossRef] [Green Version]
  11. Bedingfield, S.; Alahakoon, D.; Genegedera, H.; Chilamkurti, N. Multi-granular electricity consumer load profiling for smart homes using a scalable big data algorithm. Sustain. Cities Soc. 2018, 40, 611–624. [Google Scholar] [CrossRef]
  12. Rodrigues, F.; Duarte, J.; Figueiredo, V.; Vale, Z.; Cordeiro, M. A comparative analysis of clustering algorithms applied to load profiling. In Proceedings of the International Workshop on Machine Learning and Data Mining in Pattern Recognition, Leipzig, Germany, 5–7 July 2003; Perner, P., Rosenfeld, A., Eds.; Springer: Berlin/Heidelberg, Germany, 2003; pp. 73–85. [Google Scholar] [CrossRef]
  13. Maier, H.R.; Dandy, G.C. Neural networks for the prediction and forecasting of water resources variables: A review of modelling issues and applications. Environ. Model. Softw. 2000, 15, 101–124. [Google Scholar] [CrossRef]
  14. Govindaraju, R.S. ASCE Task Committee on application of Artificial Neural Networks in Hydrology. Artificial neural networks in hydrology. I: Preliminary concepts. J. Hydrol. Eng. 2000, 5, 115–123. [Google Scholar]
  15. Govindaraju, R.S. ASCE Task Committee on application of Artificial Neural Networks in Hydrology. Artificial neural networks in hydrology. II: Hydrologic applications. J. Hydrol. Eng. 2000, 5, 124–137. [Google Scholar]
  16. Dawson, C.W.; Wilby, R.L. Hydrological modelling using artificial neural networks. Prog. Phys. Geogr. 2001, 25, 80–108. [Google Scholar] [CrossRef]
  17. Kohonen, T. Analysis of a simple self-organizing process. Biol. Cybern. 1982, 44, 135–140. [Google Scholar] [CrossRef]
  18. Kohonen, T. Self-organized formation of topologically correct feature maps. Biol. Cybern. 1982, 43, 59–69. [Google Scholar] [CrossRef]
  19. Alhoniemi, E.; Hollmen, J.; Simula, O.; Vesanto, J. Process monitoring and modeling using the self-organizing map. Integr. Comput. Aided Eng. 1999, 6, 3–14. [Google Scholar] [CrossRef] [Green Version]
  20. Vesanto, J.; Alhoniemi, E. Clustering of the self-organizing map. IEEE Trans. Neural Netw. 2000, 11, 586–600. [Google Scholar] [CrossRef]
  21. Kohonen, T. Self-Organizing Maps, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2001; pp. 71–104. [Google Scholar]
  22. Kalteh, A.M.; Hjorth, P.; Berndtsson, R. Review of the self-organizing map (SOM) approach in water resources: Analysis, modelling and application. Environ. Model. Softw. 2008, 23, 835–845. [Google Scholar] [CrossRef]
  23. Vesanto, J. Data Exploration Process Based on the Self-Organizing Map. Ph.D. Thesis, Helsinki University of Technology, Espoo, Finland, 16 May 2002. [Google Scholar]
  24. Hong, Y.; Hsu, K.; Sorooshian, S.; Gao, X. Self-organizing nonlinear output (SONO): A neural network suitable for cloud patch-based rainfall estimation at small scales. Water Resour. Res. 2005, 41, W03008. [Google Scholar] [CrossRef] [Green Version]
  25. Kalteh, A.M.; Berndtsson, R. Interpolating monthly precipitation by self-organizing map (SOM) and multilayer perceptron (MLP). Hydrol. Sci. J. 2007, 52, 305–317. [Google Scholar] [CrossRef]
  26. Abrahart, R.J.; See, L. Comparing neural network and autoregressive moving average techniques for the provision of continuous river flow forecasts in two contrasting catchments. Hydrol. Process. 2000, 14, 2157–2172. [Google Scholar] [CrossRef]
  27. Hsu, K.; Gupta, H.V.; Gao, X.; Sorooshian, S.; Imam, B. Self-organizing linear output map (SOLO): An artificial neural network suitable for hydrologic modeling and analysis. Water Resour. Res. 2002, 38, 1302. [Google Scholar] [CrossRef] [Green Version]
  28. Lin, G.; Chen, L. Identification of homogenous regions for regional frequency analysis using the self-organizing map. J. Hydrol. 2006, 324, 1–9. [Google Scholar] [CrossRef]
  29. Maier, H.R.; Dandy, G.C. The use of artificial neural networks for the prediction of water quality parameters. Water Resour. Res. 1996, 32, 1013–1022. [Google Scholar] [CrossRef]
  30. Maier, H.R.; Dandy, G.C. Determining inputs for neural network models of multivariate time series. Microcomput. Civ. Eng. 1997, 12, 353–368. [Google Scholar] [CrossRef]
  31. Bowden, G.J.; Dandy, G.C.; Maier, H.R. Input determination for neural network models in water resources applications. Part 1 e background and methodology. J. Hydrol. 2005, 301, 75–92. [Google Scholar] [CrossRef]
  32. Bowden, G.J.; Maier, H.R.; Dandy, G.C. Input determination for neural network models in water resources applications. Part 2. Case study: Forecasting salinity in a river. J. Hydrol. 2005, 301, 93–107. [Google Scholar] [CrossRef]
  33. Tran, L.T.; Knight, C.G.; O’Neill, R.V.; Smith, E.R.; O’Connell, M. Self-organizing maps for integrated environmental assessment of the Mid-Atlantic region. Environ. Manag. 2003, 31, 822–835. [Google Scholar] [CrossRef]
  34. Schutze, N.; Schmitz, G.H.; Petersohn, U. Self-organizing maps with multiple input—Output option for modeling the Richards equation and its inverse solution. Water Resour. Res. 2005, 41, W03022. [Google Scholar] [CrossRef] [Green Version]
  35. Shanmuganathan, S.; Sallis, P.; Buckeridge, J. Self-organising map methods in integrated modelling of environmental and economic systems. Environ. Model. Softw. 2006, 21, 1247–1256. [Google Scholar] [CrossRef]
  36. McLoughlin, F.; Duffy, A.; Conlon, M. A clustering approach to domestic electricity load profile characterisation using smart metering data. Appl. Energy 2015, 141, 190–199. [Google Scholar] [CrossRef] [Green Version]
  37. Kameoka, Y.; Yagi, K.; Munakata, S.; Yamamoto, Y. Customer segmentation and visualization by combination of self-organizing map and cluster analysis. In Proceedings of the 13th International Conference on ICT and Knowledge Engineering (ICT Knowledge Engineering 2015), Bangkok, Thailand, 18–20 November 2015; pp. 19–23. [Google Scholar] [CrossRef]
  38. Turcinek, P.; Motycka, A. Exploring Consumer Behaviour by Classification Methods. J. Appl. Econ. Sci. 2016, 1, 148–151. [Google Scholar]
  39. Yang, A.; Zhang, H.; Stewart, R.A.; Nguyen, K. Enhancing Residential Water End Use Pattern Recognition Accuracy Using Self-Organizing Maps and K-Means Clustering Techniques: Autoflow v3.1. Water 2018, 10, 1221. [Google Scholar] [CrossRef] [Green Version]
  40. Laspidou, C.; Papageorgiou, E.; Kokkinos, K.; Sahu, S.; Gupta, A.; Tassiulas, L. Exploring patterns in water consumption by clustering. Procedia Eng. 2015, 119, 1439–1446. [Google Scholar] [CrossRef] [Green Version]
  41. Ioannou, A.E.; Kofinas, D.; Spyropoulou, A.; Laspidou, C.S. Data mining for household water consumption analysis using self-organizing maps. Eur. Water 2017, 58, 443–448. [Google Scholar]
  42. Buchberger, S.G.; Carter, J.T.; Lee, Y.H.; Schade, T.G. Random Demands, Travel Times and Water Quality in Dead-Ends; AWWARF Rep. No. 294; American Water Works Association Research Foundation: Denver, CO, USA, 2003. [Google Scholar]
  43. Lakervi, E.; Holmes, E.J. Electricity Distribution Network Design, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1995; p. 325. ISBN 0863413099. [Google Scholar]
  44. Kohonen, T. Self-Organizing Maps, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1997. [Google Scholar]
  45. Beckel, C.; Sadamori, L.; Santini, S. Towards automatic classification of private households using electricity consumption data. In Proceedings of the Fourth ACM Workshop on Embedded Sensing Systems for Energy-Efficiency in Buildings, Toronto, ON, Canada, 6 November 2012; pp. 169–176. [Google Scholar]
  46. Vesanto, J. SOM-based data visualization methods. Intell. Data Anal. 1993, 3, 111–126. [Google Scholar] [CrossRef]
  47. RStudio Team. Available online: http://www.rstudio.com/ (accessed on 25 July 2020).
  48. MacQueen, J. Some methods for classification and analysis of multivariate observations. In Proceedings of the fifth Berkeley Symposium on Mathematical Statistics and Probability, Berkeley, CA, USA, 18–21 June 1967; Le Cam, L.M., Neyman, J., Eds.; University of California Press: Berkeley, CA, USA, 1967; pp. 281–297. [Google Scholar]
  49. Makles, A. Stata tip 110: How to get the optimal k-means cluster solution. Stata J. 2012, 12, 347–351. [Google Scholar] [CrossRef] [Green Version]
  50. Jain, A.K.; Murty, M.N.; Flynn, P.J. Data clustering: A review. ACM Comput. Surv. 1999, 31, 264–323. [Google Scholar] [CrossRef]
  51. Mutanen, A.; Ruska, M.; Repo, S.; Jarventausta, P. Customer classification and load profiling method for distribution systems. IEEE Trans. Power Deliv. 2011, 26, 1755–1763. [Google Scholar] [CrossRef]
  52. Pereira, H.R.; Meschiatti, M.C.; Pires, R.C.D.M.; Blain, G.C. On the performance of three indices of agreement: An easy-to-use r-code for calculating the Willmott indices. Bragantia 2018, 77, 394–403. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Water consumption (in liters) for all households in the case study at the step of half an hour. Households are symbolized by consecutive letters of the alphabet (A through U)—each subfigure shows the water consumption of a different household.
Figure 1. Water consumption (in liters) for all households in the case study at the step of half an hour. Households are symbolized by consecutive letters of the alphabet (A through U)—each subfigure shows the water consumption of a different household.
Sustainability 13 02603 g001
Figure 2. (a) Average consumptions (L) for all weekday, Saturday, and Sunday half-hour time slots throughout the day, for a total of 48 time slots/day for household C; (b) Average daily water consumption (in liters) for all households: averages are calculated using all days, only weekdays, only Saturdays and only Sundays to capture variability throughout the week. Households are symbolized by consecutive letters of the alphabet (A through U)—each subfigure shows the water consumption of a different household.
Figure 2. (a) Average consumptions (L) for all weekday, Saturday, and Sunday half-hour time slots throughout the day, for a total of 48 time slots/day for household C; (b) Average daily water consumption (in liters) for all households: averages are calculated using all days, only weekdays, only Saturdays and only Sundays to capture variability throughout the week. Households are symbolized by consecutive letters of the alphabet (A through U)—each subfigure shows the water consumption of a different household.
Sustainability 13 02603 g002aSustainability 13 02603 g002b
Figure 3. Within-Clusters-Sum-of-Squares (WCSS) for number of SOM nodes in our model, used as a basis to decide the number of K-Means (KM) clusters.
Figure 3. Within-Clusters-Sum-of-Squares (WCSS) for number of SOM nodes in our model, used as a basis to decide the number of K-Means (KM) clusters.
Sustainability 13 02603 g003
Figure 4. Number of clusters decided through cluster dendrogram.
Figure 4. Number of clusters decided through cluster dendrogram.
Sustainability 13 02603 g004
Figure 5. (a) SOMs algorithm map plot showing households per node; (b) mapping quality based on distance of observations from codebook vector for each node. In (b), node number is shown in each node. The colour legend corresponds to mapping quality, with values close to 0 indicating good quality of the SOM.
Figure 5. (a) SOMs algorithm map plot showing households per node; (b) mapping quality based on distance of observations from codebook vector for each node. In (b), node number is shown in each node. The colour legend corresponds to mapping quality, with values close to 0 indicating good quality of the SOM.
Sustainability 13 02603 g005
Figure 6. Variation of number of people per household across the 9 nodes produced by SOM. The y-axis shows the fraction of households that have the indicated number of people.
Figure 6. Variation of number of people per household across the 9 nodes produced by SOM. The y-axis shows the fraction of households that have the indicated number of people.
Sustainability 13 02603 g006
Figure 7. The SOM-HAC clustering plots—dashed lines signify the clusters. (a) Households are symbolized by consec-utive letters of the alphabet (A through U)—households in yellow font belong to Cluster 1, households in green font belong to Cluster 2 and households in blue font belong to Cluster 3. (b) Households appear again, but now instead of letters, cluster numbers are used. Entries in black font: households that should not be classified in that cluster; entries in red font: households correctly classified in the cluster.
Figure 7. The SOM-HAC clustering plots—dashed lines signify the clusters. (a) Households are symbolized by consec-utive letters of the alphabet (A through U)—households in yellow font belong to Cluster 1, households in green font belong to Cluster 2 and households in blue font belong to Cluster 3. (b) Households appear again, but now instead of letters, cluster numbers are used. Entries in black font: households that should not be classified in that cluster; entries in red font: households correctly classified in the cluster.
Sustainability 13 02603 g007
Figure 8. The WImod plot for the two cases; the cluster-estimated curve and the no-cluster-estimated curves.
Figure 8. The WImod plot for the two cases; the cluster-estimated curve and the no-cluster-estimated curves.
Sustainability 13 02603 g008
Figure 9. Observed and estimated water consumption curves for two scenarios: clustering and no clustering for (a) household N and (b) household M in half hour slots.
Figure 9. Observed and estimated water consumption curves for two scenarios: clustering and no clustering for (a) household N and (b) household M in half hour slots.
Sustainability 13 02603 g009
Table 1. Features used to build the input vectors of the Self-Organizing Maps (SOMs).
Table 1. Features used to build the input vectors of the Self-Organizing Maps (SOMs).
FeaturesUnits
Standard deviation of water consumption
Mean daily consumptionL
Mean daily consumption of weekdaysL
Mean daily consumption of weekendsL
Mean morning consumption (6 a.m.–10 a.m.)L
Mean noon consumption (10 a.m.–2 p.m.)L
Ratio of mean summer over autumn consumption
Table 2. Number of residents per household in the case study.
Table 2. Number of residents per household in the case study.
HouseholdsNumber of Residents
A, B, D, F, I, K, L, N, O, P, Q, S2
C, E, H, J, M3
G, R, T, U4
Table 3. Household partitioning in 3 clusters with the combined algorithm SOM-HAC.
Table 3. Household partitioning in 3 clusters with the combined algorithm SOM-HAC.
Cluster NumberHouseholds
Cluster 1D
Cluster 2A, B, C, F, I, K, P, Q, S
Cluster 3E, G, H, J, L, O, R, T, U
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ioannou, A.E.; Creaco, E.F.; Laspidou, C.S. Exploring the Effectiveness of Clustering Algorithms for Capturing Water Consumption Behavior at Household Level. Sustainability 2021, 13, 2603. https://doi.org/10.3390/su13052603

AMA Style

Ioannou AE, Creaco EF, Laspidou CS. Exploring the Effectiveness of Clustering Algorithms for Capturing Water Consumption Behavior at Household Level. Sustainability. 2021; 13(5):2603. https://doi.org/10.3390/su13052603

Chicago/Turabian Style

Ioannou, Alexandra E., Enrico F. Creaco, and Chrysi S. Laspidou. 2021. "Exploring the Effectiveness of Clustering Algorithms for Capturing Water Consumption Behavior at Household Level" Sustainability 13, no. 5: 2603. https://doi.org/10.3390/su13052603

APA Style

Ioannou, A. E., Creaco, E. F., & Laspidou, C. S. (2021). Exploring the Effectiveness of Clustering Algorithms for Capturing Water Consumption Behavior at Household Level. Sustainability, 13(5), 2603. https://doi.org/10.3390/su13052603

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