Renewable Energy Sources (RESs) to shift to a future with decarbonized energy supply and improving energy efficiency [4]. Thus, the electric power generation is undergoing a new evolution phase, which is highly characterized by a transition from hydrocarbon based energy to the post-petroleum-based sources [5]. Regarding the economic aspects, the RESs provide affordable electricity and can help in stabilizing energy prices in the future. In particular, the recent decrease in the cost of Photovoltaic (PV) makes it an economically and environmentally beneficial solution at the residential level [6]. This situation prompts scientists and researchers around the world to work on the integration of RESs into the grid [7]. Nevertheless, the inherent dependency of RESs on climatic and weather conditions makes it an intermittent and stochastic energy source, which threatens the balance between generation and demand, and thus it potentially leads to instabilities on the grid. Moreover, the high penetration of grid-connected residential PV units poses tremendous technical challenges to the distribution grid, which has not been sized accordingly. Indeed, the excess of PV generation induces voltage rise and imbalance [8]. These challenges could be tackled by the use of Energy Storage Systems (ESSs) that facilitate the management of the power system with high RES penetration by providing extra flexibility [9; 10]. In that regard, the ESSs are key elements in the renewable energy-driven systems and they could be used to store excess energy from generation sources and improve the balance between generation and demand with a local consumption of electricity [9]. Among the various ESS technologies, Battery Energy Storage Systems (BESSs) have drawn considerable attention through their massive advantages, such as fast response, controllability, and geographical independence [10]. Furthermore, the integration of RESs and BESSs in power systems is an effective method to perform peak shaving, load leveling, Demand Response (DR), voltage regulation, frequency regulation, and other ancillary services [8; 11; 12]. In addition, the transition from traditional power systems to the Smart Grid (SG) solution requires considerable scientific effort. However, one of the main drawbacks of the PV-battery systems is their relatively high capital cost as compared to conventional energy sources [8]. Therefore, the sizing of PV units and the battery of the ESS to meet a given demand is crucial in the system design phase. In this regard, [PERSON] et al. [13] investigated, in detail, how the PV unit size and battery capacity affect the performance of the system and the cost metrics; in particular, they demonstrated that, with appropriate sizing, the PV-battery systems can be more affordable than PV systems alone. Similarly, [PERSON] et. al. [11] highlighted that the combination of solar energy and storage units could be a good opportunity to increase the value of renewable power generation, secure grid stability, improve asset utilization, potentially reduce emissions, provide demand load-shifting and ancillary services, and increase both the levelized value and the levelized cost of PV generation units. [PERSON] et al. [12] performed an optimal sizing of a PV-battery system, minimizing the Levelized Cost Of Electricity (LCOE), which refers to the average cost per kWh that is supplied to the load. In addition, the technical challenges, such as voltage stability, have been considered as well for optimizing the system operation. [PERSON] et al. [14] investigated the minimization of the operational cost and maximization of voltage stability of a grid-connected PV-battery by employing a multi-objective optimization algorithm. [PERSON] et al. [15] applied the Genetic Algorithm (GA) to preserve the system voltage profile by minimizing Voltage Deviations (VDs). The authors reported that VD could be substantially lowered by 71% when the ESS smooths the fluctuating output of PV generation.