Energy Storage System Optimization And Control With Wind Energy