Next Article in Journal
Ka-Band Marchand Balun with Edge- and Broadside-Coupled Hybrid Configuration
Next Article in Special Issue
Analysis of Challenges Due to Changes in Net Load Curve in South Korea by Integrating DERs
Previous Article in Journal
Impact of Meteorological Attenuation on Channel Characterization at 300 GHz
Previous Article in Special Issue
A Context-Aware IoT and Deep-Learning-Based Smart Classroom for Controlling Demand and Supply of Power Load
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Day-Ahead Forecasting for Small-Scale Photovoltaic Power Based on Similar Day Detection with Selective Weather Variables

1
Department of Electronic Engineering, Mokpo National University, Muan 58554, Korea
2
School of Electrical and Electronic Engineering, Gwangju University, Gwangju 61743, Korea
3
Department of Information and Electronic Engineering, Mokpo National University, Muan 58554, Korea
*
Author to whom correspondence should be addressed.
Electronics 2020, 9(7), 1117; https://doi.org/10.3390/electronics9071117
Submission received: 2 June 2020 / Revised: 2 July 2020 / Accepted: 7 July 2020 / Published: 9 July 2020

Abstract

:
As photovoltaic (PV) power plants are an essential component of modern smart grids, the PV generation forecasting of such plants has recently been gaining interest. The forecasting results of PV power often suffer from large errors because of unusual weather conditions. In a learning-based forecasting model, the forecasting accuracy can be enhanced by using carefully selected data for training rather than all the data without any screening. That is, using a training set that only contains information obtained from similar days can help enhance the accuracy of learning-based PV forecasting. This paper proposes a forecasting method for small-scale PV generation. This method is based on long short-term memory; further, it detects similar days considering the different impacts of weather variables on PV power according to the day. This method can address issues caused by unnecessary learning from non-similar historical days. The simulation results demonstrate that the proposed method exhibits better performance than do existing similar day detection methods.

1. Introduction

Photovoltaic (PV) power has attracted significant attention as an emission-free power source owing to increasing awareness about global warming. However, as more PV generators are integrated into power systems, uncertain and non-dispatchable PV power causes difficulties in the power systems [1,2]. In particular, several small-scale PV generators that are integrated in a distribution grid make it considerably difficult to maintain the operational security of the power systems. To address this issue, the accuracy of short-term forecasting models for PV power should be enhanced.
As PV power is largely dependent on weather conditions, most studies on short-term PV power forecasting (STPPF) are based on the data of predicted weather conditions [3]. Recent STPPF models can be categorized into statistical, learning-based, and hybrid techniques. In the statistical approach, PV power is treated as a time series, and past observations of PV power are used statistically by process models such as the vector auto-regression model [4], ordinary least square model [4], gradient boosting [4], extreme learning machine [5,6], empirical mode decomposition [6], and sine cosine algorithm [5]. Seasonal modeling and weather information are crucial for these approaches due to the characteristics of PV power fluctuations [7]. Owing to advancements in learning-based algorithms, many STPFF models [8,9,10,11,12] have started using learning-based research. They can be further classified into machine-learning- and deep-learning-based approaches. Support vector regression (SVR) [8] and artificial neural networks (ANNs) [9] are perfect examples of the machine-learning-based approach that can provide better performance even with few recorded datasets. Back-propagation neural networks (BPNNs) [10,11,12] and long short-term memory (LSTM) networks [13,14] represent deep-learning-based approaches, and they exhibit considerably better performance when several datasets are used in the training process. However, a BPNN has a higher chance to get stuck in local minima, and LSTM entirely depends upon the type of input PV training data even when the amount of input PV data is sufficiently large. Due to these issues, these forecasting methodologies deliver an average normalized mean absolute error (nMAE) in the range of 10–25%. Such problems are because the PV power changes with the weather conditions [15]. Therefore, the training set contains unnecessary data.
To address the potential problems of overfitting and underfitting, a few hybrid STPPF models have been developed [16,17,18,19,20,21,22,23]. In the hybrid approach, a specific type of day is detected, and then similar days are identified. The specific types of days are defined in PV power forecasting mostly based on weather conditions described in colloquial language, such as sunny, rainy, and cloudy days [16,17]. Moreover, some studies used numerical weather predictions (NWPs) to define similar days. In [15], two important variables were selected based on Euclidean distance (ED) to detect similar days. Statistical models such as statistical analysis software (like SPSS) [16], discrete wavelet transformation (DWT) [18], radial basis function [19], and wavelet packet distribution (WPD) [20] have also been used to define a specific type of day. Furthermore, learning-based clustering techniques such as support vector machine (SVM) [17], k-nearest neighbors (k-NN) [17], and self-organizing maps (SOMs) classification [21,22] have also been applied to extract similar weather days. The common goal for all these hybrid techniques is to seek similar days from historical data and, eventually, to create a new PV series for better training results. Consequently, these methodologies have an average forecasting nMAE of around 5–18%, merely depending upon a type of day. However, they still fail to effectively disclose daily forecasting results.
Although several methods have been developed in existing studies, an accurate method of similar day detection in PV power forecasting still remains undiscovered because different weather variables have different relationships with PV power generation. Some weather variables are highly correlated to the PV power and, hence, provide important information for accurate PV forecasting for all day types. However, other weather variables are correlated to the PV power only for certain day types. In other words, these variables provide important information to increase the forecasting accuracy for some days; however, they may cause overfitting problems for other days. That is, the impacts of weather variables on PV generation change as the type of a specific day is varied, and the most informative weather variables vary daily. Thus, to enhance the accuracy of learning-based PV forecasting, a proper training set should be developed that only contains information obtained from similar days considering the different impacts of weather variables on PV power for each day type.
This paper proposes a similar day detection (SDD) method for learning-based PV forecasting that deals with different impacts of weather variables on PV power for each day type. The proposed similar day detection method first classifies historical days into several groups by considering the similarity of PV power patterns. In addition, important weather variables are selected for each day type considering their different impacts on the PV power. Finally, a new PV series is created from the identified similar days, which is more repetitive and appropriate for the LSTM-based PV forecasting model.

2. Weather’s Impact on PV Power Forecasting

Several weather variables can be used for PV forecasting, such as temperature, humidity, wind speed, rain amount, daylight hours, and cloud cover. Further, different weather variables have different relationships with PV generation. Figure 1 shows the Pearson correlation coefficients between historical PV power and selected weather variables. In Figure 1, the correlation of each weather variable is changing day by day. For example, the average temperature is positively correlated to PV power on Day 1 and Day 4. In contrast, for Day 5 and Day 6, it is negatively correlated to PV power. These observations show the complicated and inconsistent relationship between PV power and weather variables. Figure 2 shows the distribution of the selected weather variables according to PV power, as observed in the southern region of Korea in 2015.
In Figure 2, the historical data are classified into different colored dots denoting three levels of PV power. As weather variables values are increased, the PV power tends to increase or decrease as shown in Figure 2a,b, respectively. The varying information from these weather variables is closely linked to the PV power for all generation levels. Hence, these variables can be used as an index to identify the types of days for all periods. In contrast, in Figure 2c,d, some weather variables show an influence on PV power only on days of a certain level of PV generation, and these weather variables provide some information of diversity and randomness on these days. Although these weather variables present complexity and uncertainty, they help deliver similar weather information for days of a certain level of PV generation.
For SDD, the following two types of weather variables for each day group, classified based on the PV power pattern, should be identified. One variable is highly correlated to the PV power and, hence, can be used for primary sorting to select groups of similar days. The other variables have some information only for day types with a specific generation pattern. Because these variables can interfere with the PV prediction of specific days, they should be selected by day group and used for secondary sorting to select similar days. Figure 3a,b describes the conventional method and proposed SDD method, respectively. To consider the impact of weather variables by PV power patterns, historical days are classified into several groups by their PV patterns, and different weather variables are used for each group of days to estimate their similarity to the target day. With this proposed strategy for detecting similar days, the training set is expected to contain the PV patterns of many similar days so that the forecasting model can provide more accurate results. The proposed similar day detection strategy is described in the following section.

3. Proposed Short-Term PV Power Forecasting

3.1. Classification of Days with Historical PV Generation

To reduce the probability of overfitting and underfitting problems in the learning-based forecasting model, the training set needs to be reduced so that it contains the generation patterns of days with similar PV generation and weather conditions. As the first step of selecting similar days, historical days are classified by considering the similarity of generation patterns. The historical generation pattern of PV power can be expressed as follows:
P = [ p 1 ,   p 2 ,   , p d , , p D ] ,
where vector p d is the hourly generation profiles of PV power on day d, and D represents the number of days of historical data.
To classify the days with similar historical generation patterns, a self-organizing map (SOM) and learning vector quantization (LVQ) based algorithm [24,25,26] is used in this study, which is a semi-supervised classification technique. The SOM and LVQ algorithm selects the closest node ( w d ) which represents the closest day for p d among the randomly distributed nodes ( w d ) . This algorithm then iteratively updates the closest node and explores the corresponding neighbors. The closest node is selected by the competitive learning rule of minimum Euclidean distance as follows:
w d = argmin   i p d w i .
Once the clustering model is sufficiently trained for all days d, each input p d is mapped into k different groups as an output. For each kth PV group, similar types of PV power generation are collected and can be mapped into group C k :
C k = [ p k , 1 ,   p k ,   2 ,   , p k ,   d , , p k , D , ] ,
where D is the number of similar PV power generation days for the clustering output PV group k. With this clustering, the historical days that have a similar generation pattern are classified into group k. Further, the historical NWPs of the days that belong to group k are defined as follows:
M k = [ m k , 1 1 , m k , 2 1 , , m k , d 1 , , m k , D 1 m k , 1 2 , m k , 2 2 , , m k , d 2 , , m k , D 2 m k , 1 j , m k , 2 j , , m k , d j , , m k , D j m k , 1 J , m k , 2 J , , m k , d J , , m k , D J ] ,
where m k , d j is the numerical prediction value of weather variable j on day d that belongs to group k; D and J are the number of days that belong to group k and the number of weather variables to be considered, respectively. For developing M k , various weather variables such as temperature, wind speed, rain amount, humidity, cloud cover, and daylight hours can be used.

