Future buildings are increasingly embracing a integrated approach to efficiency, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy optimization systems. IoT devices provide real-time information on facility functionality, permitting optimized adjustments to lighting and