This paper presents an integrated internet of things (IoT) and machine learning-based framework for secure and efficient demand-side management (DSM) in modern smart grids. The proposed approach combines long short-term memory (LSTM) networks for accurate load forecasting, federated learning (FL) for decentralized privacy-preserving model training, and blockchain technology for secure and tamper-proof communication. In addition, a digital twin (DT)-assisted architecture is incorporated to enable predictive decision-making and system-level optimization. The framework explicitly considers renewable energy integration, electric vehicle (EV) charging loads, distributed energy storage, and power electronic converter constraints. Simulation results demonstrate a reduction in forecasting error by 15-25%, a 25% decrease in daily energy cost, and a 23.7% reduction in peak demand. The proposed system achieves improved voltage stability with reduced deviation and enhances overall efficiency up to 88%. Furthermore, cybersecurity performance is validated with an anomaly detection AUC of 0.95 and reduced data transmission through FL by 87%. The results confirm that the proposed framework provides a scalable, secure, and intelligent solution for next-generation smart grid applications.
Copyrights © 2026