3.2. Decomposition of Weather Variables

In this study, based on their relationship with PV generation, weather variables are classified into two types: primary weather variables (PWVs) and secondary weather variables (SWVs). The PWVs are highly correlated to PV generation for all days. PV generation can change greatly due to these variables as the difference in PWV values among the day groups is higher than that for the other weather variables. In contrast, the SWVs are correlated to PV generation only in a certain day group k. These variables give important information that increases the forecasting accuracy for some days; however, they cause overfitting issues in learning-based forecasting for other days.
Because of the high correlation between the PWVs and PV generation, there should be a high deviation between the day groups that are classified by the PV generation pattern. In this study, to identify the PWVs of a PV site, the deviations of each variable are estimated, and the variables of higher deviation are selected as PWVs. The deviation of variable j is calculated as the difference between the minimum and maximum averages of m k , d j   as follows:
r   j = max k ( m ¯ k j ) min k ( m ¯ k j ) ,   for   all   j ,
where r   j is the deviation of variable j and m ¯ k j is the average value of weather variable m k , d j in day group k. The average value m ¯ k j in Equation (5) can be calculated as follows:
m ¯ k j = 1 D d = 1 D m k , d j .
By using this deviation between the day groups, the weather variables with higher deviation ( r   j ) are selected as PWVs as follows:
p w v = {   j   |     r   j α } ,
where p w v is the set of indices of PWVs, and α is the PWV threshold used to select higher r   j . Figure 4 shows an example distribution of weather variables’ averages by day group.
In contrast, SWVs cannot provide the information needed to recognize huge changes in PV generation. Therefore, the deviation of SWV values among the day groups is less than that of PWVs. Although SWVs can increase the forecasting accuracy for some days, extension of the training set tends to give better results in learning-based methods. Since SWVs can cause overfitting in learning-based forecasting for some days, adequate SWVs should be selected for a certain day group k. This study estimates the deviations of each variable, and the variables with higher deviation are selected as the SWVs for a certain day group k. This is similar to the selection of PWVs; however, it is different in that it estimates the deviation of weather variables within a day group. The deviation of variable j for day group k is calculated as follows:
s k   j = max d ( m k , d j ) min d ( m k , d j ) .
The weather variables with higher deviation ( s k   j ) are SWVs, and they help further divide the day group. The SWVs for day group k are selected as follows:
s w v k = {   j   |     s k   j β } ,
where s w v k is the set of indices of SWVs of day group k and β is the SWV threshold to select higher s k   j .

3.3. Detection of Similar Days

The weather variables with higher r   j can give primary information to select similar days. With the similarity of PWVs, a similar day group k can be selected as follows:
argmin k j p w v | m ¯ k j m     D + 1 j | ,
where m D + 1 j is the forecasting value of variable j for the forecasting day. A similar day group k selected using Equation (10) includes days with similar PV generation and PWVs. However, similarity of all the days in the selected group k is not sufficient to increase the forecasting accuracy, because diversities of weather variables still exist in these days. To solve this problem, the SWVs can help us to identify the most similar days within the selected group k. For selecting the most similar days, the similarity of SWVs is estimated for the days in the selected group k as follows:
Φ k ,   d = j s w v k | m k , d j m D + 1 j | ,
where Φ k ,   d is the similarity between the SWVs of days in group k and the forecasting day. When a day has lower Φ k ,   d , the SWVs of the day are much closer to those of the forecasting day. Finally, only the profiles p k , d of the days with lower Φ k ,   d are used as the training set P i n ,
P i n = { p k , d   |   Φ k , d < γ } ,
where γ is the constant threshold to select higher Φ k , d . Using Equation (12), the most similar days are detected and collected in P i n .

3.4. LSTM-Based Day-Ahead PV Power Forecasting

