Modern buildings are increasingly embracing a connected approach to sustainability, driven by the integration of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy optimization systems. IoT devices offer real-time data on building functionality, permitting automated adjustments to HVAC and other