Impact of PV and EV Forecasting in the Operation of a Microgrid
Abstract
:1. Introduction
2. Methodology
2.1. Optimal Dispatch
- represents the cost and revenue (negative cost) coming from the withdrawal and injection of power from/into the grid;
- is the sum of the BESSs’ throughput-based O&M cost, and penalty cost associated with their state of energy (SOE) deviations;
2.2. EV Forecasting
2.2.1. LSTM with Attention
2.2.2. Persistence
2.3. PV Forecasting
2.4. Predict-Then-Optimize Approach
3. Error Metrics
- Root mean squared error (RMSE) is the square root of the mean squared error (MSE), making the units of RMSE the same as the data for a helpful comparison. Since it is closely related to the MSE which is used to train the LSTM, RMSE will also closely reflect how well a model was trained;
- Mean absolute error (MAE) is also reported here because it is common in the literature and very intuitive, giving equal weight to large and small errors;
- Symmetric mean absolute percentage error (SMAPE) is somewhat contested in the literature and there is no one single definition. However, the following definition is adequate because in this application there is no practical or theoretical problem with negative SMAPE values. Since all SMAPE definitions have terms in the denominator it is necessary to omit from the metric timesteps when the sum of and is zero.
4. Experimental Setup and Case Study
4.1. Experimental Facility and Model Implementation
- Grid connection: limited to 100 kW, used for withdrawing or injecting power from/to the distribution grid;
- Non-dispatchable RES: two PV arrays, both installed on the building roofs of 23 and 25 kWp;
- Storage: two lithium-ion BESSs (BESS1 and BESS2) of 70 and 67.5 kWh, with a C-rate (C-rate is the rate of time in which the BESS takes to charge or discharge) equal to one and a minimum and maximum SOC equal to 35% and 85%, respectively. This results in an overall storage capacity of 68.75 kWh;
- Load: simulated using a back-to-back (B2B) converter, which is a programmable load following the setpoints of an EV load dataset, scaled to a 25 kW maximum power.
4.2. Case Study Description
- Statistical performances of PV;
- Load;
- Total net electrical forecast defined as
- Total operating costs;
- Operational schedule of the system.
5. Results
5.1. Online Simulations
- On weekdays, when the electrical load is high, the microgrid imports electric energy at night when the electricity price is lower to charge the batteries, which are then discharged during the day in the absence of photovoltaic production;
- Minor differences between the two figures occur and are related to the parasitic losses of the battery power supply systems and other equipment in the laboratory where the microgrid operates (mainly during night-time). The battery charging process measured in the experimental campaign is spread over more hours compared to the results of the simulation. Nevertheless, the quantities of electrical energy are nearly identical and the effect on the simulation results is negligible.
5.2. Offline Simulations
Spring Case
- Purchase and sale prices fluctuate throughout the 24 h cycle, with this dynamic being particularly pronounced during the spring season. In fact, as it is possible to see from the table above, the EMS with persistence imports electricity at an average price of 0.257 €/kWh and exports to the grid at 0.15 €/kWh, while the average price for the EMS with LSTM is 0.292 €/kWh with a similar value when exporting. This is because the overall LSTM errors may be lower in absolute value compared to those of persistence, but they are more pronounced during the hours of the day when electricity prices are significantly higher (for purchases), therefore resulting in a more relevant impact;
- The accuracy of the net load forecasts is not the algebraic result of PV and EV forecasts: errors can amplify or reduce depending on the particular case. For instance, in the persistence case, errors in PV and load forecasts may exhibit opposite signs, potentially mitigating the overall inaccuracies of the individual forecasters. In fact, when considering a perfect HML PV forecast, the EMS with LSTM demonstrates slightly lower operational costs.
6. Overall Results
- There is a good correspondence between the overall net electric errors and the economic results. The higher the accuracy of the combined forecast error the worse the operational cost; LSTM performs better when the HML PV forecast is assumed, while it is worse than persistent when the PHANN PV forecast is adopted;
- The impact of EV and PV forecasts is pretty similar on the economic results when compared to the ideal case: in both cases, the difference in operating costs between using perfect and actual forecasts is around 5%;
- The combination of PV and EV forecasts might lead to discrepancies up to 10% with respect to the ideal case.
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Nomenclature
Symbols | |
Curtailment cost [€/kWh] | |
[€/kWh] | |
Throughput O&M cost of the energy storage technology | |
Unmet demand cost [€/kWh] | |
Timestep duration of the EMS I layer [hours] | |
Lag | |
Load forecast | |
Load measurements | |
Objective function | |
PV forecast | |
PV measurements | |
[€/kWh] | |
Timestep | |
Vector of true values | |
Vector of forecasted values | |
Greek symbols | |
Total net electrical forecast | |
Penalty factor for the SOE deviation between energy storage technologies | |
Acronyms | |
ACN | Adaptive charging network |
ANN | Artificial neural network |
ARIMA | Autoregressive integrated moving average |
B2B | Back-to-back |
BESS | Battery energy storage system |
CS | Charging station |
CSR | Clear-sky radiation |
DL | Deep learning |
DSM | Demand-side management |
ED | Encoder–decoder |
EMD | Empirical mode decomposition |
EMS | Energy management system |
EV | Electric vehicle |
EVSE | Electric vehicle supply equipment |
GHI | Global horizontal irradiance |
HMI | Human–machine interface |
HML | Hourly mean lookahead |
JPL | Jet Propulsion Laboratory |
LSTM | Long short-term memory |
MAE | Mean absolute error |
MG | Microgrid |
MILP | Mixed-integer linear programming |
MPC | Model predictive control |
PUN | Prezzo Unico Nazionale |
PHANN | Physical hybrid artificial neural network |
PLC | Programmable logic controller |
PV | Photovoltaic |
PZ | Prezzo Zonale |
RES | Renewable energy sources |
REST2 | Reference evaluation of solar transmittance, 2 bands |
RH | Rolling horizon |
RMSE | Root mean squared error |
RNN | Recurrent neural network |
RO | Robust optimization |
SARIMA | Seasonal autoregressive integrated moving average |
SMAPE | Symmetric mean absolute percentage error |
SOC | State of charge |
SOE | State of energy |
Appendix A. Energy Management System
Sets | |
Set of energy storage units | |
Set of non-dispatchable generators | |
Set of 1st layer timesteps | |
Set of 2nd layer timesteps | |
Continuous variables | |
Parameters | |
Curtailment cost [€/kWh] | |
[€/kWh] | |
[€/kWh] | |
Unmet demand cost [€/kWh] | |
Timestep duration of the EMS I layer [hours] | |
Timestep duration of the EMS II layer [hours] | |
24 h-profile of the average timestep residential consumption forecast [kW] | |
Maximum average timestep purchase power [kW] from the grid | |
Maximum average timestep selling power [kW] from the grid | |
24 h-profile of the average timestep PV generation forecast [kW] | |
[€/kWh] | |
Penalty factor for the SOE deviation between energy storage technologies |
Appendix A.1. First Layer
- -
- Battery average charge , discharge , net power exchange , and state of energy of storage unit es for each timestep t;
- -
- Average power purchased and sold into the grid for each timestep t.
- represents the cost and revenue (negative cost) coming from the withdrawal and injection of power from/into the grid;
- is the sum of the batteries’ throughput-based storage O&M cost, and penalty cost associated with their SOE deviations;
- are penalty costs for curtailment of RES generation and unmet demands.
- -
- Storage dynamic constraints: for each storage unit, the operational behavior describing the charge and discharge power, as well as the evolution in time of the state of charge;
- -
- Grid constraints: the purchase and sold electricity must respect the contract limit of the user;
- -
- Power balance constraints: the overall electricity generated by non-dispatchable units, the energy discharged by the storage, and the energy purchased from the grid must always be equal to the energy charging the storage and the quantity exported to the grid.
Appendix A.2. BESS Operational Constraints
Appendix A.3. Grid Operational Constraints
Appendix A.4. PV Production
Appendix A.5. Electricity Balance
Appendix A.6. Second Layer
- BESS charge or discharge;
- Grid withdrawal or injection;
- Unmet demand or curtailment.
Appendix B. EV Charging Forecaster
Appendix B.1. Long Short-Term Memory
Appendix B.2. Encoder–Decoder/Sequence to Sequence
Appendix B.3. Attention Mechanism
Appendix B.4. Persistence
References
- EEA. EEA Greehouse Gases—Data Viewer. 2023. Available online: https://www.eea.europa.eu/data-and-maps/data/data-viewers/greenhouse-gases-viewer (accessed on 9 April 2024).
- IEA. Global EV Outlook 2023. Available online: https://www.iea.org/reports/global-ev-outlook-2023 (accessed on 11 April 2024).
- Alrubaie, A.J.; Salem, M.; Yahya, K.; Mohamed, M.; Kamarol, M. A Comprehensive Review of Electric Vehicle Charging Stations with Solar Photovoltaic System Considering Market, Technical Requirements, Network Implications, and Future Challenges. Sustainability 2023, 15, 8122. [Google Scholar] [CrossRef]
- Wang, L.; Qin, Z.; Slangen, T.; Bauer, P.; Van Wijk, T. Grid Impact of Electric Vehicle Fast Charging Stations: Trends, Standards, Issues and Mitigation Measures—An Overview. IEEE Open J. Power Electron. 2021, 2, 56–74. [Google Scholar] [CrossRef]
- Deeum, S.; Charoenchan, T.; Janjamraj, N.; Romphochai, S.; Baum, S.; Ohgaki, H.; Mithulananthan, N.; Bhumkittipich, K. Optimal Placement of Electric Vehicle Charging Stations in an Active Distribution Grid with Photovoltaic and Battery Energy Storage System Integration. Energies 2023, 16, 7628. [Google Scholar] [CrossRef]
- Rouhani, M.; Ardakanian, O.; Musilek, P. Robust Sizing of Solar-Powered Charging Station with Co-located Energy Storage. In Proceedings of the 2022 IEEE Power & Energy Society General Meeting (PESGM), Denver, CO, USA, 17–21 July 2022; IEEE: Washington, DC, USA, 2022; pp. 1–5. [Google Scholar] [CrossRef]
- Yap, K.Y.; Chin, H.H.; Klemeš, J.J. Solar Energy-Powered Battery Electric Vehicle charging stations: Current development and future prospect review. Renew. Sustain. Energy Rev. 2022, 169, 12862. [Google Scholar] [CrossRef]
- Cabrera-Tobar, A.; Blasuttigh, N.; Massi Pavan, A.; Lughi, V.; Petrone, G.; Spagnuolo, G. Energy Scheduling and Performance Evaluation of an E-Vehicle Charging Station. Electronics 2022, 11, 3948. [Google Scholar] [CrossRef]
- Hai, T.; Zhou, J.; Alazzawi, A.k.; Muranaka, T. Management of Renewable-Based Multi-Energy Microgrids with Energy Storage and Integrated Electric Vehicles Considering Uncertainties. J. Energy Storage 2023, 60, 106582. [Google Scholar] [CrossRef]
- Pamulapati, T.; Cavus, M.; Odigwe, I.; Allahham, A.; Walker, S.; Giaouris, D. A Review of Microgrid Energy Management Strategies from the Energy Trilemma Perspective. Energies 2022, 16, 289. [Google Scholar] [CrossRef]
- Wazirali, R.; Yaghoubi, E.; Abujazar, M.S.S.; Ahmad, R.; Vakili, A.H. State-of-the-Art Review on Energy and Load Forecasting in Microgrids Using Artificial Neural Networks, Machine Learning, and Deep Learning Techniques. Electr. Power Syst. Res. 2023, 225, 109792. [Google Scholar] [CrossRef]
- Polimeni, S.; Nespoli, A.; Leva, S.; Valenti, G.; Manzolini, G. Implementation of Different PV Forecast Approaches in a MultiGood MicroGrid: Modeling and Experimental Results. Processes 2021, 9, 323. [Google Scholar] [CrossRef]
- Cabrera-Tobar, A.; Massi Pavan, A.; Petrone, G.; Spagnuolo, G. A Review of the Optimization and Control Techniques in the Presence of Uncertainties for the Energy Management of Microgrids. Energies 2022, 15, 9114. [Google Scholar] [CrossRef]
- Said, D. Intelligent Photovoltaic Power Forecasting Methods for a Sustainable Electricity Market of Smart Micro-Grid. IEEE Commun. Mag. 2021, 59, 122–128. [Google Scholar] [CrossRef]
- Said, D. A Decentralized Electricity Trading Framework (DETF) for Connected EVs: A Blockchain and Machine Learning for Profit Margin Optimization. IEEE Trans. Ind. Inf. 2021, 17, 6594–6602. [Google Scholar] [CrossRef]
- Singh, B.; Dubey, P.K.; Kumar, V.; Singh, D. A Novel Approach for Comparative Analysis of Distributed Generations and Electric Vehicles in Distribution Systems. Electr. Eng. 2024, 106, 2371–2390. [Google Scholar] [CrossRef]
- Zhu, J.; Yang, Z.; Chang, Y.; Guo, Y.; Zhu, K.; Zhang, J. A Novel LSTM Based Deep Learning Approach for Multi-Time Scale Electric Vehicles Charging Load Prediction. In Proceedings of the 2019 IEEE Innovative Smart Grid Technologies—Asia (ISGT Asia), Chengdu, China, 21–24 May 2019; IEEE: Washington, DC, USA, 2019; pp. 3531–3536. [Google Scholar]
- Hippert, H.S.; Pedreira, C.E.; Souza, R.C. Neural Networks for Short-Term Load Forecasting: A Review and Evaluation. IEEE Trans. Power Syst. 2001, 16, 44–55. [Google Scholar] [CrossRef]
- Calearo, L.; Marinelli, M.; Ziras, C. A Review of Data Sources for Electric Vehicle Integration Studies. Renew. Sustain. Energy Rev. 2021, 151, 111518. [Google Scholar] [CrossRef]
- Gao, Q.; Lin, Z.; Zhu, T.; Zhou, W.; Wang, G.; Zhang, T.; Zhang, Z.; Waseem, M.; Liu, S.; Han, C. Charging Load Forecasting of Electric Vehicle Based on Monte Carlo and Deep Learning. In Proceedings of the 2019 IEEE Sustainable Power and Energy Conference (iSPEC), Beijing, China, 21–23 November 2019; IEEE: Washington, DC, USA, 2019; pp. 1309–1314. [Google Scholar]
- Al-Ogaili, A.S.; Tengku Hashim, T.J.; Rahmat, N.A.; Ramasamy, A.K.; Marsadek, M.B.; Faisal, M.; Hannan, M.A. Review on Scheduling, Clustering, and Forecasting Strategies for Controlling Electric Vehicle Charging: Challenges and Recommendations. IEEE Access 2019, 7, 128353–128371. [Google Scholar] [CrossRef]
- Bianchi, F.M.; Maiorino, E.; Kampffmeyer, M.C.; Rizzi, A.; Jenssen, R. An Overview and Comparative Analysis of Recurrent Neural Networks for Short Term Load Forecasting; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar] [CrossRef]
- Wood, M.; Ogliari, E.; Nespoli, A.; Simpkins, T.; Leva, S. Day Ahead Electric Load Forecast: A Comprehensive LSTM-EMD Methodology and Several Diverse Case Studies. Forecasting 2023, 5, 297–314. [Google Scholar] [CrossRef]
- Kouka, K.; Masmoudi, A.; Abdelkafi, A.; Krichen, L. Dynamic Energy Management of an Electric Vehicle Charging Station Using Photovoltaic Power. Sustain. Energy Grids Netw. 2020, 24, 100402. [Google Scholar] [CrossRef]
- Bui, V.-H.; Hussain, A.; Zarrabian, S.; Kump, P.M.; Su, W. Clustering-Based Optimal Operation of Charging Stations under High Penetration of Electric Vehicles. Sustain. Energy Grids Netw. 2023, 36, 101178. [Google Scholar] [CrossRef]
- Engelhardt, J.; Zepter, J.M.; Gabderakhmanova, T.; Marinelli, M. Energy Management of a Multi-Battery System for Renewable-Based High Power EV Charging. eTransportation 2022, 14, 100198. [Google Scholar] [CrossRef]
- Jiang, W.; Zhen, Y. A Real-Time EV Charging Scheduling for Parking Lots With PV System and Energy Store System. IEEE Access 2019, 7, 86184–86193. [Google Scholar] [CrossRef]
- Wang, Z.; Jochem, P.; Fichtner, W. A Scenario-Based Stochastic Optimization Model for Charging Scheduling of Electric Vehicles under Uncertainties of Vehicle Availability and Charging Demand. J. Clean. Prod. 2020, 254, 119886. [Google Scholar] [CrossRef]
- Wu, J.; Liu, Y.; Chen, X.; Wang, C.; Li, W. Data-Driven Adjustable Robust Day-Ahead Economic Dispatch Strategy Considering Uncertainties of Wind Power Generation and Electric Vehicles. Int. J. Electr. Power Energy Syst. 2022, 138, 107898. [Google Scholar] [CrossRef]
- Zehra, S.S.; Wood, M.J.; Grimaccia, F.; Leva, S.; Mussetta, M. Solar and Grid Power Integration for Dynamic Energy Management in Electric Vehicle Charging and Load Fulfilment with Fuzzy Logic. In Proceedings of the 2023 AEIT International Conference on Electrical and Electronic Technologies for Automotive (AEIT AUTOMOTIVE), Modena, Italy, 17–19 July 2023; IEEE: Washington, DC, USA, 2023; pp. 1–6. [Google Scholar]
- Garcia-Trivino, P.; Torreglosa, J.P.; Fernandez-Ramirez, L.M.; Jurado, F. Decentralized Fuzzy Logic Control of Microgrid for Electric Vehicle Charging Station. IEEE J. Emerg. Sel. Top. Power Electron. 2018, 6, 726–737. [Google Scholar] [CrossRef]
- Dukpa, A.; Butrylo, B. MILP-Based Profit Maximization of Electric Vehicle Charging Station Based on Solar and EV Arrival Forecasts. Energies 2022, 15, 5760. [Google Scholar] [CrossRef]
- Moretti, L.; Polimeni, S.; Meraldi, L.; Raboni, P.; Leva, S.; Manzolini, G. Assessing the Impact of a Two-Layer Predictive Dispatch Algorithm on Design and Operation of off-Grid Hybrid Microgrids. Renew. Energy 2019, 143, 1439–1453. [Google Scholar] [CrossRef]
- Pascual, J.; Barricarte, J.; Sanchis, P.; Marroyo, L. Energy Management Strategy for a Renewable-Based Residential Microgrid with Generation and Demand Forecasting. Appl. Energy 2015, 158, 12–25. [Google Scholar] [CrossRef]
- Luna, A.C.; Diaz, N.L.; Graells, M.; Vasquez, J.C.; Guerrero, J.M. Mixed-Integer-Linear-Programming-Based Energy Management System for Hybrid PV-Wind-Battery Microgrids: Modeling, Design, and Experimental Verification. IEEE Trans. Power Electron. 2017, 32, 2769–2783. [Google Scholar] [CrossRef]
- Parisio, A.; Rikos, E.; Glielmo, L. Stochastic Model Predictive Control for Economic/Environmental Operation Management of Microgrids: An Experimental Case Study. J. Process Control 2016, 43, 24–37. [Google Scholar] [CrossRef]
- Parisio, A.; Rikos, E.; Tzamalis, G.; Glielmo, L. Use of Model Predictive Control for Experimental Microgrid Optimization. Appl. Energy 2014, 115, 37–46. [Google Scholar] [CrossRef]
- Marzband, M.; Sumper, A.; Ruiz-Álvarez, A.; Domínguez-García, J.L.; Tomoiagă, B. Experimental Evaluation of a Real Time Energy Management System for Stand-Alone Microgrids in Day-Ahead Markets. Appl. Energy 2013, 106, 365–376. [Google Scholar] [CrossRef]
- MG2Lab. Available online: https://www.mg2lab.polimi.it/ (accessed on 17 April 2024).
- Lee, E.-K.; Shi, W.; Gadh, R.; Kim, W. Design and Implementation of a Microgrid Energy Management System. Sustainability 2016, 8, 1143. [Google Scholar] [CrossRef]
- Polimeni, S.; Moretti, L.; Manzolini, G.; Leva, S.; Meraldi, L.; Raboni, P. Numerical and Experimental Testing of Predictive EMS Algorithms for PV-BESS Residential Microgrid. In Proceedings of the 2019 IEEE Milan PowerTech, Milano, Italy, 23–27 June 2019; IEEE: Washington, DC, USA, 2019; pp. 1–6. [Google Scholar]
- Bahdanau, D.; Cho, K.; Bengio, Y. Neural machine translation by jointly learning to align and translate. arXiv 2016, arXiv:1409.0473v7. [Google Scholar]
- Nespoli, A.; Mussetta, M.; Ogliari, E.; Leva, S.; Fernández-Ramírez, L.; García-Triviño, P. Robust 24 Hours Ahead Forecast in a Microgrid: A Real Case Study. Electronics 2019, 8, 1434. [Google Scholar] [CrossRef]
- Molteni, F.; Buizza, R.; Palmer, T.N.; Petroliagis, T. The ECMWF Ensemble Prediction System: Methodology and Validation. Q. J. R. Meteorol. Soc. 1996, 122, 73–119. [Google Scholar] [CrossRef]
- Stein, J.; Hansen, C.; Reno, M. Global Horizontal Irradiance Clear Sky Models: Implementation and Analysis; No. SAND2012-2389; Sandia National Laboratories (SNL): Albuquerque, NM, USA; Livermore, CA, USA, 2012. [Google Scholar]
- Abadi, M.; Agarwal, A.; Barham, P.; Brevdo, E.; Chen, Z.; Citro, C.; Corrado, G.S.; Davis, A.; Dean, J.; Devin, M.; et al. TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. 2016. Available online: https://www.tensorflow.org/ (accessed on 18 April 2024).
- Dolara, A.; Grimaccia, F.; Leva, S.; Mussetta, M.; Ogliari, E. A Physical Hybrid Artificial Neural Network for Short Term Forecasting of PV Plant Power Output. Energies 2015, 8, 1138–1153. [Google Scholar] [CrossRef]
- Bynum, M.L.; Hackebeil, G.A.; Hart, W.E.; Laird, C.D.; Nicholson, B.L.; Siirola, J.D.; Watson, J.-P.; Woodruff, D.L. Woodruff, Pyomo–Optimization Modeling in Python, 3rd ed.; Springer International Publishing: Cham, Switzerland, 2021; Volume 67, ISBN 978-3-030-68927-8. [Google Scholar]
- Lee, Z.J.; Li, T.; Low, S.H. ACN-Data. In Proceedings of the Tenth ACM International Conference on Future Energy Systems, Phoenix, AZ, USA, 25–28 June 2019; ACM: New York, NY, USA, 2019; pp. 139–149. [Google Scholar]
- Gestore Dei Mercati Energetici. Available online: https://www.mercatoelettrico.org/ (accessed on 22 April 2024).
- Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural. Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
- Wang, S.; Jiang, J. Learning Natural Language Inference with LSTM. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego, CA, USA, 12–17 June 2016; Association for Computational Linguistics: Stroudsburg, PA, USA, 2016; pp. 1442–1451. [Google Scholar]
- Luong, M.-T.; Pham, H.; Manning, C.D. Effective Approaches to Attention-Based Neural Machine Translation. arXiv 2015. [Google Scholar] [CrossRef]
Input | Parameters | Units of Measure |
---|---|---|
Deterministic | Global horizontal irradiance Clear-sky solar radiation | W/m2 |
Weather forecasts | Relative humidity | % |
Wind direction | degree | |
Pressure | Pa | |
Rain | mm | |
Wind speed | m/s | |
Ambient temperature | Celsius | |
Global horizontal irradiance Solar radiation | W/m2 |
EV load | Typical week trends from the JPL dataset (scaled to 25 kW according to MG2Lab size). Energy consumption for week 1 amounts to 842.5 kWh, while for week 2 it amounts to 823 kWh. Given EV charging at a workplace, there is a substantial difference between workdays (Monday–Friday) and weekend days (Saturday and Sunday). Weekend days are also very unpredictable. Fridays are also unpredictable in terms of magnitude, while the shape remains similar. | |
Prices | Buy | Maximum: 0.666 €/kWh, minimum: 0.005 €/kWh, average: 0.255 €/kWh |
Sell | Maximum: 0.333 €/kWh, minimum: 0.003 €/kWh, average: 0.128 €/kWh |
Simulation | Offline | Online (MG2Lab) | ||||
---|---|---|---|---|---|---|
Goal | Assess the impact of each forecast method in the overall optimization Impact of combining PV and EV forecasting | Validate the method and demonstrate the application of the EMS with PV and EV forecasting | ||||
Weeks | Winter | Spring | Summer | Autumn | 24 February 2024–1 March 2024 | 5 March 2024–11 March 2024 |
PV data | Two-week MG2Lab historical data for each season | MG2Lab PV plant | ||||
EV data | Two-week data for each season from the JPL dataset | JPL dataset: 10 December 2018–16 December 2018 | ||||
PV forecaster | PHANN day-ahead (MG2Lab) and HML | PHANN Day-Ahead | ||||
EV forecaster | Persistence and LSTM and HML | Persistence | LSTM |
Week 1: 24/02/2024–01/03/2024 | Week 2: 05/03/2024–11/03/2024 | |||
---|---|---|---|---|
Persistence Experimental | Persistence Simulated | LSTM Experimental | LSTM Simulated | |
EV load [kWh] | 709.04 | 709.03 | 709.34 | 709.33 |
PV production [kWh] | 330.28 | 326.68 | 700.63 | 697.04 |
EV forecast SMAPE [%] | 39.76 | 41.69 | 54.94 | 52.37 |
PV production SMAPE [%] | 111.44 | 111.44 | 195.46 | 195.46 |
Electricity purchased [kWh] | 900.78 | 818.07 | 561.41 | 505.33 |
Electricity sold [kWh] | 106.74 | 65.77 | 142.02 | 83.01 |
Initial SOC [kWh/%] | 18.0/51.3 | 18.0/51.3 | 23.4/66.9 | 23.4/66.95 |
Final SOC [kWh/%] | 22.3/63.7 | 13.4/38.2 | 24.2/69.1 | 21.81/62.3 |
Unmet demand [kWh] | 0.00 | 0.00 | 0.00 | 0.00 |
Curtailment [kWh] | 0.01 | 0.00 | 0.01 | 0.00 |
Purchased electricity [€] | 240.24 | 213.35 | 127.44 | 112.92 |
Sold electricity [€] | 18.66 | 10.74 | 19.01 | 12.19 |
Unmet demand [€] | 0.00 | 0.00 | 0.00 | 0.00 |
Curtailment [€] | 0.06 | 0.00 | 0.05 | 0.00 |
BESS residual [€] | −2.17 | 2.28 | −0.46 | 1.13 |
Total [€] | 219.47 | 204.88 | 108.02 | 96.24 |
Forecast | MAE | SMAPE | RMSE | |
---|---|---|---|---|
PV | PHANN | 4.10 | 71.91 | 7.49 |
HML | 0.72 | 6.85 | 2.13 | |
EV | Persistence | 1.58 | 44.89 | 3.23 |
LSTM | 1.06 | 44.66 | 1.87 | |
HML | 0.16 | 7.33 | 0.35 | |
PV+EV | PV HML + EV persistence | 1.94 | −69.67 | 3.87 |
PV HML + EV LSTM | 1.44 | −30.41 | 2.82 | |
PV HML + EV HML | 0.76 | 0.29 | 2.15 | |
PV PHANN + EV persistence | 2.88 | −7.73 | 5.27 | |
PV PHANN + EV LSTM | 4.30 | −388.93 | 7.63 | |
PV PHANN + EV HML | 2.37 | 35.51 | 4.60 |
PV Forecast | HML | PHANN | ||||
---|---|---|---|---|---|---|
Load Forecast | Persistence | LSTM | HML | Persistence | LSTM | HML |
EV load [kWh] | 1665.24 | 1665.24 | 1665.24 | 1665.24 | 1665.24 | 1665.24 |
PV production [kWh] | 3328.39 | 3328.39 | 3328.39 | 3328.39 | 3327.34 | 3328.39 |
Electricity purchased [kWh] | 214.59 | 214.88 | 144.99 | 184.22 | 176.48 | 150.00 |
Electricity sold [kWh] | 1830.40 | 1833.37 | 1771.80 | 1774.63 | 1740.01 | 1757.46 |
Total BESSs losses [kWh] | 57.22 | 53.86 | 46.44 | 75.56 | 86.79 | 65.65 |
Initial SOC [kWh/%] | 17.5/50.0 | 17.5/50.0 | 17.5/50.0 | 17.5/50.0 | 17.5/50.0 | 17.5/50.0 |
Final SOC [kWh/%] | 12.56/35.9 | 12.90/36.9 | 12.45/35.6 | 16.09/46.0 | 23.39/66.8 | 12.52/35.8 |
Unmet demand [kWh] | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
Curtailment [kWh] | 0.00 | 1.05 | 0.00 | 0.00 | 1.05 | 0.00 |
Purchased electricity [€] | 50.61 | 48.34 | 29.14 | 47.42 | 51.47 | 35.07 |
Sold electricity [€] | 278.30 | 279.24 | 267.79 | 265.40 | 253.35 | 261.38 |
Unmet demand [€] | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
Curtailment [€] | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
BESS residual [€] | 0.40 | 0.37 | 0.40 | 0.11 | -0.47 | 0.40 |
Total [€] | −227.29 | −230.54 | −238.35 | −217.87 | −202.35 | −225.91 |
Net Load Forecast Error (RMSE in [kW]) | ||||||
---|---|---|---|---|---|---|
PV forecast | HML | PHANN | ||||
EV forecast | Persistence | LSTM | HML | Persistence | LSTM | HML |
Spring | 3.87 | 2.82 | 2.15 | 5.27 | 7.63 | 4.60 |
Summer | 3.39 | 2.22 | 1.38 | 4.89 | 5.05 | 3.78 |
Autumn | 3.64 | 2.25 | 1.25 | 5.16 | 5.71 | 3.80 |
Winter | 2.87 | 4.40 | 0.93 | 4.68 | 4.48 | 4.23 |
Economic result (€) | ||||||
PV forecast | HML | PHANN | ||||
EV forecast | Persistence | LSTM | HML | Persistence | LSTM | HML |
Spring | −227.29 | −230.54 | −238.35 | −217.87 | −202.35 | −225.91 |
Summer | −197.85 | −199.21 | −201.44 | −187.02 | −181.94 | −191.97 |
Autumn | 46.5 | 44.86 | 38.92 | 48.49 | 49.68 | 43.90 |
Winter | 218.31 | 216.65 | 205.86 | 218.19 | 218.15 | 215.59 |
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
Manzolini, G.; Fusco, A.; Gioffrè, D.; Matrone, S.; Ramaschi, R.; Saleptsis, M.; Simonetti, R.; Sobic, F.; Wood, M.J.; Ogliari, E.; et al. Impact of PV and EV Forecasting in the Operation of a Microgrid. Forecasting 2024, 6, 591-615. https://doi.org/10.3390/forecast6030032
Manzolini G, Fusco A, Gioffrè D, Matrone S, Ramaschi R, Saleptsis M, Simonetti R, Sobic F, Wood MJ, Ogliari E, et al. Impact of PV and EV Forecasting in the Operation of a Microgrid. Forecasting. 2024; 6(3):591-615. https://doi.org/10.3390/forecast6030032
Chicago/Turabian StyleManzolini, Giampaolo, Andrea Fusco, Domenico Gioffrè, Silvana Matrone, Riccardo Ramaschi, Marios Saleptsis, Riccardo Simonetti, Filip Sobic, Michael James Wood, Emanuele Ogliari, and et al. 2024. "Impact of PV and EV Forecasting in the Operation of a Microgrid" Forecasting 6, no. 3: 591-615. https://doi.org/10.3390/forecast6030032
APA StyleManzolini, G., Fusco, A., Gioffrè, D., Matrone, S., Ramaschi, R., Saleptsis, M., Simonetti, R., Sobic, F., Wood, M. J., Ogliari, E., & Leva, S. (2024). Impact of PV and EV Forecasting in the Operation of a Microgrid. Forecasting, 6(3), 591-615. https://doi.org/10.3390/forecast6030032