Next Article in Journal
Mechanical Characterization of AISI 316L Samples Printed Using Material Extrusion
Previous Article in Journal
Separation of Lignocellulose and Preparation of Xylose from Miscanthus lutarioriparius with a Formic Acid Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development and Comparison of Two Novel Hybrid Neural Network Models for Hourly Solar Radiation Prediction

1
School of Economics and Management, Guangdong University of Petrochemical Technology, Maoming 525000, China
2
School of Software Engineering, University of Electronic Science and Technology of China, Chengdu 610056, China
3
National Advanced School of Engineering, University of Yaounde I, Yaounde, Cameroon
4
Department of Mechanical/Mechatronic Engineering, Alex Ekwueme Federal University, Ndufu-Alike, Abakaliki P.M.B. 1010, Nigeria
5
College of Nuclear Technology and Automation Engineering, Chengdu University of Technology, Chengdu 610059, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(3), 1435; https://doi.org/10.3390/app12031435
Submission received: 14 December 2021 / Revised: 25 January 2022 / Accepted: 26 January 2022 / Published: 28 January 2022

Abstract

:
There are a lot of developing countries with inadequate meteorological stations to measure solar radiation. This has been a major drawback for solar power applications in these countries as the performance of the solar-powered system cannot be accurately forecasted. In this study, two novel hybrid neural networks namely; convolutional neural network/artificial neural network (CNN-ANN) and convolutional neural network/long short-term memory/artificial neural network (CNN-LSTM-ANN), have been developed for hourly global solar radiation prediction. ANN models are also developed and the performance of the hybrid neural network models is compared with it. This study contributes to the search for more accurate solar radiation estimation methods. The hybrid neural network models are trained/tested with data from ten different countries across Africa. Results from this study indicate that the performance of all the hybrid models developed in this study is superior to what has been presented in existing literature with their r values ranging from 0.9662 to 0.9930. CNN-ANN model is the best for solar radiation forecasting in Southern, Central, and West Africa. CNN-LSTM-ANN is better for East Africa while both CNN-ANN and CNN-LSTM-ANN are suitable for North Africa. CNN-ANN application for solar radiation prediction in Chad had the overall best performance with an r-value, MAE, RMSE, and MAPE of 0.9930, 15.70 W/m2, 46.84 W/m2, and 4.98% respectively. The integration of CNN and LSTM algorithms with an ANN model enhanced long-term computational dependency and reduce error terms for the model.

1. Introduction

The accurate forecast of the available renewable energy (RE) resources is evolving rapidly as this is one of the steps towards the maximization of RE potential. For instance, the accurate forecasting of photovoltaic (PV) system production makes the use of solar energy more reliable [1]. Hence the need to develop a model to predict systems’ monitoring and renewable energy resources prediction. An innovative multi-layered architecture for heterogeneous automation and monitoring of PV smart microgrid showed that the developed model can foster digital transformation of power grids and empower real developments in microgrids [2]. Similarly, the implementation of various forecast approaches for PV in microgrid and multigood demonstrated that PV systems can be used to operate Islanded microgrids in safe conditions [3]. The continuous and accurate measurement of solar radiation over a long-term period makes the conversion and utilization of solar power more efficient [4]. However, the measurement of solar radiation is inadequate or unavailable for many (African and developing) countries [5].
In Nigeria (the largest economy and the most populated country in Africa), there are only 54 stations for measuring solar irradiance instead of the required 9000 stations [6]. This is the reality of most African/developing countries. The greenhouse effect and depletion of fossil fuels have concentrated recent research attention on RE resources utilization thereby increasing the demand for solar power [7]. The accurate forecasting of solar PV power generation is important for the following reasons [8]: (a) Accurate solar irradiance prediction can improve solar power utilization, thereby reducing economic losses from electrical restrictions. (b) Solar PV power generation is random, volatile, and intermittent creating a reliability problem in the power grid. Hence, the accurate prediction of solar irradiation can increase solar PV integration and improve the reliability of the power grid. These reasons have made solar irradiance and solar power generation an important subject in the energy research field [9].
In recent years, forecasting techniques such as time-series model-based techniques [10], physical methods, ensemble methods [11], and mapping techniques have been used for different prediction purposes [12]. Furthermore, the use of random forest (RF), artificial neural network (ANN), convolutional neural network (CNN), recurrent neural network (RNN), and other deep learning models have been considered for different RE resources prediction as well as electricity load forecast [13]. A review of different studies on the direct prediction of PV power reported that ANN and SVM models perform well under rapid and varying environmental conditions [14]. A short-term PV power forecast with the GA-SVM hybrid model showed that hybrid models are more robust, accurate, and they require less memory [15]. The adaptative neuro-fuzzy approach was used by Olatomiwa et al. [16] for solar radiation prediction in Nigeria while Pang et al. [17] studied the use of RNN and ANN for solar radiation prediction in Alabama. Their results reflect that both ANN and RNN have good prediction accuracy for this purpose [17]. Furthermore, a comparative study of reliable ensemble learning-based models for solar prediction showed that ensemble models have a consistent and reliable prediction performance when applied to data from different locations [18].
Bendiek et al. [19] proposed the use of a data-driven algorithm and contextual optimization for the forecasting of solar irradiance. Their approach achieved a consistent performance for long and short-term predictions for all the cities considered in their study. Aljanad et al. [20] also used the neural network approach for the prediction of global solar irradiance using particle swarm optimization algorithm considering extremely short-time intervals. From their results, the three days performance profile for the model proposed in the study are 0.0292 of MSE, 0.7537 of MAE, 1.7078 of RMSE, and 31.4348 of MAPE (%) considering a 5 s time interval. Their model outperformed the existing standalone neural networks for solar irradiance prediction [20]. In another study, machine learning and deep learning models were compared for solar irradiance prediction and it was concluded that deep learning models are more viable for this specific forecasting task [21].
Other studies in existing literature [22,23,24] have worked on the forecast of solar radiation of which the use of ANN, RNN, and CNN models was proposed for different case studies. Owing to the under-development in Africa, models that will accurately predict solar radiation are required to encourage solar energy utilization in the continent. Africa as a continent has a high and well-distributed solar energy potential, however, this resource is underutilized and underdeveloped. The energy poverty and lack of access to electricity in many countries in Africa reflect the under-utilization of solar-powered systems. It is estimated that over 600 million Africans lack access to electricity [25].
Beyond Africa, the prediction of solar radiation has been studied in some literature [23], but there is still a need to develop more robust, accurate, and fast predictive models for solar radiation. The long short-term memory (LSTM) model retains long-term computational dependency thereby reducing the error term. Additionally, in comparison to other deep learning algorithms, the CNN algorithm is capable of excellently extracting nonlinear intrinsic features using a convolution process with pooling operations [26]. Consequently, if CNN models are applied in real energy or renewable energy resources forecasting, it will enhance the robustness of the energy design/resource for short-term or long-term forecasts which may be difficult to attain conventionally. To address the gaps in knowledge that advocate for a need to have versatile energy management devices that can boost the integration of solar energy (considering its variability in behavior), the novelty of this paper is to design a new hybrid deep learning forecast model based on the integration of LSTM, ANN, and CNN models.
Two new hybrid neural network models namely, convolutional neural network/artificial neural network (CNN-ANN) and convolution neural network/long short-term memory/artificial neural network (CNN-LSTM-ANN) are developed for accurate solar radiation prediction in Africa. The first model (CNN-ANN) hybridized three hidden layers of CNN to extract the nonlinear intrinsic features of the data. Then a flatten layer, and an ANN model (with three hidden layers) in addition to an input and an output layer are integrated. Model-2 (CNN-LSTM-ANN) hybridizes two layers of CNN, one layer of LSTM, and three layers of ANN in its hidden layer. Although hybrid models such as LSTM-ANN [27] and LSTM-CNN [28] have been used to predict solar radiation and solar PV power production, no study in literature considered the use of the hybrid models presented in this research. This work has been bench-marked against the ANN model as this model is fundamental to the design of the hybrid models. Additionally, in the extant literature, ANN models have been extensively used for solar radiation prediction, therefore, the performance of these hybrid models is compared with that of the developed ANN model. The specific objective of this study is:
-
The development of two novel hybrid neural network models for solar radiation prediction.
-
Integration of CNN with other models to enhance prediction robustness and accuracy.
-
Development of solar radiation predictive hybrid models adaptable to different climatic conditions.
-
Comparison of these hybrid models and ANN model performances.
The hybrid models are applied for solar radiation prediction in ten countries from the five geopolitical zones in Africa.
This study is important as the models developed will be instrumental in the calculation/estimation of solar-powered systems’ performance and subsequently increase solar energy utilization for electricity generation and other purposes. Thereby reducing the lack of access to electricity in Africa significantly. The development of these models is justified in the subsequent section. The materials and methods (including the data preparation, case study, model development, etc.) used in this study are reported comprehensively in Section 2. The results from this study are discussed and compared with existing works of literature in Section 3 while the concluding remarks from the entire study are highlighted in Section 4.

