This paper presents an Artificial Intelligence (AI)-driven big-data digital-twin framework with network-aware Model Predictive Control (MPC) for anomaly-resilient PV–battery microgrids. The proposed system adopts an IoT-enabled edge–cloud architecture in which distributed sensors, battery-management units, converter actuators, an edge gateway, cloud resources, and the supervisory controller exchange measurements and control commands through bidirectional communication channels. Electrical, environmental, battery, and network-status data are processed at the edge, while the cloud supports data storage, forecasting-model training, digital-twin refinement, and optimization. Bayesian optimization is used for PV/load forecasting, particle swarm optimization for anomaly-detector tuning, and NSGA-II for multi-objective MPC parameter selection. Channel-wise reliability-weighted fusion combines physical measurements with digital-twin estimates to construct trusted controller states. The framework was evaluated under nominal, cloud–load, False-Data-Injection (FDI), and mixed cyber-physical anomaly conditions against four baseline controllers. It achieved the lowest aggregate voltage RMSE of 1.561V, corresponding to reductions of 22.57–51.28%. Under FDI, the RMSE decreased to 0.843V with a recall of 0.959, while under mixed anomalies it reached 2.674V with an F1-score of 0.684. Although PV forecasting accuracy was limited during rapid irradiance variations, the strongest improvements occurred when measurement integrity was degraded, indicating that resilience is mainly provided by reliability-weighted digital-twin fusion. The framework also achieved a 95th-percentile edge-processing latency of 2.422ms with approximately 99.86% solver success, supporting low-latency edge execution while leaving end-to-end network performance for future validation.
Copyrights © 2026