The impact of abnormal photovoltaic slicing on batteries