OPTIMAL CONFIGURATION FOR PHOTOVOLTAIC AND ENERGY STORAGE IN