2. Materials and Methods

Neural networks are a form of machine learning techniques that uses the connection of computational nodes called neurons to determine or describe in essence any non-linear or linear function [29]. In this study, two hybrid neural network models namely, CNN-ANN and CNN-LSTM-ANN have been created to predict solar radiation in Africa. A flowchart of this research is presented in Figure 1. The performance of these models is also compared to that of an ANN model in this study. In this section, the materials and methods used in building the neural networks are justified. A brief insight into the individual models (ANN, CNN, LSTM) hybridized is first presented. Then, the area studied and the data preparation process is briefly introduced. The model development and metrics used in evaluating these models are also justified in the subsequent subsections.

2.1. Artificial Neural Network (ANN)

ANN was inspired by the study of biological neural networks (animal brains). The concept was first proposed for solving different complex problems and the first model (McCulloch–Pitts neural model) was developed in 1943 [30]. Since then, hundreds of various ANN models have been developed and optimized for different applications such as data prediction, pattern recognition, image processing, optimization, controls, and associative memory [17]. In this study, ANN will be used for data analysis. ANN has received increased attention in recent years due to its power in data prediction. In recent studies [31,32], it has been used for solar radiation prediction, however, some studies argued that there is still room for improvement in the prediction accuracy of solar radiation data. The ANN architecture adopted in this study is illustrated in Section 2.6.

2.2. Convolutional Neural Network (CNN)

CNN models are more suitable for ingesting and processing data or images, as the input and hidden layers for the model consist of neuron layers that are arranged in different dimensions [33]. In this study, a one-dimension CNN model is adopted as the target data exist in the same dimension. The weights in each filter of a layer of CNN are connected to a small region of the layer as it undergoes the convolution process [29]. In literature [34], this model has also been used for solar radiation prediction. In most machine learning/deep learning frameworks such as Tensorflow, Keras, and Pytorch, a 1-D convolution layer is used to convolve layer input over a single spatial (or temporal) dimension such as the data used in our paper. In cases of data with two or three dimensions, the 2-D convolution is more suitable, and for high-dimensional independent data samples, the recurrent neural network is the most suitable.

2.3. Long Short-Term Memory (LSTM)

LSTM is a modified type of the recurrent neural network (RNN) used for sequence data processing. The core feature of the RNN model is highlighted with the word “recurrent” which means that the output of the network will remain together with the input of the next moment to determine the output of the next moment [35]. LSTM models have been applied for machine translation, speech recognition, and text generation. Similar in implementation to the neural network that updates parameters by back-propagation, LSTM also optimizes the model along the negative gradient direction. The gradient will gradually reduce and approach zero as the sequence accumulates thereby causing the gradient to disappear [24]. LSTM model has been used for solar radiation prediction [36] and in this study, one layer of the LSTM model is hybridized with a CNN and ANN model to ensure better performance and learning of long-term dependencies.

2.4. Area of Study

Africa is the second-most populous and second-largest continent in the world. It covers 6% of the earth’s total surface (20% of total land area) with a total area of about 30.3 × 106 km2 [37]. Solar energy distribution in Africa is fairly uniform and the global solar horizontal irradiance for a larger proportion (85%) of the landscape is over 2000 kWh/m2/year. The continent has a solar power generation potential of 1000 GW which is largely untapped to date [38] and the theoretical estimated solar power production is 60 × 106 TWh/yr [39]. Ten out of the 54 countries in Africa have been selected to test the hybrid neural network developed in this study. These countries are from the five geopolitical zones in Africa (Nigeria and Ghana from West Africa; Algeria and Egypt from North Africa; South Africa and Namibia from Southern Africa; Ethiopia and Somalia from East Africa; the Central Africa Republic and Chad from Central Africa) and are highlighted with location tags in Figure 2. The case study details in terms of latitude, longitude, elevation, optimum azimuth, and optimum slope are summarized in Table 1.

2.5. Data Preparation

Data preparation involves various processes such as data division, data collection, and data normalization. In this study, the data used in training and testing the model have been obtained from Photovoltaic Geographical Information System (PVGIS) website [40]. The accuracy of this data set has been confirmed in literature as it has been used for other machine learning and deep learning tasks in existing works of literature [41,42]. According to PVGIS, the following parameters; ambient temperature sun elevation, and wind speed at 10 m are required to determine/predict PV performance and solar irradiance and these parameters are represented as Tamb (deg. C), AS (deg.), W10 (m/s), and Gi (W/m2) in this study. While the ambient temperature affects the intensity of solar radiation, sun elevation is directly related to solar irradiance [43]. Additionally, PVGIS uses information about the elevation of the terrain with a resolution of 3 arc seconds (about 90 m). The hourly measurement of these parameters for twelve years (2005–2016) will be used in the study. The data collected (105,192 rows) are divided into training and testing sets respectively. A total of 841,536 data points is used in this study for each location. The data split is done in 9:1 proportion such that 90% of the data is used for training the hybrid neural networks and the remaining (10%) is used for testing the models.
Data normalization is applied to improve accuracy and speed up the rate of convergence of gradient descent. If the data is not normalized, the network often encounters a model learning problem because the gradient descent becomes complex and does not converge swiftly. This is done in accordance with machine learning literature. Since, normalization is majorly to standardize the range of the values, the range [0, 1] is used because it is better at reducing computation complexities. In this study, each dimension of the dataset is normalized to values between 0 and 1 using Equations (1) and (2).
X N = X X ˘ X ^ X ˘
X = X N X ^ X ˘ + X
where X ˘ and X ^ represent the minimum and maximum values of variable X respectively. X N is the normalized value of variable X . The statistical summary of the data used in this study is tabulated in Table 2. This data will be insightful in evaluating the performance of all the models developed.

2.6. Research Modeling and Hybrid Neural Network Development

2.6.1. ANN Architectural Design

