Contemporary structures are increasingly adopting a holistic approach to resource management, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy optimization systems. IoT devices deliver real-time insights on facility performance, allowing optimized adjustments to HVAC a