Modern facilities are increasingly embracing a holistic approach to sustainability, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy optimization systems. IoT devices offer real-time insights on building performance,