Modern structures are increasingly adopting a holistic approach to efficiency, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy optimization systems. IoT devices offer real-time data on premises performance, permitting optimized adjustments to lighting and other functi