Large Language Model Assisted Peer-to-Peer Energy Trading System

The peer-to-peer (P2P) energy trading market has been proposed as an effective mechanism to manage renewable energy sources. It enables users to transition from traditional consumers to prosumers and monetize their surplus energy to derive economic gains. Accurate day-ahead load forecasting for individual users is vital to improve the performance of P2P energy trading. However, the forecasting task remains challenging due to the high behavioral sensitivity of individual load profiles. In this article, a complete system is established, encompassing both the forecasting and the P2P trading model. The P2P market is coordinated by an energy trading coordinator based on the supply–demand ratio (SDR) pricing mechanism. A smoothing factor is introduced to address the strategy oscillations. To harness the contextual reasoning capabilities of large language models (LLMs), a two-stage prompt-assisted forecasting structure is developed. This structure enables the LLM to better understand the forecasting task by guiding it through detailed trend analysis to elucidate the rationale behind the load profiles. A multiround forecasting method with numerical postprocessing is designed, and the Gaussian kernel is used to reflect the density of data distribution. The case study indicates that for irregular load patterns of individual households, the proposed method achieves higher forecasting accuracy than the method using the long short-term memory, neural basis expansion analysis for time series forecasting, and Prophet models. Finally, a comprehensive analysis is conducted to explain how load forecasting errors affect load scheduling results under the SDR-based pricing mechanism in the P2P energy trading market.

Authors

Institutions

Publication Details

Journal
Journal of Energy Engineering
Published
2026-05-17
DOI
https://doi.org/10.1061/jleed9.eyeng-6440
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Large Language Model Assisted Peer-to-Peer Energy Trading System

Xiaotian Liu, Jing Qiu, Cuo Zhang, Yixin Shen et al.
Journal of Energy Engineering
Energy Load and Power Forecasting
article

Large Language Model Assisted Peer-to-Peer Energy Trading System

Xiaotian Liu, Jing Qiu, Cuo Zhang, Yixin Shen, Xiao Liu
article en

Abstract

The peer-to-peer (P2P) energy trading market has been proposed as an effective mechanism to manage renewable energy sources. It enables users to transition from traditional consumers to prosumers and monetize their surplus energy to derive economic gains. Accurate day-ahead load forecasting for individual users is vital to improve the performance of P2P energy trading. However, the forecasting task remains challenging due to the high behavioral sensitivity of individual load profiles. In this article, a complete system is established, encompassing both the forecasting and the P2P trading model. The P2P market is coordinated by an energy trading coordinator based on the supply–demand ratio (SDR) pricing mechanism. A smoothing factor is introduced to address the strategy oscillations. To harness the contextual reasoning capabilities of large language models (LLMs), a two-stage prompt-assisted forecasting structure is developed. This structure enables the LLM to better understand the forecasting task by guiding it through detailed trend analysis to elucidate the rationale behind the load profiles. A multiround forecasting method with numerical postprocessing is designed, and the Gaussian kernel is used to reflect the density of data distribution. The case study indicates that for irregular load patterns of individual households, the proposed method achieves higher forecasting accuracy than the method using the long short-term memory, neural basis expansion analysis for time series forecasting, and Prophet models. Finally, a comprehensive analysis is conducted to explain how load forecasting errors affect load scheduling results under the SDR-based pricing mechanism in the P2P energy trading market.

Journal of Energy EngineeringVol. 152(4)
The University of Sydney (AU)
Affordable and clean energy
Openalex Percentile: Top 9%
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Large Language Model Assisted Peer-to-Peer Energy Trading System — Xiaotian Liu, Jing Qiu, et al. · Journal of Energy Engineering (2026) | TGRS Research Map | TGRS