Contribution of energy storage for large-scale integration of variable generation