基于iPTransformer模型的风电功率超短期预测
卢峰,张志龙,杨龙,田波,蒙飞
(国网宁夏电力有限公司,宁夏 银川 750001)
摘 要 :针对多变量风电时序数据特征交互复杂、超短期时间内预测精度不足的问题,提出一种基于改进 PTransformer 的风电功率超短期预测模型 (iPTransformer)。对多变量时序数据进行预处理,通过滑动窗口技术生成输入张量 ;设计线性投影层,将输入张量转换为低维时序 Patch 序列,并提出一种基于波动检测的自适应分块策略,利用功率变化率阈值动态划分输入序列 ;由带有多头注意力的 Transformer 解码层进一步预测风电功率,并采用某地区风电场实际运行数据进行多种模型对比验证。实验结果表明,所提模型在超短期预测任务中的预测精度为 97.99%,均方误差为 3.971 2 MW,平均绝对误差为 1.374 7 MW,相比于 PTransformer、Transformer、Informer 模型,预测精度分别提高了 0.30%、0.93%、1.10%,在超短期风电功率预测场景中具有良好的精度与鲁棒性。
关键词 : 风电功率 ;超短期预测 ;自适应分块 ;iPTransformer 模型
中图分类号 :TM614 文献标识码 :A 文章编号 :2097-6623(2026)08-0038-06
Ultra-Short-Term Wind Power Forecasting Based on the iPTransformer Model
LU Feng, ZHANG Zhi-long, YANG Long, TIAN Bo, MENG Fei
( State Grid Ningxia Electric Power Co., Ltd., Yinchuan 750001, China)
Abstract: To address the complex feature interactions in multivariate wind power time-series data and the insufficient forecasting accuracy typical of ultra-short-term horizons, this paper proposes an improved PTransformer-based ultra-short-term wind power forecasting model termed iPTransformer. The multivariate time-series data are preprocessed, and input tensors are generated using a sliding window technique.A linear projection layer is designed to transform the input tensors into low-dimensional time-series patch sequences. Moreover, an adaptive partitioning strategy based on fluctuation detection is proposed, which dynamically divides the input sequence using a power change rate threshold. The Transformer decoder layer with multi-head attention is then employed to subsequently forecast wind power. Actual operational data from a wind farm in a specific region are used for comparative model validation. Experimental results demonstrate that the proposed model achieves a forecasting accuracy of 97.99%, with a mean squared error of 3.971 2 MW and a mean absolute error of 1.374 7 MW. Compared with the PTransformer, Transformer and Informer models, the forecasting accuracy is improved by 0.30%, 0.93% and 1.10%, respectively, indicating superior accuracy and robustness in ultra-short-term wind power forecasting scenarios.
Key words: wind power; ultra-short-term forecasting; adaptive partitioning; iPTransformer model
参考文献
[1] 杨茂,代博祉,马志远,等 . 基于多尺度特征融合与多任务学习的短期风电功率预测方法 [J]. 电力自动化设备,2026,46(5) :110-117.
[2] 陈延旭,潘世纪,赵永宁,等 . 基于模型学习偏移修正的短期风电功率预测方法 [J]. 电力系统自动化,2025,49(16) :96-108.
[3] 刘谭,刘娜,刘贵平,等 . 深度学习方法在风电功率预测中的应用与研究方向概述 [J]. 计算机科学与探索,2025,19(3) :602-622.
[4] 张志艳,兰龙,白景升,等 . 小样本条件下风电功率预测方法的研究 [J]. 电力系统保护与控制,2025,53(18) :120-130.
[5] 虞伟,黄浩,金晨星,等 . 基于多头自注意力特征变换和 CNN-LSTM 的超短期风电功率预测 [J]. 南方电网技术,2026,20(5) :71-80.
[6] 王瑞,王雨宁,逯静 . 基于双分解和深度学习的短期风电功率预测 [J]. 武汉大学学报 ( 工学版 ),2025,58(8) :1346-1355.
[7] Guo Lijin,Wang Yu,Gao Xiandong,et al.Wind power prediction based on spatiotemporal informer and transfer learning[J].IEEJ Transactions on Electrical and Electronic Engineering,2026, 21(2) :205-213.
[8] Li Xinyue,Xin Yu,Huo Youming,et al.Shortterm wind power prediction model based on SVMDKANCNN-BiLSTM[J].Sustainability,2025,18(1) :246.
[9] Meng Anbo,Zhang Haitao,Dai Zhongfu,et al.An adaptive distribution-matched recurrent network for wind power prediction using time-series distribution period division[J].Energy,2024,299 :131383.
[10] 万思洋,杨苹,崔嘉雁,等 . 针对非平稳信号和高频噪声的自适应噪声完整集成经验模态分解-双向长短期记忆风功率预测模型 [J]. 电网技术,2025,49(3) :1176-1184.
[11] 王迪,傅晓锦,杜诗琪 . 基于自适应 VMD-LSTM 的超短期风电功率预测 [J]. 南京信息工程大学学报,2025,17(1) :74-87.
[12] 李宇佳,陈富豪,阎洁,等 . 基于迁移学习和自编码器的极端天气自适应短期风电功率预测 [J]. 电力系统自动化,2025,49(16) :85-95.
[13] 叶利娟,裴生雷,董时,等 . 基于深度残差 Bi-LSTM 的风电功率预测 [J]. 现代电子技术,2025,48(20) :113-119.
[14] 逯静, 张燕茹, 王瑞 . 基于 BWO 优化 VMD 和 TCNBiGRU 的短期风电功率预测 [J]. 工程科学与技术,2025,57(3) :31-41.
[15] 郭利进,刘文哲,刘彦宾 . 基于 MODWT-BiLSTM-BiGRU 的风电功率预测 [J].太阳能学报,2026,47(4) :405-413.
[16] Zhang Ziye,Ge Quanbo,Jia Chao,et al.Shortterm wind power prediction based on hybrid optimization clustering[J].International Journal of Systems Science,2026,57(1) :1-15.
[17] Cheng Xu,Cao Yu,Song Zhiyuan,et al.Wind power prediction using stacking and transfer learning[J].Scientific Reports,2025,15(1) :11566.
[18] Nie Y,Nguyen N H,Sinthong P,et al.A time series is worth 64 words :long-term forecasting with transformers[C/OL]//International Conference on Learning Representations,2023.https ://doi.org/10.48550/arXiv.2211.14730.