湖南电力 ›› 2026, Vol. 46 ›› Issue (1): 134-141.doi: 10.3969/j.issn.1008-0198.2026.01.018

• 电力人工智能与数字化 • 上一篇    下一篇

基于可解释机器学习的光伏出力区间预测一体化方案

童宇轩1, 李灿2, 彭佳鹰1, 吴卢飞1   

  1. 1.国网浙江省电力有限公司慈溪市供电公司,浙江 慈溪 315300;
    2.浙江省送变电工程有限公司,浙江 杭州 310020
  • 收稿日期:2025-09-15 修回日期:2025-10-21 出版日期:2026-02-25 发布日期:2026-03-10
  • 通信作者: 童宇轩(1998),男,工程师,主要从事电力系统大数据与人工智能应用研究工作。
  • 作者简介:李灿(1998),男,主要从事新能源电力系统运行与仿真研究工作。彭佳鹰(1997),男,工程师,主要从事新能源电力系统运行与仿真研究工作。吴卢飞(1997),男,工程师,主要从事新能源电力系统运行与仿真研究工作。
  • 基金资助:
    国网浙江省电力有限公司科技项目(5211NB240008); 浙江省科技计划项目(2025C01204(SD2))

Integrated Scheme for Photovoltaic Output Interval Pre‍diction Based on Interpretable Machine Learning

TONG Yuxuan1, LI Can2, PENG Jiaying1, WU Lufei1   

  1. 1. Cixi Power Supply Company of State Grid Zhejiang Electric Power Co., Ltd., Cixi 315300, China;
    2. Zhejiang Electric Transmission & Transformation Co., Ltd., Hangzhou 310020, China
  • Received:2025-09-15 Revised:2025-10-21 Online:2026-02-25 Published:2026-03-10

摘要: 针对当前光伏功率预测精度低和模型缺乏可解释性等问题,提出一种基于改进雪雁算法(improved snow geese algorithm,ISGA)-极限梯度提升树(eXtreme gradient boosting,XGBoost)和可解释性分析(SHapley additive exPlanations,SHAP)的光伏功率区间预测模型。首先,将光伏功率滑动时间窗口的统计量引入输入特征,捕捉时间序列的动态变化趋势和模式,建立基于XGBoost的预测模型,通过正则化策略与并行计算优化,处理高维特征并抑制过拟合。其次,采用ISGA融合头雁轮换机制、叫声引导机制和离群边界策略,提高XGBoost模型的超参数寻优能力。然后,考虑光伏功率的不确定性,采用自助法量化不同置信水平下的预测区间。最后,引入SHAP可解释模型,量化各特征变量的贡献,提高预测结果的可解释性。算例结果表明,所提模型与其他模型相比,预测精度更高,且有着更好的泛化能力和可解释性。

关键词: 光伏功率区间预测, XGBoost, 改进雪雁算法, 自助法, SHAP可解释分析

Abstract: Aiming at the current problems such as low prediction accuracy of photovoltaic power and the lack of interpretability of the model, a photovoltaic power interval prediction model based on ISGA-XGBoost and SHAP is proposed. Firstly, the statistics of the sliding time window of photovoltaic power are introduced into the input features to capture the dynamic change trends and patterns of the time series, and a prediction model based on XGBoost is established. Through the regularization strategy and parallel computing optimization, high-dimensional features are processed and overfitting is suppressed. Secondly, ISGA is adopted to integrate the head goose rotation mechanism, the call guidance mechanism and the outlier boundary strategy to improve the hyperparameter optimization ability of the XGBoost model. Then, considering the uncertainty of photovoltaic power, the bootstrap method is adopted to quantify the prediction intervals at different confidence levels. Finally, the SHAP interpretable model is introduced to quantify the contributions of each feature variable and improve the interpretability of the prediction results. The results of the calculation examples show that the model proposed in this paper has higher prediction accuracy compared with other models, and has better generalization ability and interpretability.

Key words: photovoltaic power interval prediction, XGBoost(eXtreme gradient boosting), improved snow geese algorithm(ISGA), bootstrap method, SHAP(Shapley Additive Explanations)

中图分类号: