摘要:Improving the accuracy of wind power forecasting is an important measure to deal with the uncertainty and volatility of wind power. Wind speed and wind direction are the most important factors affecting the power generation of wind turbines. In this paper, we propose a wind power forecasting method that combines the sparrow search algorithm (SSA) with the deep extreme learning machine (DELM). Based on the DELM model, the length of the time series’ influence on the performance of the neural network is validated through the comparison of the forecast error indexes, and the optimal time series length of the wind power is determined. The sparrow search algorithm is used to optimize its parameters to solve the problem of random changes in model input weights and thresholds. The proposed SSA-DELM model is validated using the measured data of a certain wind turbine, and various forecasting indexes are compared with several current wind power forecasting methods. The experimental results show that the proposed model has better performance in ultra-short-term wind power forecasting, and its coefficient of determination (<i>R</i>²), mean absolute error (MAE), and root mean square error (RMSE) are 0.927, 69.803, and 115.446, respectively.