Integrated Operational Planning of Battery Storage Systems for Improved Efficiency in Residential Community Energy Management Using Multistage Stochastic Dual Dynamic Programming: A Finnish Case Study
Abstract
1. Introduction
Research Objectives and Contribution
2. SDDP and LP Models
2.1. Data
2.2. Uncertainty Prediction
- Day-ahead electricity spot market prices in EUR/kWh;
- Residential electricity demand in kWh; and
- Residential PV generation in kWh.
2.3. Linear Policy Graph Model Elements
- As shown in Figure 2, the linear policy graph comprises a structured set of nodes (depicted as rectangles) representing stages (each one-hour long) and planning horizons (arranged in rows). At each node, which marks a specific point in time, an agent (i.e., an SDDP model optimizer) selects an action based on the revealed uncertainty parameters ().
- The model incorporates stochastic elements, represented as , which maintain independence across sequential decision stages. These elements are characterized through a set of scenarios , each representing distinct probabilistic outcomes. The framework encompasses three primary categories of uncertainty parameters: , , and .
- We represent the battery storage balance in kWh using the state variable . The decision-making sequence begins at the root node R (denoted by a circle) in Figure 2, where the initial battery storage balance is established for the first stage (represented by the first square node in row one). The system then proceeds to determine an outgoing state . The study’s primary objective is to enhance battery storage efficiency through hourly operational optimization, taking into consideration three key variables: day-ahead spot market prices (), electricity demand (), and photovoltaic generation (). Within the hourly optimization framework, initial stage predictions () demonstrate the highest accuracy in terms of uncertainty prediction compared to subsequent stages () across each planning horizon (). As a result, decisions from the first stage of each planning horizon () systematically transition to the subsequent horizon’s first stage (), establishing a continuous connection between planning periods in a rolling-horizon manner, as depicted in Figure 2.
- The control variable () represents a decision made by an agent during a stage. We assume all control variables are discrete and feasible for an agent to implement. Our model incorporates four primary control variables: battery energy injection () and extraction (), alongside grid electricity purchase () and sales (), measured in kWh.
- The stage cost function () represents the optimization objective that requires minimization at each stage . This cost function evaluates the financial impact of implementing control decisions on the state variable , taking into account the realization of uncertainty parameters . In this study, the stage cost specifically refers to the household electricity bill.
- The decision rule, represented as , determines control variable through evaluation of the current state variable and observed uncertainties . A set of these decision rules constitutes a policy (), where individual components align with specific stages p and planning horizons r.
- Referring to Figure 2, our multistage SDDP framework is structured around interconnected nodes. Each node incorporates key operational elements: state variables , noise , control variables , transition function , stage objective , and decision rules . To demonstrate the policy graph structure, we implement a hazard-decision node framework, wherein operational decisions are executed at each stage following the realization of noise .
2.4. Model Assumptions
- The battery storage system operates with an hourly energy injection and extraction rate () of 25% capacity, based on specifications of a Lithium-ion battery (LFP) rated at 2 kW for 4 h. The maximum charging () and discharging () limits are set by times maximum capacity (). The system maintains injection and extraction efficiencies ( and ) of )%, yielding an 83% round-trip efficiency [21].
- Battery self-discharge effects were deemed negligible over the 72 h modeling period, allowing for the simplification of to remain at a constant value of 1.
- To ensure operational reliability, a minimum battery storage level () of 20% capacity is maintained as a strategic power reserve.
- The system is initialized with a battery charge level () of 20% capacity.
- The model incorporates a design to address end-of-horizon effects through the implementation of SDDP and LP models. Within the rolling-horizon framework, each horizon spans 12 stages. The battery balance , functioning as a state variable, is strategically transferred from the second stage of the current horizon to serve as an initial input for the first stage of the subsequent horizon. This ensures operational continuity by transferring the battery storage balance between consecutive planning horizons (), as detailed in Section 2.5 and Figure 2.
- While extreme market conditions like price volatility and power outages are acknowledged, they fall outside the scope of this analysis to maintain methodological focus.
- The optimization scope is specifically limited to battery charging and discharging strategies, excluding considerations of PV system optimization through solar tracking mechanisms or panel orientation adjustments.
2.5. Sub-Problems of the SDDP Model
2.6. Algorithms
2.6.1. The SDDP Model
Algorithm 1 SDDP |
|
2.6.2. The LP Model
Algorithm 2 LP |
|
3. Case Study
- C2_HEP_SDDP: The high electricity pricing (HEP) scenario examines system performance by implementing a twofold increase in electricity costs compared to the baseline parameters.
- C3_HPV_SDDP: The high PV generation (HPV) scenario assesses system operation under conditions where photovoltaic output is doubled relative to baseline measurements.
- C4_BASE_LP: A comparative analysis utilizing linear programming methodology while maintaining baseline parameters.
3.1. Comparing Performance Metrics Between SDDP and LP Models
3.2. Evaluating Market Dynamics: Electricity Price Volatility and Photovoltaic Generation Variability
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
ARIMA | auto-regressive integrated moving average |
LP | linear programming |
SDDP | stochastic dual dynamic programming |
VRE | variable renewable energy |
Nomenclature
- Indices, Sets, Symbols
Index and set of node or predicted stages | |
Index and set of planning horizon | |
Index and set of scenarios | |
Index and set of types of uncertainties, |
- Parameters
Minimum capacity of a battery storage (kW) | |
Initial balance of the battery storage (kWh) | |
Maximum capacity of a battery storage (kW) | |
Battery storage utilization cost (EUR/kWh) | |
PV generation cost (EUR/kWh) | |
Marginal cost for residents to purchase electricity in stage (EUR/kWh) | |
A battery’s charge and discharge rates (%) | |
Marginal cost for residents to sell electricity in stage (EUR/kWh) | |
Availability factor of hourly battery storage holding efficiency (%) | |
Availability factor of battery storage injection efficiency (%) | |
Availability factor of battery storage extraction efficiency (%) | |
Probability of occurrence for each stage and scenario (%), | |
given | |
An observed values of uncertainties | |
V | Taxes to be added for purchasing electricity from the spot market (%) |
- Variables
An amount of battery balance, a state variable, at the end of stage | |
for planning horizon (kWh) | |
An amount of battery injection, a control variable, at the start of stage | |
for planning horizon (kWh) | |
An amount of battery extraction, a control variable, at the start of stage | |
for planning horizon (kWh) | |
Amount of purchased electricity, a control variable, (kWh) | |
Amount of electricity sold, a control variable, (kWh) |
References
- Huttunen, R.; Kinnunen, M.; Lemström, B.; Hirvonen, P.; Kuuva, P. Finland’s Integrated National Energy and Climate Plan: Update; Ministry of Economic Affairs and Employment of Finland: Helsinki, Finland, 2024.
- VTT. Project Details: Enabling Demand Response Through Easy to Use Open Source Approach; Academy of Finland Project; Finnish Technical Research Centre (VTT): Espoo, Finland, 2021; Available online: https://cris.vtt.fi/en/projects/enabling-demand-response-through-easy-to-use-open-source-approach (accessed on 21 May 2023).
- Denholm, P.; Nunemaker, J.; Gagnon, P.; Cole, W. The potential for battery energy storage to provide peaking capacity in the United States. Renew. Energy 2020, 151, 1269–1277. [Google Scholar] [CrossRef]
- Mongird, K.; Fotedar, V.; Viswanathan, V.; Koritarov, V.; Balducci, P.; Hadjerioua, B.; Alam, J. HydroWIRES, Pacific Northwest National Laboratory (PNNL): Energy Storage Technology and Cost Characterization Report. 2019. Available online: https://energystorage.pnnl.gov/pdf/pnnl-28866.pdf (accessed on 21 May 2023).
- Liu, D.; Xu, Y.; Wei, Q.; Liu, X. Residential energy scheduling for variable weather solar energy based on adaptive dynamic programming. IEEE/CAA J. Autom. Sin. 2018, 5, 36–46. [Google Scholar] [CrossRef]
- Pereira, M.V.F.; Pinto, L.M.V.G. Multi-stage stochastic optimization applied to energy planning. Math. Program. 1991, 52, 359–375. [Google Scholar] [CrossRef]
- Conejo, A.J.; Carrión, M.; Morales, J.M. Decision Making Under Uncertainty in Electricity Markets; Springer: New York, NY, USA, 2010. [Google Scholar] [CrossRef]
- Dowson, O. The policy graph decomposition of multistage stochastic programming problems. Networks 2020, 76, 3–23. [Google Scholar] [CrossRef]
- Hyndman, R.J. Forecasting with Exponential Smoothing: The State Space Approach; Springer series in statistics; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
- Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice, 2nd ed.; Otexts, Online, Open-Access Textbook: Lexington, KY, USA, 2018. [Google Scholar]
- Saavedra, R.; Bodin, G.; Souto, M. StateSpaceModels.jl: A Julia package for time-series analysis in a state-space framework. arXiv 2019, arXiv:1908.01757. [Google Scholar]
- Durbin, J.; Koopman, S.J. Time Series Analysis by State Space Methods, 2nd ed.; Oxford University Press: Oxford, UK, 2012. [Google Scholar] [CrossRef]
- Downward, A.; Dowson, O.; Baucke, R. Stochastic dual dynamic programming with stagewise-dependent objective uncertainty. Oper. Res. Lett. 2020, 48, 33–39. [Google Scholar] [CrossRef]
- Dowson, O.; Kapelevich, L. SDDP.jl: A Julia package for stochastic dual dynamic programming. INFORMS J. Comput. 2021, 33, 27–33. [Google Scholar] [CrossRef]
- CoSSMic. Detailed Household Load and Solar Generation in Minutely to Hourly Resolution, Collaborating Smart Solar-Powered Microgrids (CoSSMic). 2020. Available online: https://data.open-power-system-data.org/household_data/ (accessed on 21 May 2023).
- ENTSO-E. ENTSO-E Transparency Platform: Day-Ahead Prices. Available online: https://transparency.entsoe.eu/dashboard/show (accessed on 16 February 2025).
- PVGIS. Photovoltaic Geographical Information System (PVGIS), the European Commission’s Joint Research Center. 2016. Available online: https://re.jrc.ec.europa.eu/pvg_tools/en/ (accessed on 3 March 2025).
- Allen, N. How Much Power Does a Solar Panel Produce? 2022. Available online: https://www.forbes.com/home-improvement/solar/how-much-power-does-a-solar-panel-produce/ (accessed on 1 August 2024).
- Chen, J. What Is EMA? How to Use Exponential Moving Average with Formula. 2024. Available online: https://www.investopedia.com/terms/e/ema.asp (accessed on 3 March 2025).
- Chanpiwat, P. Three Essays on Optimization, Machine Learning, and Game Theory in Energy. Ph.D. Thesis, University of Maryland, College Park, MD, USA, 2023. [Google Scholar]
- PNNL. Lithium-Ion Battery (LFP and NMC), Energy Storage Cost and Performance Database; Pacific Northwest National Laboratory (PNNL): Richland, WA, USA, 2025. Available online: https://www.pnnl.gov/projects/esgc-cost-performance/lithium-ion-battery (accessed on 3 March 2025).
- Gabriel, S.A.; Conejo, A.J.; Fuller, J.D.; Hobbs, B.F.; Ruiz, C. Complementarity Modeling in Energy Markets; Springer: New York, NY, USA, 2012; p. 655. [Google Scholar]
- Virasjoki, V.; Rocha, P.; Siddiqui, A.S.; Salo, A. Market impacts of energy storage in a transmission-constrained power system. IEEE Trans. Power Syst. 2016, 31, 4108–4117. [Google Scholar] [CrossRef]
- Chanpiwat, P.; Gabriel, S.A.; Brown, M. Multi-stage modeling with recourse decisions for solving stochastic complementarity problems with an application in energy. IEEE Trans. Power Syst. 2024, 39, 4935–4948. [Google Scholar] [CrossRef]
- Puranen, P.; Kosonen, A.; Ahola, J. Techno-economic viability of energy storage concepts combined with a residential solar photovoltaic system: A case study from Finland. Appl. Energy 2021, 298, 117199. [Google Scholar] [CrossRef]
- Wehrmann, B. What German Households Pay for Electricity. 2015. Available online: https://www.cleanenergywire.org/factsheets/what-german-households-pay-electricity (accessed on 17 May 2023).
- IEA. Renewables 2023: Analysis and Forecast to 2028; International Energy Agency (IEA): Paris, France, 2023; Available online: https://iea.blob.core.windows.net/assets/96d66a8b-d502-476b-ba94-54ffda84cf72/Renewables_2023.pdf (accessed on 7 March 2024).
- IRENA. Renewable Power Generation Costs in 2023; International Renewable Energy Agency (IRENA): Abu Dhabi, United Arab Emirates, 2024; Available online: https://www.irena.org/-/media/Files/IRENA/Agency/Publication/2024/Sep/IRENA_Renewable_power_generation_costs_in_2023.pdf (accessed on 3 March 2025).
- Navidi, W.C. Statistics for Engineers and Scientists, 5th ed.; McGraw-Hill Education: New York, NY, USA, 2020. [Google Scholar]
0 kWh | 500 kWh | 1000 kWh | 1500 kWh | 2000 kWh | ||||||
---|---|---|---|---|---|---|---|---|---|---|
X | Y | X | Y | X | Y | X | Y | X | Y | |
n | 72 | 72 | 72 | 72 | 72 | 72 | 72 | 72 | 72 | 72 |
min | −101.158 | −7.884 | −106.021 | −71.612 | −112.144 | −134.89 | −118.267 | −198.168 | −119.642 | −263.263 |
average | −10.119 | 5.377 | −38.064 | −32.436 | −63.577 | −69.610 | −64.058 | −106.783 | −64.247 | −143.956 |
max | 15.955 | 15.220 | 1.846 | 6.749 | −10.156 | 4.341 | −5.058 | 1.933 | −5.963 | −0.474 |
s | 37.645 | 5.599 | 29.936 | 17.844 | 28.558 | 33.229 | 28.988 | 48.868 | 29.298 | 64.576 |
= () · 100/ | −153.14% | −14.79% | 9.49% | 66.70% | 124.07% | |||||
p-value | 0.0006 | 0.1706 | 0.2427 | 0.0000 | 0.0000 |
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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chanpiwat, P.; Oliveira, F.; Gabriel, S.A. Integrated Operational Planning of Battery Storage Systems for Improved Efficiency in Residential Community Energy Management Using Multistage Stochastic Dual Dynamic Programming: A Finnish Case Study. Energies 2025, 18, 3560. https://doi.org/10.3390/en18133560
Chanpiwat P, Oliveira F, Gabriel SA. Integrated Operational Planning of Battery Storage Systems for Improved Efficiency in Residential Community Energy Management Using Multistage Stochastic Dual Dynamic Programming: A Finnish Case Study. Energies. 2025; 18(13):3560. https://doi.org/10.3390/en18133560
Chicago/Turabian StyleChanpiwat, Pattanun, Fabricio Oliveira, and Steven A. Gabriel. 2025. "Integrated Operational Planning of Battery Storage Systems for Improved Efficiency in Residential Community Energy Management Using Multistage Stochastic Dual Dynamic Programming: A Finnish Case Study" Energies 18, no. 13: 3560. https://doi.org/10.3390/en18133560
APA StyleChanpiwat, P., Oliveira, F., & Gabriel, S. A. (2025). Integrated Operational Planning of Battery Storage Systems for Improved Efficiency in Residential Community Energy Management Using Multistage Stochastic Dual Dynamic Programming: A Finnish Case Study. Energies, 18(13), 3560. https://doi.org/10.3390/en18133560