基於深度學習預測太陽能未來3天之光伏發電量
Forecasting Photovoltaic of Solar Energy for The Next 3 Days Based on Deep Learning
摘要
本研究透過三種演算法:類神經網路(ANN)、長短期記憶模型(LSTM)和門控循環單元(GRU),利用氣象局資料、當地微氣象站資料以及混合型態資料(結合氣象局和當地微氣象站資料)當作輸入,楊梅案場太陽能板提供的光伏發電量當作輸出,去做太陽能未來三天之光伏發電量的預測並且做預測精準度的比較,目的為預測太陽能近期的發電量以利提供更有效地區域能源調度。本研究輸入的特徵包括溫度、相對溼度、降水量、平均風速以及紫外線指數,透過模型參數的調整找出預測效果最好的模型。研究結果顯示,使用GRU預測氣象局資料以及混合型態的精準度會最好,使用LSTM和GRU預測當地微氣象站資料會有相似的表現,但考量到訓練的時間,本研究會採用GRU做預測模型;而比較三種資料的預測精準度,使用微氣象站資料的效果會最好,其預測精準度分別為MAE:0.0577、RMSE:0.1199、MAPE:20.76%,主要是因為微氣象站缺失的資料比其他兩種資料少,其中MAPE的接受範圍根據Lewis [29]指出本研究的MAPE值介在21%-50%的合理範圍內。與其他文獻做比較後,可以發現本研究利用ANN預測的結果,MAPE會比Rehman和Mohandes [5]研究太陽能輻射線的結果為大;而利用LSTM和GRU預測的結果,MAE以及RMSE會比Bendali 等人[15]研究短期太陽能輻射線的結果為大,主要原因是本研究的資料來自於不穩定天氣並且資料量不足所造成。
In this study, we apply three types of the deep learning techniques: Artificial Neural Network (ANN), Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) to forecast the photovoltaic of solar energy for the next 3 days by using the data from the Central Weather Bureau (CWB), the local micro weather station, and the hybrid type, a combination of the CWB and the one from the local micro weather station, as the inputs. The PV data from the solar panels in Yangmei District as the outputs. The objective is to forecast the near-future PV power to provide the more effective regional power distributions. The input features include temperature, relatively humidity, rainfall, average wind speed, and UV index. Via the hyper-parameters tuning, it can find the model, which has the best prediction performance. The results showed that GRU prediction has the best performance by using the data from the CWB and the hybrid type. LSTM and GRU prediction have similar performance using the data from the local micro weather station. However, considering the training time, this study prefers GRU model. By comparing the prediction accuracies of three types of the data, it finds that using the data from the local micro weather station can achieve the best performance, in which MAE is 0.0577, RMSE 0.1199 and MAPE 20.76%. The reason is because the missing data from the local micro weather station are less than the other two. According to Lewis [29], it shows that the present MAPE value is within a reasonable range of 21% to 50%. Comparing these results with the corresponding literature, MAPE in this study using ANN is greater than the results of Rehman and Mohandes [5], and the MAE and RMSE using LSTM and GRU are both larger than the corresponding ones of Bendali et al. [15]. It is attributed to that the values of loss functions in these researches are better than those in this study, whose data used are from the unstable weather conditions and not enough.