Typically, ANNs exist as organized layers that include interconnected input nodes, output nodes, and hidden layers (Figure 3). They are computing systems that were inspired by the biological/human neural network [44]. They are also a class of feed-forward models that accepts data into the dense inputs layer and outputs prediction results based on the number of neurons in the dense output layer. In the ANN model design, the input layer has 7 nodes representing the 7 (Year, Month, Day, Hour, Tamb, AS, and W10) input data columns that are required to determine/predict solar radiation and 1 node on the output layer representing the target column (Gi). The network has 1 hidden layer with 2500 neurons which is followed by an activation function to add nonlinearity to the layer’s computation. In this study, the rectified linear unit (ReLU) is applied as the nonlinear activation function for the ANN models. The model loss was calculated using the mean square error being a regression analysis, and the global minima are determined via the backpropagation gradient descent. Adam optimizer was implemented with a learning rate of 0.001 and a training batch size of 512. The model was carefully designed to optimally learn the features of the data without underfitting and overfitting which is observed in the evaluated metric score of the training data to the test. The model overfitting problem is avoided by increasing the number of epochs gradually while checking the model performance. In total, the ANN model was trained for the various number of epochs depending on input data. The number of epochs used in training each model is highlighted in Table 3.

2.6.2. Hybrid CNN-ANN Architectural Design

The CNN-ANN network combines the feature extraction from both networks. CNN applies the kernel technique to update the filter weights which helps to learn the feature representation of the training data. The model has a single CNN layer with 5 filters of 2 × 2 stride which convolves the input data. The CNN model has 3 hidden layers with [32, 64, 32] neurons. The output of the CNN layer is then flattened such that it could be fed to the complementary ANN model. The ANN network has 3 hidden layers with [32, 100, 32] neurons and an output layer consisting of one node. Both models are trained as a single end-to-end network with cross-entropy as the loss function and backpropagated to compute the corresponding derivatives. The model was trained for different numbers of epochs (as seen in Table 3) using Adam optimizer, a learning rate of 0.001, and a training batch size of 512. The model architecture is illustrated in Figure 4. The neurons in the hidden layers of this hybrid network can be summarized as followed [32, 64, 32; ( ); 32, 100, 32].
Mathematically, each layer in the one-dimension (1-D) convolutional neural network will extract patterns in the G_i as it relates to other input variables using Equation (3) [45].
h y ¨ k = f W k x i j + b k
where Wk is the weight of the kernel connected to the kth feature map, f is the activation function, b k is the bias, and the star ∗ is the operator of the convolutional process. Equation (3) can be re-written as Equation (4) where c is the output h y ¨ k .
q = f W k x i j + b k
In the hybrid model, a flatten layer is used to convert the matrix to a singular vector (Equation (5)) so that it can be suitable for input into the ANN model.
Z = f q
The output of the flatten layer (Z) will serve as the input for the ANN model (Equation (6)).
y x = L ( j = 1 N w j p . Z j p + c )
where y x is the forecasted G_i, w j p is the weight that connects neurons in the input layer, Z j p represents the input variable in discrete-time t and c is the neuronal bias, L . denotes the hidden transfer function.

2.6.3. Hybrid CNN-LSTM-ANN Architectural Design

The triple hybrid model was designed for comparing the efficiency of the model at extracting the necessary features of the data by complimenting each other to learn both short and long-term dependencies. As seen in Figure 5, for this hybrid model, a recurrent neural network that runs in cycles is included, making it highly adept for analyzing sequence data. In comparison to the CNN-ANN model, the LSTM integrated as such, the constituting gates of the LSTM help it to retain necessary information from previous hidden states. The input data is fed to the 2-hidden layer 1D CNN with [32, 16] neurons, after which it is forwarded to the LSTM network with 32 hidden states and finally to the densely connected network which produces the general model predictions. The ANN model for this hybrid has 3 hidden layers with [25, 50, 25] neurons. Both the CNN and ANN architecture is identical to the hybrid CNN-ANN design discussed in the preceding section.
The summary of the neurons in the hidden layers of the hybrid model is [32, 16; 32; 25, 50, 25]. This model has basic calculations embedded in it which is described in four subsequent separate steps [46].
1st Step: According to the hidden state ht−1 and the new input qt from Equation (4), the LSTM model will determine the information that will be thrown away from the “forget gate” f t as seen in Equation (7).
f t = σ W f × h t 1 , q t + b f
where Wf is the weight of the matrices, σ is the logistic sigmoid function, and b f is the bias function.
2nd Step: In this step, the information that will be stored in the cell state will be decided. A new candidate cell ( C ˜ t ) is also generated and it is scaled by an “input gate” it.
C ˜ t = t a n h W C × h t 1 , q t + b C
i t = σ W i × h t 1 , q t + b i
tanh(…) in Equation (8) is the hyperbolic tangent function.
3rd Step: The new cell Ct is updated with the combination of a previous cell state Ct−1 and C ˜ t . The former cell is affected by f t and also scaled by it.
C t = f t C t 1 + i t C ˜ t
4th Step: In the final step, the output process is divided into two steps and an “output gate” o t is built to decide the cell state that is outputted. Ct activated by tanh function is filtered by the multiplication of o t . The result of the multiplication is the desired output ht
o t = σ W o × h t 1 , q t + b o
h t = o t × t a n h C t
For this hybrid model, the flatten layer converts the matrix (Equation (12)) to a singular vector.
Z = f h t
The output of the flatten layer (Z) will serve as the input for the ANN model (Equation (6)).

2.7. Model Training and Implementation

In implementing the hybrid models and the ANN model, the selection of the number of neurons in different layers of the model was strategically determined to ensure optimal convergence and fitting of the models. The regression models were built using the Keras library (which is a library in Python open-source programming package) while mean square error (MSE) is adopted as the loss function. Adam optimizer is used to minimize the cost function, and the rectified linear unit (ReLU) is applied as the nonlinear activation function due to its ability to make the network sparse and efficient. ReLU is one of the non-linear activation functions available and it is specifically used after each layer in a neural network to ensure that the computed output is activated (such that not all the neurons are activated at the same time). This is also adopted to apply non-linearity and overcome the vanishing gradient problem. The supervised learning feature of deep learning models creates room for further improvement of the model (especially when applied in other locations), however, the model overfitting problem is avoided by increasing the number of epochs gradually while checking the model performance. The optimal number of epochs is determined when the reduction in training losses stops. All the models developed were implemented in a Python environment running under core i7, 2.20 GHz system with 16 GB RAM, and GTX1060 6 GB Graphics card. The specifications of the computer used for the simulation are chosen considering the implementation of the models developed and these specs are common in the market nowadays. The optimal number of epochs required for the training of each model for different locations is summarized in Table 3.
The neural network models try to learn the relationship between the data features by computing and updating the weight and bias functions of a logistic regression operation. As the model is trained, the weights and biases are finetuned and updated to yield better prediction at every cycle by comparing the prediction to the data label. The differences between the prediction and label are computed as the loss function and averagely as the cost function. The cost function is then minimized using the backpropagation algorithm such that a global minimum is reached, ensuring that the predicted value is as close to the label as possible.
Specifically, for CNN integrated models, kernels are designed to run convolution on the data to update the weights and bias for refining the model prediction. The model predicted values are compared to the labels and the cost functions are modified by updating the model parameters using backpropagation. In the case of the LSTM model, the input, forget and output gates help the model to determine which values to retain for keeping long-term computational dependencies.

2.8. Evaluation Metrics