The long short-term memory (LSTM) approach, one of the best versions of recurrent neural networks, can learn temporal relationships in a time series. Since the LSTM learning process has the ability to understand relationships among distant dependencies [27], the LSTM methodology is useful when the input sequential series contains a lot of repetitive patterns [13,20]. The PV generation of Equation (12) behaves as a strong stationary time series [28]. Therefore, it is more suitable for the LSTM network than the conventional PV generation series.
Figure 5 shows the structure of the training and testing sets of the proposed LSTM-based architecture. In Figure 5, series of PV generation on the selected similar days are expressed via elements p k , d = { p ( 1 , d ) , p ( 2 , d ) , , p ( t , d ) , , p ( 24 , d ) } . In the training set P i n , the selected time series of similar days is used instead of the original time series ( p d ) of PV generation. With this selection of training data, overfitting in the learning network can be mitigated so that the forecasting accuracy for PV generation can be improved.
For the LSTM network, the weight and bias of the forget, input, and output gates are updated in the form of gradient error signals. In addition, the input temporal patterns forming error signals link the appropriate values of PV generation after a certain time t through the gates and sigmoid activation functions. The forget gate controls which information needs to be forgotten from the previous cell state. The input gate decides which information needs to be updated in the cell state, and the output gate sends the right cell state as the output. To optimize the LSTM model, a root mean square is used for the training process as follows:
argmin d = 1 D | p d p ^ d | 2 ,
where D is the number of similar days, which is the length of the training set, and p ^ d is the predicted PV generation obtained from the LSTM. Figure 6 illustrates the procedure for the proposed PV generation forecasting.

4. Numerical Results and Discussion

4.1. PV Data Description and Implementation

The proposed method was tested using hourly recorded data gathered from a 1 MW PV site in Goheung, Korea, for one year (January 2015 to December 2015). The daily measurement of weather data is forecasted and announced by the Metrological Administration of South Korea. Most of the weather data were used without any modification. However, rain amount data of more than 50 mm were changed to 50 mm because PV generators are expected not to produce electrical power when the daily rain amount is more than 50 mm. Table 1 presents sample data of the eight daily weather variables that were used for the numerical simulation. Also, Table 2 presents the technical specifications of the PV power plants.
With the consideration of seasonal impact and data requirement issues [11,16,29], the training dataset was developed using the latest six-month data. Hence, for each time, the training dataset comprised PV data and NWPs of 180 days. Using this dataset, the results of the proposed method were compared with the results of [16,29] as well as with the results of other deep learning models [11,13,20]. The training simulation was performed in a Windows operating system on an I7-6700 CPU at 3.40 GHz with 16 GB installed RAM.
To evaluate the accuracy of forecasting results, we employed the normalized mean absolute percentage error (nMAE) and root-mean-square error (RMSE), which are calculated as follows:
n M A E = 1 T t = 1 T | p ^ D + 1 ,   t p D + 1 , t | P c a p a c i t y × 100 % ,
R M S E = 1 T t = 1 T ( p ^ D + 1 ,   t p D + 1 , t ) 2 ,
where p ^ D + 1 , t is the forecasting PV power at time t; p t is the actual PV power at time t; and P c a p a c i t y is the generation capacity of the PV site.
For clustering the PV power, the number of groups was set to be 6. To explore the PWVs and SWVs, thresholds α and β were both set to 0.5. The PV series that was extracted from the similar days was tested via Tensor-flow (backend), where the frontend was Python with the Keras library [30]. The tuning process of the appropriate hyper-parameters was inspired by [31,32,33,34,35]. The common hyper-parameters, such as the number of hidden layers, activation function, optimization algorithm, and number of nodes per layer, are summarized in Table 3. The additional hyper-parameters were set as follows: inner activation function was hard sigmoid, monitor function was validation loss, patience size was 3, and drop-out was 0.5. The fully connected layer was attached to the output layer of the LSTM. Each time, one-hour predicted PV power values were obtained from the fully connected layer. The dataset was split into a validation set (3 days), testing set (1 day), and training set (remaining days) for each day of the week.

4.2. Results of Day-Ahead PV Forecasting

Figure 7 and Table 4 show the forecasting results with and without the proposed similar day detection method for a few selected weeks (peak load season of Korea). For the cases without the proposed similar day detection, forecasting models based on SVR, BPNN, and LSTM were tested, and each network was trained via back-propagation with mean squared error as the loss function. Figure 7 shows that the forecasting results with the proposed method are generally closer to the actual PV power than others. As summarized in Table 4, by using the proposed similar day detection, the average nMAE and average RMSE were improved by a minimum of 2% and 20 kWh, respectively. Thus, in conclusion, the proposed forecasting method can significantly improve the forecasting accuracy when compared to other forecasting models without similar day detection.
For each testing day, the computational times for the similar day detection and LSTM networks were about 2 minutes and 15 minutes, respectively. The entire computational time of the proposed hybrid technique was substantially lower than that of the conventional LSTM-based network.

4.3. Comparison with Existing SDD Models

