中国电力 ›› 2026, Vol. 59 ›› Issue (5): 1-8.DOI: 10.11930/j.issn.1004-9649.202506072

• “双碳”目标下支撑能源转型的电价市场化改革与价格监管 • 上一篇    下一篇

一种基于Patch机制与通道独立结构的改进Transformer日前电价预测方法

陈梓宏1(), 黄宁馨1(), 赖智航1, 赖晓文2, 陈潇婷2, 陈硕楠2(), 高锋3   

  1. 1. 广东粤电电力销售有限公司,广东 广州 510630
    2. 北京清能互联科技有限公司,北京 100084
    3. 北京工业大学,北京 100124
  • 收稿日期:2025-06-30 修回日期:2026-03-28 发布日期:2026-05-15 出版日期:2026-05-28
  • 作者简介:
    陈梓宏(1993),男,工程师,从事电力市场、电力经济研究,E-mail:chenzihong@geg.com.cn
    黄宁馨(1997),女,硕士研究生,从事电力经济、电力供需研究,E-mail:huangningxin@geg.com.cn
    陈硕楠(1999),男,通信作者,硕士研究生,从事人工智能、机器学习算法应用研究,E-mail:1025877071@qq.com
  • 基金资助:
    国家自然科学基金资助项目(72401011)。

An improved Transformer day-ahead electricity price forecasting model based on Patch mechanism and channel-independent structure

CHEN Zihong1(), HUANG Ningxin1(), LAI Zhihang1, LAI Xiaowen2, CHEN Xiaoting2, CHEN Shuonan2(), GAO Feng3   

  1. 1. Guangdong Yudean Electric Marketing Co., Ltd., Guangzhou 510630, China
    2. Beijing TsIntergy Technology Co., Ltd., Beijing 100084, China
    3. Beijing University of Technology, Beijing 100124, China
  • Received:2025-06-30 Revised:2026-03-28 Online:2026-05-15 Published:2026-05-28
  • Supported by:
    This work is supported by National Natural Science Foundation of China (No.72401011).

摘要:

针对电力现货市场日前电价预测中普遍存在的时序特征提取不足、特殊日类型场景适应性差的问题,提出一种基于Transformer架构的改进预测模型。引入Patch机制增强局部时序特征提取,结合通道独立结构增加多变量特征学习效率,通过多头注意力机制捕获全局电价波动规律。基于广东省电力现货市场历史数据进行方法验证,与基准Transformer模型相比,周末场景的平均绝对误差从32.95降低至 23.88,节假日场景的平均绝对误差从78.33降低至70.33。对量价偏移现象的适应性显著优于基准模型,在竞价空间大于6万MW时能准确捕捉价格下限上升趋势,所提方法在不同场景(特别是特殊场景)预测精度显著提升,对量价偏移现象适应性好。

关键词: 电力现货市场, 日前电价预测, 通道独立结构, 多头注意力机制

Abstract:

To address the common problems of insufficient temporal feature extraction and poor adaptability to special day scenarios in day-ahead electricity spot market price forecasting, this paper proposes an improved forecasting model based on the Transformer architecture. The Patch mechanism is introduced to enhance local temporal feature extraction, and the channel-independent structure is combined to improve the learning efficiency of multivariate features. In addition, the multi-head attention mechanism is adopted to capture the global price fluctuation patterns. The proposed method is verified based on the historical data of the Guangdong electricity spot market. Compared with the baseline Transformer model, the mean absolute error (MAE) of the proposed model is decreased from 32.95 to 23.88 in weekend scenarios, and from 78.33 to 70.33 in holiday scenarios. The model exhibits significantly better adaptability to the phenomenon of quantity-price deviation than the baseline model, and can accurately capture the upward trend of price floors when the bidding space exceeds 60000 MW. The proposed model achieves a significant improvement in prediction accuracy under different scenarios (especially special scenarios) and has good adaptability to quantity-price deviations.

Key words: electricity spot market, day-ahead price forecasting, channel-independent structure, multi-head attention mechanism


AI


AI小编
您好!我是《中国电力》AI小编,有什么可以帮您的吗?