The performance of the two-hybrid neural network (CNN-ANN and CNN-LSTM-ANN) models, as well as that of the ANN model, will be evaluated with different deep learning statistical indicators and metrics. These include correlation coefficient (r), mean absolute error (MAE), mean absolute percentage error (MAPE), and root mean square error (RMSE). The mean square error (MSE) is used as a loss function for the training and testing of the model. These metrics have been used in different literature [32,47]. They serve as deterministic models to evaluate the performances of the models. The mathematical representation of these metrics can be found in Equations (14)–(19). It is noteworthy that the smaller the value of MAE and RMSE, the more accurate the model. Additionally, a model is said to be more accurate as the r value approaches 1. In addition to other metrics, the promoting percentage of MAE ( λ MAE ) and RMSE ( λ RMSE ) presented in literature [45] are also adopted to check the model performance. Finally, the change in MAE and RMSE (ΔRMSE and ΔMAE) for the training and test task is used to check the models’ performances. While a small value of ΔRMSE and ΔMAE signifies that the developed model is good for the prediction task, a ΔRMSE, and ΔMAE of zero does indicate that the model is not good.
r = i = 1 N ( G i m G i m G i p G i p ) i = 1 N G i m G i m 2 i = 1 N G i p G i p 2 2
MAE = i = 1 N G i m G i p N
MAPE = i = 1 N G i m G i p G i m × 100
RMSE = 1 N i = 1 N G i m G i p 2
λ RMSE = RMSE 1 RMSE 2 RMSE 1
λ MAE = MAE 1 MAE 2 MAE 1
where G i m is the measured value and G i p represents the predicted value, and G i m / G i p are the average values of G i m and G i p , respectively. MAE1 and RMSE1 are the training performance metrics while the MAE2 and RMSE2 are the prediction performance metrics. N is the number of the dataset used and λ MAE / λ RMSE are the promoting percentage of MAE/RMSE.

3. Results and Discussion

This work has two main objectives. The first objective is to develop two-hybrid neural network models suitable for estimating hourly global solar radiation in Africa. The second objective is to compare the performance of the hybrid neural network models with that of an artificial neural network model developed for the same purpose. Ten different countries in Africa have been selected for testing the developed models. There is no one-size-fits-all indicator for measuring the prediction accuracy of a model. Therefore, eight different evaluation metrics are used to evaluate the performance of the models developed in this study, and the results are presented in Table 3. Where r is the correlation coefficient of a model, it is a relative measure of fit of the predicted variable in comparison to the test dataset. The higher the r-value of a model, the more accurate the model for a prediction task. When comparing the prediction model used for a single time series, or multiple time series with the same units, MAE and RMSE are popular used to evaluate the performance of such models [48]. Minimization of MAE leads to a forecast of median and minimizing the RMSE will lead to a forecast of mean, thereby both metrics are crucial in evaluating model predictive performance. In comparison to MAE, RMSE does not treat each error equally, therefore, one large error can lead to a bad RMSE. In this study, the best model will be chosen based on the highest r-value, however, the corresponding MAE, RMSE, MAPE, and other metrics should be the least or one of the least for it to be categorized as the best. In the subsequent subsections, the overview of the hybrid neural networks model’s performance is discussed, and the performance of these models is also compared for different countries. The performance of the hybrid models and the ANN model is summarized in Table 4.

3.1. Hybrid Neural Network Models’ Performance Overview

The three neural network models (ANN, CNN-ANN, and CNN-LSTM-ANN) developed in this are capable of giving a good solar irradiance prediction. It is noteworthy that the performance of all the models developed in this study is very good, the r values range from 0.9662 to 0.9930. This is superior to the model developed in literature [49] for solar radiation prediction in which their r-value range between 0.8426 and 0.9356. Additionally, the performance of the models is better for countries with a well-distributed global solar radiation resource. According to the statistical summary of the data used in training and testing the models (Table 2), countries with a good mean value (Chad, Egypt, and Somalia) that corresponds to the maximum solar radiation have a better prediction performance. The RMSE and MAE of the models indicate that the model can accurately predict solar radiation for all the countries across Africa. It is noteworthy that the units of the MAE and RMSE are W/m2 which makes the errors above 10 in most cases. Typically, the errors (MAE and RMSE) are presented in MJ/m2 or kW/m2 [45,49] and this will reduce these values significantly.
Out of all the case studies, the CNN-ANN hybrid model had the best performance for seven countries (Ghana, Nigeria, Central African Republic, Chad, Egypt, South Africa, and Namibia) while CNN-LSTM-ANN had the best performance for three countries (Ethiopia, Somalia, and Algeria) considering the r-value and other metrics (Table 4). The time taken to train and test the hybrid (CNN-ANN and CNN-LSTM-ANN) models is smaller in comparison to the ANN model and this is an outstanding attribute for these models. CNN-ANN model for solar radiation prediction in Chad had the best accuracy of all the countries considered in this study. Although the r-value of the ANN model (0.9939) is higher than that of the CNN-ANN (0.9930), the performance of the ANN model considering the MAE, RMSE, MAPE, and other evaluation metrics shows that the prediction accuracy is not as good as the CNN-ANN model. The ΔRMSE for the ANN model is 5.843 and this reflects that the model has not trained very well in comparison to the CNN-ANN model. Furthermore, the ANN model performance for the Central African Republic had the least performance of all the models in this study (Table 4). To further highlight the strength and accuracy of all the models, out of the entire testing dataset, the performance of the models within 24 h period is plotted (Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10). This plot shows the fitting characteristics of each model.

3.2. Performance of Hybrid Neural Network Models and Its Comparison for Different Geopolitical Zones

CNN-ANN had the best prediction performance for the two west African countries. While the r, MAE, RMSE, and MAPE values for the model application are 0.9682, 37.74 W/m2, 87.54 W/m2, and 14.39% for Ghana; it is 0.9762, 30.99 W/m2, 78.80 W/m2, and 11.31% for Nigeria, respectively. The integration of CNN refines the performance of the ANN model in this region by reducing the errors (MAE, MAPE), and the difference in models’ training and test (ΔRMSE, ΔMAE, λ MAE , λ RMSE ) performance. The predictive performance comparison of the three models for hourly solar radiation prediction over 24 h for one west African country is illustrated in Figure 6. The performance of the model also shows that the CNN-ANN can be used for hourly solar radiation prediction for any country in the region (West African).
In East Africa, CNN-LSTM-ANN had the best performance and is most accurate for hourly solar radiation in Ethiopia and Somalia. As seen in Table 4, the performance of the CNN-LSTM-ANN hybrid model is better and more refined than that of the ANN model and CNN-ANN model. It also had the highest r-value (0.9800 for Ethiopia; 0.9904 for Somalia) and the least MAE, RMSE, and MAPE (25.89 W/m2, 72.72 W/m2 W/m2, and 9.31% for Ethiopia; 16.60 W/m2, 51.54 W/m2, and 5.725% for Somalia). The integration of one layer of LSTM with the CNN and ANN models smoothens the predictive performance of the model as seen in Figure 7 (where the predictive performance of the three models is compared based on their hourly solar radiation prediction with 24-h).
As discussed in the preceding section, CNN-ANN has the most accurate predictive performance for Chad. This model also has the best for the Central African Republic (Table 4). The hourly solar irradiation prediction illustrated in Figure 8 further shows that the CNN-ANN is the closest to the true value. It is however noteworthy that CNN-LSTM-ANN had the least performance out of the three models considered for this region.
Contrary to the model performance in other regions (where one model is good for both countries), the two-hybrid model had the most accurate predictive performance in North Africa. While CNN-ANN is the best model for Egypt, CNN-LSTM-ANN had the best performance for Algeria. The r-value, MAE, RMSE, and MAPE for the two countries respectively are 0.9925, 17. 25 W/m2, 48.33 W/m2, and 5.56% for Egypt; 0.9782, 26.41 W/m2, 72.80 W/m2, and 9.98% for Algeria. Figure 9 highlights the accuracy of the CNN-LSTM-ANN model when predicting solar radiation on an hourly time step for Algeria.
Similar to West and Central Africa, the CNN-ANN hybrid model had the best predictive accuracy in comparison to the two other models (Table 4) for countries in the southern part of Africa. As seen in Figure 10, the CNN-ANN hybrid model can predict the hourly global solar radiation better than the ANN and CNN-LSTM-ANN models. The evaluation metrics (r-value, MAE, MAPE, and RMSE) for the two countries studied in this region are similar. This is a reflection of the uniform distribution of solar radiation in the region. While CNN-ANN had the best performance for this region, it is noteworthy that CNN-LSTM-ANN performance is also good for solar radiation prediction. However, ANN had the least accuracy of all the three models in this region. It should be noted that the performance of the models is compared over a period of 24 h out of the total 10,519 h test results. This is to highlight the intrinsic detailed differences in the models’ predictive performance.

