Next Article in Journal
Modeling the Impact of Modified Inertia Coefficient (H) due to ESS in Power System Frequency Response Analysis
Next Article in Special Issue
Calculating the Energy Yield of Si-Based Solar Cells for Belgium and Vietnam Regions at Arbitrary Tilt and Orientation under Actual Weather Conditions
Previous Article in Journal
Application of Specific Energy in Evaluation of Geological Conditions Ahead of Tunnel Face
Previous Article in Special Issue
A Partially Amended Hybrid Bi-GRU—ARIMA Model (PAHM) for Predicting Solar Irradiance in Short and Very-Short Terms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Daily Photovoltaic Power Prediction Enhanced by Hybrid GWO-MLP, ALO-MLP and WOA-MLP Models Using Meteorological Information

1
Department of Electrical and Electronics Engineering, Faculty of Technology, Gazi University, Ankara 06500, Turkey
2
Department of Electrical and Electronics Engineering, Faculty of Engineering and Architecture, Nevsehir Haci Bektas Veli University, Nevsehir 50300, Turkey
*
Author to whom correspondence should be addressed.
Energies 2020, 13(4), 901; https://doi.org/10.3390/en13040901
Submission received: 2 January 2020 / Revised: 10 February 2020 / Accepted: 15 February 2020 / Published: 18 February 2020

Abstract

:
Solar energy is a safe, clean, environmentally-friendly and renewable energy source without any carbon emissions to the atmosphere. Therefore, there are many studies in the field of solar energy in order to obtain the maximum solar radiation during the day time, to estimate the amount of solar energy to be produced, and to increase the efficiency of solar energy systems. In this study, it was aimed to predict the daily photovoltaic power production using air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation parameters as multi-tupled inputs. For this purpose, grey wolf, ant lion and whale optimization algorithms were integrated to the multilayer perceptron. In addition, the effects of sigmoid, sinus and hyperbolic tangent activation functions on the prediction performance were analyzed in detail. As a result of overall accuracy indictors achieved, the grey wolf optimization algorithm-based multilayer perceptron model was found to be more successful and competitive for the daily photovoltaic power prediction. Furthermore, many meaningful patterns were revealed about the constructed models, input tuples and activation functions.

Graphical Abstract

1. Introduction

According to the Renewables 2019 Global Status Report [1], the global renewable power capacity reached 2.378 GW by the end of 2018 and more than 33% of world’s total power generation was covered by renewable energy sources. During 2018, new capacity additions accounted for 55% from solar photovoltaic power, 28% from wind power, and 11% from hydropower. Especially, solar photovoltaic power achieved the high penetration level with around 100 GW addition. As a result, solar photovoltaic power became the world’s fastest-growing renewable energy in 2018. Despite being the most competitive option for electricity generation, it is still needed to predict the photovoltaic power generation for energy trading.
Li et al. tuned a support vector machine with a hybrid improved multi-verse optimizer for photovoltaic output prediction. Historical power generation data and weather type were processed, and the MSE value was decreased by at least 0.0012 [2]. Behera et al. applied an accelerated particle swarm optimization-based extreme learning machine to predict photovoltaic power, and the MAPE accuracy was obtained as 1.4440% [3]. Eseye et al. developed a wavelet-particle swarm optimization-support vector machine model based on SCADA data and meteorological information, and the NMAE value was found as 0.4 [4]. Koster et al. characterized the photovoltaic reference systems for regionalized photovoltaic power prediction, and the MD value was reduced 1.1% of the nominal power [5]. Douiri tuned a Takagi–Sugeno neuro-fuzzy system with the particle swarm optimization algorithm in order to represent the photovoltaic characteristics, and average errors were reduced one fourth with respect to the genetic algorithm-based model [6]. Larson et al. proposed a prediction method based on the least-squares optimization of numerical weather prediction. The rRMSE was found to be in the range of 10.3–14% utilizing global horizontal irradiance and photovoltaic power output data [7]. El-Baz et al. facilitated the integration of the probabilistic predictions with energy management system algorithms and demand side management algorithms. The prediction skill rose to 48.6% in comparison to the persistence model [8].
Hu et al. utilized the ground-based cloud images for ultra-short-term photovoltaic power prediction. The MAE and MAPE values were decreased as 83.4 W and 7.4%, respectively by radial basis functions [9]. VanDeventer et al. proposed a genetic algorithm-based support vector machine model for the short-term power prediction of a residential photovoltaic system. Air temperature, solar irradiance and photovoltaic power data were used as the input variables, and the RMSE and MAPE accuracies reached 11.226 W and 1.7052%, respectively [10]. Dong et al. developed a filter-based expectation-maximization and Kalman filtering mechanism for estimating the system parameters and state variables of photovoltaic systems. The developed model outperformed uniform uncertain basis, Gaussian uncertain basis and Laplace uncertain basis models in terms of the NRMSE accuracy in short term photovoltaic power prediction [11].
Gao et al. proposed a long-short-term memory networks for day-ahead photovoltaic power prediction. The daily average meteorological data predicted by numerical weather prediction was utilized as the input variables, and the RMSE accuracy reached 4.62% for ideal weather conditions [12]. Gulin et al. developed a neural network static/dynamic online corrector to predict the one-day-ahead photovoltaic array power production, and the standard deviation of the error in power production prediction was decreased as 50% [13]. Wang et al. hybridized the convolutional neural network and long-short-term neural network models for day-ahead photovoltaic power prediction, and hybrid networks mostly worked better than single models using photovoltaic time series data [14]. Wang et al. suggested a partial functional linear regression model in order to predict the daily power output of photovoltaic systems. Global horizontal irradiance and photovoltaic array power output data were used, and the MAD value was reduced as 40.6277 [15]. Han et al. combined the copula function and long-short-term memory network for mid-to-long term prediction of photovoltaic power generation. Measured power and meteorological data were utilized, and the NRMSE value was decreased by 10.01% [16]. Yang et al. applied the space fusion prediction with/without similar cloudy modification for the photovoltaic output power, and the RAE and RMSE accuracies were optimized under different weather conditions [17]. Wang et al. hybridized the wavelet transform, deep convolutional neural network and quantile regression for the probabilistic prediction of photovoltaic power, and the RMSE value was computed as 14.3381 for seasonal photovoltaic power prediction [18]. Autoregressive integrated moving average, autoregressive integrated moving average with exogenous inputs, multiple reservoirs echo state networks, etc. models were also used for the photovoltaic power prediction in the literature [19,20,21].
Different from the studies in the literature, the main contribution of this study is to develop the novel hybrid approaches by integrating grey wolf, ant lion and whale optimization algorithms with multilayer perceptron models, and to implement them for the first time in the daily photovoltaic power prediction. Another important contribution is to employ the air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation parameters in 4-, 3- and 2-tupled meteorological input structure. The effects of hybrid approaches and multi-tupled meteorological inputs on the prediction performance were revealed in an extensive manner. In addition, all of the prediction results achieved were compared with the persistence reference model for a proper benchmark test. As a result, the hybrid prediction models developed show high success in the daily photovoltaic power prediction.
This paper is organized as follows: Section 2 explains the hybrid prediction models developed for daily photovoltaic power prediction. Section 3 introduces the detailed prediction results in terms of different accuracy measures. Finally, conclusions are provided in Section 4.

