Contemporary buildings are increasingly utilizing a holistic approach to resource management, driven by the synergy of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy management systems. IoT devices provide real-time data on building operation, allowing automated adjustments to climate and ot