A Data-Driven Trading Strategy for Wind–Solar–Battery Microgrids in the Spot Electricity Market
- 1 January 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Engineering Management
- Vol. 73 (00189391) , 3052-3068
Abstract
The integration of renewable energy sources, such as wind and solar power, into microgrids presents challenges owing to their intermittent output and the volatility of spot markets. This paper proposes a multi-energy complementary operation mode for wind-solar-battery microgrids, enabling engagement in day-ahead and ancillary service markets to optimize trading amid output uncertainties. We develop a machine learning-based optimization framework: Gaussian Mixture Models (GMM) with K-means clustering produce representative seasonal scenarios for wind and solar generation to capture stochastic variations; Long Short-Term Memory (LSTM) networks forecast electricity prices to model temporal dynamics. These inputs inform a Mixed Integer Linear Programming (MILP) model that maximizes microgrid profitability while ensuring a series of constraints on microgrid operations and electricity market transactions. An empirical evaluation is conducted using real operational data, meteorological records, and market prices from the Guangdong spot electricity market in China. We employ a comprehensive validation framework including out-of-sample evaluation of the LSTM price forecaster, clustering-based scenario generation preserving real-world renewable variability, and systematic sensitivity analyses across prediction errors among 5% to 10% and imbalance price coefficients among 1.05 to 1.35. The main findings reveal: (1) The data-driven operation mode provides feasible and reliable supply by coordinating energy storage and ancillary market procurement, supported by the LSTM model that achieves high prediction accuracy with a mean absolute error of 0.0093 on a 20% holdout test set; (2) The microgrid exhibits pronounced seasonal characteristics, requiring differ entiated trading strategies across seasons; (3) The imbalance price in the ancillary service market critically shapes microgrid profitability, with profits peaking around an imbalance price coefficient of 1.2 and displaying an inverted U-shaped response.Keywords
Funding Information
- National Natural Science Foundation of China (72401302)
- China Postdoctoral Science Foundation (2024M753802)
- Chinese National Funding of Social Sciences (19ZDA083)
This publication has 51 references indexed in Scilit:
- Incorporating financial entities into spot electricity market with renewable energy via holistic risk-aware bilevel optimizationApplied Energy, 2025
- A prescriptive tree-based model for energy-efficient room scheduling: Considering uncertainty in energy generation and consumptionEuropean Journal of Operational Research, 2025
- Risk-factor-oriented stochastic dominance approach for industrial integrated energy system operation leveraging physical and financial flexible resourcesApplied Energy, 2024
- Short term hydropower scheduling considering cumulative forecasting deviation of wind and photovoltaic powerApplied Energy, 2024
- Optimal trading with regime switching: Numerical and analytic techniques applied to valuing storage in an electricity balancing marketEuropean Journal of Operational Research, 2024
- Dynamic pricing and strategic retailers in the energy sector: A multi-leader-follower approachEuropean Journal of Operational Research, 2023
- Optimal sizing for microgrids integrating distributed flexibility with the Perth West smart city as a case studyApplied Energy, 2023
- Survey of optimization models for power system operation and expansion planning with demand responseEuropean Journal of Operational Research, 2023
- Robust optimal capacity planning of grid-connected microgrid considering energy management under multi-dimensional uncertaintiesApplied Energy, 2022
- Economic dispatching of microgrid considering renewable energy uncertainty and demand side responseEnergy Reports, 2020