Submitted:
20 June 2025
Posted:
23 June 2025
You are already at the latest version
Abstract

Keywords:
Nomenclature
| Sets | Maximum state of charge [%] | ||
| q | Quarter-of-hour of the day (from 1 to 96) | Charging efficiency [-] | |
| i | Photovoltaic scenario (from 1 to 6) | Discharging efficiency [-] | |
| Parameters | Battery maximum power [MW] | ||
| DAM price at interval q [€/MWh] | PV power at interval q in scenario i [MW] | ||
| IDM price at interval q [€/MWh] | Variables | ||
| Negative imbalance penalty at interval q [€/MWh] | DAM power offer at interval q [MW] | ||
| Positive imbalance penalty at interval q [€/MWh] | IDM power offer at interval q [MW] | ||
| Mean DAM price used as reference [€/MWh] | Negative imbalance power at interval q in scenario i [MW] | ||
| Real imbalance price [€/MWh] | Positive imbalance power at interval q in scenario i [MW] | ||
| Scenario i probability [%] | Charging power at interval q in scenario i [MW] | ||
| Time interval length [h] | Discharging power at interval q in scenario i [MW] | ||
| Initial state of charge [%] | State of charge at interval q in scenario i [%] | ||
| Battery capacity [MWh] | Binary variables defining if the imbalance is negative or positive [-] | ||
| Minimum state of charge [%] | Binary variables defining if the battery is charging or discharging [-] |
1. Introduction
1.1. Motivation
1.2. Literature Review and Research Gaps
1.3. Contribution and Novelty
- a distributed system of fixed rooftop PV systems located at the Leonardo campus of Politecnico di Milano [39];
- a simulated utility-scale plant situated at the same location.
2. Italian Electricity Market
2.1. TIDE
2.2. Day-Ahead Market and Intra-Day Market
- CRIDA1: Opens at 12:55 on D-1 and closes at 15:30 on D-1.
- CRIDA2: Opens at 12:55 on D-1 and closes at 22:00 on D-1.
- CRIDA3: Opens at 12:55 on D-1 and closes at 10:00 on D.
2.3. Imbalance Settlement
3. Methodology
3.1. PV Scenario Generation
3.1.1. Day-Ahead Market PV Scenarios
- Calculation of the average profile of the cluster being analyzed.
- Derivation of error profiles as the difference between the various historical profiles and the average profile, with a 15-minutes resolution.
- Application of the Monte Carlo method through a random addition of errors to the average profile. The selected errors must respect the time constraint (an error obtained in a given quarter hour can only be added to the PV production value of the average profile in the same quarter hour) but can belong to different error profiles. The process continues iteratively until the convergence criterion is satisfied.
3.1.2. Intra-Day Market Improved PV Scenarios
3.2. Mathematical Model
3.2.1. Day-Ahead Market
- Collection of annual DAM prices and imbalance prices.
- Calculation of the difference between imbalance prices and DAM prices over each quarter of an hour of the year.
- Computation of the annual average imbalance price deviations for each quarter-hour, separately for negative and positive system imbalances.
- Finally, each time a day is simulated, imbalance penalties are computed for each quarter-hour by adding the average imbalance price deviations to the actual daily DAM price profile.
3.2.2. Intra-Day Market
3.2.3. Real-Time Operation
4. Case Studies and Results
4.1. Analyzed Case Studies
- It allows users to specify the exact geographical location of the PV system; in this study, Piazza Leonardo da Vinci in Milan is selected.
- The time period can vary between 2005 and 2024. In this study, the range 2021–2023 is chosen to ensure a comprehensive representation of production profiles.
- The system type can be customized by selecting fixed panels or tracking systems, allowing further customization of tilt and orientation.
- The installed peak power and system losses can be defined.
- 50% of the panels positioned at 0° inclination,
- 25% at 15° inclination,
- 25% at -15° inclination (equivalent tilt but opposite azimuth).
4.2. PV Scenario Generation and Market Data
4.3. Techno-Economic Analysis of PV + BESS Market Participation
4.3.1. Economic Impact of Dispatchability Constraints
4.3.2. Unconstrained Optimal BESS Sizing
4.3.3. Optimal BESS Sizing Under Dispatchability Constraint
5. Discussion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ASM | Ancillary Services Market |
| BESS | Battery Energy Storage System |
| BTM | Behind-The-Meter |
| CF | Capacity Factor |
| CRIDA | Complementary Regional Intra-Day Auction |
| DAM | Day-Ahead Market |
| DER | Distributed Energy Resource |
| EPR | Energy to Power Ratio |
| EU | European Union |
| FTM | Front-of-The-Meter |
| GTC | Gate Time Closure |
| HEMS | Home Energy Management System |
| IDM | Intra-Day Market |
| ISP | Imbalance Settlement Period |
| LCOE | Levelized Cost Of Electricity |
| MILP | Mixed-Integer Linear Programming |
| MTU | Market Time Unit |
| NP-RES | Non-Programmable Renewable Energy Sources |
| NPV | Net Present Value |
| nRMSE | normalized Root Mean Square Error |
| PV | Photovoltaic |
| PVGIS | Photovoltaic Geographical Information System |
| RES | Renewable Energy Sources |
| RTP | Real-Time Pricing |
| SOC | State Of Charge |
| SPT | Stepwise Power Tariff |
| TIDE | Testo Integrato del Dispacciamento Elettrico |
| TOU | Time Of Use |
| TSO | Transmission System Operator |
| VPP | Virtual Power Plant |
| UVA | Unità Virtuale Abilitata |
| WCSS | Within-Cluster Sum of Squares |
| XBID | Cross-Border Intra-Day |
References
- “Greenhouse Gas Emissions from Energy Data Explorer – Data Tools - IEA.” Accessed: May 08, 2025.[Online]. Available: https://www.iea.org/data-and-statistics/data-tools/greenhouse-gas-emissions-fromenergy-data-explorer.
- “The Paris Agreement | UNFCCC.” Accessed: May 08, 2025. [Online]. Available: https://unfccc.int/processand-meetings/the-paris-agreement.
- “The European Green Deal - European Commission.” Accessed: May 08, 2025. [Online]. Available: https://commission.europa.eu/strategy-and-policy/priorities-2019-2024/european-green-deal_en.
- “Global overview – Renewables 2024 – Analysis - IEA.” Accessed: May 08, 2025. [Online]. Available: https://www.iea.org/reports/renewables-2024/global-overview.
- C. Rosslowe and B. Petrovich, “European Electricity Review 2025,” Jan. 2025. Accessed: May 28, 2025. [Online]. Available: https://ember-energy.org/app/uploads/2025/01/EER_2025_22012025.pdf.
- SolarPower Europe, “EU Market Outlook for Solar Power 2024-2028.” Accessed: Mar. 17, 2025. [Online]. Available: https://www.solarpowereurope.org/insights/outlooks/eu-market-outlook-for-solar-power-2024-2028/detail.
- ARERA, “TIDE - Testo Integrato del Dispacciamento Elettrico.” Accessed: May 08, 2025. [Online]. Available: https://www.arera.it/area-operatori/produzione-tide.
- E. C. European Parliament, “Directive - 2019/944 - EN - EUR-Lex.” Accessed: May 08, 2025. [Online]. Available: https://eur-lex.europa.eu/eli/dir/2019/944/oj/eng.
- ESO, “Balancing Costs: Annual Report and Future Projections.” Accessed: May 28, 2025. [Online]. Available: https://www.neso.energy/document/318666/download.
- EEuropean Network of Transmission System Operators for Electricity, “Balancing Report 2024,” Jun. 2024. Accessed: May 28, 2025. [Online]. Available: https://eepublicdownloads.blob.core.windows.net/publiccdn-container/clean-documents/news/2024/240628_ENTSO-E_Balancing_Report_2024.pdf.
- Saldarini, M. Longo, M. Brenna, and D. Zaninelli, “Battery Electric Storage Systems: Advances, Challenges, and Market Trends,” Energies (Basel), vol. 16, no. 22, Nov. 2023. [CrossRef]
- IEA, “Batteries and Secure Energy Transitions,” Paris. Accessed: May 28, 2025. [Online]. Available: https://www.iea.org/reports/batteries-and-secure-energy-transitions.
- M. A. Hannan et al., “Battery energy-storage system: A review of technologies, optimization objectives, constraints, approaches, and outstanding issues,” J Energy Storage, vol. 42, p. 103023, Oct. 2021. [CrossRef]
- D. Niu, J. Fang, W. Yau, and S. M. Goetz, “Comprehensive evaluation of energy storage systems for inertia emulation and frequency regulation improvement,” Energy Reports, vol. 9, pp. 2566–2576, Dec. 2023. [CrossRef]
- M. Rezaeimozafar, R. F. D. Monaghan, E. Barrett, and M. Duffy, “A review of behind-the-meter energy storage systems in smart grids,” Renewable and Sustainable Energy Reviews, vol. 164, p. 112573, Aug. 2022. [CrossRef]
- K. Zheng et al., “Stochastic Scenario Generation Methods for Uncertainty in Wind and Photovoltaic Power Outputs: A Comprehensive Review,” Energies 2025, Vol. 18, Page 503, vol. 18, no. 3, p. 503, Jan. 2025. [CrossRef]
- Q. Shi et al., “Resilience-Oriented DG Siting and Sizing Considering Stochastic Scenario Reduction,” IEEE Transactions on Power Systems, vol. 36, no. 4, pp. 3715–3727, Jul. 2021. [CrossRef]
- D. Falabretti, F. Gulotta, and D. Siface, “Scheduling and operation of RES-based virtual power plants with e-mobility: A novel integrated stochastic model,” International Journal of Electrical Power & Energy Systems, vol. 144, p. 108604, Jan. 2023. [CrossRef]
- V. Gabrel, C. Murat, and A. Thiele, “Recent advances in robust optimization: An overview,” Eur J Oper Res, vol. 235, no. 3, pp. 471–483, Jun. 2014. [CrossRef]
- H. Nemati, P. Sánchez-Martín, L. Sigrist, L. Rouco, and Á. Ortega, “Flexible robust optimization for Renewable-only VPP bidding on electricity markets with economic risk analysis,” International Journal of Electrical Power & Energy Systems, vol. 167, p. 110594, Jun. 2025. [CrossRef]
- R. Silva, H. M. I. Pousinho, and A. Estanqueiro, “A multistage stochastic approach for the optimal bidding of variable renewable energy in the day-ahead, intraday and balancing markets,” Energy, vol. 258, p. 124856, Nov. 2022. [CrossRef]
- L. R. Visser, T. A. AlSkaif, A. Khurram, J. Kleissl, and W. G. H. J. M. van Sark, “Probabilistic solar power forecasting: An economic and technical evaluation of an optimal market bidding strategy,” Appl Energy, vol. 370, p. 123573, Sep. 2024. [CrossRef]
- G. Rancilio, A. Dimovski, F. Bovera, M. Moncecchi, D. Falabretti, and M. Merlo, “Service stacking on residential BESS: RES integration by flexibility provision on ancillary services markets,” Sustainable Energy, Grids and Networks, vol. 35, p. 101097, Sep. 2023. [CrossRef]
- J. Li, “Optimal sizing of grid-connected photovoltaic battery systems for residential houses in Australia,” Renew Energy, vol. 136, pp. 1245–1254, Jun. 2019. [CrossRef]
- C. Duman, H. S. Erden, Ö. Gönül, and Ö. Güler, “Optimal sizing of PV-BESS units for home energy management system-equipped households considering day-ahead load scheduling for demand response and self-consumption,” Energy Build, vol. 267, p. 112164, Jul. 2022. [CrossRef]
- L. Zhou, Y. Zhang, X. Lin, C. Li, Z. Cai, and P. Yang, “Optimal sizing of PV and bess for a smart household considering different price mechanisms,” IEEE Access, vol. 6, pp. 41050–41059, Jun. 2018. [CrossRef]
- “DICOPT.” Accessed: May 24, 2025. [Online]. Available: https://www.gams.com/latest/docs/S_DICOPT.html.
- M. Rezaeimozafar, M. Duffy, R. F. D. Monaghan, and E. Barrett, “Residential PV-battery scheduling with stochastic optimization and neural network-driven scenario generation,” Energy Reports, vol. 12, pp. 418–429, Dec. 2024. [CrossRef]
- Y. Guo, Y. Gong, Y. Fang, and P. P. Khargonekar, “Stochastic minimization of imbalance cost for a virtual power plant in electricity markets,” 2014 IEEE PES Innovative Smart Grid Technologies Conference, ISGT 2014, 2014. [CrossRef]
- I. G. Marneris et al., “Optimal Participation of RES Aggregators in Energy and Ancillary Services Markets,” IEEE Trans Ind Appl, vol. 59, no. 1, pp. 232–243, Jan. 2023. [CrossRef]
- M. Pierro, R. M. Pierro, R. Perez, M. Perez, D. Moser, and C. Cornaro, “Italian protocol for massive solar integration: Imbalance mitigation strategies,” Renew Energy, vol. 153, pp. 725–739, Jun. 2020. [CrossRef]
- M. Pierro, R. Perez, M. Perez, M. G. Prina, D. Moser, and C. Cornaro, “Italian protocol for massive solar integration: From solar imbalance regulation to firm 24/365 solar generation,” Renew Energy, vol. 169, pp. 425–436, 21. May 2021. [CrossRef]
- M. Pierro, R. Perez, M. Perez, D. Moser, and C. Cornaro, “Imbalance mitigation strategy via flexible PV ancillary services: The Italian case study,” Renew Energy, vol. 179, pp. 1694–1705, Dec. 2021. [CrossRef]
- “Lazard 2023 Levelized Cost Of Energy+ Report | Lazard.” Accessed: Jun. 09, 2025. [Online]. Available: https://www.lazard.com/research-insights/2023-levelized-cost-of-energyplus/.
- CAISO, “Home | California ISO.” Accessed: Jun. 09, 2025. [Online]. Available: https://www.caiso.com/.
- “Renewable Energy Progress Tracker – Data Tools - IEA.” Accessed: May 07, 2025. [Online]. Available: https://www.iea.org/data-and-statistics/data-tools/renewable-energy-progress-tracker.
- “Pyomo.” Accessed: May 24, 2025. [Online]. Available: https://www.pyomo.org/.
- “Gurobi Optimization.” Accessed: May 24, 2025. [Online]. Available: https://www.gurobi.
- Politecnico di Milano, “PoliGrid - A smart grid in Piazza Leonardo.” Accessed: , 2025. [Online]. Available: https://www.polimi.it/en/sustainable-development/environment/energy-anddecarbonisation/energy-committee/translate-to-english-poligrid.
- European Commission, “Photovoltaic Geographical Information System (PVGIS).” Accessed: , 2025. [Online]. Available: https://joint-research-centre.ec.europa.eu/photovoltaic-geographical-informationsystem-pvgis_en.
- “Regulation - 2017/2195 - EN - EUR-Lex.” Accessed: May 09, 2025. [Online]. Available: https://eurlex.europa.eu/eli/reg/2017/2195/oj/eng.
- GME, “Spot Market (MPE).” Accessed: May 09, 2025. [Online]. Available: https://www.mercatoelettrico.org/en-us/Home/Markets/ElectricityMarket/Spot-Market-MPE.
- GME, “Vademecum to the Italian power exchange.” Accessed: May 09, 2025. [Online]. Available: https://www.mercatoelettrico.org/Portals/0/Documents/en-us/20250101VademecumBorsaElettrica_En.pdf.
- ARERA, “Delibera 23 novembre 2021 523/2021/R/eel.” Accessed: May 09, 2025. [Online]. Available: https://www.arera.it/atti-e-provvedimenti/dettaglio/21/523-21.
- T. P. Abud, A. A. Augusto, M. Z. Fortes, R. S. Maciel, and B. S. M. C. Borba, “State of the Art Monte Carlo Method Applied to Power System Analysis with Distributed Generation,” Energies 2023, Vol. 16, Page 394, vol. 16, no. 1, p. 394, Dec. 2022. [CrossRef]
- C. Voyant et al., “Machine learning methods for solar radiation forecasting: A review,” Renew Energy, vol. 105, pp. 569–582, May 2017. [CrossRef]
- L. Benali, G. Notton, A. Fouilloy, C. Voyant, and R. Dizene, “Solar radiation forecasting using artificial neural network and random forest methods: Application to normal beam, horizontal diffuse and global components,” Renew Energy, vol. 132, pp. 871–884, Mar. 2019. [CrossRef]
- N. Krishnan, K. R. Kumar, and C. S. Inda, “How solar radiation forecasting impacts the utilization of solar energy: A critical review,” J Clean Prod, vol. 388, p. 135860, Feb. 2023. [CrossRef]
- J. Lago, G. Marcjasz, B. De Schutter, and R. Weron, “Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark,” Appl Energy, vol. 293, p. 116983, Jul. 2021. [CrossRef]
- N. Vandewetering, U. Jamil, and J. M. Pearce, “Ballast-Supported Foundation Designs for Low-Cost Open-Source Solar Photovoltaic Racking,” Designs 2024, Vol. 8, Page 17, vol. 8, no. 1, p. 17, Feb. 2024. [CrossRef]
- Barbón, J. Martínez-Suárez, L. Bayón, and C. Bayón-Cueli, “Photovoltaic Power Plants with Horizontal Single-Axis Trackers: Influence of the Movement Limit on Incident Solar Irradiance,” Applied Sciences 2025, Vol. 15, Page 1175, vol. 15, no. 3, p. 1175, Jan. 2025. [CrossRef]
- GME, “Esiti elettricità.” Accessed: May 22, 2025. [Online]. Available: https://gme.mercatoelettrico.
- Terna, “SunSet - Area Pubblica.” Accessed: May 22, 2025. [Online]. Available: https://myterna.terna.it/SunSet/Public.
- “Home | NREL.” Accessed: May 22, 2025. [Online]. Available: https://www.nrel.gov/.
- Scrocca, F. Bovera, G. Rancilio, M. Delfanti, and M. Zatti, “Techno-Economic Optimization of Services Stacking for a Battery Participating to Electricity Spot Markets,” International Conference on the European Energy Market, EEM, 2024. [CrossRef]
- M. Naemi, D. Davis, and M. J. Brear, “Optimisation and analysis of battery storage integrated into a wind power plant participating in a wholesale electricity market with energy and ancillary services,” J Clean Prod, vol. 373, p. 133909, Nov. 2022. [CrossRef]
- Mohamed, R. Rigo-Mariani, V. Debusschere, and L. Pin, “Stacked revenues for energy storage participating in energy and reserve markets with an optimal frequency regulation modeling,” 2023. [CrossRef]
- D. Andreotti, M. Spiller, A. Scrocca, F. Bovera, and G. Rancilio, “Modeling and Analysis of BESS Operations in Electricity Markets: Prediction and Strategies for Day-Ahead and Continuous Intra-Day Markets,” Sustainability 2024, Vol. 16, Page 7940, vol. 16, no. 18, p. 7940, Sep. 2024. [CrossRef]












| Power Plant | Type | Peak power [kW] | Losses [%] | Tilt [°] | Azimuth [°] |
|---|---|---|---|---|---|
| 1 | Rooftop - Coplanar | 199.30 | 12.85 | 6 | 90 |
| 2 | Rooftop - Coplanar | 165.56 | 12.43 | 9 | 90 |
| 3 | Rooftop - Barrel shaped | 84.36 | 12.57 | 0 | 90 |
| 42.18 | 12.57 | 15 | 90 | ||
| 42.18 | 12.57 | -15 | -90 | ||
| 4 | Rooftop - Coplanar | 46.40 | 13.73 | 15 | 0 |
| 13.59 | 19.90 | 27 | 0 | ||
| 0.62 | 17.72 | 15.9 | 90 | ||
| 5 | Rooftop - Coplanar | 139.19 | 12.95 | 15.9 | 90 |
| 6 | Flat Roof - Ballasted | 50.22 | 13.74 | 9 | -15 |
| 50.22 | 13.74 | 9 | -168.46 | ||
| 54.72 | 13.74 | 9 | 80 | ||
| 7 | Rooftop - Coplanar | 82.25 | 11.71 | 10 | 0 |
| 8 | Flat Roof - Ballasted | 29.53 | 11.43 | 30 | 0 |
| Season | Sunny Weather | Variable Weather | Cloudy Weather |
|---|---|---|---|
| Winter | 01/03/2023 | 24/01/2023 | 21/12/2023 |
| Spring | 06/05/2023 | 29/04/2023 | 30/03/2023 |
| Summer | 20/07/2023 | 23/08/2023 | 15/09/2023 |
| Autumn | 03/10/2023 | 31/10/2023 | 26/10/2023 |
| Season | Cluster | Occurrence probability utility-scale [%] |
Occurrence probability distributed system [%] |
|---|---|---|---|
| Winter | Sunny | 6.94 | 7.95 |
| Variable | 9.04 | 9.50 | |
| Cloudy | 8.67 | 7.21 | |
| Spring | Sunny | 15.07 | 16.26 |
| Variable | 5.39 | 6.12 | |
| Cloudy | 4.75 | 2.83 | |
| Summer | Sunny | 10.59 | 11.69 |
| Variable | 10.41 | 9.41 | |
| Cloudy | 4.20 | 4.11 | |
| Autumn | Sunny | 6.03 | 6.58 |
| Variable | 9.86 | 9.86 | |
| Cloudy | 9.04 | 8.50 |
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).