系统仿真学报 ›› 2026, Vol. 38 ›› Issue (5): 1239-1254.doi: 10.16182/j.issn1004731x.joss.25-0396

• • 上一篇    

计及数据漂移改进PatchTST的超短期光伏功率预测

梅华威1,2, 杨鹏慧1, 余洋3,4   

  1. 1.华北电力大学 计算机系,河北 保定 071003
    2.复杂能源系统智能计算教育部工程研究中心,河北 保定 071003
    3.新能源电力系统国家重点实验室,河北 保定 071003
    4.河北省分布式储能与微网重点实验室,河北 保定 071003
  • 收稿日期:2025-05-08 修回日期:2025-07-09 出版日期:2026-05-21 发布日期:2026-05-29
  • 通讯作者: 余洋
  • 第一作者简介:梅华威(1982-),男,副教授,博士,研究方向为大数据与人工智能、计算机网络和电气信息技术。

Ultra-short-term Photovoltaic Power Prediction Based on Improved PatchTST Considering Data Drift

Mei Huawei1,2, Yang Penghui1, Yu Yang3,4   

  1. 1.Department of Computer, North China Electric Power University, Baoding 071003, China
    2.Engineering Research Center of Intelligent Computing for Complex Energy Systems, Ministry of Education, Baoding 071003, China
    3.State Key Laboratory of Alternate Electrical Power System with Renewable Energy Sources, Baoding 071003, China
    4.Key Laboratory of Distributed Energy Storage and Microgrid of Hebei Province, Baoding 071003, China
  • Received:2025-05-08 Revised:2025-07-09 Online:2026-05-21 Published:2026-05-29
  • Contact: Yu Yang

摘要:

现有光伏功率预测方法中,存在大多使用单点映射未能充分挖掘数据中蕴含的局部时序模式、未能深入探究时间数据对光伏出力的全局指导作用和未考虑普遍存在的数据漂移现象对模型的影响等问题,导致模型预测精度不高、鲁棒性不强。针对上述问题,提出一种基于改进PatchTST (patch time series transformer)模型的超短期光伏功率预测方法。利用粗糙集既能考虑特征与标签的关系又能考虑特征间耦合关系的特点,进行特征降维,保留决策信息;使用改进通道独立机制的PatchTST模型,提取局部时序模式的同时,捕捉气象要素和光伏出力间的复杂映射关系;此外,使用GLAFF (global-local attention fusion framework)插件获取时间数据中的全局指导信息;使用自适应的权重分配机制动态调整局部信息和全局信息的比例,以缓解数据漂移对模型性能的负面影响。使用内蒙古和澳大利亚两光伏电站的实测数据集进行实验验证,结果表明,所提模型在预测精度和鲁棒性方面具有优势。

关键词: 光伏功率预测, 超短期预测, PatchTST (patch time series transformer), GLAFF (global-local attention fusion framework), 数据漂移

Abstract:

Existing PV power prediction methods often suffer from limited accuracy and robustness due to three key shortcomings: relying on single-point mapping that cannot fully extract local temporal patterns; inadequate exploration of the global temporal dependencies in PV output, and failure to account for prevalent data drift phenomena. To overcome these limitations, an improved patch time series transformer (PatchTST) based approach is proposed for ultra-short-term PV power prediction. The methodology applies rough set theory for feature dimensionality reduction, effectively preserving critical decision information by analyzing both feature-label relationships and inter-feature correlations. An enhanced PatchTST model with a modified channel-independent mechanism extracts local temporal patterns and captures complex mapping relationships between meteorological variables and PV output. The global-local attention fusion framework (GLAFF) module is incorporated to identify global temporal guidance patterns. An adaptive weighting mechanism dynamically optimizes the integration of local and global features to counteract data drift effects. Experimental validation using real-world datasets from a PV power plant in Inner Mongolia, China, and the Desert Knowledge Australia Solar Centre demonstrates that the proposed model achieves superior performance in both prediction accuracy and robustness.

Key words: photovoltaic power prediction, ultra-short-term prediction, patch time series transformer (PatchTST), global-local attention fusion framework (GLAFF), data drift

中图分类号: