OPTIMAL ENERGY MANAGEMENT OF PHOTOVOLTAIC ENERGY STORAGE CHARGING