Contemporary structures are increasingly adopting a holistic approach to resource management, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy management systems. IoT devices offer real-time data on building operatio