Abstract:The intermittent, variable and stochastic nature of photovoltaic (PV) power generation poses a major challenge to grid integration. To address this problem, a combined prediction model CNN-LSTM-Attention (CLA) combining convolutional neural network, long and short-term memory and attention mechanism is proposed, which can effectively capture the potential patterns in time series. An improved multivariate universe optimization algorithm is used to optimize the LSTM parameters to enhance the predictive ability and robustness of the model. It is worth mentioning that the model design does not need to rely on complex data preprocessing steps, demonstrating good versatility and practicality. The introduced attention mechanism empowers the model to adaptively focus on key historical information, thus significantly improving the prediction accuracy. The experimental results show that the model outperforms other models in terms of prediction accuracy and stability, with a coefficient of determination R2 of 0.978, which exceeds the traditional models of 0.032 and 0.039, and when compared with the recently developed optimization models, it is 0.028 and 0.023 higher than the SSA-CL and DBO-CL models, respectively, and the error is significantly smaller than that of the other [ ]models. The application potential of this method in real PV power forecasting is verified, providing a strong technical support for future grid scheduling and operation.