2. Hybrid Prediction Models Developed

In this section, multilayer perceptron and grey wolf, ant lion and whale optimization algorithms, which are utilized in the stage of developing the hybrid prediction models, are explained in detail. The architecture of the training sample is shown in Figure 1. Grey wolf, ant lion and whale optimization algorithms provide the biases and weights of multilayer perceptron, and receive the R2, MAE and MAPE values for training samples. The variables of multilayer perceptron such as weights and biases are sent to the grey wolf, ant lion and whale optimization algorithms in a series of values for training. Later, the mentioned optimization algorithms recursively change the weights and biases in order to minimize the average error of all training samples. It should be noted that the raw data used in this study were taken from DKA Solar Center in Australia [22]. It contains a total of 365 one-day measurements covering air temperature, relative humidity, total horizontal solar radiation, diffuse horizontal solar radiation and photovoltaic power production parameters. The units of them are assigned as °C, %, W/m2, W/m2 and kW, respectively.

2.1. Multilayer Perceptron

Multilayer perceptron is one of the feed-forward artificial neural networks. Feed-forward artificial neural networks consist of 3 layers, which are called input, hidden and output. Neurons are in the form of regular layers from input to output. There is only a link from one layer to the next layers. The input layer is responsible for transferring the external data to the hidden layer. The hidden layer is responsible for sending the data from input layer to the output layer. In the output layer, the data from hidden layer are processed to produce the output. Therefore, the data coming to the input of the feed-forward artificial neural network are transmitted to the cells in the hidden layer without any change. It is then processed through the output layer and transferred to the external environment, respectively. The structure of multilayer perceptron with a single hidden layer is illustrated in Figure 2.
The sigmoid, hyperbolic tangent and sinus activation functions used between the layers of multilayer perceptron are given in Equations (1)–(3), respectively [23]. The sigmoid activation function produces the values between 0 and 1, whereas hyperbolic tangent and sinus activation functions produce the values between −1 and 1. In addition, for the purpose of increasing the consistency of the total dataset, the data are reduced to the range between 0 and 1 by using the min-max normalization method given in Equation (4) [24].
f s i g m o i d ( x ) = 1 1 + e x
t a n h ( x ) = e x e x e x + e x
f s i n u s ( x ) = s i n ( x )
x n o r m a l i z e d = x x m i n x m a x x m i n
In addition, we used the persistence reference model, which is also known as Naïve Predictor [25,26] and which is widely used for the benchmark tests [27,28,29], in order to compare with other models in this study. In this reference model, the forecasted value at time t + 1 is equal to the value at time t. In other words, the persistence reference model is only based on the linear correlation between the present and the future photovoltaic power values. The improvement percentage formula is given in Equation (5), where e h is the relevant error of hybrid model and e p e r s i s t e n c e is the relevant error of persistence method.
P i m p = ( 1 e h e p e r s i s t e n c e ) × 100

2.2. Grey Wolf Optimization Algorithm

The grey wolf optimization algorithm mimics the social hierarchy and hunting behavior of grey wolves [30]. Grey wolves mostly live in groups and their group size is between 5 and 12 members on average. There are alpha, beta, delta and omega species in which social dominance decreases respectively. The alphas are the most dominant wolves that govern the group best. The betas are the second-level wolves that help the alphas in decision-making or other activities of the group. Omegas are the wolves at the disposal of other wolves that dominate them. If a wolf is not alpha, beta or omega, it is called as the delta. The deltas govern the omegas while serving the alphas and betas. Therefore, the most appropriate solution in the grey wolf optimization algorithm is considered as the alpha (α). The most appropriate second, third and fourth solutions after the alphas are considered as beta (β), delta (δ) and omega (ω), respectively.
The prey encircling behavior of grey wolves is modeled with Equations (6) and (7).
D = | C · X P ( t ) X ( t ) |
X ( t + 1 ) = X P ( t ) A · D
In these equations, t represents the number of current iterations, A and C represent the coefficient vectors, X P represents the position vector of the prey, and X represents the position of a grey wolf. A and C   vectors are calculated using Equations (8) and (9). During the iteration, the value of a is reduced linearly from 2 to 0 and r 1 and r 2 are the random vectors in the range [0, 1].
A = 2 a · r 1 a
C = 2 · r 2
To model the hunting behavior of grey wolves, alpha, beta and delta are taken as the top three best solutions by assuming that they have better knowledge about the potential position of the prey. It is then ensured that other search agents update their positions according to the position of the best search agent. The following equations are used for these operations.
D = | C 1 X X | ,   D β = | C 2 X β X | ,   D δ = | C 3 X δ X |
X 1 = X A 1 ( D ) ,   X 2 = X β A 2 ( D β ) ,   X 3 = X δ A 3 ( D δ )
X ( t + 1 ) = X 1 + X 2 + X 3 3
In these equations, A is a random value in the range [−2a, 2a]. | A | < 1 forces the grey wolves to attack their prey, while | A | > 1 forces the grey wolves to move away from the prey to find a more appropriate prey. Finally, the grey wolf optimization algorithm is ended by fulfilling a termination criterion.

