Energy Storage System Scheduling In Wind-Diesel Microgrids