“…In this context, the authors have proposed a specific method to obtain patterns and detect anomalies in the electricity demand. K-means [34,35] a,c Image processing technology [36] Classification and outlier detection b,c Canonical variate analysis [25] K-means and support vector machines [21] Outlier Detection b Statistics and hierarchical clustering [24] Symbolic aggregate approximation process [26] a,b C-means based on fuzzy clustering [20] a,c Support vector machines and k-means [27] LSTM neural networks and statistics [28] [12,13] a,e Support vector regression [14] d,e Simple linear regression, multiple linear regression, and ARIMA [37] b Data mining, unsupervised data clustering and bayesian network prediction [15] Energy Management a,b Hierarchical clustering [16] a Event-triggered-based distributed algorithm [38] a,e Formulation of a multiple knapsack problem and solve it through dynamic programming [39] b…”