Abstract:
With the rapid development of renewable energy and the increasing integration of photovoltaic (PV) power generation into modern power systems, accurate short-term PV power forecasting has become essential for ensuring grid stability, improving energy utilization efficiency, and facilitating intelligent energy management. However, PV power output is affected by meteorological conditions, resulting in randomness, intermittency, and nonlinear fluctuations. The heterogeneity of PV generation data under different weather conditions makes it difficult for conventional forecasting models to achieve satisfactory accuracy and robustness. To address these challenges, this study proposes a short-term PV power forecasting framework that integrates fusion multi-view hierarchical clustering and the superb fairy-wren optimization algorithm (SFOA)-based TimeMixer model (FMVHC–SFOA–TimeMixer). First, mutual information was employed to evaluate the nonlinear dependency between meteorological variables and PV power output, thereby selecting the most informative meteorological factors and reducing redundant inputs. Subsequently, a fusion multi-view hierarchical clustering (FMVHC) method was developed to divide the historical PV data into different weather categories. In this method, variational mode decomposition (VMD) was introduced to decompose daily meteorological sequences into multiple intrinsic mode functions (IMFs), and the informative components are reconstructed to enhance feature representation while reducing noise interference. Furthermore, a multi-view distance measurement strategy combining the Euclidean distance, cosine similarity, and Pearson correlation coefficient was adopted to construct a comprehensive distance matrix based on which, hierarchical clustering was performed to improve the discrimination capability for different weather patterns, including sunny, cloudy, and rainy conditions. To further improve forecasting adaptability and reduce the influence of manual parameter selection, a dual-stage optimization strategy based on the SFOA is proposed. In the first stage, the SFOA was utilized to optimize the key parameters of the VMD including the number of decomposition modes and the penalty factor, ensuring the effective extraction of multiscale meteorological features. In the second stage, the SFOA was applied to optimize the critical hyper parameters of the TimeMixer forecasting model. Via this adaptive optimization mechanism, the proposed framework could automatically obtain more suitable parameter combinations for different weather conditions. The optimized TimeMixer model was adopted as the final forecasting module. Owing to its multiscale mixing architecture, TimeMixer model can effectively capture complex temporal dependencies, separate trends and seasonal information, and extract short-term fluctuation characteristics from PV power sequences. The proposed method was validated using measured operational data collected from a photovoltaic power station in Jiangsu Province, China. Experimental results demonstrate that the proposed FMVHC–SFOA–TimeMixer framework achieves superior forecasting performance under three typical weather conditions. Specifically, under sunny conditions, the proposed model achieved an RMSE, MAE, and
R2 value of
4.0957 MW,
2.8125 MW, and
0.9752, respectively. Under cloudy conditions, the RMSE, MAE, and
R2 reached
6.7490 MW,
4.9022 MW, and
0.9427, respectively. Under rainy conditions, the corresponding values were
6.0450 MW,
4.6174 MW, and
0.9216, respectively. Compared with other benchmark models, the proposed approach consistently reduces prediction errors and improves forecasting stability. The results indicate that the combination of weather pattern–oriented feature clustering, adaptive parameter optimization, and multiscale temporal modeling effectively enhances the capability of PV power forecasting under complex meteorological environments. The proposed framework provides a reliable and practical solution for short-term PV power prediction and offers valuable technical support for PV operation management and renewable energy integration.