Abstract
To address the uncertainty of intermittent energy sources and enhance the economic efficiency and operational performance of microgrids, this paper proposes a novel three-layer coupled microgrid scheduling model based on the principles of model predictive control, optimized and solved using an improved dung beetle algorithm. Firstly, by comprehensively considering time-varying electricity prices and pollution protection costs, the model optimizes and mitigates the impact of uncertain factors in day-ahead scheduling, thereby constructing a new three-layer scheduling framework. Secondly, improvements to the traditional dung beetle algorithm, including population initialization, rolling behavior, and foraging behavior, are validated through simulations, demonstrating enhanced accuracy and convergence speed. Furthermore, the improved dung beetle algorithm is utilized to optimize the economic performance of the scheduling layer, determining optimal controls within the rolling control framework. Finally, through economic comparisons, rolling scheduling analysis, and control effectiveness experiments, this study demonstrates that the proposed model and algorithm significantly improve the environmental economics of microgrids while enhancing system controllability and stability.