Journal of Shanghai Jiao Tong University ›› 2024, Vol. 58 ›› Issue (9): 1420-1431.doi: 10.16183/j.cnki.jsjtu.2023.065

• New Type Power System and the Integrated Energy • Previous Articles     Next Articles

Improved Transformer-PSO Short-Term Electricity Price Prediction Method Considering Multidimensional Influencing Factors

SUN Xin(), WANG Simin, XIE Jingdong, JIANG Hailin, WANG Sen   

  1. College of Electrical Engineering, Shanghai University of Electric Power, Shanghai 200090, China
  • Received:2023-02-27 Revised:2023-05-04 Accepted:2023-05-19 Online:2024-09-28 Published:2024-10-11

Abstract:

With the construction of a diversified electricity market, the factors affecting electricity prices are gradually increasing, and the market environment has undergone more drastic changes. In order to improve the accuracy of short-term electricity price prediction, an improved Transformer-particle swarm optimization (PSO) short-term electricity price prediction method considering multiple factors affecting electricity prices is proposed. First, based on the consideration of historical electricity prices and historical loads, the relevant factors of electricity price formation are further analyzed. The autocorrelation function is used to analyze the multi-cycle characteristics of electricity price and adjust input sequence, which overcomes the problem of limited prediction accuracy caused by using historical data only and adjusting the input sequence by experience. Then, by combining long short-term memory (LSTM), self-attention mechanism, multi-layer attention mechanism, and adopting a multi-input structure, an improved Transformer model is established to further enhance the ability of the LSTM model to capture long short-term dependencies between different time step information, to overcome the information utilization bottleneck of LSTM, and to adapt to complex multiple sequence inputs including historical electricity prices and various electricity price causes. In addition, the PSO intelligent algorithm is utilized to search for the optimal learning rate of the model at different learning stages, overcoming the limitations of manually adjusting the learning rate. Finally, the PJM market electricity price is used for example analysis. The results show that the proposed short-term electricity price prediction model can be applied to the market environment where electricity prices are affected by various factors and drastic changes, and effectively improve the accuracy of short-term electricity price prediction.

Key words: short-term electricity price prediction, multidimensional influencing factors, autocorrelation analysis, improved Transformer model, particle swarm optimization (PSO)

CLC Number: