基于概率稀疏自注意力的船舶短期电力负荷预测

展开
  • (1.武汉理工大学 船海与能源动力工程学院,湖北 武汉 430063;2,武汉海翎光电科技有限公司 数据采集部门,湖北 武汉 430035)
王谦(1998— ),男,硕士,研究方向:船舶电力智能监测系统。高海波*(1975— ),男,博士,副教授,研究方向:船舶电力推进及系统仿真,E-mail: hbgao_whut@126.com。左文(1987— ),男,博士,研究方向:舰船智能化控制及嵌入式系统。

收稿日期: 2023-09-06

  修回日期: 2023-11-01

  录用日期: 2023-11-01

  网络出版日期: 2023-11-01

Short-term power load forecasting for ships based on probsparse self-attention

Expand
  • (1.School of Naval Architecture, Ocean and Energy Power Engineering, Wuhan University of Technology, Wuhan 430063, China; 2. Data Acquisition Sector, Wuhan Hailing Photoelectric Technology Co. Ltd, Wuhan 430063, China)

Received date: 2023-09-06

  Revised date: 2023-11-01

  Accepted date: 2023-11-01

  Online published: 2023-11-01

摘要

针对船舶电力负荷数据预测时存在的实时性差、存储数据量小且质量低等问题,本文提出一种结合数据插补、小波阈值去噪与概率稀疏自注意力(ProbSparse Self-Attention)机制的新型短期负荷预测方法。首先在数据预处理阶段,在不影响原始数据特征及趋势的前提下通过插值填补缺失数据,同时扩充数据库以满足模型训练要求;同时考虑到原始船舶电力负荷数据可能存在噪声干扰等问题,为减小其对模型预测效果的影响,对原信号采用了小波阈值去噪处理的方法来改善数据质量。其次在预测模型中通过引入概率稀疏自注意力机制,在有效捕获时序电力数据中的依赖关系和重要特征的同时降低内存资源占用,减小模型复杂度,满足船舶电力负荷预测实时性要求,实现预测精度与效率双优化。在与其他模型的对比实验中,本文模型在均方根误差和平均绝对百分比误差两种指标上平均分别降低了13.1%、18.6%,效率平均提高24.0%以上,结果表明该方法在船舶电力负荷数据预测模型准确度及效率上有着明显优势。

本文引用格式

王谦, 高海波, 左文 . 基于概率稀疏自注意力的船舶短期电力负荷预测[J]. 大连海事大学学报, 2024 , 50(1) : 134 -142 . DOI: 10.16411/j.cnki.issn1006-7736.2024.01.015

Abstract

Aiming at the problems of poor real-time, small storage data and low quality of ship power load data prediction, this paper proposes a new short-term load prediction method that combines data interpolation, wavelet threshold denoising and ProbSparse Self-Attention mechanism. Firstly, in data preprocessing stage, the database is expanded by interpolation to meet the model training requirements without affecting the characteristics and trends of the original data; at the same time, taking into account noise disturbance in the original ship power load data, in order to reduce its impact on the model prediction effect, a new wavelet threshold denoising method is adopted to process the original signals and to improve the quality of the data. Secondly, by introducing probabilistic sparse self-attention mechanism in the forecasting model. While effectively capturing the dependencies and important features in the time series power data, it reduces the memory resource consumption and model complexity. It meets the real-time requirements of ship power load forecasting and realizes the double optimization of forecasting accuracy and efficiency. In the comparison experiments with other models, this paper's model reduces at least 13.1% and 18.6% on average in the two indicators of root mean square error and average absolute percentage error, respectively, and improves the efficiency by more than 24.0% on average, and the results show that the method has obvious advantages in the accuracy and efficiency of the ship power load data forecasting model.

参考文献

