Grid-connected energy storage systems : benefits, planning and operation