“…In the field of smart cities, AI can be used to make decisions related to traffic congestion [28], public lighting [29] [30], health monitoring [31], and security and surveillance [32] among others. Smart grids are also a current hot topic and, regarding this field, the prediction of the power consumption using IoT devices is a clear example of the use of AI.…”