1. Introduction
The move towards renewable energy is a response to growing concerns about environmental concerns and the limited supply of non-renewable resources [
1,
2]. Photovoltaic (PV) systems are becoming increasingly important in this shift because of their ability to use solar energy, which is both abundant and environmentally friendly [
3]. Integrating these systems into the existing energy grid is crucial for the environment. Although PV systems are critical to the sustainability of the environment, they present significant technological and economic challenges [
4]. The installation of PV systems must yield financial benefits for utilities and meet technical requirements. In most instances, utility companies incur costs for both energy consumption and peak demand. Therefore, PV installations must not only reduce energy consumption but also diminish peak demand. Energy usage can be reduced whenever PV systems generate electricity, resulting in financial benefits for utility companies. However, reducing peak demand with PV systems requires additional analysis and is challenging. For example, during winter days, peak demand often occurs in the early morning when there is negligible or no PV generation [
5]. Consequently, on such days, PV installations do not contribute to peak demand reduction. In addition, peak demand may coincide with minimal PV generation during certain days in spring and fall, limiting utility benefits.
Given that peak demand charges are typically high, it is important to leverage PV generation for peak demand reduction. To address this challenge, battery storage systems can be potentially useful [
6]. By shifting energy from off-peak to peak hours, batteries can reduce peak demand, thereby providing greater financial benefits for utility companies. While the use of energy storage systems can aid in reducing peak demands and enhancing financial benefits, it also introduces additional costs associated with battery installation and energy losses during charging and discharging [
7]. Therefore, determining the optimal size of PV-battery systems is critical to satisfy both technical and economic considerations. Many researches have been conducted to identify the optimal size of grid-connected PV-battery systems [
8]. The methodologies explored in the existing literature for optimizing PV-battery systems can be categorized in the following sections.
Single objective optimization focuses on optimizing a single aspect of the PV-battery system, such as cost minimization, energy efficiency, or reliability [
9]. The authors of [
10] developed a single objective function model to maximize energy savings in PV-battery systems. Their findings suggest that residents could save 5% of their total electricity load without storage and 14% with storage. The researchers in [
11] formulated a model for the economic assessment of residential PV systems with lithium-ion batteries. Their analysis showed that optimal sizing can make these systems more affordable than PV alone. In [
12], a mixed integer nonlinear programming optimization model was created to optimize the operation and investment of PV-battery systems. The study revealed that the temporal resolution of electrical load and PV generation profiles significantly influences self-consumption and optimal system sizing. The authors of [
13] proposed a methodology for determining the optimal size of PV-battery systems, focusing on the overall cost throughout the project lifetime. This approach, validated against realistic test cases, provides an economic analysis to ensure the investment feasibility. While single objective optimization methods are effective in determining the optimal PV-battery system they might not adequately address other crucial aspects of PV-battery systems. This narrow focus can result in solutions that may not be optimal when considering the broader operational needs and challenges of PV-battery systems. To address this limitation multi-objective optimization approaches have been developed.
Multi-objective function optimization involves optimizing multiple objectives simultaneously, such as cost, efficiency, reliability, and environmental impact [
14]. The authors of [
15] developed a multi-objective optimization model for PV and battery energy storage systems, implemented using particle swarm optimization. The objectives included loss minimization, voltage, and load ability improvement. The authors of [
16] developed a multi-objective optimization for grid-connected PV-battery systems, utilizing machine learning techniques. The objective functions include minimizing energy bought from the utility grid, maximizing the battery state of charge, and reducing carbon dioxide emissions. In [
17], a scenario-based multi-objective optimization for a rural PV-battery system, focusing on economic gains and grid interaction, was developed. Findings show an 87% improvement in grid interaction smoothness, highlighting its effectiveness in various scenarios and weather conditions. Similarly, Song, Guan, and Cheng [
18] proposed a multi-objective optimization strategy for home energy management systems including PV and battery energy storage, emphasizing the integration of sustainable energy sources into the grid. However, a significant limitation shared by both single and multi-objective optimization methods is their lack of consideration for uncertainty. Real-world PV-battery systems operate under a variety of uncertain conditions, including fluctuating solar irradiance and changing load demands. The failure to incorporate these uncertainties into the optimization models can limit the applicability and resilience of the proposed solutions in real-word applications. To address this critical gap, stochastic and robust optimization methods were typically utilized.
Stochastic optimization can be used to determine the optimal size and operation of PV-battery systems under uncertain conditions [
19]. By considering a range of possible scenarios, such as varying levels of solar irradiance and changes in energy demand, this method allows for the design of systems that are not only cost-effective but also resilient to changes in environmental conditions and energy market dynamics [
20]. The authors of [
21] employed a stochastic optimization approach to determine the optimal size of the PV-battery system, focusing on minimizing system unavailability and cost. Based on their findings, PV panel costs and efficiency significantly affect the optimal system. Using stochastic optimization, [
22] developed a model for sizing battery storage integrated with PV systems, aiming to minimize battery cost and grid energy import. Their results indicate that combining financial and technical objectives is crucial for achieving economically feasible PV-battery sizing. According to [
23], an integrated stochastic framework was developed to optimize the design and operation of PV-battery systems. In that study, feed-in tariffs and unit costs play a major role in determining PV-battery sizes. While stochastic optimization provides a robust framework for dealing with uncertainties, these methods often require large numbers of data and fitting the data into known probability distribution functions that can be complex and computationally intensive [
24].
On the other hand, robust optimization addresses uncertainty by establishing parameter bounds. They are particularly useful when data is insufficient, or when probability distributions are either unknown or fitting them are statistically insignificant [
25]. Robust optimization is a new method in PV-battery optimization that constructs solutions to perform effectively within a range of uncertainty, defined by intervals, ensuring consistency and resilience against variations in input data and model parameters [
26]. In [
27], a two-stage robust optimization model was presented for optimal sizing of PV systems with battery units. It addresses PV generation and load uncertainties using polyhedral uncertainty sets. The study [
28]conducted robust optimization for grid-connected PV-battery systems. It emphasizes the importance of considering real-world uncertainties in system design. The study demonstrates a trade-off between minimizing the levelized cost of electricity mean and its standard deviation, using Pareto sets of optimized designs. While robust optimization offers a pragmatic approach to managing uncertainty, it tends to yield overly conservative solutions. Besides, accurately determining the appropriate uncertainty bounds is challenging, which can significantly impact the efficiency and feasibility of the optimized system.
Despite valuable studies on optimizing PV-battery system sizes, especially for grid-connected applications, a certain gap remains. Peak demand has not been sufficiently addressed in their optimization problems. This oversight is particularly relevant considering that utility companies often incur costs for both energy consumption and peak demand. The authors in [
5] developed a model for optimizing PV-battery sizes with a focus on peak demand reduction. However, their approach, while effective at flattening load profiles with a specified probability, does not fully address utility limitations concerning the extent of load profile flattening. Accordingly, this study proposes a novel statistical model that prioritizes peak demand reduction in PV-battery system optimal sizing. This model enables utility companies to design systems that effectively flatten 95% of daily load demand profiles up to a certain demand threshold. This threshold is determined by the utilities, taking into account their operational capacity and risk management considerations. Further, due to the limitations of stochastic and robust optimization approaches, particularly in addressing the complex and dynamic nature of PV-battery systems under real-world conditions, this study utilizes a modified Monte Carlo simulation coupled with time series clustering to manage the uncertainties in the load demand and solar irradiance data. This innovative approach is designed to generate more realistic scenarios that reflect the inherent variability and interdependencies in solar irradiance and load demand. By clustering similar days based on solar irradiance and load profiles separately, we create distinct sets of scenarios that represent typical operational conditions. The Monte Carlo simulation then utilizes these clustered scenarios to explore a wide range of potential operational outcomes by using conditional probabilities.
In this study, actual demand and solar irradiance data from the City of Greensburg, Kansas, USA, to establish the methodology were collected. Initially, a specific PV size is selected, and modified daily load profiles are generated by subtracting the original load from the PV generation for that PV size. The needed batteries are calculated for each day to flatten the daily loads. Then, a range of battery sizes is chosen to calculate the updated daily peak demands after PV-battery installation by taking advantage of daily needed batteries. The updated peaks are then represented in histograms corresponding to each PV-battery combination and fitted with appropriate PDFs. When the 95th percentile value of a PDF matches the desired utility threshold, the corresponding PV and battery sizes are considered optimal. Otherwise, new PDF parameters are determined to align the 95th percentile with the utility threshold. By iterating this process across various PV sizes, we identified optimal combinations of PV-battery systems capable of flattening 95% of daily peaks up to a certain demand threshold. A benefit analysis is then conducted to identify the most economically beneficial configurations. Finally, a modified Monte Carlo simulation, coupled with time series clustering, is employed to rigorously test the optimal system under various load and solar irradiance conditions. The proposed model provides a practical and efficient approach for determining the optimal size of PV-battery systems, specifically tailored for utilities connected to the grid and incurring peak demand charges. Besides, the organizational flowchart of the simulation procedure in this study is shown in
Figure 1.
The main contribution of this study can be summarized as follows:
Development of a novel statistical model: We introduce a new statistical model specifically designed for optimizing PV-battery system sizes with a primary focus on peak demand reduction. This model addresses a critical gap in the current literature by considering both energy consumption and peak demand costs, which are essential factors for utility companies.
Incorporation of modified Monte Carlo Simulation: The study utilizes a modified Monte Carlo simulation approach to generate realistic and varied operational scenarios. This methodological innovation allows for a more understanding of PV-battery system performance under diverse conditions, enhancing the robustness of our optimization model.
Operational and financial analysis for utilities: By providing a method to effectively flatten up to 95% of daily load demand profiles, the model offers a practical tool for utility companies. It enables them to make informed decisions regarding the optimal sizing of PV-battery systems, balancing technical feasibility with financial viability.