Contemporary structures are increasingly utilizing a integrated approach to resource management, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy control systems. IoT devices provide real-time insights on building functionality, permitting intelligent adjustments to cl