Renewable energy generation and energy storage systems are considered key technologies for reducing greenhouse gas emissions. Energy system planning and operation requires more accurate forecasts of intermittent renewable energy resources that consider the impact of battery degradation on the system caused by the accumulation of charging and discharging cycles. In this study, a statistical model is presented for forecasting a day-ahead photovoltaic (PV) generation considering solar radiation and weather parameters. In addition, the technical performance of energy storage systems (ESS) should be evaluated by considering battery degradation that occurs during the charge and discharge cycles of the battery. In this study, a battery degradation model based on the data-driven method is used. Based on a suitable forecasting model, ESS scheduling is performed to charge the maximum amount of PV generation and discharge for the self-consumption of the customer load when PV generation ends. Since the battery is highly dependent on operating conditions such as depth of discharge, state of charge and temperature, two different ESS charge and discharge modes are proposed. From the simulation with the battery degradation model using parameters derived from experiments, we show that the battery is degraded along with charging cycles during testing periods. Variations in state of health are observed owing to the different characteristics of the battery according to the ESS operation modes, which are divided into the low and high SOC. Through experimental validation, it is proved that the state of charge (SOC), 0.45 is the optimal threshold that can determine the low and high SOC. Finally, the simulation results lead to the conclusion that the battery degradation in different operation modes should be taken into account to extend the end of life efficiently.