OPTIMAL CAPACITY DETERMINATION OF PHOTOVOLTAIC AND ENERGY STORAGE