This section compares the results of the proposed similar day detection and two other similar day detection methods (SDD-A and SDD-B). The similar day detection methods SDD-A and SDD-B were built by referring to [9,21,29], respectively. To check the efficacy of the proposed similar day detection method, we arbitrarily picked four weeks each in the summer, autumn, and winter seasons.
Figure 8 shows the daily average nMAE and RMSE of the proposed PV power forecasting for the four selected weeks of each season. On most days, the proposed forecasting method significantly improved the forecasting accuracy when compared to SDD-A and SDD-B. The forecasting nMAE and RMSE are often varied because the type of day can vary day by day. This is because forecasting performance depends not only on weather conditions but also on the collection of most similar days and the hyper-parameter tuning process of the LSTM network.
Table 5 shows the weekly average nMAE and RMSE of PV power forecasting for the four selected weeks of each season. In summer, the proposed model reported a 5.86% nMAE, which was lower than SDD-B (with BPNN) with a 6.94% nMAE. In autumn, when the PV generation level is higher, the proposed model reported a 6.43% nMAE, which was lower than SDD-A (with SVR) with a 7.85% nMAE. Similarly, in winter, when the PV generation level is lower, the proposed model reported a 6.60% nMAE, which was lower than SDD-A (with SVR) with an 8.16% nMAE. The summary in Table 5 shows that the proposed method improved the forecasting accuracy by about 2 percent throughout the study period. A similar level of improvement was seen while evaluating the performance of forecasting using the RMSE metric. Thus, the evaluation demonstrates that the PV forecasting model can deliver better performance by training only with data from the proposed similar day detection.

4.4. Impact of γ

Figure 9 shows the PV forecasting results with different γ values for selected weeks of summer, autumn, and winter. In the summer and autumn seasons, more accurate forecasting can be expected when the parameter γ is set to be around 1.7. However, in the winter season, more accurate forecasting can be expected with the parameter γ set to be around 1.6, which is lower than the cases of summer and autumn. The higher value of γ provides more training data to the LSTM, so that the LSTM has a greater chance to learn the PV characteristics, However, more training data can increase internal variance in the training set, which can cause overfitting of the hyper-parameters of the LSTM, degrading the optimal learning of the LSTM. Therefore, it is necessary to explore the optimal γ value as it can vary with seasonal weather conditions.

5. Conclusions

In this paper we proposed a forecasting method for small-scale PV generation based on LSTM combined with a similar day detection method that considers the different impacts of weather variables on PV power by day type. In the proposed method, important weather variables are selected for each day group that is classified by considering the similarity of PV power patterns. With the selected weather variables, this method identifies similar days which are repetitive and thus appropriate to the LSTM-based PV forecasting model. By using the proposed method, forecasting accuracy for small-scale PV generation can be improved. The test results indicated that the proposed method can deliver a notable improvement by training solely with data obtained from similar days. This method can be used for operation of a distribution grid with accurate forecasting of distributed PV generation. In future work, this study will be extended to very-short-term PV power forecasting by including more weather parameters and by considering the relationships between the physical characteristics of PV generators and weather variables.

Author Contributions

