Cloud Map Multi-Feature Extraction for Ultra-Short-Term Photovoltaic Power Forecasting
Abstract
1. Introduction
- A cloud-image preprocessing procedure is developed, including fisheye distortion correction, gamma transformation, histogram equalization, and solar-interference suppression, thereby improving image quality.
- Static cloud information is extracted using Otsu’s thresholding method, while dynamic cloud motion features are estimated using the RAFT optical flow model.
- A hybrid CNN-Autoformer forecasting model is constructed and compared with conventional models to demonstrate its performance advantages.
- The extracted features, including cloud coverage, cloud motion speed, and cloud motion direction, are further integrated with meteorological data and historical photovoltaic generation data, which significantly improves forecasting accuracy under cloudy weather conditions.
2. Materials and Methods
2.1. Ground-Based Cloud Image Enhancement
2.1.1. Cloud Image Distortion Correction
2.1.2. Reducing Intraday Variations in Cloud Images
2.1.3. Solar Interference Suppression
2.2. Ground-Based Cloud Image Feature Extraction
2.2.1. Cloud Coverage
2.2.2. Cloud Motion Features
2.3. Deep Learning Model
2.3.1. CNN
2.3.2. Autoformer
- (1)
- Sequence decomposition architecture
- (2)
- Autocorrelation mechanism
2.3.3. CNN-Autoformer
2.3.4. Similar-Day Clustering
3. Results and Discussions
3.1. Baseline Data
3.2. Evaluation Metrics
3.3. Prediction Result Comparison Analysis
- Feature 1: meteorological data and historical power data;
- Feature 2: meteorological data and historical power data + static cloud-image features, including cloud cover;
- Feature 3: meteorological data and historical power data + dynamic cloud-image features, including cloud velocity and direction;
- Feature 4: meteorological data and historical power data + static cloud-image features, including cloud cover + dynamic cloud-image features, including cloud velocity and direction.
4. Conclusions
- (1)
- A comprehensive workflow for ground-based cloud image processing and feature extraction is developed. To address fisheye distortion, illumination variation, and solar interference in raw ground-based cloud images, image correction, image enhancement, and solar-interference suppression are applied to improve image quality. Based on the processed images, static features such as cloud coverage are extracted using threshold segmentation, while dynamic features such as cloud motion speed and motion direction are obtained using an optical flow method. This workflow characterizes the influence of clouds on photovoltaic output from two perspectives: the current cloud-shading condition and the short-term evolution trend of cloud motion. As a result, it provides the forecasting model with input information that is more physically interpretable and more representative in both temporal and spatial dimensions.
- (2)
- A hybrid CNN-Autoformer forecasting model is proposed. The model first employs a CNN to extract local short-term variation information from photovoltaic power, meteorological data, and cloud-image features. It then uses the sequence decomposition architecture and autocorrelation mechanism of Autoformer to capture trend components, periodic components, and long-term dependencies in the power sequence. In this way, local feature extraction and global temporal modeling are effectively integrated. Compared with CNN, Transformer, Autoformer, and CNN-Transformer, the proposed CNN-Autoformer achieves better forecasting performance under sunny, cloudy, and overcast conditions. The experimental results show that the proposed model achieves better forecasting accuracy than the selected learning-based baselines under the three evaluated weather conditions.
- (3)
- By fixing CNN-Autoformer as the forecasting model and constructing different input feature combinations, the contributions of static and dynamic cloud-image features to forecasting performance are further verified. The results show that under sunny and overcast conditions, photovoltaic power variations are relatively smooth or cloud cover is relatively continuous. Therefore, static features such as cloud coverage contribute more significantly to improving prediction accuracy. Under cloudy conditions, cloud shading and motion occur more frequently, and photovoltaic power exhibits stronger non-stationarity and abrupt variations. In this case, dynamic features such as cloud motion speed and motion direction play a more important role in improving prediction accuracy. By fusing static and dynamic cloud-image features, the model can simultaneously characterize the current cloud-shading condition and the future evolution trend of cloud motion, thereby achieving higher forecasting accuracy and stability under different weather conditions.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| RAFT | Recurrent All-Pairs Field Transforms |
| CNN | Convolutional neural network |
| NSRDB | National Solar Radiation Database |
| RMSE | Root Mean Square Error |
| MAE | Mean Absolute Error |
| nMAE | normalized Mean Absolute Error |
References
- Dhabi, A. International Renewable Capacity Statistics 2026; International Renewable Energy Agency: Abu Dhabi, United Arab Emirates, 2026. [Google Scholar]
- Zhen, H.; Niu, D.; Wang, K. Photovoltaic Power Forecasting Based on GA Improved Bi-LSTM in Microgrid Without Meteorological Information. Energy 2021, 231, 120908. [Google Scholar] [CrossRef] [Scilit]
- Limouni, T.; Yaagoubi, R.; Bouziane, K. Accurate One Step and Multistep Forecasting of Very Short-Term PV Power Using LSTM-TCN Model. Renew. Energy 2023, 205, 1010–1024. [Google Scholar] [CrossRef] [Scilit]
- Das, O.; Dahlioui, D.; Zafar, H.M. Ultra-Short Term PV Power Forecasting Under Diverse Environmental Conditions: A case study of Norway. Energy Convers. Manag. X 2025, 27, 101072. [Google Scholar] [CrossRef] [Scilit]
- Gong, J.; Qu, Z.; Zhu, Z. Parallel TimesNet-BiLSTM Model for Ultra-Short-Term Photovoltaic Power Forecasting Using STL Decomposition and Auto-Tuning. Energy 2025, 320, 135286. [Google Scholar] [CrossRef] [Scilit]
- Prashant, M.; Rahul, C.; Shyam, S.C. A Power Prediction Model and Its Validation for A Roof Top Photovoltaic Power Plant Considering Module Degradation. Sol. Energy 2021, 224, 184–194. [Google Scholar] [CrossRef] [Scilit]
- Dong, Y.; Zhang, H.; Wang, C. A Novel Hybrid Model Based on Bernstein Polynomial with Mixture of Gaussians for Wind Power Forecasting. Appl. Energy 2021, 286, 116545. [Google Scholar] [CrossRef] [Scilit]
- Adar, M.; Babay, M.-A.; Boussif, M.; Khaouch, Z. Optimization of Photovoltaic System Modelling: A Comparative Study and Experimental Validation Using Bond Graph Methodology and a Genetic Algorithm. Adv. Transdiscipl. Eng. 2024, 61, 723–730. [Google Scholar] [CrossRef] [Scilit]
- Connor, S.; Mominul, A.; Alhussein, A. Machine Learning for Forecasting a Photovoltaic (PV) Generation System. Energy 2023, 278, 127807. [Google Scholar] [CrossRef] [Scilit]
- Jung, Y.; Jung, J.; Kim, B. Long Short-Term Memory Recurrent Neural Network for Modeling Temporal Patterns in Long-Term Power Forecasting for Solar PV Facilities: Case Study of South Korea. J. Clean. Prod. 2019, 250, 119476. [Google Scholar] [CrossRef] [Scilit]
- Adar, M.; Babay, M.-A.; Touairi, S. Experimental Validation of Different PV Power Prediction Models under Beni Mellal Climate. Energy Nexus 2022, 5, 100050. [Google Scholar] [CrossRef] [Scilit]
- Mohamad, H.A.; Bukhari, S.M.S.; Hamza, M.Z.; Mansoor, M.; Chen, W. COA-CNN-LSTM: Coati Optimization Algorithm-Based Hybrid Deep Learning Model for PV/Wind Power Forecasting in Smart Grid Applications. Appl. Energy 2023, 349, 121638. [Google Scholar] [CrossRef] [Scilit]
- Deniz, K. SolarNet: A Hybrid Reliable Model Based on Convolutional Neural Network and Variational Mode Decomposition for Hourly Photovoltaic Power Forecasting. Appl. Energy 2021, 300, 117410. [Google Scholar] [CrossRef] [Scilit]
- Shi, C.; Su, Z.; Zhang, K. CloudSwinNet: A Hybrid CNN-Transformer Framework for Ground-Based Cloud Images Fine-Grained Segmentation. Energy 2024, 309, 133128. [Google Scholar] [CrossRef] [Scilit]
- Chen, J.; Peng, T.; Qian, S. An Error-Corrected Deep Autoformer Model Via Bayesian Optimization Algorithm and Secondary Decomposition for Photovoltaic Power Prediction. Appl. Energy 2025, 377, 124738. [Google Scholar] [CrossRef] [Scilit]
- Demil, G.; Haghighi, T.A.; Klöve, B. Seeing Through the Clouds: Enhanced Snow And Cloud Segmentation in Sentinel-2 Imagery with mDeepLabV3+. Earth Sci. Inform. 2025, 18, 477. [Google Scholar] [CrossRef] [Scilit]
- Mihulet, E.; Czibula, G.; Alexandrescu, S. Using Deep Learning for Enhancing the Performance of Ground-Based Cloud Images Classification. Stud. Inform. Control. 2025, 34. [Google Scholar] [CrossRef] [Scilit]
- Wu, X.; Zhen, Z.; Zhang, J. Multidimensional Feature Extraction Based Minutely Solar Irradiance Forecasting Method Using All-Sky Images. IEEE Trans. Ind. Appl. 2024, 60, 4494–4504. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Chen, J.; Huang, W. 3D Cumulus Cloud Scene Modelling and Shadow Analysis Method Based on Ground-Based Sky Images. Int. J. Appl. Earth Obs. Geoinf. 2022, 109, 102765. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Zhang, J.; Zhang, Z. Integration Transformer for Ground-Based Cloud Image Segmentation. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5606712. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Wang, X.; Hao, D. Combined Ultra-Short-Term Prediction Method of PV Power Considering Ground-Based Cloud Images and Chaotic Characteristics. Sol. Energy 2024, 274, 112597. [Google Scholar] [CrossRef] [Scilit]
- Kevin, B.; Robin, G.; Guillaume, B. A Generic Methodology to Efficiently Integrate Weather Information in Short-Term Photovoltaic Generation Forecasting Models. Sol. Energy 2022, 244, 401–413. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Lu, Z.; Zhou, Q.; Xu, Z. A Cloud Detection Algorithm with Reduction of Sunlight Interference in Ground-Based Sky Images. Atmosphere 2019, 10, 640. [Google Scholar] [CrossRef] [Scilit]
- Nie, Y.; Li, X.; Scott, A. SKIPP’D: A SKy Images and Photovoltaic Power Generation Dataset for Short-Term Solar Forecasting. Sol. Energy 2023, 255, 171–179. [Google Scholar] [CrossRef] [Scilit]








