Integrating IoT and blockchain for smart urban energy management: enhancing sustainability through real-time monitoring and optimization
Mohammed El‐Hajj, Ali El Attar, Ahmad Mikati
Abstract
Abstract This paper addresses the critical challenges of scalability, interoperability, and user adoption in IoT-blockchain integration for urban energy systems. Existing frameworks often rely on energy-intensive consensus mechanisms (e.g., Proof of Work) or centralized architectures, limiting their applicability to large-scale, sustainable smart cities. To bridge these gaps, we propose a novel IoT blockchain framework that uniquely combines hybrid consensus mechanisms (Proof of Stake + Practical Byzantine Fault Tolerance), K-means clustering for demand-response optimization, and lightweight IoT protocols (MQTT/CoAP) to ensure energy efficiency, scalability, and user-centric design. Our approach leverages real-world datasets (UK-DALE, PECAN Street) to train predictive models, cluster energy consumption patterns, and automate decentralized energy trading via blockchain smart contracts. Simulations demonstrate a 15% reduction in energy costs for high-consumption clusters, 80% lower energy use (50 kWh/tx vs. 500 kWh/tx for PoW), and near-linear scalability for 500+ IoT devices. A secure dashboard with AI-driven recommendations (e.g., peak-load alerts) further enhances stakeholder engagement. By addressing technical limitations of previous works, such as computational bottlenecks, lack of user interfaces, and poor interoperability, our framework provides actionable insights for policymakers to advance sustainable urban energy systems. These results position the proposed architecture as a transformative solution for scalable, eco-friendly smart cities.