Absract: The time characteristic of wind power output is one of the important factors that restrict the absorption of wind power. In this paper, the main purpose is to improve the utilization rate of wind power. Battery energy storage system is used to absorb the wind abandonment, and many benefits of energy storage in the operation process are analyzed, such as wind power Grid-connected benefits, environmental protection benefits and so on. According to the time series characteristics of wind speed, a large number of scenarios are generated and the scenario reduction technology based on KD distance is used to synthetically consider the benefit items and energy storage costs, so as to obtain comprehensive benefits with universality. Based on this goal, a model is constructed to optimize the capacity allocation of energy storage.In this paper, a mutually exclusive technology is proposed to optimize the operation strategy of energy storage. By introducing 0-1 auxiliary variables, considering the interrelated characteristics of charging and discharging power and over-limit power of energy storage during operation, the piecewise function representing the operation strategy of energy storage is linearized, thus significantly reducing the calculation time of the system. The effectiveness of the proposed method is verified by an example.