Risk Assessment for the Electricity Retail Market Based on Decision Tree Algorithm
Main Article Content
Abstract
Driven by deregulation and the widespread adoption of renewable energy, the electricity retail market exhibits significant coupling among price volatility risks, load uncertainty risks, and market settlement risks faced by power retailers. Traditional risk assessment methods based on parametric assumptions and linear approximations struggle to capture nonlinear interactions between risk factors, while insufficient model interpretability limits decision-makers’ trust in and adoption of early warning outcomes. This study proposes a risk assessment framework for electricity retail markets employing an improved CART decision tree algorithm. By constructing a three-dimensional risk indicator system encompassing wholesale price fluctuations, user-side load characteristics, and power retailer transaction behaviors, the model utilizes the Gini coefficient minimization criterion to achieve recursive segmentation of risk features and optimization of node purity. The analysis identifies three primary risk drivers – day-ahead-to-real-time price differentials, peak-to-valley load ratios, and medium-to-long-term contract proportions – with a cumulative contribution rate of 46.9%. In binary risk prediction tasks, the model achieved an accuracy of 87.8% ± 2.1%, recall of 84.5% ± 2.8%, and F1 score of 86.1% ± 2.3% on the test set, surpassing logistic regression and support vector machines by 9.8 and 7.2 percentage points respectively. Through decision path tracing and rule extraction, the model generates explicit risk assessment rules providing actionable mitigation strategies for power retailers. The study demonstrates that decision tree algorithms offer significant advantages in balancing predictive accuracy and model transparency, effectively supporting dynamic risk management in electricity retail markets.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
References
N. Sinha, C. Lucheroni, and C. Mari, “BME Model: Forecasting Electricity Supply and Demand Curves Using Disentangled Prices and Volumes,” Applied Stochastic Models in Business and Industry, vol. 41, no. 4, Art. no. e70032, 2025, doi: https://doi.org/10.1002/ASMB.70032.
S. Zheng, J. Wang, and Y. Gong, “Research on Automatic Identification of Power Big Data Anomalies Based on Improved Decision Tree,” International Journal of High Speed Electronics and Systems, vol. 34, no. 4, 2025, doi: https://doi.org/10.1142/S0129156425403341.
J. Jafferi, O. Hiromitsu, and S. A. Razalli, “Real-Time Electricity Retail Pricing Dual Optimization With Context-Based Fuzzy Optimal Algorithm,” Electric Power Components and Systems, vol. 50, no. 6–7, pp. 374–385, 2022, doi: https://doi.org/10.1080/15325008.2022.2136785.
M. Nizami, M. Hossain, R. B. Amin, et al., “A residential energy management system with bi-level optimization-based bidding strategy for day-ahead bi-directional electricity trading,” Applied Energy, vol. 261, Art. no. 114322, 2020, doi: https://doi.org/10.1016/j.apenergy.2019.114322.
B. Chen, T. Fu, L. Wei, et al., “Data-Driven Risk Warning of Electricity Sales Companies in the Whole Business Process,” Sustainability, vol. 17, no. 9, Art. no. 3884, 2025, doi: https://doi.org/10.3390/SU17093884.
Z. Jiang, O. Ozcelebi, E. R. Khoury, et al., “Identifying uncertainty factors that affect U.S. retail electricity sales dynamics,” Financial Innovation, vol. 12, no. 1, Art. no. 133, 2026, doi: https://doi.org/10.1186/S40854-026-00948-3.
F. Wenjie, S. Hongtao, B. Bo, et al., “Management of Power Marketing Audit Work Based on Tobit Model and Big Data Technology,” Mobile Information Systems, vol. 2022, 2022, doi: https://doi.org/10.1155/2022/1375331.
J. Liu, “Risk warning for customer request tickets in the power marketing system based on user profile analysis,” Office Automation, vol. 31, no. 10, pp. 16–18, 2026, doi: https://doi.org/10.3969/j.issn.1007-001X.2026.10.006.
X. Jia, P. Ji, F. Chen, et al., “A distributionally robust bilevel optimization model for wholesale-retail electricity market design,” Scientific Reports, vol. 16, no. 1, Art. no. 1768, 2026, doi: https://doi.org/10.1038/S41598-025-29971-7.
N. Sinha and C. Lucheroni, “Demand and supply curve forecasting using a monotonic autoencoder for short-term day-ahead electricity market bid curves,” Applied Energy, vol. 397, Art. no. 126262, 2025, doi: https://doi.org/10.1016/J.APENERGY.2025.126262.
C. Zhao, Study on Power Retailers’ Electricity Purchase-Sale Transactions and Vertical Cooperation-Based Emission Reduction Strategies Based on Game Theory. Wuhan University, 2022, doi: https://doi.org/10.27379/d.cnki.gwhdu.2022.003785.
F. Hu, Y. Zhao, Y. Yu, et al., “Deep reinforcement learning-based strategic bidding in electricity markets via variational autoencoder-assisted competitor behavior learning,” Engineering Applications of Artificial Intelligence, vol. 161, Art. no. 112205, 2025, doi: https://doi.org/10.1016/J.ENGAPPAI.2025.112205.
Y. Yu, Y. Gao, Y. Li, et al., “Interpretable data-driven contingency classification for real-time corrective security-constrained economic dispatch,” IET Renewable Power Generation, vol. 18, no. 3, pp. 476–488, 2024, doi: https://doi.org/10.1049/rpg2.12830.
Z. Zhou, P. Xu, H. Zhang, et al., “Extraction and Interpretability of Reinforcement Learning Control Strategies for Distribution Network Fault Recovery Based on Decision Tree,” in 2025 IEEE 14th Data Driven Control and Learning Systems, 2025, pp. 1179–1184.
L. Luo, Y. Song, Y. Liu, et al., “The research on intelligent safety risk assessment and early warning mechanisms for power systems based on big data and artificial intelligence technology,” Advances in Resources Research, vol. 5, no. 2, pp. 666–688, 2025, doi: https://doi.org/10.50908/ARR.5.2_666.
V. Albani, P. Moreira, M. Geremia, et al., “A hybrid stochastic-machine learning model for long-term predictions of electricity prices,” Renewable Energy Focus, vol. 58, Art. no. 100832, 2026, doi: https://doi.org/10.1016/J.REF.2026.100832.
O. Wenhua, C. Yaqi, L. Qiong, et al., “Multi-Scenario Clustering-Based Distribution Network with Distributed Power Sources Operational Risk Warning Method,” Journal of Physics: Conference Series, vol. 2557, no. 1, 2023, doi: https://doi.org/10.1088/1742-6596/2557/1/012045.