Modern buildings are increasingly adopting a holistic approach to resource management, driven by the integration of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy optimization systems. IoT devices deliver real-time insights on building per