OPTIMAL CAPACITY CONFIGURATION OF ENERGY STORAGE IN PV PLANTS