[1]Zhang Y, Shan Q, Teng F, et al. Distributed Economic Optimal Scheduling Scheme for Ship-Integrated Energy System Based on Load Prediction Algorithm [J]. Frontiers in Energy Research, 2021, 9.
[2]张宇涵, 高海波, 商蕾. 基于神经网络模型的船舶电网短期电力负荷预测[J]. 应用科技, 2021, 48(05): 12-5+22. 
ZHANG Y H, GAO H B, SHANG L. Short-term load forecasting for marine electric network based on neural network models[J]. Applied Science and Technology, 2021, 48(05): 12-5+22.(in Chinese)
[3]柴广志, 赵永. 基于深度学习方法的电力负荷预测系统 [J]. 科技创新与应用, 2022, 12(31): 30-4. CHAI G Z, ZHAO Y. Electricity load forecasting system based on deep learning method[J]. Technology Innovation and Application, 2022, 12(31): 30-4. (in Chinese)
[4]童佳亮. 电力数据处理与负荷预测的研究 [D]; 浙江大学, 2023. 
TONG J L. Research on Power Data Processing and Load Forecasting[D]. Zhejiang University, 2023. (in Chinese)
[5]Li Y, Du M, He S. Attention-Based Sequence-to-Sequence Model for Time Series Imputation [J]. Entropy (Basel), 2022, 24(12).
[6]Sherstinsky A. Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) network [J]. Physica D: Nonlinear Phenomena, 2020, 404.
[7]王园浩, 朱月尧, 查易艺. 基于Transformer模型的电力负荷预测 [J]. 机电信息, 2023, (04): 1-6. WANG Y H, ZHU Y Y, ZHA Y Y. Electricity Load Forecasting Based on Transformer Modeling[J]. Mechanical Electrical Information, 2023, (04): 1-6. (in Chinese)
[8]孟磊. 基于CNN-LSTM网络的电力负荷预测 [J]. 机电信息, 2023, (07): 7-10. 
MENG L. Electricity load forecasting based on CNN-LSTM network[J]. Mechanical Electrical Information, 2023, (07): 7-10. (in Chinese)
[9]Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need [J]. Advances in neural information processing systems, 2017, 30.
[10]Niu Z, Zhong G, Yu H. A review on the attention mechanism of deep learning [J]. Neurocomputing, 2021, 452: 48-62.
[11]Li S, Jin X, Xuan Y, et al. Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting [J]. Advances in neural information processing systems, 2019, 32.
[12]Zhou H, Zhang S, Peng J, et al. Informer: Beyond efficient transformer for long sequence time-series forecasting; proceedings of the Proceedings of the AAAI conference on artificial intelligence, F, 2021 [C].
[13]Liu S, Yu H, Liao C, et al. Pyraformer: Low-complexity pyramidal attention for long-range time series modeling and forecasting; proceedings of the International conference on learning representations, F, 2021 [C].
[14]Madhusudhanan K, Burchert J, Duong-Trung N, et al. Yformer: U-net inspired transformer architecture for far horizon time series forecasting [J]. arXiv preprint arXiv:211008255, 2021.
[15]路昂. 基于用电负荷的缺失数据插补方法研究 [J]. 分布式能源, 2020, 5(04): 74-80. 
LU A. Research on missing data interpolation method based on electricity load[J]. Distributed Energy, 2020, 5(04): 74-80. (in Chinese)
[16]Ni Q, Cao X. MBGAN: An improved generative adversarial network with multi-head self-attention and bidirectional RNN for time series imputation [J]. Engineering Applications of Artificial Intelligence, 2022, 115.
[17]Liu J, Jin B, Yang J, et al. Sea surface temperature prediction using a cubic B-spline interpolation and spatiotemporal attention mechanism [J]. Remote Sensing Letters, 2021, 12(5): 478-87.
[18]于虹, 甄彤. 基于小波阈值去噪的最优小波基选择研究 [J]. 现代电子技术, 2021, 44(17): 86-9. 
YU H, ZHEN T. Research on optimal wavelet base selection based on wavelet threshold denoising[J]. Modern Electronics Technique, 2021, 44(17): 86-9. (in Chinese)
[19]王昌盛, 丁松, 郑平. 基于小波阈值的电能质量扰动信号去噪研究 [J]. 兰州文理学院学报(自然科学版), 2022, 36(03): 37-41.
WANG C S, DING S, ZHENG P. Research on power quality disturbance signal denoising based on improved wavelet threshold[J]. Journal of Lanzhou University of Arts and Science (Natural Sciences), 2022, 36(03): 37-41. (in Chinese)
文章导航

/