
One possible extension is to move to dynamic
number of clusters. Currently, number of clusters is
fixed through time. But, if each WWTP of one cluster
changes behavior, this cluster may not have any in-
terest, while a new behavior can emerge. That’s why,
moving to dynamic number of clusters could be inter-
esting.
Next step will be to detect automatically anoma-
lies during clusters changes. For instance, highlight-
ing WWTPs with constant increase of the distance to
the center. In the case of fuzzy clustering, the mem-
bership of a WWTP to a cluster can also be used.
5 CONCLUSIONS
With the aim of achieving lower CO
2
footprint and re-
ducing costs, treated wastewater companies improve
their energy efficiency. This article proposes a method
to manage those expenditures by grouping WWTPs
following their energy consumption patterns. Then,
those load patterns are analysed dynamically.
The load pattern of a WWTP is characterized by
the coefficients of PLS Regression. This model ex-
plains the consumptions per kilograms of COD and
per cubic meters of treated wastewater by the two
loading rates of the plants.
The WWTPs are grouped basing on their energy
consumption behaviors by using K-Means methods.
Five distinct clusters are obtained. A majority of
WWTPs are in clusters with less impact of the loading
rate of cubic meter on consumption per cubic meters.
WWTPs with MBR or MBBR processes are over rep-
resented in clusters where the loadings of inlet COD
have a big impact on energy consumptions. As behav-
iors evolve, on average 60% of movements between
clusters are due to a change of loading rate of cubic
meter influence on energy consumption.
This method provides easily interpretable results
thanks to the employment of Regression model co-
efficients. However, K-Means introduce limits. It is
a hard clustering method and it is subject to the ran-
domness of the initialisation.
Next step will be to detect anomalies during clus-
ters changes with statistical method. For instance
by analysing the evolution of the distances with the
groups centers.
ACKNOWLEDGEMENTS
We would like to thank Veolia Water France, for its
support throughout this project. We are also grateful
to the Veolia Water France for providing us the data
we needed to complete this project.
We would also like to thank our colleagues at Ve-
olia Research and Innovation for their feedback and
support during the research process.
REFERENCES
Bagherzadeh, F., Nouri, A. S., Mehrani, M.-J., and Then-
nadil, S. (2021). Prediction of energy consumption
and evaluation of affecting factors in a full-scale wwtp
using a machine learning approach. Process Safety
and Environmental Protection, 154:458–466.
Ben
´
ıtez, I., D
´
ıez, J.-L., Quijano, A., and Delgado, I.
(2016). Dynamic clustering of residential electric-
ity consumption time series data based on hausdorff
distance. Electric Power Systems Research, 140:517–
526.
Borzooei, S., Miranda, G. H. B., Abolfathi, S., Scibilia,
G., Meucci, L., and Zanetti, M. C. (2020). Appli-
cation of unsupervised learning and process simula-
tion for energy optimization of a WWTP under vari-
ous weather conditions. Water Science and Technol-
ogy, 81(8):1541–1551.
Davies, D. and Bouldin, D. (1979). A cluster separation
measure. Pattern Analysis and Machine Intelligence,
IEEE Transactions on, PAMI-1:224 – 227.
Geladi, P. and Kowalski, B. R. (1986). Partial least-squares
regression: a tutorial. Analytica Chimica Acta, 185:1–
17.
Harrou, F., Cheng, T., Sun, Y., Leiknes, T., and Ghaffour, N.
(2021). A data-driven soft sensor to forecast energy
consumption in wastewater treatment plants: A case
study. IEEE Sensors Journal, 21(4):4908–4917.
ISO 50001 (2018). Syst
`
emes de management de l’
´
energie
— Exigences et recommandations pour la mise en
oeuvre. Standard, Organisation Internationale de Nor-
malisation, Geneva, CH.
Li, Z., Zou, Z., and Wang, L. (2019). Analysis and fore-
casting of the energy consumption in wastewater treat-
ment plant. Mathematical Problems in Engineering,
2019:8690898.
M
´
arquez, D. G., Otero, A., F
´
elix, P., and Garc
´
ıa, C. A.
(2018). A novel and simple strategy for evolving pro-
totype based clustering. Pattern Recognition, 82:16–
30.
Nepal, B., Yamaha, M., Yokoe, A., and Yamaji, T. (2020).
Electricity load forecasting using clustering and arima
model for energy management in buildings. Japan Ar-
chitectural Review, 3(1):62–76.
Qiao, J. and Zhou, H. (2018). Modeling of energy consump-
tion and effluent quality using density peaks-based
adaptive fuzzy neural network. IEEE/CAA Journal of
Automatica Sinica, 5(5):968–976.
Rajabi, A., Eskandari, M., Ghadi, M. J., Li, L., Zhang, J.,
and Siano, P. (2020). A comparative study of clus-
tering techniques for electrical load pattern segmen-
Detection of Energy Drifts in Waste Water Treatment Plants Using Dynamic Clustering
669