| Model | Weather Type | RMSE/kW | MAE/kW | R2/% |
|---|---|---|---|---|
| CNN | Sunny | 1.665 | 1.247 | 92.99 |
| Cloudy | 5.111 | 3.851 | 61.31 | |
| Overcast | 3.649 | 3.101 | 78.21 | |
| Transformer | Sunny | 1.733 | 1.323 | 91.74 |
| Cloudy | 4.965 | 3.259 | 65.33 | |
| Overcast | 3.079 | 2.603 | 81.71 | |
| Autoformer | Sunny | 0.9700 | 0.718 | 97.43 |
| Cloudy | 4.829 | 3.338 | 65.52 | |
| Overcast | 2.079 | 1.357 | 85.79 | |
| CNN-Transformer | Sunny | 1.568 | 1.290 | 93.95 |
| Cloudy | 4.512 | 3.299 | 69.51 | |
| Overcast | 2.264 | 1.811 | 83.70 | |
| CNN-Autoformer | Sunny | 0.576 | 0.392 | 98.01 |
| Cloudy | 3.266 | 2.669 | 74.61 | |
| Overcast | 1.514 | 1.051 | 91.57 |
| Feature | RMSE/kW | MAE/kW | nMAE/% | R2/% |
|---|---|---|---|---|
| feature 1 | 0.576 | 0.392 | 1.30 | 98.01 |
| feature 2 | 0.459 | 0.313 | 1.04 | 98.83 |
| feature 3 | 0.519 | 0.365 | 1.21 | 98.38 |
| feature 4 | 0.369 | 0.264 | 0.88 | 99.52 |
| Feature | RMSE/kW | MAE/kW | nMAE/% | R2/% |
|---|---|---|---|---|
| feature 1 | 3.266 | 2.669 | 8.87 | 74.61 |
| feature 2 | 2.555 | 1.984 | 6.59 | 81.42 |
| feature 3 | 1.882 | 1.468 | 4.88 | 85.58 |
| feature 4 | 1.436 | 1.152 | 3.83 | 90.95 |
| Feature | RMSE/kW | MAE/kW | nMAE/% | R2/% |
|---|---|---|---|---|
| feature 1 | 1.514 | 1.051 | 3.49 | 91.57 |
| feature 2 | 1.237 | 0.821 | 2.73 | 94.13 |
| feature 3 | 1.344 | 0.967 | 3.21 | 93.42 |
| feature 4 | 0.836 | 0.633 | 2.10 | 97.82 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhang, N.; Guo, D.; Zhao, Q.; Li, R.; Guo, J. Cloud Map Multi-Feature Extraction for Ultra-Short-Term Photovoltaic Power Forecasting. Energies 2026, 19, 3978. https://doi.org/10.3390/en19173978
Zhang N, Guo D, Zhao Q, Li R, Guo J. Cloud Map Multi-Feature Extraction for Ultra-Short-Term Photovoltaic Power Forecasting. Energies. 2026; 19(17):3978. https://doi.org/10.3390/en19173978
Chicago/Turabian StyleZhang, Na, Dianting Guo, Qianyu Zhao, Ruifan Li, and Jing Guo. 2026. "Cloud Map Multi-Feature Extraction for Ultra-Short-Term Photovoltaic Power Forecasting" Energies 19, no. 17: 3978. https://doi.org/10.3390/en19173978
APA StyleZhang, N., Guo, D., Zhao, Q., Li, R., & Guo, J. (2026). Cloud Map Multi-Feature Extraction for Ultra-Short-Term Photovoltaic Power Forecasting. Energies, 19(17), 3978. https://doi.org/10.3390/en19173978