3.3. Performance Comparison of Hybrid Neural Network Models with Existing Literatures

Comparing the novel hybrid deep learning models presented in this study to other models that have been presented in existing literature for solar radiation prediction purposes, the CNN-ANN and CNN-LSTM-ANN model has superior performance as seen in Table 5. In comparison to the hybrid models presented by Olatomiwa et al. [50] and Feng et al. [51], the CNN-ANN and CNN-LSTM-ANN models have higher r-values and the RMSE are significantly smaller. Although the use of MLP and EANN models in another study [52] reported r-values of 0.9749 and 0.9598, the performance of all the models developed in this study is significantly better leading to a more accurate solar radiation prediction (Table 5).

4. Conclusions

In this study, two novel deep learning models namely CNN-ANN and CNN-LSTM-ANN have been developed in Keras-Python and used to forecast hourly global solar radiation in Africa. The developed model is also compared to an ANN model developed for the same purpose. Data from ten different African countries within the five geopolitical zones have been used to train and test the models developed. Variation in weather conditions is one of the main factors that affect the performance of the model as seen in Table 4. The models performed better for locations with high and well-distributed solar radiation as in the case of Egypt, Chad, and Somalia. The integration of LSTM helps the model to retain long-term computational dependency thereby reducing the error term in comparison to ANN and this is obvious in the MAE results in Table 4. Additionally, the addition of CNN to the ANN algorithms helps in boosting the performance of the model thereby giving a more accurate or higher r-score (Table 4). The concluding remarks from this study are highlighted as follows.
-
The hybrid models were found to predict solar radiation more accurately than the ANN model. While CNN-ANN had the best performance for seven different countries (Ghana, Nigeria, Chad, CAR, Egypt, Namibia, and South Africa), CNN-LSTM-ANN had the best predictive performance for Algeria, Somalia, and Ethiopia.
-
Also, the integration of a flatten layer in the CNN-ANN hybrid model enhanced the predictive performance of this model.
-
The two-hybrid models train faster than the ANN model making it more desirable for computation in developing countries.
-
Out of all the countries considered in the scope of this study, the application of the CNN-ANN hybrid model in Chad had the overall best performance. The r-value, MAE, RMSE, and MAPE for this case are 0.9930, 15.70 W/m2, 46.84 W/m2, and 4.98 respectively.
-
Also, the performance of the model was found to be better for countries with well-distributed solar radiation.
-
Finally, the performance of the ANN model developed in this study is also very good, however, the large number (2500) neurons in the hidden layer and the lengthy training period make it undesirable for developing nations. On the other hand, the novel hybrid neural network models presented in this study can achieve a better result with the use of a lesser number of neurons and this makes it more suitable for application in any part of the world.
Overall, it can be concluded that CNN-ANN has the best prediction performance of the two-hybrid neural network due to its simplified methodology. Although the hybrid models in this study have been tested on data from Africa, it is noteworthy that this can be applied for a similar purpose in other continents. In future studies, the application of these hybrid models for other renewable energy resources forecasts will be considered. Additionally, the development of hybrid models with traditional learning and machine learning tools will be studied. The proposed approach in this study can also be considered for PV-related systems modeling including the single diode modeling of PV systems.

Author Contributions

Conceptualization, M.M., A.O., N.Y., Z.Q., C.C.U., B.E. and O.B.; methodology, M.M., A.O., N.Y., Z.Q., C.C.U., B.E. and O.B.; software, M.M., A.O., C.C.U. and O.B.; validation A.O. and O.B.; formal analysis, A.O. and O.B.; investigation, M.M., B.E. and O.B.; resources, O.B.; data curation, O.B.; writing—original draft preparation, M.M. and O.B.; writing—review and editing, M.M. and O.B.; supervision, O.B.; project administration, M.M., A.O., N.Y., Z.Q., C.C.U., B.E. and O.B.; funding acquisition, M.M. and Z.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used for this study is available upon reasonable request from the corresponding author.

Acknowledgments

We acknowledge the support of Sichuan Provincial Lab for Power Systems Wide-Area Measurement and Control during the cause of this research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Azimi, R.; Ghayekhloo, M.; Ghofrani, M. A hybrid method based on a new clustering technique and multilayer perceptron neural networks for hourly solar radiation forecasting. Energy Convers. Manag. 2016, 118, 331–344. [Google Scholar] [CrossRef]
  2. González, I.; Calderón, A.J.; Portalo, J.M. Innovative Multi-Layered Architecture for Heterogeneous Automation and Monitoring Systems: Application Case of a Photovoltaic Smart Microgrid. Sustainability 2021, 13, 2234. [Google Scholar] [CrossRef]
  3. Polimeni, S.; Nespoli, A.; Leva, S.; Valenti, G.; Manzolini, G.; Polimeni, S.; Nespoli, A.; Leva, S.; Valenti, G.; Manzolini, G. Implementation of Different PV Forecast Approaches in a MultiGood MicroGrid: Modeling and Experimental Results. Processes 2021, 9, 323. [Google Scholar] [CrossRef]
  4. Bamisile, O.; Oluwasanmi, A.; Obiora, S.; Osei-Mensah, E.; Asoronye, G.; Huang, Q. Application of deep learning for solar irradiance and solar photovoltaic multi-parameter forecast. Energy Sources Part A Recovery Util. Environ. Eff. 2020, 1–21. [Google Scholar] [CrossRef]
  5. Benmouiza, K.; Cheknane, A. Forecasting hourly global solar radiation using hybrid k-means and nonlinear autoregressive neural network models. Energy Convers. Manag. 2013, 75, 561–569. [Google Scholar] [CrossRef]
  6. Innovation Village. NiMet. Nigeria Only Has 54 Weather Stations Instead of 9000. 2017. Available online: https://innovation-village.com/nigeria-54-weather-stations-instead-9000-nimet/#:~:text=Instead%20of%20the%20minimum%209%2C000,Nigerian%20Meteorological%20Agency%20(NiMet).=He%20revealed%20that%20the%20agency,large%20population%20and%20surface%20area (accessed on 15 May 2020).
  7. Hodge, B.-M.; Martinez-Anido, C.B.; Wang, Q.; Chartan, E.; Florita, A.; Kiviluoma, J. The combined value of wind and solar power forecasting improvements and electricity storage. Appl. Energy 2018, 214, 1–15. [Google Scholar] [CrossRef]
  8. Lan, H.; Zhang, C.; Hong, Y.-Y.; He, Y.; Wen, S. Day-ahead spatiotemporal solar irradiation forecasting using frequency-based hybrid principal component analysis and neural network. Appl. Energy 2019, 247, 389–402. [Google Scholar] [CrossRef]
  9. Sobri, S.; Koohi-Kamali, S.; Rahim, N.A. Solar photovoltaic generation forecasting methods: A review. Energy Convers. Manag. 2018, 156, 459–497. [Google Scholar] [CrossRef]
  10. Chimmula, V.K.R.; Zhang, L. Time series forecasting of COVID-19 transmission in Canada using LSTM networks. Chaos Solitons Fractals 2020, 135, 109864. [Google Scholar] [CrossRef]
  11. Gao, W.; Darvishan, A.; Toghani, M.; Mohammadi, M.; Abedinia, O.; Ghadimi, N. Different states of multi-block based forecast engine for price and load prediction. Int. J. Electr. Power Energy Syst. 2019, 104, 423–435. [Google Scholar] [CrossRef]
  12. Agüera-Pérez, A.; Palomares-Salas, J.; de la Rosa, J.J.G.; Florencias-Oliveros, O. Weather forecasts for microgrid energy management: Review, discussion and recommendations. Appl. Energy 2018, 228, 265–278. [Google Scholar] [CrossRef]
  13. Ghadimi, N.; Akbarimajd, A.; Shayeghi, H.; Abedinia, O. Two stage forecast engine with feature selection technique and improved meta-heuristic algorithm for electricity load forecasting. Energy 2018, 161, 130–142. [Google Scholar] [CrossRef]
  14. 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]
  15. 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]
  16. Olatomiwa, L.; Mekhilef, S.; Shamshirband, S.; Petković, D. Adaptive neuro-fuzzy approach for solar radiation prediction in Nigeria. Renew. Sustain. Energy Rev. 2015, 51, 1784–1791. [Google Scholar] [CrossRef]
  17. Pang, Z.; Niu, F.; O’Neill, Z. Solar radiation prediction using recurrent neural network and artificial neural network: A case study with comparisons. Renew. Energy 2020, 156, 279–289. [Google Scholar] [CrossRef]
  18. Lee, J.; Wang, W.; Harrou, F.; Sun, Y. Reliable solar irradiance prediction using ensemble learning-based models: A comparative study. Energy Convers. Manag. 2020, 208, 112582. [Google Scholar] [CrossRef] [Green Version]
  19. Bendiek, P.; Taha, A.; Abbasi, Q.H. Applied sciences Solar Irradiance Forecasting Using a Data-Driven Algorithm and Contextual Optimisation. Appl. Sci. 2022, 12, 134. [Google Scholar] [CrossRef]
  20. Aljanad, A.; Tan, N.; Agelidis, V.; Shareef, H. Neural Network Approach for Global Solar Irradiance Prediction at Extremely Short-Time-Intervals Using Particle Swarm Optimization Algorithm. Energies 2021, 14, 1213. [Google Scholar] [CrossRef]
  21. Bamisile, O.; Oluwasanmi, A.; Ejiyi, C.; Yimen, N.; Obiora, S.; Huang, Q. Comparison of machine learning and deep learning algorithms for hourly global/diffuse solar radiation predictions. Int. J. Energy Res. 2021. [Google Scholar] [CrossRef]
  22. Gürel, A.E.; Ağbulut, Ü.; Biçen, Y. Assessment of machine learning, time series, response surface methodology and empirical models in prediction of global solar radiation. J. Clean. Prod. 2020, 277, 122353. [Google Scholar] [CrossRef]
  23. Dong, N.; Chang, J.-F.; Wu, A.-G.; Gao, Z.-K. A novel convolutional neural network framework based solar irradiance prediction method. Int. J. Electr. Power Energy Syst. 2020, 114, 105411. [Google Scholar] [CrossRef]
  24. Zheng, J.; Zhang, H.; Dai, Y.; Wang, B.; Zheng, T.; Liao, Q.; Liang, Y.; Zhang, F.; Song, X. Time series prediction for output of multi-region solar power plants. Appl. Energy 2019, 257, 114001. [Google Scholar] [CrossRef]
  25. Irena. Solar Pv in Africa: Costs and Market; International Renewable Energy Agency: Masdar City, United Arab Emirates, 2016. [Google Scholar]
  26. Higashiyama, K.; Fujimoto, Y.; Hayashi, Y. Feature Extraction of NWP Data for Wind Power Forecasting Using 3D-Convolutional Neural Networks. Energy Procedia 2018, 155, 350–358. [Google Scholar] [CrossRef]
  27. Wang, F.; Xuan, Z.; Zhen, Z.; Li, K.; Wang, T.; Shi, M. A day-ahead PV power forecasting method based on LSTM-RNN model and time correlation modification under partial daily pattern prediction framework. Energy Convers. Manag. 2020, 212, 112766. [Google Scholar] [CrossRef]
  28. Wang, K.; Qi, X.; Liu, H. Photovoltaic power forecasting based LSTM-Convolutional Network. Energy 2019, 189, 116225. [Google Scholar] [CrossRef]
  29. Segal-Rozenhaimer, M.; Li, A.; Das, K.; Chirayath, V. Cloud detection algorithm for multi-modal satellite imagery using convolutional neural-networks (CNN). Remote Sens. Environ. 2019, 237, 111446. [Google Scholar] [CrossRef]
  30. Jain, A.; Mao, J.; Mohiuddin, K. Artificial neural networks: A tutorial. Computer 1996, 29, 31–44. [Google Scholar] [CrossRef] [Green Version]
  31. Yadav, A.K.; Chandel, S. Solar radiation prediction using Artificial Neural Network techniques: A review. Renew. Sustain. Energy Rev. 2014, 33, 772–781. [Google Scholar] [CrossRef]
  32. Yadav, A.K.; Malik, H.; Chandel, S. Selection of most relevant input parameters using WEKA for artificial neural network based solar radiation prediction models. Renew. Sustain. Energy Rev. 2014, 31, 509–519. [Google Scholar] [CrossRef]
  33. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [PubMed]
  34. Zhao, X.; Wei, H.; Wang, H.; Zhu, T.; Zhang, K. 3D-CNN-based feature extraction of ground-based cloud images for direct normal irradiance prediction. Sol. Energy 2019, 181, 510–518. [Google Scholar] [CrossRef]
  35. Palangi, H.; Deng, L.; Shen, Y.; Gao, J.; He, X.; Chen, J.; Song, X.; Ward, R. Deep Sentence Embedding Using Long Short-Term Memory Networks: Analysis and Application to Information Retrieval. IEEE/ACM Trans. Audio Speech Lang. Process. 2016, 24, 694–707. [Google Scholar] [CrossRef] [Green Version]
  36. Qing, X.; Niu, Y. Hourly day-ahead solar irradiance prediction using weather forecasts by LSTM. Energy 2018, 148, 461–468. [Google Scholar] [CrossRef]
  37. Chakraborty, A.; Ghosh, S.; Mukhopadhyay, P.; Dinara, S.M.; Bag, A.; Mahata, M.K.; Biswas, D. Trapping effect analysis of AlGaN/InGaN/GaN Heterostructure by conductance frequency measurement. MRS Proc. XXXIII 2014, 2, 81–87. [Google Scholar]
  38. Hafner, M.; Tagliapietra, S.; de Strasser, L. Prospects for Renewable Energy in Africa. In Energy in Africa: Challenges and Opportunities; Springer International Publishing: Cham, Switzerland, 2018; pp. 47–75. [Google Scholar]
  39. Liu, Z. Global Energy Interconnection; Elsevier: Amsterdam, The Netherlands, 2015. [Google Scholar]
  40. European Commission. Photovoltaic Geographical Information System; European Commission: Brussels, Belgium, 2019. [Google Scholar]
  41. Thotakura, S.; Kondamudi, S.C.; Xavier, J.F.; Quanjin, M.; Reddy, G.R.; Gangwar, P.; Davuluri, S.L. Operational performance of megawatt-scale grid integrated rooftop solar PV system in tropical wet and dry climates of India. Case Stud. Therm. Eng. 2020, 18, 100602. [Google Scholar] [CrossRef]
  42. Mishra, M.; Nayak, J.; Naik, B.; Abraham, A. Deep learning in electrical utility industry: A comprehensive review of a decade of research. Eng. Appl. Artif. Intell. 2020, 96, 104000. [Google Scholar] [CrossRef]
  43. McKay, J. The Effect of Solar Radiation and Wind Speed on Air Temperature Rise in Outdoor Cabinets Containing Telephone Equipment. In Proceedings of the 10th International Telecommunications Energy Conference, San Diego, CA, USA, 30 October–2 November 1988. [Google Scholar] [CrossRef]
  44. Lippmann, R.P. An introduction to computing with neural nets. ACM SIGARCH Comput. Arch. News 1988, 16, 7–25. [Google Scholar] [CrossRef]
  45. Ghimire, S.; Deo, R.C.; Raj, N.; Mi, J. Deep solar radiation forecasting with convolutional neural network and long short-term memory network algorithms. Appl. Energy 2019, 253, 113541. [Google Scholar] [CrossRef]
  46. Shi, X.; Chen, Z.; Wang, H.; Yeung, D.Y.; Wong, W.K.; Woo, W.C. Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting. In Advances in Neural Information Processing Systems; Morgan Kaufmann Publishers Inc.: Burlington, MA, USA, 2015. [Google Scholar]
  47. Meenal, R.; Selvakumar, A.I. Assessment of SVM, empirical and ANN based solar radiation prediction models with most influencing input parameters. Renew. Energy 2018, 121, 324–343. [Google Scholar] [CrossRef]
  48. Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice, 2nd ed.; OTexts: Melbourne, Australia, 2020. [Google Scholar]
  49. Blal, M.; Khelifi, S.; Dabou, R.; Sahouane, N.; Slimani, A.; Rouabhia, A.; Ziane, A.; Neçaibia, A.; Bouraiou, A.; Tidjar, B. A prediction models for estimating global solar radiation and evaluation meteorological effect on solar radiation potential under several weather conditions at the surface of Adrar environment. Measurement 2019, 152, 107348. [Google Scholar] [CrossRef]
  50. Olatomiwa, L.; Mekhilef, S.; Shamshirband, S.; Mohammadi, K.; Petković, D.; Sudheer, C. A support vector machine–firefly algorithm-based model for global solar radiation prediction. Sol. Energy 2015, 115, 632–644. [Google Scholar] [CrossRef]
  51. Feng, Y.; Gong, D.; Zhang, Q.; Jiang, S.; Zhao, L.; Cui, N. Evaluation of temperature-based machine learning and empirical models for predicting daily global solar radiation. Energy Convers. Manag. 2019, 198, 111780. [Google Scholar] [CrossRef]
  52. Guijo-Rubio, D.; Durán-Rosal, A.; Gutiérrez, P.; Gómez-Orellana, A.; Casanova-Mateo, C.; Sanz-Justo, J.; Salcedo-Sanz, S.; Hervás-Martínez, C. Evolutionary artificial neural networks for accurate solar radiation prediction. Energy 2020, 210, 118374. [Google Scholar] [CrossRef]
  53. Ağbulut, A.E.; Gürel, A.E.; Biçen, Y. Prediction of daily global solar radiation using different machine learning algorithms: Evaluation and comparison. Renew. Sustain. Energy Rev. 2020, 135, 110114. [Google Scholar] [CrossRef]
Figure 1. Research flowchart.
Figure 1. Research flowchart.
Applsci 12 01435 g001
Figure 2. Map of Africa highlighting the countries used as the case study.
Figure 2. Map of Africa highlighting the countries used as the case study.
Applsci 12 01435 g002
Figure 3. ANN model architecture.
Figure 3. ANN model architecture.
Applsci 12 01435 g003
Figure 4. CNN-ANN hybrid model architecture.
Figure 4. CNN-ANN hybrid model architecture.
Applsci 12 01435 g004
Figure 5. CNN-LSTM-ANN hybrid model architecture.
Figure 5. CNN-LSTM-ANN hybrid model architecture.
Applsci 12 01435 g005
Figure 6. CNN-ANN predictive performance in comparison to other models for West Africa (Ghana).
Figure 6. CNN-ANN predictive performance in comparison to other models for West Africa (Ghana).
Applsci 12 01435 g006
Figure 7. CNN-LSTM-ANN predictive performance in comparison to other models for East Africa (Ethiopia).
Figure 7. CNN-LSTM-ANN predictive performance in comparison to other models for East Africa (Ethiopia).
Applsci 12 01435 g007
Figure 8. CNN-ANN predictive performance in comparison to other models for Central Africa (Chad).
Figure 8. CNN-ANN predictive performance in comparison to other models for Central Africa (Chad).
Applsci 12 01435 g008
Figure 9. CNN-ANN-LSTM predictive performance in comparison to other models for Algeria in North Africa.
Figure 9. CNN-ANN-LSTM predictive performance in comparison to other models for Algeria in North Africa.
Applsci 12 01435 g009
Figure 10. CNN-ANN predictive performance in comparison to other models for Southern Africa.
Figure 10. CNN-ANN predictive performance in comparison to other models for Southern Africa.
Applsci 12 01435 g010
Table 1. Case study location description.
Table 1. Case study location description.
Geopolitical ZoneCountryCityLatitude (°)Longitude (°)Elevation (m)Optimum Azimuth (deg.)Optimum Slope (deg.)
West AfricaGhana (GH)Bongo10.903−0.812216616
West AfricaNigeria (NG)Kano12.0228.524465516
East AfricaEthiopia (ETH)Djibouti10.64741.286538013
East AfricaSomalia (SOM)Bari10.27150.141308−412
Central AfricaChad (CH)Ennedi18.06422.576545320
Central AfricaCentral African Republic (CAR)Vakaga9.82622.508494816
North AfricaAlgeria (ALG)Tamanrasset24.0724.6798742627
North AfricaEgypt (EGY)Mut24.47528.466332525
Southern AfricaSouth Africa (SA)Northern Cape−29.18620.464874−1800
Southern AfricaNamibia (NAM)Erongo Region−21.96315.3311179−1800
Table 2. Statistical summary of data.
Table 2. Statistical summary of data.
CountryStatisticsG_i (W/m2)As (deg.)Tamb (deg. C)W10 (m/s)
AlgeriaMean296.1519.1426.343.97
Std386.3924.828.981.71
Min0−4.95−0.180.06
Max1966.485.4644.9412.59
Central African RepublicMean264.2420.4727.753.063
Std358.3626.174.821.443
Min0−5.5314.360.010
Max1812.984.3944.1710.47
ChadMean305.419.6826.134.751
Std393.2525.428.1281.584
Min0−5.133.030.60
Max1916.185.7343.5611.63
EgyptMean303.9418.7622.094.595
Std392.1824.388.7561.588
Min0−5.07−1.100.04
Max1753.688.9543.1113.31
EthiopiaMean278.4120.4229.043.516
Std363.8526.125.291.451
Min0−8013.420.04
Max1130.583.1741.149.48
GhanaMean260.5920.3928.262.797
Std350.1426.154.4611.095
Min0−6.2914.640.03
Max1735.389.4942.88.21
NamibiaMean276.0118.9521.093.477
Std362.9824.636.2971.924
Min0−5.930.750.010
Max200289.5341.0312.41
NigeriaMean272.7920.3127.312.875
Std362.0526.035.831.047
Min0−5.289.410.040
Max191185.8243.958.18
South AfricaMean259.1617.6019.604.46
Std346.9423.068.291.932
Min0−5.87−2.520.040
Max191182.2042.8617.21
SomaliaMean289.8820.4426.855.922
Std372.6826.194.523.093
Min0−80.8113.420.010
Max1157.989.0239.5316.66
Table 3. Summary of training optimal epoch size.
Table 3. Summary of training optimal epoch size.
RegionCountryModelOptimal No. EpochTraining/Testing Time (s)
West AfricaGhanaANN10003000
CNN-ANN600600
CNN-LSTM-ANN100200
NigeriaANN3501050
CNN-ANN200200
CNN-LSTM-ANN6001200
East AfricaEthiopiaANN4501350
CNN-ANN600600
CNN-LSTM-ANN6001200
SomaliaANN2502250
CNN-ANN250250
CNN-LSTM-ANN6001200
Central AfricaChadANN300900
CNN-ANN500500
CNN-LSTM-ANN150300
Central African RepublicANN6501950
CNN-ANN6501950
CNN-LSTM-ANN300600
North AfricaAlgeriaANN300900
CNN-ANN10001000
CNN-LSTM-ANN300900
EgyptANN5701700
CNN-ANN6001800
CNN-LSTM-ANN3801600
Southern AfricaSouth AfricaANN5005000
CNN-ANN3003000
CNN-LSTM-ANN6001200
NamibiaANN5001500
CNN-ANN300300
CNN-LSTM-ANN6001200
Table 4. Statistical summary of data.
Table 4. Statistical summary of data.
RegionCountryModelEvaluation Metrics
rMAERMSEMAPEΔMAEΔRMSE λ MAE λ RMSE
West AfricaGhanaANN0.967539.2288.8815.050.10890.0710.00280.0008
CNN-ANN0.968237.7487.5414.390.0220.6120.00060.0069
CNN-LSTM-ANN0.967536.5288.5314.130.8481.5710.02270.0174
NigeriaANN0.979232.0673.5711.7541.3844.5190.04140.0579
CNN-ANN0.976230.9978.79511.3110.0630.6350.00200.0081
CNN-LSTM-ANN0.976231.7378.5511.602.4577.4230.08400.1044
East AfricaEthiopiaANN0.978728.1373.8110.280.6152.6010.02240.0365
CNN-ANN0.979229.4173.7410.602.1386.7850.0740.1013
CNN-LSTM-ANN0.980025.8972.279.311.5345.5080.0630.0825
SomaliaANN0.989822.2152.8017.780.3742.6260.01660.0474
CNN-ANN0.989419.9454.1196.9080.06280.10850.003140.0020
CNN-LSTM-ANN0.990416.6051.545.7250.2191.8790.01300.0352
Central AfricaChadANN0.993917.0742.995.620.9915.8430.0550.1196
CNN-ANN0.993015.7046.845.040.19810.8840.01280.0185
CNN-LSTM-ANN0.992115.2349.084.980.09880.47970.0060.0097
Central African RepublicANN0.966744.5391.4616.920.98370.85880.02160.0093
CNN-ANN0.967539.8389.9915.240.30560.31360.00770.0035
CNN-LSTM-ANN0.966239.7192.4314.980.27920.82240.00710.0090
North AfricaAlgeriaANN0.981530.1973.9410.240.13821.87730.00460.0261
CNN-ANN0.982727.7071.359.450.9963.2870.03730.0483
CNN-LSTM-ANN0.983032.0571.0310.760.35942.68340.01110.0364
EgyptANN0.991417.6450.885.860.40022.7880.02320.0580
CNN-ANN0.992517.2548.335.560.73671.5670.0450.034
CNN-LSTM-ANN0.991917.3749.595.740.32981.6480.01940.034
Southern AfricaSouth AfricaANN0.973228.2279.4910.991.3326.9220.04950.0954
CNN-ANN0.978226.4172.809.980.3560.2210.01370.0030
CNN-LSTM-ANN0.976926.6474.2510.220.9492.8980.0370.041
NamibiaANN0.975231.4180.1211.471.0844.9980.03570.0665
CNN-ANN0.979326.2773.549.490.13780.46510.00520.0062
CNN-LSTM-ANN0.979129.0573.3110.670.4261.7340.01450.0231
Bold numbers represent best result.
Table 5. Hybrid model performance comparison with existing literature.
Table 5. Hybrid model performance comparison with existing literature.
ResearchCountryModelEvaluation Metrics
rRMSEMAPE
Olatomiwa et al. [50]NigeriaSVM-FFA0.72801.8661 MJ/m211.52%
ANN0.64962.0458 MJ/m213.43%
GP0.68991.9532 MJ/m213.21%
G-Rubio et al. [52]SpainEANN0.959885.71 W/m2-
MLP0.974967.69 W/m2-
Agbulut et al. [53]TurkeyANN0.93972.776 MJ/m223.33%
KNN0.92473.092 MJ/m227.74%
SVM0.93802.820 MJ/m223.37%
Feng et al. [51]ChinaANN0.94022.855 MJ/m2/day-
MEA-ANN0.94072.814 MJ/m2/day-
RF0.92843.103 MJ/m2/day-
WNN0.93912.839 MJ/m2/day-
Blal et al. [49]AlgeriaTM40.91112.3643 MJ/m2-
TM50.87402.7879 MJ/m2-
TM60.89542.5543 MJ/m2-
Present studyChadANN0.993942.99 W/m25.62%
CNN-ANN0.993046.84 W/m25.04%
CNN-LSTM-ANN0.992149.08 W/m24.98%
AlgeriaANN0.981573.94 W/m210.24%
CNN-ANN0.982771.35 W/m29.45%
CNN-LSTM-ANN0.983071.03 W/m210.76%
EgyptANN0.991450.88 W/m25.86%
CNN-ANN0.992548.33 W/m25.56%
CNN-LSTM-ANN0.991949.59 W/m25.74%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Mukhtar, M.; Oluwasanmi, A.; Yimen, N.; Qinxiu, Z.; Ukwuoma, C.C.; Ezurike, B.; Bamisile, O. Development and Comparison of Two Novel Hybrid Neural Network Models for Hourly Solar Radiation Prediction. Appl. Sci. 2022, 12, 1435. https://doi.org/10.3390/app12031435

AMA Style

Mukhtar M, Oluwasanmi A, Yimen N, Qinxiu Z, Ukwuoma CC, Ezurike B, Bamisile O. Development and Comparison of Two Novel Hybrid Neural Network Models for Hourly Solar Radiation Prediction. Applied Sciences. 2022; 12(3):1435. https://doi.org/10.3390/app12031435

Chicago/Turabian Style

Mukhtar, Mustapha, Ariyo Oluwasanmi, Nasser Yimen, Zhang Qinxiu, Chiagoziem C. Ukwuoma, Benjamin Ezurike, and Olusola Bamisile. 2022. "Development and Comparison of Two Novel Hybrid Neural Network Models for Hourly Solar Radiation Prediction" Applied Sciences 12, no. 3: 1435. https://doi.org/10.3390/app12031435

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