For this research, S.K.A. developed the idea of PV forecasting framework, performed the simulation, and wrote the paper. Y.-M.W. helped organize the article. J.L. provided guidance for the research and revised the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. 2019R1H1A1080137). This research was also supported by Korea Electric Power Corporation (Grant number: R18XA04).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cohen, M.A.; Callaway, D.S. Effects of Distributed PV Generation on California’s Distribution System, Part 1: Engineering Simulations. Sol. Energy 2016, 128, 126–138. [Google Scholar] [CrossRef]
  2. Woyte, A.; Van Thong, V.; Belmans, R.; Nijs, J. Voltage Fluctuations on Distribution Level Introduced by Photovoltaic Systems. IEEE Trans. Energy Convers. 2006, 21, 202–209. [Google Scholar] [CrossRef]
  3. Das, U.K.; Tey, K.S.; Seyedmahmoudian, M.; Mekhilef, S.; Idris, M.Y.I.; Van Deventer, W.; Horan, B.; Stojcevski, A. Forecasting of Photovoltaic Power Generation and Model Optimization: A review. Renew. Sustain. Energy Rev. 2018, 81, 912–928. [Google Scholar] [CrossRef]
  4. Bessa, R.J.; Trindade, A.; Miranda, V. Spatial Temporal Solar Power Forecasting for Smart Grids. IEEE Trans. Ind. Inform. 2014, 3203, 232–241. [Google Scholar] [CrossRef]
  5. Wan, C.; Lin, J.; Song, Y.; Xu, Z.; Yang, G. Probabilistic Forecasting of Photovoltaic Generation: An Efficient Statistical Approach. IEEE Trans. Power Syst. 2017, 32, 2471–2472. [Google Scholar] [CrossRef] [Green Version]
  6. Behera, M.K.; Nayak, N. A Comparative Study on Short Term PV Power Forecasting Using Decomposition Based Optimized Extreme Learning Machine Learning Algorithm. Eng. Sci. Technol. Int. J. 2019, 23, 156–167. [Google Scholar] [CrossRef]
  7. Han, Y.; Wang, N.; Ma, M.; Zhou, H.; Dai, S.; Zhu, H. A PV Power Interval Forecasting Based on Seasonal Model and Nonparametric Estimation Algorithm. Sol. Energy 2019, 184, 515–526. [Google Scholar] [CrossRef]
  8. Alfadda, A.; Adhikari, R.; Kuzlu, M.; Rahman, S. Hour-Ahead Solar PV power forecasting Using SVR Based Approach. In Proceedings of the 2017 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 23–26 April 2017; pp. 1–5. [Google Scholar]
  9. Li, Z.; Rahman, S.M.; Vega, R.; Dong, B. A Hierarchical Approach Using Machine Learning Methods in Solar Photovoltaic Energy Production Forecasting. Energies 2016, 9, 55. [Google Scholar] [CrossRef] [Green Version]
  10. Ding, M.; Wang, L.; Bi, R. An ANN-Based Approach for Forecasting the Power Output of Photovoltaic System. Procedia Environ. Sci. 2011, 11, 1308–1315. [Google Scholar] [CrossRef] [Green Version]
  11. Hu, Y.; Lian, W.; Dai, S.; Zhu, H. A Seasonal Model Using Optimized Multi-Layer Neural Networks to Forecast Power Outputs of PV Plants. Energies 2018, 11, 326. [Google Scholar] [CrossRef] [Green Version]
  12. Huang, C.; Cao, L.; Peng, N.; Li, S.; Zhang, J.; Wang, L.; Luo, X.; Wang, J. Day-Ahead Forecasting of Hourly Photovoltaic Power Based on Robust Multilayer Perceptron. Sustainability 2018, 10, 4863. [Google Scholar] [CrossRef] [Green Version]
  13. Jung, Y.; Jung, J.; Kim, B.; Han, S. Long Short-Term Memory Recurrent Neural Network for Modelling Temporal Patterns in Long-Term Power Forecasting for Solar PV Facilitates: Case Study of South Korea. J. Clean. Prod. 2020, 250, 119476. [Google Scholar] [CrossRef]
  14. Lee, D.; Kim, K. Recurrent Neural Network-Based Hourly Prediction of Photovoltaic Power Output Using Meteorological Information. Energies 2019, 12, 215. [Google Scholar] [CrossRef] [Green Version]
  15. Zhang, Y.; Beaudin, M.; Taheri, R.; Zareipour, H.; Wood, D. Day-Ahead Power Output Forecasting for Small-Scale Solar Photovoltaic Electricity Generators. IEEE Trans. Smart Grids 2015, 6, 2253–2262. [Google Scholar] [CrossRef]
  16. Cheng, K.; Guo, L.M.; Zafar, M.T. Application of Clustering Analysis in the Prediction of Photovoltaic Power Generation Based on Neural Network. IOP Conf. Ser. Earth Environ. Sci. 2017, 93, 012024. [Google Scholar] [CrossRef]
  17. Wang, F.; Zhen, Z.; Wang, B.; Mi, Z. Comparative Study on KNN and SVM Based Weather Classification Models for Day Ahead Short-Term Solar PV Power Forecasting. Appl. Sci. 2018, 8, 28. [Google Scholar] [CrossRef] [Green Version]
  18. Nazaripouya, H.; Wang, B.; Wang, Y.; Chu, P.; Pota, H.R.; Gadh, R. Univariate Time Series Prediction of Solar Power Using a Hybrid Wavelet-ARMA-NARX Prediction Method. In Proceedings of the 2016 IEEE/PES Transmission and Distribution Conference and Exposition (T&D), Dallas, TX, USA, 3–5 May 2016; pp. 1–5. [Google Scholar]
  19. Lu, H.J.; Chang, G.W. A Hybrid Approach for Day-ahead Forecast of PV power Generation. Int. Fed. Autom. Control-Pap. Online 2018, 51, 634–638. [Google Scholar] [CrossRef]
  20. Li, P.; Zhou, K.; Lu, X.; Yang, S. A Hybrid Deep Learning Model for Short-Term PV Power Forecasting. Appl. Energy 2019, 259, 114216. [Google Scholar] [CrossRef]
  21. Yang, H.T.; Huang, C.M.; Huang, Y.C.; Pai, Y.S. A Weather-Based Hybrid Method for 1-day Ahead Hourly Forecasting of PV Power Output. IEEE Trans. Sustain. Energy 2014, 5, 917–926. [Google Scholar] [CrossRef]
  22. Dong, Z.; Yang, D.; Reindl, T.; Walsh, W.M. A Novel Hybrid Approach Based on Self-Organizing Maps, Support Vector Regression and Particle Swarm Optimization to Forecast Solar Irradiance. Energy 2015, 82, 570–577. [Google Scholar] [CrossRef]
  23. Massucco, S.; Mosaico, G.; Saviozzi, M.; Silvestro, F. A Hybrid Technique for Day-Ahead PV Generation Forecasting Using Clear-Sky Models or Ensemble of Artificial Neural Networks According to a Decision Tree Approach. Energies 2019, 12, 1298. [Google Scholar] [CrossRef] [Green Version]
  24. Kohonen, T. The Self-Organizing Maps. Proc. IEEE 1990, 78, 1464–1480. [Google Scholar] [CrossRef]
  25. Kohonen, T. Essentials of the self-organizing map. Neural Netw. 2013, 37, 52–65. [Google Scholar] [CrossRef] [PubMed]
  26. Chang, L.-C.; Amin, M.Z.M.; Yang, S.-N.; Chang, F.-J. Building ANN-Based Regional Multi-Step-Ahead Flood Inundation Forecast Models. Water 2018, 10, 1283. [Google Scholar] [CrossRef] [Green Version]
  27. Pattanayek, S. Pro Deep Learning with TensorFlow: A Mathematical Approach to Advanced Artificial Intelligence in Python, 1st ed.; Apress: New York, NY, USA, 2017; pp. 223–251. [Google Scholar]
  28. Box, G.E.P.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control, 5th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2015; pp. 21–176. [Google Scholar]
  29. Xu, R.; Chen, H.; Sun, X. Short-Term Photovoltaic Power Forecasting with Weighted Support Vector Machine. In Proceedings of the IEEE International Conference on Automation and Logistics (ICAL), Zhengzhou, China, 15–17 August 2012. [Google Scholar]
  30. Pedregosa, F.; Varoquax, G.; Gramfort, A. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  31. Zhang, W.; Quan, H.; Srinivasan, D. An Improved Quantile Regression Neural Network for Probabilistic Load Forecasting. IEEE Trans. Smart Grid 2019, 10, 4425–4434. [Google Scholar] [CrossRef]
  32. Ogliari, E.; Niccolai, A.; Leva, S.; Zich, R.E. Computational Intelligence Techniques Applied to the Day Ahead PV Output Power Forecast: PHANN, SNO and Mixed. Energies 2018, 11, 1487. [Google Scholar] [CrossRef] [Green Version]
  33. Ozaki, Y.; Yano, M.; Onishi, O. Effective Hyper-Parameter Optimization using Nelder–Mead Method in Deep Learning. PSJ Trans. Comput. Vis. Appl. 2017, 9, 20–25. [Google Scholar] [CrossRef] [Green Version]
  34. Acharya, S.K.; Min, Y.M.; Lee, J. Short-term Load Forecasting for a Single Household Based on Convolution Neural Networks Using Data Augmentation. Energies 2019, 12, 3560. [Google Scholar] [CrossRef] [Green Version]
  35. Kim, J.; Cho, S.B. Evolutionary Optimization of Hyper-parameters in Deep Learning Models. In Proceedings of the 2019 IEEE Congress on Evolutionary Computation (CEC), Wellington, New Zealand, 10–13 June 2019. [Google Scholar]