2.3. Ant Lion Optimization Algorithm

The ant lion optimization algorithm mimics the interaction between ant lions and ants in their traps [31]. The life cycle of ant lions consists of two main stages: larvae and adulthood. Natural life cycles of them are up to three years. They spend most of this time as the larvae, and only 3–5 weeks of their life is spent with the adulthood.
Since ants move stochastically when looking for food in nature, a random walk is selected by using Equations (13) and (14).
X ( t ) = [   0 ,   c u m s u m ( 2 r ( t 1 ) 1 ) ,   ,   c u m s u m ( 2 r ( t n ) 1 ) ]
r ( t ) = {   1       i f   r a n d > 0.5   0       i f   r a n d 0.5
In these equations, c u m s u m represents the cumulative sum, n represents the maximum number of iterations, t is the step of random walk, r ( t ) is a stochastic function and r a n d   represents a random number generated with a uniform distribution in the range of [0, 1]. Since each search space has a boundary, Equations (13) and (14) cannot be used directly to update the position of ants. In order to keep the random walk of ants in the search space, normalization is performed at each iteration by using Equation (15).
X i t = ( X i t a i ) × ( d i c i t )   ( d i t a i )   + c i
In this equation a i represents the minimum of the random walk of the ith variable, b i represents the maximum of the random walk of the ith variable, c i t represents the minimum of the ith variable at tth iteration and d i t represents the maximum of the ith variable at tth iteration.
The random walks of ants are affected by the traps of ant lions. Equations (16) and (17) are used for modelling this assumption mathematically.
c i t = A n t l i o n j t + c t
d i t = A n t l i o n j t + d t
In these equations, c t represents the minimum of all variables at tth iteration, d t represents the maximum of all variables at tth iteration and A n t l i o n j t represents the position of jth ant lion selected at tth iteration. Ant lions throw sand out of the center of the pit when they realize that an ant is trapped. This behavior causes the trapped ant to slip down. To mathematically model this behavior, the radius of the random walk of ants in a hyper-sphere is adaptively reduced using Equations (18) and (19).
c t = c t   I  
d t = d t   I  
In these equations, I = 10 w t T , where t represents the current iteration, T represents the maximum number of iterations, and w represents a constant determined according to the current iteration.
When ant reaches the bottom of the pit, and when it is caught in the ant lion’s jaw, the final stage of hunting takes place. After this stage, the ant lion draws the ant into the sand and consumes it. This process is modeled using Equation (20).
A n t l i o n j t = A n t i   t    i f    f ( A n t i   t   ) > f ( A n t l i o n j t )
In this equation, A n t i   t   indicates the position of ith ant at tth iteration. On the other hand, in each iteration, the most suitable ant lion obtained so far is recorded as the elite and it is assumed that all ants walk randomly around a selected ant lion through the roulette wheel in order to be affected by the movement of all ants with the elite. The elite becomes like Equation (21).
A n t i   t   = R A   t   +   R E   t   2
In this equation, R A   t   represents the random walk around the ant lion selected by the roulette wheel at tth iteration, and R E   t   represents the random walk around the elite at the tth iteration.

2.4. Whale Optimization Algorithm

The whale optimization algorithm mimics the hunting behavior of humpback whales [32]. In the hunting strategy, which is called as the bubble-net feeding method, humpback whales first dive down to a certain depth. Then, they begin to form bubbles spirally around the prey and swim to the surface. In this way, they both conceal themselves and feed by keeping their prey in the bubble-net. Since the location of the optimal design in the search space is not known in advance, the whale optimization algorithm assumes that the best available candidate solution is target hunting or near optimal. Once the best search agent is identified, other search agents try to update their location according to the best search agent. This behavior is modeled using Equations (6)–(9), similar to the grey wolf optimization algorithm. In addition, during the iteration, the value of a is reduced from 2 to 0, and the shrinking encircling mechanism in the bubble-net feeding method is realized.
On the other hand, Equations (22) and (23) are used for the spiral position update in the bubble-net feeding method. By means of these equations, the spiral motion between the humpback whale position and the prey position is modeled.
X   ( t + 1 ) = D · e b l ·   c o s ( 2 π l ) + X * ( t )
D = | X * ( t ) X ( t ) |
In these equations, D represents the distance of ith whale to the hunt (the best solution so far), b is a constant for defining the logarithmic spiral shape and l is a random number in the range [−1, 1]. In addition, Equation (24) is used for simultaneously modelling the shrinking encircling mechanism and the spiral position updating of humpback whales around the prey.
X   ( t + 1 ) = { X * ( t ) A   · D D · e b l ·   c o s ( 2 π l ) + X * ( t ) i f   p < 0.5   i f   p 0.5
In this equation, p is a random number in the range [0,1]. As in the grey wolf optimization algorithm, the whales search globally in the case of | A | > 1 , while the elite whale is selected and other whales update their positions according to the elite whale in the case of | A | < 1 .

3. Daily Photovoltaic Power Prediction

In this section, grey wolf, ant lion and whale optimization algorithms are integrated to the multilayer perceptron algorithm for the daily photovoltaic power prediction. Sigmoid, sinus and hyperbolic tangent activation functions are used in the multilayer perceptron algorithm. The results belong to 2 activation functions, which provide the best prediction performance, are given for each hybrid prediction model developed. In addition, meteorological parameters of air temperature (TA), relative humidity (HR), total horizontal solar radiation (SRTH) and diffuse horizontal solar radiation (SRDH) are used as the multi-tupled input data. The prediction results obtained are compared in terms of the coefficient of determination, mean absolute error and mean absolute percentage error measures.
In the optimization algorithms, which used 4-tupled meteorological input, the number of search agents and the values of lower and upper bounds were assigned as 20, −20 and 20, respectively. In this model, we used nine hidden nodes for the multilayer perceptron algorithm. In the optimization algorithms, which used 3-tupled meteorological inputs, the number of search agents and the values of lower and upper bounds were defined as 20, −10 and 10, respectively. In this model, we used seven hidden nodes for the multilayer perceptron algorithm. In the optimization algorithms, which used 2-tupled meteorological inputs, the number of search agents and the values of lower and upper bounds were assigned as 20, −15 and 15, respectively. In this model, we used five hidden nodes for the multilayer perceptron algorithm. The maximum number of iterations in all optimization algorithms was defined as 250. These characteristic assignments/definitions were determined as a result of the experimental studies. In addition, each hybrid prediction algorithm was run 10 times independently in order to eliminate the unexpected (stochastic) cases. All experiments are executed on a 2.2 GHz Intel (R) Core (TM) personal computer with 8 GB RAM under MATLAB 2016a.
Moreover, the performance of the hybrid prediction models developed was compared with the persistence reference model. The performance of the persistence reference model in the daily photovoltaic power prediction was found as 0.1589 for the coefficient of determination (R2), 0.081 for the mean absolute error (MAE) and 15.702% for the mean absolute percent error (MAPE). In the next subsections, the smallest error results for each input tuple are highlighted in boldface in each table.

3.1. Daily Photovoltaic Power Prediction Using Grey Wolf Optimization Algorithm-Based Multilayer Perceptron (GWO-MLP)

The daily photovoltaic power prediction results for the grey wolf optimization algorithm-based multilayer perceptron, which used the sigmoid activation function, are presented in Table 1. In case of examining the error values in this table, R2 of 0.9791, MAE of 0.017 and MAPE of 2.598% were found for air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 3-tupled meteorological inputs, the best prediction performance was obtained as 0.9841 for R2, 0.016 for MAE and 2.632% for MAPE using air temperature, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 2-tupled meteorological inputs, the best prediction performance was obtained as 0.9633 for R2, 0.022 for MAE and 3.076% for MAPE using total horizontal solar radiation and diffuse horizontal solar radiation inputs.
As a result, among the error results occurred using the sigmoid activation function, the best prediction performance was achieved by the GWO-MLP method, which used air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. The predicted photovoltaic power values that belong to this hybrid method are illustrated in Figure 3. On the other hand, the worst prediction performance is caused by the GWO-MLP method, which used relative humidity and diffuse horizontal solar radiation inputs, with R2 of 0.4046, MAE of 0.091 and MAPE of 14.936%.
The daily photovoltaic power prediction results for the grey wolf optimization algorithm-based multilayer perceptron, which used the hyperbolic tangent activation function, are listed in Table 2. In case of investigating the error values in this table, R2 of 0.4423, MAE of 0.066 and MAPE of 11.614% were found for air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 3-tupled meteorological inputs, the most accurate prediction performance was obtained as 0.9003 for R2, 0.032 for MAE and 5.208% for MAPE using air temperature, relative humidity and total horizontal solar radiation inputs. Among 2-tupled meteorological inputs, the most accurate prediction performance was obtained as 0.9508 for R2, 0.027 for MAE and 4.248% for MAPE using air temperature and total horizontal solar radiation inputs.
In consequence, among the error results occurred using the hyperbolic tangent activation function, the most accurate prediction performance was accomplished by the GWO-MLP method, which used air temperature and total horizontal solar radiation inputs. The predicted photovoltaic power values of this hybrid method are depicted in Figure 4. However, the most erroneous prediction performance was produced by the GWO-MLP method, which used relative humidity and diffuse horizontal solar radiation inputs, with R2 of 0.0714, MAE of 0.151 and MAPE of 22.291%.
In case of evaluating the prediction results in general, the GWO-MLP method, which used the sigmoid activation function, shows better prediction performance than the one using the hyperbolic tangent activation function. Furthermore, it respectively improves the R2, MAE and MAPE in the ratios of 80.62%, 79.01% and 83.45% in comparison to the persistence reference model. Finally, the lowest MAPE values achieved by the GWO-MLP method are visualized in Figure 5.

3.2. Daily Photovoltaic Power Prediction Using Ant Lion Optimization Algorithm-Based Multilayer Perceptron (ALO-MLP)

The daily photovoltaic power prediction results for the ant lion optimization algorithm-based multilayer perceptron, which used the sigmoid activation function, are presented in Table 3. In case of examining the error values in this table, R2 of 0.7101, MAE of 0.068 and MAPE of 12.106% were found for air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 3-tupled meteorological inputs, the best prediction performance was obtained as 0.9334 for R2, 0.029 for MAE and 4.702% for MAPE using relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 2-tupled meteorological inputs, the best prediction performance was obtained as 0.9600 for R2, 0.037 for MAE and 5.959% for MAPE using total horizontal solar radiation and diffuse horizontal solar radiation inputs.
As a result, among the error results occurred using the sigmoid activation function, the best prediction performance was achieved by the ALO-MLP method, which used relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. The predicted photovoltaic power values of this hybrid method are illustrated in Figure 6. On the other hand, the worst prediction performance was caused by the ALO-MLP method, which used relative humidity and diffuse horizontal solar radiation inputs, with R2 of 0.2274, MAE of 0.117 and MAPE of 17.785%.
The daily photovoltaic power prediction results for the ant lion optimization algorithm-based multilayer perceptron, which used the hyperbolic tangent activation function, are listed in Table 4. In case of investigating the error values in this table, R2 of 0.3179, MAE of 0.129 and MAPE of 18.232% were found for air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 3-tupled meteorological inputs, the most accurate prediction performance was obtained as 0.8113 for R2, 0.048 for MAE and 6.738% for MAPE using air temperature, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 2-tupled meteorological inputs, the most accurate prediction performance was obtained as 0.8139 for R2, 0.071 for MAE and 10.430% for MAPE using relative humidity and total horizontal solar radiation inputs.
In consequence, among the error results occurred using the hyperbolic tangent activation function, the most accurate prediction performance was accomplished by the ALO-MLP method, which used air temperature, total horizontal solar radiation and diffuse horizontal solar radiation inputs. The predicted photovoltaic power values of this hybrid method are depicted in Figure 7. However, the most erroneous prediction performance was produced by the ALO-MLP method, which used relative humidity and diffuse horizontal solar radiation inputs, with R2 of 0.0117, MAE of 0.137 and MAPE of 21.296%.
In case of evaluating the prediction results in general, the ALO-MLP method, which used the sigmoid activation function, showed better prediction performance than the one, which used the hyperbolic tangent activation function. Besides, it respectively improved the R2, MAE and MAPE in the ratios of 79.48%, 64.19% and 70.05% in comparison to the persistence reference model. Finally, the lowest MAPE values achieved by the ALO-MLP method are visualized in Figure 8.

3.3. Daily Photovoltaic Power Prediction Using Whale Optimization Algorithm-Based Multilayer Perceptron (WOA-MLP)

The daily photovoltaic power prediction results for the whale optimization algorithm-based multilayer perceptron, which used the sigmoid activation function, are presented in Table 5. In case of examining the error values in this table, R2 of 0.8362, MAE of 0.050 and MAPE of 7.316% were found for air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 3-tupled meteorological inputs, the best prediction performance was obtained as 0.8985 for R2, 0.040 for MAE and 6.187% for MAPE using air temperature, relative humidity and total horizontal solar radiation inputs. Among 2-tupled meteorological inputs, the best prediction performance was obtained as 0.8959 for R2, 0.034 for MAE and 5.514% for MAPE using total horizontal solar radiation and diffuse horizontal solar radiation inputs.
As a result, among the error results occurred when using the sigmoid activation function, the best prediction performance was achieved by the WOA-MLP method, which used total horizontal solar radiation and diffuse horizontal solar radiation inputs. The predicted photovoltaic power values of this hybrid method are illustrated in Figure 9. On the other hand, the worst prediction performance was caused by the WOA-MLP method, which used relative humidity and diffuse horizontal solar radiation inputs, with R2 of 0.0085, MAE of 0.156 and MAPE of 24.905%.
The daily photovoltaic power prediction results for the whale optimization algorithm-based multilayer perceptron, which used the sinus activation function, are listed in Table 6. In case of investigating the error values in this table, R2 of 0.4817, MAE of 0.086 and MAPE of 13.394% were found for air temperature, relative humidity, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 3-tupled meteorological inputs, the most accurate prediction performance was obtained as 0.8242 for R2, 0.045 for MAE and 7.028% for MAPE using air temperature, total horizontal solar radiation and diffuse horizontal solar radiation inputs. Among 2-tupled meteorological inputs, the most accurate prediction performance was obtained as 0.7009 for R2, 0.075 for MAE and 11.892% for MAPE using total horizontal solar radiation and diffuse horizontal solar radiation inputs.
In consequence, among the error results occurred when using the sinus activation function, the most accurate prediction performance was accomplished by the WOA-MLP method, which used air temperature, total horizontal solar radiation and diffuse horizontal solar radiation inputs. The predicted photovoltaic power values of this hybrid method are depicted in Figure 10. However, the most erroneous prediction performance was produced by the WOA-MLP method, which used air temperature and total horizontal solar radiation inputs, with R2 of 0.2667, MAE of 0.186 and MAPE of 25.967%.
In case of evaluating the prediction results in general, the WOA-MLP method, which used the sigmoid activation function, showed better prediction performance than the one which used the sinus activation function. Besides, it improved the R2, MAE and MAPE in the ratios of 78.43%, 58.02% and 64.88%, respectively in comparison to the persistence reference model. Finally, the lowest MAPE values achieved by the WOA-MLP method are visualized in Figure 11.
In a nutshell, the observed photovoltaic power values and the predicted photovoltaic power values of GWO-MLP, ALO-MLP, WOA-MLP hybrid models and persistence reference model are illustrated in Figure 12.

4. Conclusions

In this study, grey wolf, ant lion and whale optimization algorithms-based multilayer perceptron models were developed for the daily photovoltaic power prediction. Through the efficient prediction models developed, the effects of multi-tupled meteorological inputs and activation functions on the prediction performance were analyzed in detail, the prediction accuracy was highly improved according to the persistence reference model, and the uncertainty in the daily photovoltaic power prediction was reduced. In addition to these, the useful findings achieved are summarized one by one below:
  • The grey wolf optimization algorithm-based multilayer perceptron model provides more successful prediction results than ant lion and whale optimization algorithms-based multilayer perceptron models. On the other hand, it is observed that the ant lion optimization algorithm-based multilayer perceptron model shows better prediction results than whale optimization algorithm-based multilayer perceptron model.
  • In all of the multilayer perceptron models based on grey wolf, ant lion and whale optimization algorithms, the sigmoid activation function accomplishes lower prediction errors compared to hyperbolic tangent and sinus activation functions.
  • The best daily photovoltaic power prediction is achieved by the grey wolf optimization algorithm-based multilayer perceptron model, which uses air temperature, relative humidity, total horizontal solar irradiation and diffuse horizontal solar irradiation inputs along with the sigmoid activation function, with the MAPE of 2.598%. In addition, as a result of this error value, the persistence reference model is outperformed with the ratio of 83.45%.
  • In all of the multilayer perceptron models based on grey wolf, ant lion and whale optimization algorithms, which provide the most accurate prediction results,
    Total horizontal solar radiation and diffuse horizontal solar radiation parameters are observed as the most suitable combination in 2-tupled meteorological inputs.
    The air temperature parameter to be integrated with total horizontal solar radiation and diffuse horizontal solar radiation parameters comes into prominence in 3-tupled meteorological inputs.
  • The worst daily photovoltaic power prediction is caused by the whale optimization algorithm-based multilayer perceptron model, which uses air temperature and diffuse horizontal solar irradiation inputs along with the sinus activation function, with the MAPE of 25.967%.
  • In general of grey wolf, ant lion and whale optimization algorithms-based multilayer perceptron models, the usage of the relative humidity parameter as a meteorological input commonly produces the worst prediction results.
  • The grey wolf, ant lion and whale optimization algorithms-based multilayer perceptron models developed lead to lower error results than the commonly-used models based on artificial neural networks and support vector machines in the literature.
    In future studies, the performance of the prediction models developed should also be tested based on the photovoltaic power prediction per minute, per hour and per week. In addition, the usage of other meteorological factors (affecting the photovoltaic power prediction) in the multi-tupled input structure should be analyzed in detail.

Author Contributions

All authors contributed equally to the research activities and for its final presentation as a full manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

No source of funding was attained for this research activity.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

ALO-MLPAnt lion optimization algorithm-based multilayer perceptron
GWO-MLPGrey wolf optimization algorithm-based multilayer perceptron
HRRelative humidity
DKADesert Knowledge Australia
MDMean deviation
MAD Mean absolute deviation
MAE Mean absolute error
MAPE Mean absolute percent error
MSEMean squared error
NMAENormalized mean absolute error
NRMSENormalized root mean squared error
RAERelative absolute error
RMSERoot mean squared error
rRMSERelative root mean squared error
R2Coefficient of determination
SRDHDiffuse horizontal solar radiation
SRTHTotal horizontal solar radiation
TAAir temperature
WOA-MLPWhale optimization algorithm-based multilayer perceptron

References

  1. Internet: Renewables 2019 Global Status Report. Available online: https://www.ren21.net/gsr-2019 (accessed on 10 February 2020).
  2. Li, L.L.; Wen, S.Y.; Tseng, M.L.; Wang, C.S. Renewable energy prediction: A novel short-term prediction model of photovoltaic output power. J. Clean. Prod. 2019, 228, 359–375. [Google Scholar] [CrossRef]
  3. Behera, M.K.; Majumder, I.; Nayak, N. Solar photovoltaic power forecasting using optimized modified extreme learning machine technique. Eng. Sci. Technol. 2018, 21, 428–438. [Google Scholar] [CrossRef]
  4. Eseye, A.T.; Zhang, J.; Zheng, D. Short-term photovoltaic solar power forecasting using a hybrid Wavelet-PSOSVM model based on SCADA and meteorological information. Renew. Energy 2018, 118, 357–367. [Google Scholar] [CrossRef]
  5. Koster, D.; Minette, F.; Braun, C.; O’Nagy, O. Short-term and regionalized photovoltaic power forecasting, enhanced by reference systems, on the example of Luxembourg. Renew. Energy 2019, 132, 455–470. [Google Scholar] [CrossRef]
  6. Douiri, M.R. Particle swarm optimized neuro-fuzzy system for photovoltaic power forecasting model. Sol. Energy 2019, 184, 91–104. [Google Scholar] [CrossRef]
  7. Larson, D.P.; Nonnenmacher, L.; Coimbra, C.F.M. Day-ahead forecasting of solar power output from photovoltaic plants in the American Southwest. Renew. Energy 2016, 91, 11–20. [Google Scholar] [CrossRef]
  8. El-Baz, W.; Tzscheutschler, P.; Wagner, U. Day-ahead probabilistic PV generation forecast for buildings energy management systems. Sol. Energy 2018, 171, 478–490. [Google Scholar] [CrossRef]
  9. Hu, K.; Cao, S.; Wang, L.; Li, W.; Lv, M. A new ultra-short-term photovoltaic power prediction model based on ground-based cloud images. J. Clean. Prod. 2018, 200, 731–745. [Google Scholar] [CrossRef]
  10. VanDeventer, W.; Jamei, E.; Thirunavukkarasu, G.S.; Seyedmahmoudian, M.; Soon, T.K.; Horan, B.; Mekhilef, S.; Stojcevski, A. Short-term PV power forecasting using hybrid GASVM technique. Renew. Energy 2019, 140, 367–379. [Google Scholar] [CrossRef]
  11. Dong, J.; Olama, M.M.; Kuruganti, T.; Melin, A.M.; Djouadi, S.M.; Zhang, Y.; Xue, Y. Novel stochastic methods to predict short-term solar radiation and photovoltaic power. Renew. Energy 2020, 145, 333–346. [Google Scholar] [CrossRef]
  12. Gao, M.; Li, J.; Hong, F.; Long, D. Day-ahead power forecasting in a large-scale photovoltaic plant based on weather classification using LSTM. Energy 2019, 187, 115838. [Google Scholar] [CrossRef]
  13. Gulin, M.; Pavlovic, T.; Vašak, M. A one-day-ahead photovoltaic array power production prediction with combined static and dynamic on-line correction. Sol. Energy 2017, 142, 49–60. [Google Scholar] [CrossRef]
  14. Wang, K.; Qi, X.; Liu, H. A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network. Appl. Energy 2019, 251, 113315. [Google Scholar] [CrossRef]
  15. Wang, G.; Su, Y.; Shu, L. One-day-ahead daily power forecasting of photovoltaic systems based on partial functional linear regression models. Renew. Energy 2016, 96, 469–478. [Google Scholar] [CrossRef] [Green Version]
  16. Han, S.; Qiaoa, Y.H.; Yan, J.; Liu, Y.Q.; Li, L.; Wang, Z. Mid-to-long term wind and photovoltaic power generation prediction based on copula function and long short term memory network. Appl. Energy 2019, 239, 181–191. [Google Scholar] [CrossRef]
  17. Yang, X.; Xu, M.; Xu, S.; Han, X. Day-ahead forecasting of photovoltaic output power with similar cloud space fusion based on incomplete historical data mining. Appl. Energy 2017, 206, 683–696. [Google Scholar] [CrossRef]
  18. Wang, H.; Yi, H.; Peng, J.; Wang, G.; Liu, Y.; Jiang, H.; Liu, W. Deterministic and probabilistic forecasting of photovoltaic power based on deep convolutional neural network. Energy Convers. Manag. 2017, 251, 409–422. [Google Scholar] [CrossRef]
  19. Leva, S.; Dolara, A.; Grimaccia, F.; Mussetta, M.; Ogliari, E. Analysis and validation of 24 hours ahead neural network forecasting of photovoltaic output power. Math. Comput. Simul. 2017, 131, 88–100. [Google Scholar] [CrossRef] [Green Version]
  20. Yao, X.; Wang, Z.; Zhang, H. A novel photovoltaic power forecasting model based on echo state network. Neurocomputing 2019, 325, 182–189. [Google Scholar] [CrossRef]
  21. Pierroa, M.; De Feliced, M.; Maggioni, E.; Moser, D.; Perotto, A.; Spada, F.; Cornaro, C. Photovoltaic generation forecast for power transmission scheduling: A real case study. Sol. Energy 2018, 174, 976–990. [Google Scholar] [CrossRef]
  22. Internet: DKA Solar Centre. Available online: http://dkasolarcentre.com.au (accessed on 10 February 2020).
  23. Hagan, M.T.; Demuth, H.B.; Beale, M.H.; Jesús, O.D. Neural Network Design, 2nd ed.; 2014; Available online: https://hagan.okstate.edu/NNDesign.pdf (accessed on 15 December 2019).
  24. Haykin, S. Neural Networks: A Comprehensive Foundation, 2nd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 1999. [Google Scholar]
  25. Yesilbudak, M.; Sagiroglu, S.; Colak, I. A novel implementation of kNN classifier based on multi-tupled meteorological input data for wind power prediction. Energy Convers. Manag. 2017, 135, 434–444. [Google Scholar] [CrossRef]
  26. Renani, E.T.; Mohamad Elias, M.F.; Rahim, N.A. Using data-driven approach for wind power prediction: A comparative study. Energy Convers. Manag. 2016, 118, 193–203. [Google Scholar] [CrossRef]
  27. Panamtash, H.; Zhou, Q.; Hong, T.; Qu, Z.; Davis, K.O. A copula-based Bayesian method for probabilistic solar power forecasting. Sol. Energy 2020, 196, 336–345. [Google Scholar] [CrossRef]
  28. Rana, M.; Rahman, A. Multiple steps ahead solar photovoltaic power forecasting based on univariate machine learning models and data re-sampling. Sustain. Energy Grids Netw. 2020, 21, 100286. [Google Scholar] [CrossRef]
  29. Rodríguez-Benítez, F.J.; Arbizu-Barrena, C.; Huertas-Tato, J.; Aler-Mur, R.; Galván-León, I.; Pozo-Vázquez, D. A short-term solar radiation forecasting system for the Iberian Peninsula. Part 1: Models description and performance assessment. Sol. Energy 2020, 195, 396–412. [Google Scholar]
  30. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  31. Mirjalili, S. The ant lion optimizer. Adv. Eng. Softw. 2015, 83, 80–98. [Google Scholar] [CrossRef]
  32. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
Figure 1. The architecture of the training samples.
Figure 1. The architecture of the training samples.
Energies 13 00901 g001
Figure 2. The structure of multilayer perceptron having a single hidden layer.
Figure 2. The structure of multilayer perceptron having a single hidden layer.
Energies 13 00901 g002
Figure 3. The predicted photovoltaic power values of the GWO-MLP method, which used TA, HR, SRTH and SRDH inputs.
Figure 3. The predicted photovoltaic power values of the GWO-MLP method, which used TA, HR, SRTH and SRDH inputs.
Energies 13 00901 g003
Figure 4. The predicted photovoltaic power values of the GWO-MLP method, which used TA and SRTH inputs.
Figure 4. The predicted photovoltaic power values of the GWO-MLP method, which used TA and SRTH inputs.
Energies 13 00901 g004
Figure 5. The lowest MAPE values achieved by the GWO-MLP method.
Figure 5. The lowest MAPE values achieved by the GWO-MLP method.
Energies 13 00901 g005
Figure 6. The predicted photovoltaic power values of the ALO-MLP method, which used HR, SRTH and SRDH inputs.
Figure 6. The predicted photovoltaic power values of the ALO-MLP method, which used HR, SRTH and SRDH inputs.
Energies 13 00901 g006
Figure 7. The predicted photovoltaic power values of the ALO-MLP method, which used TA, SRTH, and SRDH inputs.
Figure 7. The predicted photovoltaic power values of the ALO-MLP method, which used TA, SRTH, and SRDH inputs.
Energies 13 00901 g007
Figure 8. The lowest MAPE values achieved by the ALO-MLP method.
Figure 8. The lowest MAPE values achieved by the ALO-MLP method.
Energies 13 00901 g008
Figure 9. The predicted photovoltaic power values of the WOA-MLP method, which used SRTH, and SRDH inputs.
Figure 9. The predicted photovoltaic power values of the WOA-MLP method, which used SRTH, and SRDH inputs.
Energies 13 00901 g009
Figure 10. The predicted photovoltaic power values of the WOA-MLP method, which used TA, SRTH, and SRDH inputs.
Figure 10. The predicted photovoltaic power values of the WOA-MLP method, which used TA, SRTH, and SRDH inputs.
Energies 13 00901 g010
Figure 11. The lowest MAPE values achieved by the WOA-MLP method.
Figure 11. The lowest MAPE values achieved by the WOA-MLP method.
Energies 13 00901 g011
Figure 12. The predicted photovoltaic power values of GWO-MLP, ALO-MLP, WOA-MLP hybrid models and persistence reference model.
Figure 12. The predicted photovoltaic power values of GWO-MLP, ALO-MLP, WOA-MLP hybrid models and persistence reference model.
Energies 13 00901 g012
Table 1. Daily photovoltaic power prediction results of the GWO-MLP method, which used the sigmoid activation function.
Table 1. Daily photovoltaic power prediction results of the GWO-MLP method, which used the sigmoid activation function.
NoMulti-Tupled Meteorological InputsSigmoid Activation Function
R2MAEMAPE (%)
1TA, HR, SRTH, SRDH0.97910.0172.598
2HR, SRTH, SRDH0.96360.0273.893
3TA, SRTH, SRDH0.98410.0162.632
4TA, HR, SRDH0.55480.07111.421
5TA, HR, SRTH0.95360.0253.928
6TA, HR0.33200.07514.012
7TA, SRTH0.93690.0335.312
8TA, SRDH0.45270.07411.708
9HR, SRTH0.86220.0649.590
10HR, SRDH0.40460.09114.936
11SRTH, SRDH0.96330.0223.076
Table 2. Daily photovoltaic power prediction results of the GWO-MLP method, which used the hyperbolic tangent activation function.
Table 2. Daily photovoltaic power prediction results of the GWO-MLP method, which used the hyperbolic tangent activation function.
NoMulti-Tupled Meteorological InputsHyperbolic Tangent Activation Function
R2MAEMAPE (%)
1TA, HR, SRTH, SRDH0.44230.06611.614
2HR, SRTH, SRDH0.59690.08013.453
3TA, SRTH, SRDH0.87980.0446.967
4TA, HR, SRDH0.32490.12418.560
5TA, HR, SRTH0.90030.0325.208
6TA, HR0.24230.08615.860
7TA, SRTH0.95080.0274.248
8TA, SRDH0.6104 0.061 9.614
9HR, SRTH0.43100.08613.418
10HR, SRDH0.07140.15122.291
11SRTH, SRDH0.88810.0446.654
Table 3. Daily photovoltaic power prediction results of the ALO-MLP method, which used the sigmoid activation function.
Table 3. Daily photovoltaic power prediction results of the ALO-MLP method, which used the sigmoid activation function.
NoMulti-Tupled Meteorological InputsSigmoid Activation Function
R2MAEMAPE (%)
1TA, HR, SRTH, SRDH0.71010.06812.106
2HR, SRTH, SRDH0.93340.0294.702
3TA, SRTH, SRDH0.91110.0577.693
4TA, HR, SRDH0.52970.07211.548
5TA, HR, SRTH0.86480.0417.586
6TA, HR0.00810.09717.624
7TA, SRTH0.78520.0608.509
8TA, SRDH0.51790.07811.859
9HR, SRTH0.85560.0629.369
10HR, SRDH0.22740.11717.785
11SRTH, SRDH0.96000.0375.959
Table 4. Daily photovoltaic power prediction results of the ALO-MLP method, which used the hyperbolic tangent activation function.
Table 4. Daily photovoltaic power prediction results of the ALO-MLP method, which used the hyperbolic tangent activation function.
NoMulti-Tupled Meteorological InputsHyperbolic Tangent Activation Function
R2MAEMAPE (%)
1TA, HR, SRTH, SRDH0.31790.12918.232
2HR, SRTH, SRDH0.61940.13319.447
3TA, SRTH, SRDH0.81130.0486.738
4TA, HR, SRDH0.58490.07211.291
5TA, HR, SRTH0.25910.10817.163
6TA, HR0.00100.09717.649
7TA, SRTH0.15480.09517.217
8TA, SRDH0.06610.09817.655
9HR, SRTH0.81390.07110.430
10HR, SRDH0.01170.13721.296
11SRTH, SRDH0.64660.10115.622
Table 5. Daily photovoltaic power prediction results of the WOA-MLP method, which used the sigmoid activation function.
Table 5. Daily photovoltaic power prediction results of the WOA-MLP method, which used the sigmoid activation function.
NoMulti-Tupled Meteorological InputsSigmoid Activation Function
R2MAEMAPE (%)
1TA, HR, SRTH, SRDH0.83620.0507.316
2HR, SRTH, SRDH0.94720.0609.013
3TA, SRTH, SRDH0.52470.12119.102
4TA, HR, SRDH0.52050.07411.889
5TA, HR, SRTH0.89850.0406.187
6TA, HR0.23130.08315.273
7TA, SRTH0.85310.0376.105
8TA, SRDH0.52880.07711.715
9HR, SRTH0.85830.05610.134
10HR, SRDH0.00850.15624.905
11SRTH, SRDH0.89590.0345.514
Table 6. Daily photovoltaic power prediction results of the WOA-MLP method, which used the sinus activation function.
Table 6. Daily photovoltaic power prediction results of the WOA-MLP method, which used the sinus activation function.
NoMulti-Tupled Meteorological InputsSinus Activation Function
R2MAEMAPE (%)
1TA, HR, SRTH, SRDH0.48170.08613.394
2HR, SRTH, SRDH0.84900.0518.068
3TA, SRTH, SRDH0.82420.0457.028
4TA, HR, SRDH0.58350.07511.546
5TA, HR, SRTH0.66990.10114.553
6TA, HR0.15600.11819.798
7TA, SRTH0.26670.18625.967
8TA, SRDH0.29870,09815.763
9HR, SRTH0.61000.12918.069
10HR, SRDH0.33530.09715.471
11SRTH, SRDH0.70090.07511.892

Share and Cite

MDPI and ACS Style

Colak, M.; Yesilbudak, M.; Bayindir, R. Daily Photovoltaic Power Prediction Enhanced by Hybrid GWO-MLP, ALO-MLP and WOA-MLP Models Using Meteorological Information. Energies 2020, 13, 901. https://doi.org/10.3390/en13040901

AMA Style

Colak M, Yesilbudak M, Bayindir R. Daily Photovoltaic Power Prediction Enhanced by Hybrid GWO-MLP, ALO-MLP and WOA-MLP Models Using Meteorological Information. Energies. 2020; 13(4):901. https://doi.org/10.3390/en13040901

Chicago/Turabian Style

Colak, Medine, Mehmet Yesilbudak, and Ramazan Bayindir. 2020. "Daily Photovoltaic Power Prediction Enhanced by Hybrid GWO-MLP, ALO-MLP and WOA-MLP Models Using Meteorological Information" Energies 13, no. 4: 901. https://doi.org/10.3390/en13040901

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