Contemporary buildings are increasingly adopting a integrated approach to efficiency, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy management systems. IoT devices provide real-time information on premises performance, allowing optimized adjustments to HVAC and othe