AN OPTIMAL ENERGY STORAGE SYSTEM SIZING