OPTIMIZATION OF ENERGY STORAGE CAPACITY TO SMOOTH WIND POWER