Modeling and Analysis of BESS Operations in Electricity Markets: Prediction and Strategies for Day-Ahead and Continuous Intra-Day Markets
Abstract
:1. Introduction
1.1. Motivation
1.2. Literature Review and Research Gaps
1.3. Contribution and Novelty
- A control strategy capable of concurrently representing participation in the DAM and XBID is developed, considering the fluctuations in both market prices and the uncertainty given by different price formation mechanisms and bid awards. This model investigates various critical aspects, including the identification of the most economically advantageous market and bidding strategy for BESS and the economic assessment of uncertainties of the two main markets common to the EU, particularly the new XBID initiative, based on statistical analyses.
- An enhanced tool for predicting Pz is developed to achieve a more realistic simulation of the BESS strategy, avoiding critical assumptions such as perfect knowledge of DAM prices a priori or the use of a persistence model that assumes that the zonal price for a specific delivery hour remains unchanged from the zonal price set the previous day for the same hour:
- A tool to determine the acceptance probability of an offer in XBID to represent the uncertainty in this context is proposed. This tool introduces:
- the possibility for the operator to submit new offers, not limited to accepting offers already present in the order book (price-maker).
- the ability to overcome the limitations of statistical data, given that this market was recently added and the data are insufficient to determine significant trends.
2. Italian Electricity Markets
2.1. Structure
- Mercato del giorno prima (DAM)—Day-Ahead Market (DAM): this market is the one where most of the transactions for electrical energy trading occur.
- Mercato Infragiornaliero (MI)—Intra-day Market (IDM): This is the energy market where consumers and producers can modify the dispatch programs defined at DAM closure. Trading on the MI takes place through three MI-A auction sessions and one MI-XBID continuous trading session.
- Mercato dei prodotti giornalieri (MPEG)—Daily Products Market: this is the venue for the trading of daily products with the obligation of energy delivery.
- Mercato del servizio di dispacciamento (MSD)—Ancillary Services Market (ASM): This is the market utilized by the Italian System Operator (SO) Terna to procure the resources that it requires for managing and monitoring the system relief of intra-zonal congestions, creating energy reserves, and real-time balancing. The MSD consists of a scheduling substage (ex ante MSD) and a Balancing Market (MB).
2.2. Day-Ahead Market
2.3. Intra-Day Market
Sequential Conduct of Sessions
- (a)
- MI-A1
- (b)
- Phase I MI-XBID
- (c)
- MI-A2
- (d)
- Phase II MI-XBID
- (e)
- MI-A3
- (f)
- Phase III MI-XBID
3. System Modeling
3.1. BESS Model
3.2. Day-Ahead Market Model
Algorithm 1 Day-Ahead Market Energy Arbitrage |
Output: Pcha, Pdis, ProfitDAM CHARGE PHASE Enom EPR) (only full charging cycles) else end while DISCHARGE PHASE Enom EPR) (only full charging cycles) else end while INITIAL SOC RESTORATION if i last charge > i last discharge if 24 ≥ i last charge + EPR Enom EPR) (only full charging cycles) else SOC CONTROL ) do if SOCi > SOCmax SOCi = SOCmax else if SOCi < SOCmin SOCi = SOCmin PROFITS PER CYCLE CONTROL ) do if daily_predicted_profit < 0 (or LCOS) |
- Selling at a significantly reduced price to secure acceptance of the offer.
- Buying at a substantially higher price to ensure acceptance of the offer.
3.3. Intra-Day Market—Continuous Trading Market XBID
3.3.1. Comprehensive Statistical Analysis
- Type of day—Dt: Weekday or Holiday, to account for variations in market behavior due to differences in demand and operational patterns.
- Hour of the day—hD: electricity consumption and prices can vary significantly throughout the day, necessitating a time-based analysis.
- Season—S: different seasons impact electricity demand and supply conditions, which were factored into the analysis.
- Hours in advance of the offer publication—hA: the timing of offer submissions was examined to understand its effect on offer acceptance.
- Type of offer—ot: Selling or Buying, to distinguish the different dynamics in the market for sellers and buyers.
3.3.2. Deep Learning Acceptance Probability Prediction Tool
- Bidirectional LSTM Layers: by processing data bidirectionally, the BiLSTM layers enhance the model’s ability to understand complex temporal patterns.
- Conv1D Layer: the convolution operation helps in identifying significant patterns and trends within smaller windows of the data sequence.
- Batch Normalization and Dropout: Batch normalization layers stabilize and accelerate training by normalizing the input of each layer, as described in Equation (10). Dropout layers randomly deactivate a fraction of neurons during training, making the model more robust.Batch Normalization:
- Dense Layer: The output layer is a dense layer with a sigmoid activation function, used for binary classification. This layer outputs the probability of offer acceptance and can be represented by Equation (11), which encapsulates the fundamental operation of a neural network layer:
3.3.3. XBID Offer Price Decision Mechanism
3.3.4. XBID Control Strategy
Algorithm 2 XBID Market Energy Arbitrage |
Output: Pcha, Pdis, ProfitXBID ARBITRAGE and counter < 24 for possible charging/discharging intervals (h < 24, jmax = 2, no charge or discharge from DAM) for each valid interval i, j do [i + 1 + j] and no charging or discharging in the interval Index_discharge = i Index_charge = j Offer Price Decision Mechanism → Offer Price Probability = Model.predict(Offer) Acc_status = random_choice([0, 1], p = [1-Probability, Probability]) if acc_status = 1 if SOCi >= SOCmin + (Pnom/Enom) * 100 Eavail = Pnom elif SOCi < SOCmin + (Pnom/Enom) * 100 and SOCi > SOCmin else Eavail = 0 if Eavail > 0 Pdis[i] = Eavail × ηBESS discharge[i] = 1 = Eavail += Eavail Pcha[j] = Eavail / ηBESS charge[j] = 1 += Eavail counter += 1 |
4. Case Studies and Results
4.1. Day-Ahead Market—DAM
4.1.1. Deep Learning Pz Prediction Tool
4.1.2. Energy Arbitrage Strategies
It is the discount rate, considered fixed and hypothesized to be 5% [28]. |
- Negligible LCOS: LCOS = 0
- Significant LCOS: LCOS = 53.14 EUR/MWh
4.2. Intra-Day Market—XBID
4.2.1. Comprehensive Statistical Analysis
4.2.2. Deep Learning Acceptance Probability Prediction Tool
4.2.3. XBID Arbitrage Strategy
Bid Price Sensitivity Analysis
5. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- IEA. Renewables 2023; IEA: Paris, France, 2024; Available online: https://www.iea.org/reports/renewables-2023 (accessed on 27 May 2024).
- Jones, D.; Brown, S. European Electricity Review: 2023 Data Analysis; Ember: Westlake Village, CA, USA, 2024. [Google Scholar]
- Terna S.p.A. Consumi 2022. Available online: https://download.terna.it/terna/6%20-%20CONSUMI_8db99b83382dbed.pdf (accessed on 31 July 2024).
- Kebede, A.A.; Kalogiannis, T.; Van Mierlo, J.; Berecibar, M. A comprehensive review of stationary energy storage devices for large scale renewable energy sources grid integration. Renew. Sustain. Energy Rev. 2022, 159, 112213. [Google Scholar] [CrossRef]
- Prakash, K.; Ali, M.; Siddique, N.I.; Chand, A.A.; Kumar, N.M.; Dong, D.; Pota, H.R. A review of battery energy storage systems for ancillary services in distribution grids: Current status, challenges and future directions. Front. Energy Res. 2022, 10, 971704. Available online: https://www.frontiersin.org/articles/10.3389/fenrg.2022.971704 (accessed on 31 July 2024). [CrossRef]
- International Energy Agency. World Energy Outlook Special Report Batteries and Secure Energy Transitions. Available online: www.iea.org (accessed on 31 July 2024).
- Datta, U.; Kalam, A.; Shi, J. A review of key functionalities of battery energy storage system in renewable energy integrated power systems. Energy Storage 2021, 3, e224. [Google Scholar] [CrossRef]
- Rana, M.M.; Uddin, M.; Sarkar, M.R.; Shafiullah, G.M.; Mo, H.; Atef, M. A review on hybrid photovoltaic–Battery energy storage system: Current status, challenges, and future directions. J Energy Storage 2022, 51, 104597. [Google Scholar] [CrossRef]
- Abiodun, K.; Hood, K.; Cox, J.L.; Newman, A.M.; Zolan, A.J. The value of concentrating solar power in ancillary services markets. Appl. Energy 2023, 334, 120518. [Google Scholar] [CrossRef]
- Kumar, D.; Dhundhara, S.; Verma, Y.P.; Khanna, R. Role of optimal sized dual energy storage based microgrid for ancillary service support to utility grid. Sustain. Energy Technol. Assess. 2022, 54, 102675. [Google Scholar] [CrossRef]
- Schwidtal, J.M.; Agostini, M.; Coppo, M.; Bignucolo, F.; Lorenzoni, A. Optimized operation of distributed energy resources: The opportunities of value stacking for Power-to-Gas aggregated with PV. Appl. Energy 2023, 334, 120646. [Google Scholar] [CrossRef]
- Fusco, A.; Gioffré, D.; Leva, S.; Manzolini, G.; Martelli, E.; Moretti, L. Predictive Energy Management System for a PV-BESS system bidding on Day-Ahead and Intra-Day electricity markets. In Proceedings of the 2023 IEEE Belgrade PowerTech, Belgrade, Serbia, 25–29 June 2023; pp. 1–6. [Google Scholar] [CrossRef]
- Algarvio, H.; Lopes, F. Strategic Bidding of Retailers in Wholesale Markets: Continuous Intraday Markets and Hybrid Forecast Methods. Sensors 2023, 23, 1681. [Google Scholar] [CrossRef] [PubMed]
- Boukas, I.; Ernst, D.; Théate, T.; Bolland, A.; Huynen, A.; Buchwald, M.; Wynants, C.; Cornélusse, B. A deep reinforcement learning framework for continuous intraday market bidding. Mach. Learn. 2021, 110, 2335–2387. [Google Scholar] [CrossRef]
- Rancilio, G.; Lucas, A.; Kotsakis, E.; Fulli, G.; Merlo, M.; Delfanti, M.; Masera, M. Modeling a Large-Scale Battery Energy Storage System for Power Grid Application Analysis. Energies 2019, 12, 3312. [Google Scholar] [CrossRef]
- GME. Mercato Elettrico a Pronti (MPE)-MGP, MI, MPEG, MSD. Available online: https://www.mercatoelettrico.org/it/mercati/mercatoelettrico/mpe.aspx (accessed on 29 May 2024).
- ARERA. Testo Integrato del Dispacciamento Elettrico TIDE. Available online: https://www.arera.it/en/atti-e-provvedimenti/dettaglio/22/685-22 (accessed on 29 May 2024).
- GME. Zones. Available online: https://www.mercatoelettrico.org/en/mercati/mercatoelettrico/Zone.aspx (accessed on 29 May 2024).
- Vademecum Della Borsa Elettrica Italiana; GME: Rome, Italy, 2012.
- Andrea, D. Battery Management Systems for Large Lithium-Ion Battery Packs; EBL-Schweitzer; Artech House: Norwood, MA, USA, 2010; Available online: https://books.google.it/books?id=o-QpFOR0PTcC (accessed on 31 July 2024).
- Jin, X.; Yu, X.; Wang, X.; Bai, Y.; Su, T.; Kong, J. Prediction for Time Series with CNN and LSTM. In Proceedings of the 11th International Conference on Modelling, Identification and Control (ICMIC2019), Tianjin, China, 13–15 July 2019; Wang, R., Chen, Z., Zhang, W., Zhu, Q., Eds.; Springer: Singapore, 2020; pp. 631–641. [Google Scholar]
- Hua, Y.; Zhao, Z.; Li, R.; Chen, X.; Liu, Z.; Zhang, H. Deep Learning with Long Short-Term Memory for Time Series Prediction. IEEE Commun. Mag. 2019, 57, 114–119. [Google Scholar] [CrossRef]
- Garbin, C.; Zhu, X.; Marques, O. Dropout vs. batch normalization: An empirical study of their impact to deep learning. Multimed Tools Appl. 2020, 79, 12777–12815. [Google Scholar] [CrossRef]
- Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
- Zhang, Z. Improved Adam Optimizer for Deep Neural Networks. In Proceedings of the 2018 IEEE/ACM 26th International Symposium on Quality of Service (IWQoS), Banff, AB, Canada, 4–6 June 2018; pp. 1–2. [Google Scholar] [CrossRef]
- Ying, X. An Overview of Overfitting and its Solutions. J. Phys. Conf. Ser. 2019, 1168, 022022. [Google Scholar] [CrossRef]
- Jacobs, R.A. Increased rates of convergence through learning rate adaptation. Neural Netw. 1988, 1, 295–307. [Google Scholar] [CrossRef]
- Cole, W.; Frazier, A.W.; Augustine, C. Cost Projections for UtilityScale Battery Storage: 2021 Update. Golden, CO; 2021. Available online: https://www.nrel.gov/docs/fy21osti/79236.pdf (accessed on 22 June 2024).
- Rancilio, G.; Bovera, F.; Merlo, M. Revenue Stacking for BESS: Fast Frequency Regulation and Balancing Market Participation in Italy. Int. Trans. Electr. Energy Syst. 2022, 2022, 1894003. [Google Scholar] [CrossRef]
- Harlow, J.E.; Ma, X.; Li, J.; Logan, E.; Liu, Y.; Zhang, N.; Ma, L.; Glazier, S.L.; Cormier, M.M.E.; Genovese, M.; et al. A Wide Range of Testing Results on an Excellent Lithium-Ion Cell Chemistry to be used as Benchmarks for New Battery Technologies. J. Electrochem. Soc. 2019, 166, A3031–A3044. [Google Scholar] [CrossRef]
- Krzanowski, W.J.; Hand, D.J. ROC Curves for Continuous Data, 1st ed.; Chapman and Hall/CRC: Boca Raton, FL, USA, 2009. [Google Scholar] [CrossRef]
FEATURES | |
HOUR | Specifies the time of day |
PREVIOUS DAY Pz | A number of features contain the hourly zonal price values for the NORD region for all days up to a week before the given day |
MEAN Pz | This feature contains the weighted average of the hourly zonal price values of the previous week |
SEASON | Specifies the season of the day in question |
TYPE OF DAY | HOLI: holiday, WEEK: weekday |
DAY NUMBER | Progressive number of the day in the year |
MONTH | Specifies the month of the day in question |
GAS PUN | This feature reports the daily Unique National Price (PUN) of gas on the given day |
TEMPERATURE | For each electrical zone into which Italy is divided, the temperature is reported for the hour and the day in question |
PRECIPITATION | For each electrical zone into which Italy is divided, the precipitation is reported for the hour and the day in question |
CLOUD COVER | For each electrical zone into which Italy is divided, the cloud coverage is reported for the hour and the day in question |
WIND SPEED | For each electrical zone into which Italy is divided, the wind speed is reported for the hour and the day in question |
GHI | For the day in question and the hour, the global horizontal irradiation is reported for the south of Italy |
FEATURES | |
HOUR | Specifies the time of day |
OFFER TYPE | BID: offer to buy, OFF: offer to sell |
PRICE | Offer price |
ZONE | Specifies the zone of relevance for the offer |
TYPE OF DAY | HOLI: holiday, WEEK: weekday |
INTERVAL | The number of hours in advance of the delivery time when the bid was made |
SEASON | Specifies the season of the day in question |
PUN | Specifies the PUN for the day in the exam |
PREDICTION TOOL vs. PERSISTENT STRATEGY Performances | |||
---|---|---|---|
MSE | RMSE | R2 | |
DL Tool | 326.97 | 18.08 | 0.62 |
Persistence Strategy | 378.85 | 19.46 | 0.56 |
Improvement | +13.69% | +7.1% | +10.58% |
CASE A | CASE B | |
---|---|---|
Simulation Period | From 1 April 2023 to 31 March 2024 | |
Pnom | 10 MW | |
Enom | 30 MWh | |
SOCmin | 5% | |
SOCmax | 95% | |
SOCinitial, 0 | 5% | |
LCOS | 0 EUR/MWh | 53.14 EUR/MWh |
CASE A | |
---|---|
Operative Days | 313 |
13,434.87 MWh | |
11,438.03 MWh | |
N° Total Cycles | 414.55 |
271,085.25 EUR/year |
CASE B | |
---|---|
Operative Days | 42 |
1918.92 MWh | |
1348.6 MWh | |
N° Total Cycles | 54.46 |
19,359.36 EUR/year |
Model Performance Metrics Performances | |||
---|---|---|---|
Accuracy | Precision | Recall | F1-Score |
0.81 | 0.58 | 0.57 | 0.58 |
CASE C | CASE D | |
---|---|---|
Simulation Period | From 1 April 2023 to 31 March 2024 | |
Pnom | 10 MW | |
Enom | 30 MWh | |
SOCmin 1 | 5% | |
SOCmax 1 | 95% | |
SOCinitial, | 50% | |
LCOS | 0 EUR/MWh | 53.14 EUR/MWh |
CASE C | |
---|---|
Operative Days | 366 |
8691.41 MWh | |
7436.59 MWh | |
N° Total Cycles | 268.8 |
2,188,421.27 EUR/year |
CASE D | |
---|---|
Operative Days | 366 |
8702.8 MWh | |
7446.33 MWh | |
N° Total Cycles | 269.15 |
226,517.09 EUR/year |
Sensitivity Analysis Results | ||||||
---|---|---|---|---|---|---|
CASE D | CASE 1 | CASE 2 | CASE 3 | CASE 4 | CASE 5 | |
Operative Days | 366 | 366 | 366 | 366 | 366 | 366 |
8702.8 MWh | 5827.24 MWh | 4697.76 MWh | 4555.8 MWh | 4064.34 MWh | 3504.36 MWh | |
7446.33 MWh | 4985.94 MWh | 4019.52 MWh | 3898.05 MWh | 3477.55 MWh | 2998.42 MWh | |
N° Total Cycles | 269.15 | 180.22 | 145.29 | 140.9 | 125.7 | 108.38 |
226,517.09 EUR/year | 396,822.9 EUR/year | 522,604.39 EUR/year | 710,443.95 EUR/year | 803,124.87 EUR/year | 838,510.4 EUR/year | |
NPV | −8.54 MEUR | −6.3 MEUR | −4.17 MEUR | −1.52 MEUR | 0.28 MEUR | 1.54 MEUR |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Andreotti, D.; Spiller, M.; Scrocca, A.; Bovera, F.; Rancilio, G. Modeling and Analysis of BESS Operations in Electricity Markets: Prediction and Strategies for Day-Ahead and Continuous Intra-Day Markets. Sustainability 2024, 16, 7940. https://doi.org/10.3390/su16187940
Andreotti D, Spiller M, Scrocca A, Bovera F, Rancilio G. Modeling and Analysis of BESS Operations in Electricity Markets: Prediction and Strategies for Day-Ahead and Continuous Intra-Day Markets. Sustainability. 2024; 16(18):7940. https://doi.org/10.3390/su16187940
Chicago/Turabian StyleAndreotti, Diego, Matteo Spiller, Andrea Scrocca, Filippo Bovera, and Giuliano Rancilio. 2024. "Modeling and Analysis of BESS Operations in Electricity Markets: Prediction and Strategies for Day-Ahead and Continuous Intra-Day Markets" Sustainability 16, no. 18: 7940. https://doi.org/10.3390/su16187940
APA StyleAndreotti, D., Spiller, M., Scrocca, A., Bovera, F., & Rancilio, G. (2024). Modeling and Analysis of BESS Operations in Electricity Markets: Prediction and Strategies for Day-Ahead and Continuous Intra-Day Markets. Sustainability, 16(18), 7940. https://doi.org/10.3390/su16187940