Figure 1. Correlation coefficients between photovoltaic (PV) power and weather variables: (a) average temperature, (b) rain amount, (c) daylight hours, and (d) cloud cover.
Figure 1. Correlation coefficients between photovoltaic (PV) power and weather variables: (a) average temperature, (b) rain amount, (c) daylight hours, and (d) cloud cover.
Electronics 09 01117 g001
Figure 2. Distribution of weather variables according to PV power: (a) daylight hours, (b) cloud cover, (c) rain amount, and (d) average temperature.
Figure 2. Distribution of weather variables according to PV power: (a) daylight hours, (b) cloud cover, (c) rain amount, and (d) average temperature.
Electronics 09 01117 g002
Figure 3. Overview of similar day detection strategies: (a) conventional method and (b) proposed method.
Figure 3. Overview of similar day detection strategies: (a) conventional method and (b) proposed method.
Electronics 09 01117 g003
Figure 4. Example distribution of weather variables averaged by day group.
Figure 4. Example distribution of weather variables averaged by day group.
Electronics 09 01117 g004
Figure 5. Structure of the training and testing data for the proposed method.
Figure 5. Structure of the training and testing data for the proposed method.
Electronics 09 01117 g005
Figure 6. The overall procedure of the proposed PV power forecasting method.
Figure 6. The overall procedure of the proposed PV power forecasting method.
Electronics 09 01117 g006
Figure 7. Results of PV power forecasting with and without the proposed similar day detection (SDD).
Figure 7. Results of PV power forecasting with and without the proposed similar day detection (SDD).
Electronics 09 01117 g007
Figure 8. Daily normalized mean absolute error (nMAE) and root-mean-square error (RMSE) of PV power forecasting with different SDD methods. (a) Summer, (b) autumn, and (c) winter.
Figure 8. Daily normalized mean absolute error (nMAE) and root-mean-square error (RMSE) of PV power forecasting with different SDD methods. (a) Summer, (b) autumn, and (c) winter.
Electronics 09 01117 g008
Figure 9. Results of PV power forecasting with different γ values. (a) Summer, (b) autumn, and (c) winter.
Figure 9. Results of PV power forecasting with different γ values. (a) Summer, (b) autumn, and (c) winter.
Electronics 09 01117 g009
Table 1. Weather data used in the numerical simulation.
Table 1. Weather data used in the numerical simulation.
Numerical Weather Predictions (NWPs) of Weather Parameters
DateAvg. Temp (°C)Min. Temp (°C)Max. Temp (°C)Wind Speed (m/s)Rain (mm)Humidity (%)Day-Light HoursCloud Cover (max. 10)
1−1.4−3.1−0.48.80888.53.6
21−1.356.60.177.89.55
30.40.45.61.4079.684.9
36534.87.435.880.94.76.4
Table 2. Technical specifications of the photovoltaic (PV) system.
Table 2. Technical specifications of the photovoltaic (PV) system.
Technical SpecificationValue
Module typePolycrystalline
Module capacity240 W
Total installed capacity1 MW
Installation typeFixed
Module efficiency14.4%
Inverter efficiency96%
Plant locationGoheung-Gun, South Korea
Location coordinates34.61° N, 127.28° E
Table 3. Hyper-parameters for selected models.
Table 3. Hyper-parameters for selected models.
ModelHidden LayersActivationOptimizationNodes
Per Layer
No. of IterationsTesting Samples
SVRN/AN/ASMON/Adefault16-h
BPNN2ReLURMSprop2415016-h
LSTM2sigmoid, tanhRMSprop2050016-h
Table 4. Normalized mean absolute error (nMAE) and root-mean-square error (RMSE) of PV power forecasting with and without the proposed similar day detection (SDD).
Table 4. Normalized mean absolute error (nMAE) and root-mean-square error (RMSE) of PV power forecasting with and without the proposed similar day detection (SDD).
DaynMAE (%)RMSE (kWh)
SVRBPNNLSTMProposedSVRBPNNLSTMProposed
19.787.4910.855.86122.03116.2145.5974.26
29.0210.8810.855.36109.90135.42145.5959.49
39.397.7513.256.19118.4298.69195.8181.79
45.5912.199.228.4388.47188.57140.75118.24
58.389.5512.354.91110.66142.30164.3160.17
68.663.1114.025.72116.0846.41195.2170.45
77.093.1611.512.9893.3646.7170.9138.13
87.185.468.593.96102.9972.15139.4548.44
96.053.689.664.0784.9657.43145.2553.52
105.644.7910.663.578.9868.88107.9343.76
115.804.559.443.5378.7758.89118.7041.95
126.509.246.0810.14100.44125.25101.61155.39
1316.9313.158.276.98222.64179.85115.4496.93
149.978.088.349.92135.93129.00110.60141.60
Table 5. Weekly nMAE and RMSE of PV power forecasting with different SDD methods.
Table 5. Weekly nMAE and RMSE of PV power forecasting with different SDD methods.
WeeknMAE (%)RMSE (kWh)
SDD-A (w/SVR)SDD-B (w/BPNN)SDD-B (w/LSTM)ProposedSDD-A (w/SVR)SDD-B (w/BPNN)SDD-B (w/LSTM)Proposed
Summer (August)17.598.407.806.0499.00109.6496.7180.19
26.035.415.115.0277.2776.0865.8164.01
310.996.617.576.05152.4899.21107.8583.87
49.587.337.556.33138.53103.50107.4288.97
average8.556.947.015.86116.8297.1194.4579.26
Autumn (October)17.2210.3911.525.41104.33150.90160.2375.67
29.7611.8612.027.78147.19177.11184.14121.53
36.667.296.315.7183.52110.1484.8282.81
47.767.628.646.82105.86108.92136.7792.93
average7.859.299.626.43110.23136.77141.4993.24
Winter (December)19.246.406.446.16145.8492.0487.8993.22
27.239.0310.767.71111.25142.51163.56110.28
37.379.6310.646.22122.41158.35169.2994.26
48.809.679.136.30125.80157.36155.1790.64
average8.168.689.246.60126.33137.57143.9897.10

Share and Cite

MDPI and ACS Style

Acharya, S.K.; Wi, Y.-M.; Lee, J. Day-Ahead Forecasting for Small-Scale Photovoltaic Power Based on Similar Day Detection with Selective Weather Variables. Electronics 2020, 9, 1117. https://doi.org/10.3390/electronics9071117

AMA Style

Acharya SK, Wi Y-M, Lee J. Day-Ahead Forecasting for Small-Scale Photovoltaic Power Based on Similar Day Detection with Selective Weather Variables. Electronics. 2020; 9(7):1117. https://doi.org/10.3390/electronics9071117

Chicago/Turabian Style

Acharya, Shree Krishna, Young-Min Wi, and Jaehee Lee. 2020. "Day-Ahead Forecasting for Small-Scale Photovoltaic Power Based on Similar Day Detection with Selective Weather Variables" Electronics 9, no. 7: 1117. https://doi.org/10.3390/electronics9071117

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop