Abstract:
The long short-term memory network(LSTM) model has the problem of long time consumption or low accuracy when applied to the prediction of photovoltaic power generation. A photovoltaic power power prediction model based on the grey wolf algorithm(GWO) optimized gated recurrent unit(GRU) was proposed. The photovoltaic power prediction model is established by the approximate optimal hyperparameter, which is obtained by the GWO algorithm. The results show that in terms of long-term power prediction, the GWO-GRU model has lower root mean square error, higher fitting coefficients, and less time consumption, with an average absolute error reduction of 10.20% compared to traditional LSTM models. In terms of short-term power prediction, the GWO-GRU model not only has the lowest average prediction error and the strongest stability under three typical weather conditions, but also saves 17.24% of the average time compared to the GWO-LSTM model. Power predictions of different durations indicate that GWO-GRU performs better in predicting photovoltaic power compared to LSTM.