Next Article in Journal
Carbon-Responsive Computing: Changing the Nexus between Energy and Computing
Next Article in Special Issue
Improving Forecast Reliability for Geographically Distributed Photovoltaic Generations
Previous Article in Journal
Numerical Simulation of an Out-Vessel Loss of Coolant from the Breeder Primary Loop Due to Large Rupture of Tubes in a Primary Heat Exchanger in the DEMO WCLL Concept
Previous Article in Special Issue
Design of a Low-Cost Multiplexer for the Study of the Impact of Soiling on PV Panel Performance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Solar Radiation Prediction Using a Novel Hybrid Model of ARMA and NARX

1
Laboratory of Electrical Systems, National Engineers School of Tunis, University of Tunis El Manar, LR11ES15, Tunis 1002, Tunisia
2
ESTIA Institute of Technology, University Bordeaux, F-64210 Bidart, France
3
Higher Institute of Computing, University of Tunis El Manar, Ariana 2080, Tunisia
*
Author to whom correspondence should be addressed.
Energies 2021, 14(21), 6920; https://doi.org/10.3390/en14216920
Submission received: 11 May 2021 / Revised: 24 June 2021 / Accepted: 3 August 2021 / Published: 21 October 2021

Abstract

:
The prediction of solar radiation has a significant role in several fields such as photovoltaic (PV) power production and micro grid management. The interest in solar radiation prediction is increasing nowadays so efficient prediction can greatly improve the performance of these different applications. This paper presents a novel solar radiation prediction approach which combines two models, the Auto Regressive Moving Average (ARMA) and the Nonlinear Auto Regressive with eXogenous input (NARX). This choice has been carried out in order to take the advantages of both models to produce better prediction results. The performance of the proposed hybrid model has been validated using a real database corresponding to a company located in Barcelona north. Simulation results have proven the effectiveness of this hybrid model to predict the weekly solar radiation averages. The ARMA model is suitable for small variations of solar radiation while the NARX model is appropriate for large solar radiation fluctuations.

1. Introduction

In the last decades, the integration of renewable energies into the electrical grid has become the main challenge in different countries following the high consumption of electric energy in the world and the increase of oil and coal prices [1,2]. Furthermore, renewable energies can be the adequate solution for isolated and rural areas as well as for beacons at sea. Solar energy is among the key renewable energies, it is clean and available and it can be directly captured through a PV system. Parameters associated with electrical equivalent models of PV systems have great importance in its performance enhancement. However, the accurate estimation of these parameters represents a challenging task due to the nonlinear characteristics of the PV modules/panels and the higher computational complexities [3,4]. On the other hand, PV power production is mainly based on solar radiation, it is completely absent at night and available during the day, it is low in winter and high in summer and for the same day it is likely to be fluctuating because it is influenced by some weather conditions. This is the cause of PV power production intermittence which causes several problems when integrating the micro grid [5]. To minimize and/or avoid these problems, PV power prediction, or rather solar radiation prediction represents an excellent solution. Moreover, it is important to select the appropriate prediction technique to obtain an accurate solar radiation prediction. In the literature, there are several ways to predict solar radiation; they can be broadly divided into two categories, numerical weather prediction models and statistical models [6,7]. The first category is based on historical data and the reproduction of several physical factors related to the atmosphere processes such as the interaction between earth and solar radiation and the radiative absorption by ozone [8]. The other category treats solar radiation as time series and follows the evolution of solar radiation over time. Based on the historical radiation data, a model is created to characterize the behavior and the dynamic of solar radiation evolution in the past. The prediction of solar radiation on a given time is then based on the created model. This second category is the most used, in the previous few years, different solar radiation prediction approaches have been proposed. Benali et al. [9] used the Artificial Neural Network (ANN), the Smart Persistence, and the Random Forest methods to forecast the three components of solar radiation based on the site of Odeillo in France. They showed that the Random Forest is the most efficient compared to both other methods. For h + 6 time horizon, the Normalized Root Mean Squared Error (nRMSE) is computed for these three solar radiation components, it reached 27.78% for the global horizontal radiation, 49.08% for the beam normal radiation, and 35.08% for the diffuse horizontal radiation. In [10] authors applied a deep Long Short-Term Memory Recurrent Neural Network (LSTM-RNN) to predict day-ahead solar radiation. As input data, they introduced only temperature and humidity of six different locations. The predicted solar radiation is then used to estimate the PV power installed in a micro grid building in Golden and Colorado. Simulation results have proven the optimal operation of this micro grid over one year following the use of the proposed forecasting model. Eleven statistical and machine models were analyzed and applied in [11] to forecast solar radiation for medium time horizon. This forecasting was performed for three different sites located in France, Odeillo, Ajaccio, and Tilos. Simulation results have proven the effectiveness of ARMA model and Multilayer Perceptron (MLP) to predict the solar radiation with weak variability on Ajaccio site. For Tilos, which is characterized by a medium variability, the ARMA and Bagged Regression Tree have given the best performances. The forecasting reliability is lower for Odeillo with higher solar radiation variability, but the best performances were obtained using the Random Forest approach and Bagged Regression Tree. Bixuan et al. [12] presented an approach based on Gated Recurrent Unit (GRU) and weather forecasting to predict the solar radiation over a horizon of 24 h. Experimental results have shown the accuracy of this approach compared to other techniques [12]; it reduces the Root Mean Square Error (RMSE) by 23.3% compared to Back Propagation Neural Network (BPNN) and by 11.9% compared to Recurrent Neural Network (RNN), it can also shorten the training time. A review of solar radiation prediction using an Artificial Neural Network (ANN) is presented by Kumar and Chandel in [13], they pointed out that ANNs predict solar radiation more accurately than conventional techniques, but their performance is dependent on the input parameters introduced. Qazi et al. [14] reviewed the forecasting of solar radiation using ANN and they concluded that their performance depends not only on input parameters but also on neuronal architecture type and the training algorithm. The research study presented in [15] aimed to forecast the daily and monthly solar radiation in Seoul, South Korea, using the Auto Regressive Integrated Moving Average (ARIMA) model. A large amount of historical solar radiation data was used from 1981 to 2017 as a training and testing dataset. Simulation results have proven the ability of the ARIMA model to predict the daily and monthly solar radiation. These good forecasting results have been explained by the convenience, the accurate prediction, and the simple computations which characterize the ARIMA model. ARMA has been the focus of several other studies [16,17], it was used in [16] to forecast the solar radiation and then compared with the persistence model. Simulation results have shown that ARMA outperforms the persistence model on the short and medium horizon. The study presented in [17] has applied the ARMA model to predict the global solar radiation for 24 h at Dakar, Senegal. The effectiveness of ARMA has been proven in this work and it can be used as a decision support tool for planning PV solar power plant production in Senegal and its surroundings. Although these previous solar radiation forecasting techniques, especially ANN and ARMA models, are efficient for some applications, they are not suitable for some others for which high forecasting precision is required. In order to improve the accuracy of solar radiation forecasting, several researchers have proposed hybrid models. Valenzuela et al. [18] proposed a model which combined ANN with ARIMA techniques in order to predict time series. It is proven that the obtained results using this hybrid model were improved compared to those obtained when ANN and ARIMA are used separately. Therefore, these studies have been carried out in [19], and they have shown the efficiency of a hybrid model combining ARIMA and ANN to predict water time series. A hybrid model compound of ARMA and TDNN (Time Delay Neural Network) was proposed by Ji Wu and C.K Chan to predict time series solar radiation [20]. This hybrid model is applied after using each technique (ARMA and TDNN) separately. The efficiency of TDNN has been proven to predict the nonlinear component of solar radiation while the ARMA model is rather better on the linear component. To further improve the prediction accuracy, the authors proposed benefitting from the features of the two models by combining them into a single one. The prediction results given by the hybrid model were improved especially for non-cloudy days. Some other hybrid models have thus been applied for the prediction of solar radiation such as wavelets combined with ANN [21] and Marcov chains with ANN [22]. Che et al. suggested a novel approach which combines between Kalman Filter and mesoscale numerical weather prediction technique. A dataset of two sites in Japan and China was used to validate the capability of this model to forecast day-ahead solar radiation [23]. Halabi et al. proposed the use of an Adaptive Neuro Fuzzy Inference System (ANFIS) for forecasting the monthly global radiation in Malaysia. The maximum and minimum temperature, monthly rainfall, clearness index, and sunshine duration are used as inputs for this model [24]. In this research work, ANFIS is also combined with three evolutionary algorithms such as Particle Swarm Optimization (PSO), Genetic Algorithm (GA), and Differential Evolution (RE). Prediction results of these different hybrid models were compared and the highest performance was given by ANFIS and PSO [24]. A literature review of hybrid models for solar radiation forecasting is presented by Guermoui et al. [25]. Compared to stand alone models, authors observed the high performance and the accurate forecasting of all proposed hybrid models. However, in these different aforementioned research studies the combination between models was carried out randomly without presenting any prediction strategy.
In this present paper, a novel hybrid model is proposed to predict the solar radiation, it combines ARMA and NARX. This choice is performed in order to take advantages of these two models. Therefore, a proposed prediction strategy is followed in order to predict solar radiation in an accurate and efficient way. Indeed, ARMA is applied firstly to predict the solar radiation for a given winter and summer day, then, it is used to predict the daily and weekly solar radiation averages. These different tests are performed with the objective to follow the performances of ARMA model on solar radiation prediction for different conditions and to retain the best performance results. These different tests are presented and discussed for four scenarios. The ARMA model has given the best results for the prediction of weekly solar radiation averages. To further improve these results, the NARX model is combined with ARMA to form a hybrid predictor model.
The remainder of this paper is organized as follows: in Section 2, the ARMA model is presented and applied to forecast solar radiation for different conditions (winter day, summer day, ...). Prediction results are discussed for four different scenarios. In Section 3, the NARX model is presented, and an optimal neural network architecture is performed. It is then used to predict the weekly solar radiation average. Section 4 presents a hybrid model which combines ARMA and NARX to predict the solar radiation. Results and discussion are given in Section 5. Finally, a conclusion is presented to summarize the main findings of this study.

2. Solar Radiation Prediction Using the ARMA Model

ARMA is the combination of two different sub-models, Auto Regressive (AR) and Moving Average (MA). It is applied to auto-correlated time series data. ARMA model is characterized by its ability to extract useful statistical properties and its flexibility since it can represent several time series types by using different orders. The major requirement of ARMA is that the time series must be stationary [6]. It is widely used for the prediction of time series. Its effectiveness to predict solar radiation has been proven in several research works [17,20]. The AR presumes that each point can be predicted performing the p previous points and taking into account a random error term as presented in Equation (1).
x ( t ) = α 1 · x ( t 1 ) + α 2 · x ( t 2 ) + α p · x ( t p ) + ε t
αi terms represent the AR model coefficients and εt is the white noise.
The MA presumes that each point can be written taking into account the sum of the q previous errors and its own error, as presented in Equation (2),
x ( t ) = β 1 · e ( t 1 ) + β 2 · e ( t 2 ) + β q · e ( t q )
βi are the MA coefficients, αi and βi are estimated by Box and Jenkins methodology [26].
A combination of AR and MA gives the ARMA(p,q) model as described in Equation (3),
x ( t ) = α 1 · x ( t 1 ) + α 2 · x ( t 2 ) + α p · x ( t p ) + β 1 · e ( t 1 ) + β 2 · e ( t 2 )   β q · e ( t q ) + ε t
The aim of this work is to accurately predict the solar radiation. This objective cannot be reached without performing an effective prediction strategy. Therefore, this study begins with an observation of the solar radiation database which is already treated and cleaned in the research work presented in [27]. It is solar radiation measurements that are taken for an industrial company located in Barcelona north [28]. These measurements are recorded for every day with a frequency of five minutes throughout a year. Data measurements are presented in Figure 1.
The evolution of solar radiation during different days will be presented and treated in this section, the choice of these days is chosen according to different seasons. After that, the annual solar radiation curve will be refined, indeed, only the average of daily and weekly solar radiation will be respectively taken into account. Then, these solar radiation time series will be predicted by the ARMA model. According to the obtained results, the NARX model will be introduced to improve the accuracy of solar radiation prediction. Details will be presented and discussed in the form of four scenarios in the following section.

2.1. 1st Scenario: Solar Radiation Prediction for a Winter Day

In this part, the solar radiation evolution corresponding to a winter day is studied. The studied day chosen is 2 January, its solar radiation evolution is described in Figure 2, it is low during the morning, then, it increases to reach a maximum value of 599 W/m2 in the afternoon. From 2 pm, the radiation decreases, and it ends at 5 h 33 pm.
Being a stationary series is a prerequisite to apply the ARMA model. The Dickey–Fuller test can be used to study the series stationarity. Test results show the existence of a unit root which reflects the non-stationarity of the above series. The next step is the differentiation of this series to make it stationary. Figure 3 presents the evolution of solar radiation after performing the differentiation. The curve shows some heavy fluctuations in the morning and other lower one before the sunset. For the rest of the day, the solar radiation variation seems stable, it does not outstrip 15%.
The Dickey–Fuller test proves the differentiated series stationarity; thus, it is possible in this step to apply the ARMA model. Its order and coefficients are obtained after following the Box and Jenkins methodology, they are presented in Table 1.
The real differentiated solar radiation curve and the predicted one by ARMA (3,3) are presented in Figure 4. There is an approximation between these two curves especially when the real solar radiation does not present great fluctuations. For other time intervals, the predicted radiation curve diverges from the real one. This is notably observed for significant solar radiation fluctuations.
To assess the performances of the ARMA (3,3) model, error and relative error are calculated and presented in Figure 5. In addition, Mean Square Error (MSE), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE) are estimated and presented in Table 2.
As shown in the above table, MAE is the lowest error compared to MSE and RMSE. However, it is also considered important. This significant error can be explained by the large variation range of solar radiation presented in this day. Simulation results corresponding to this part are presented in Figure 6; where the predicted curve is compared with the real one (after differentiation).
As presented in Figure 6, ARMA (3,3) allowed us to take back the two first solar radiation peaks which do not exceed 10%; however, it failed to predict the third peak which is around 30%. Then, the predicted curve fully diverges from the real one. These results show the weakness of the ARMA model to predict solar radiation over a winter day. Figure 7 presents the error and relative error of solar radiation prediction. Relative error is around 1% in some periods of day, but it increases at other time intervals. MSE, MAE, and RMSE are calculated as presented in Table 3. Among these errors, MAE represents the smallest one, but this does not reflect the performances of ARMA (3,3). It is possible to explain the inability of ARMA (3,3) to predict solar radiation for a winter day by two main causes.
  • The first one is the order of model which is equal to 3, this means that the ARMA model is able to forecast the three first solar radiation periods, which corresponds to 15 min as the interval horizon.
  • The second cause is that, even in a very short term, the performance of the ARMA (3,3) model deteriorates by the third data point. This can be explained by the large solar radiation peak recorded at this time.

2.2. 2nd Scenario: Solar Radiation Prediction for a Summer Day

In this section, the solar radiation evolution of a summer day is studied. The studied day corresponds to 15 July, it is chosen as an example to test the prediction of solar radiation for a summer day. Figure 8 presents the evolution of solar radiation for this day. It presents some fluctuations; its maximum value is 867 W/m2. The Dickey–Fuller test is applied and it indicates the non-stationarity of the series.
The second step is the differentiation of this series in order to make it stationary (Figure 9). The Dickey–Fuller test is applied, it proves the differentiated series stationarity [27]. Box and Jenkins steps are then followed to obtain the optimal parameters of the ARMA model. Table 4 presents respectively the parameters p and q and the coefficients α1, α2, α3, β1, β2, and β3.
The solar radiation corresponding to the summer day modeled by ARMA (3,3) as well as the real solar radiation curve are shown in Figure 10. The predicted one is close to the real solar radiation curve, it is less attenuated especially when the real solar radiation curve presents important peaks. It is also slightly delayed compared to the real solar radiation. The intense peaks of solar radiation were discussed in the first scenario which has shown the inability of ARMA model to restore the important fluctuations of solar radiation. In addition, the observed delay may be explained by the ARMA model response time which is slow.
In Figure 11, the prediction errors are presented. MSE, MAE, and RMSE are calculated and presented in Table 5. Figure 11 shows that the prediction error is quite large; it reaches a maximum value of 130%. MSE, MAE, and RMSE are also considered important. This study shows the ineffectiveness of ARMA (3,3) to forecast the solar radiation for a summer day. It is possible to explain the ARMA (3,3) model’s weakness by the large fluctuations of solar radiation that characterize the studied day.
In this section, the solar radiation is predicted using the same previous model and for the same summer day. Simulation results are shown in Figure 12. The blue curve reflects the real solar radiation evolution while the red curve represents the predicted one. The prediction curve follows the real solar radiation evolution for the first three data points, however, as presented in Figure 12, it cannot properly reconstitute the curve. The predicted solar radiation is lower than the real one. From the fourth data point, the predicted curve diverges from the real solar radiation curve to pivot all around 0.
The prediction errors are shown in Figure 13 while MSE, MAE, and RMSE values are presented in Table 6. Following the obtained results, the effectiveness of the ARMA (3,3) model to predict solar radiation for the summer day is not confirmed. This can be explained by the large fluctuations that characterize the studied day, especially at the beginning of the day (Figure 9).

2.3. 3rd Scenario: Solar Radiation Prediction One Year in Advance Considering the Daily Radiation Averages

In this scenario, we discuss the solar radiation behavior along a year taking into account the daily radiation averages. The curve that describes this evolution is presented in Figure 14. It shows several fluctuations since it represents the solar radiation for different days in the year.
This series is then differentiated as presented in Figure 15. The Dickey–Fuller test proves its stationarity [27] and the ARMA model obtained is that of ARMA (4,4). Coefficients corresponding to this model are computed and presented in Table 7.
In this part, ARMA (4,4) is applied to predict the daily solar radiation averages. Simulation results are presented in Figure 16. The real solar radiation presents several peaks especially during the winter. In summer days, solar radiation is overall stable; some peaks are observed, and they are less intense than those presented during the winter days. MSE, MAE, and RMSE are shown in Table 8 and prediction errors are shown in Figure 17. Following this curve, the error increases when a sudden solar radiation variation is presented.
In a second step, solar radiation is predicted one year in advance with the ARMA (4,4) model. The prediction results are presented in Figure 18. There is not an important resemblance between the real and predicted curves. The prediction errors, presented in Figure 19, are quite important which confirms our observation. Consequently, the ARMA (4,4) performances for the prediction of solar radiation considering daily radiation averages are not proven. This result can be explained by the large solar radiation fluctuations especially at the first days of the year. Prediction errors are computed and presented in Table 9. MAE is small compared to RMSE and MSE, but it is also considered important.

2.4. 4th Scenario: Solar Radiation Prediction One Year in Advance Considering the Weekly Radiation Averages

In this section, in order to further refine the annual solar radiation curve, only weekly radiation averages are taken into consideration as presented in Figure 20.
The Dickey–Fuller test is applied first, it indicates the non-stationarity of the above series [27]. Therefore, the first difference is applied to stationarize it as presented in Figure 21. The Dickey–Fuller test shows the stationarity of the differentiated series [27]. After that, the Box and Jenkins methodology steps are performed to validate the ARMA (2,1) model. α1, α2, and β1 coefficients of this model are presented in Table 10.
The differentiated solar radiation predicted using ARMA (2,1) and the real solar radiation curve are presented in Figure 22. An approximation is observed between these two curves for some time intervals, especially when the real solar radiation does not present large fluctuations. For other times, the predicted solar radiation diverges from the real one. This is especially observed for the large solar radiation fluctuations. To approve these results, error and relative error are presented in Figure 23.
As presented in Figure 23b, relative error is small, it does not exceed 15%. Two peaks are observed. The first one is in the 16th week of the year and the second is in the 36th week. When we refer to the real solar radiation curve, we observe a sudden solar radiation variation at the end of these two weeks. Indeed, the 16th and 17th weeks correspond respectively to the last week of April and the first week of May. During this period, we observe a considerable decrease of temperature which may be the main reason for the sudden decrease of solar radiation (Figure 24a). In addition, the 37th and 38th weeks correspond to the first two weeks of September. During this period, we have also observed a sudden decrease of the temperature which considerably affects the solar radiation evolution (Figure 24b). Moreover, as the weekly solar radiation averages are considered in this study, it is normal to have these wide solar radiation variations especially in switching periods from one season to another.
MSE, MAE and RMSE are calculated and its values are presented in the Table 11. MSE is the smallest one, it is equal to 0.2182.
In this section, solar radiation is predicted with the same model, ARMA (2,1). Simulation results are presented in Figure 25. The predicted solar radiation curve follows the evolution of the real one for the first ten weeks, then it pivots around 0. The prediction errors are presented in Figure 26. For the first ten weeks, the error is small, then it increases to 34%. This shows that the ARMA (2,1) model can successfully reformulate the solar radiation curve for the first time and then it loses it. Therefore, the prediction error does not exceed 5% when the solar radiation fluctuations are not important (around 30%).
MAE, MSE, and RMSE are shown in Table 12. MSE has the lowest value, equal to 0.1668. It is small compared to errors obtained in the three previous scenarios. Based on these results, we retain this strategy in our study and follow the solar radiation evolution considering the weekly radiation averages. Moreover, in order to improve the solar radiation prediction accuracy, the NARX model will be used as a second predictor. Our objective is to exploit the performances of the NARX model to improve the previous solar radiation results.

3. Solar Radiation Prediction Using the NARX Model

In the objective to improve the accuracy of solar radiation prediction, we propose a combination of two models, ARMA and one type of Dynamic Neural Network (DNN) called NARX (Nonlinear Auto Regressive models with eXogenous inputs). The NARX model is classified in the recurrent DNN, it represents a nonlinear autoregressive model with exogenous inputs. It contains a linear ARX model with two delay vectors, one for input and another for outputting previous values. The NARX model is based on recurring connections and multilayer perceptron. Its effectiveness to predict PV power and daily direct solar radiation has been proven in research works presented in [29,30]. NARX is also applied to the prediction of electricity price and air pollution [31,32,33]. Compared to some other neural networks, it is characterized by a fast convergence as well as a good learning and better generalization [34]. The prediction of PV power with the NARX model presented in [29] have shown higher performances than those obtained when using a static neural network. Furthermore, it has provided better prediction results compared to those of radial neural networks in research works presented in [35].
The NARX model defines the output as a function of its inputs and its past outputs as described in Equation (4) [36],
y ( t ) = f   [ y ( t 1 ) ,   y ( t 2 ) , , y ( t d y )   ; u ( t 1 ) ,   u ( t 2 ) , , u ( t d u ) ]
where ui represents the exogenous data and yi are the NARX model outputs. du and dy present, respectively, delay order of the inputs ui and the outputs yi. In this section, we will first study performances of the NARX model for the prediction of solar radiation. As shown in Equation (4), NARX is based on historical data and involves some exogenous data. As temperature has a great effect on solar radiation evolution, it is chosen as an exogenous data in this study. Thus, NARX inputs will be historical solar radiation and temperature as presented in Figure 27.
The numbers of both hidden layer neurons of each layer must be chosen in way to obtain the best learning and generalization performances. Therefore, the network performances are treated, in this section, for different neural network architectures. As presented in Figure 28, historical solar radiation (R(t-1) and R(t-2)) and temperatures (T(t-1) and T(t-2)) correspond to the inputs of the NARX model. The predicted solar radiation at time t (R(t)) is its output. “Tansig” and “purelin” are respectively the transfer functions for hidden output layers.
Firstly, performances are studied with only one neuron in hidden layer. After that, the neurons number is increased and network performances are restudied using MSE as assessment metric. The optimal neural network structure corresponds to the one which presents the minimal MSE. Simulation results are presented in Table 13 and Figure 29. The optimal neural architecture is obtained with hidden layer containing seven neurons as presented in Figure 30.
After the choice of the optimal neural structure, solar radiation is predicted using the NARX model. Simulation results are presented in Figure 31. The blue and red curves correspond respectively to the real solar radiation and the predicted one. An approximation between these two curves is observed, they overlap especially when solar radiation fluctuations are not important. Compared to the ARMA model, an improvement of solar radiation prediction is mainly shown for the high fluctuations.
To properly assess the performances of the NARX model, prediction errors are presented in Figure 32. Relative error presents a maximum value of 18%. It is low compared to that obtained with the ARMA model (34%). This shows the improvement of the prediction accuracy when the NARX model is applied. MSE, RMSE, and MAE are calculated, as indicated in Table 14. MSE has the lowest value, and it is higher than that obtained using the ARMA model. Thus, in order to compare the performances of ARMA and NARX on solar radiation prediction, MSE, MAE, and RMSE using ARMA are recomputed after normalizing the solar radiation, they are shown in Table 14. The obtained results prove the effectiveness of the NARX model to predict weekly radiation averages.

4. Solar Radiation Prediction Using a Hybrid Model (ARMA and NARX)

After using ARMA and NARX separately, we are interested, in this last part, to combine these two models. The challenge in the use of hybrid models is always the choice of the selection criterion between the techniques to be combined [37]. In this work, our criterion is based on the balance between the model type and its performances in solar radiation prediction. Indeed, we have shown the capability of the ARMA model to predict the low solar radiation fluctuations. However, its performances are deteriorated for the important fluctuations. They appear generally at the moments of change in metrological conditions; especially when the temperature decreases or increases suddenly. Moreover, the ARMA model is characterized by its flexibility, its main advantage is that it requires only the historical data. Indeed, introducing other data such as temperature or any other weather parameter imposes the treatment and the cleaning of the dataset, which is a difficult phase that requires the use of different statistical and physical tools [27].
The NARX model improves the prediction accuracy of solar radiation especially during its large variation. The prediction error MSE is decreased slightly compared to that obtained with the ARMA model. NARX is characterized by a direct feedback from output to input data which improve its predictive power. Nevertheless, it has certain disadvantages such as:
It is based on learning examples to accomplish tasks, so it needs a large dataset which includes many examples.
There is not a direct technique which permits determining the optimal neural structure of the network, it is performed empirically. On the one hand, this requires a considerable time to test different neural network architectures; on the other hand, the choice of a neural architecture does not necessarily reflect that this is the optimal one. In fact, during the learning phase the gradient can converge towards a local minimum and not to a global one. Moreover, the probability to converge to a local minimum increases with the complexity of the network (high number of parameters) [18].
Based on these analyses, we propose taking advantages of these two models (ARMA and NARX). As it is simple and flexible, the ARMA model is used as the basic prediction technique. For a significant solar radiation variation, whose ARMA performances are deteriorated, the NARX model is introduced.
The real solar radiation and those predicted by the ARMA and NARX models are presented in Figure 33. The prediction errors using each model are presented in Figure 34.
As observed in Figure 33, the ARMA model’s performance decreases when there is a significant solar radiation fluctuation (more than 10%). Therefore, we propose the use of the ARMA model for low solar radiation fluctuations (less than 10%) and the NARX model for important solar radiation fluctuations (more than 10%). The proposed approach is recapitulated in Figure 35.
The predicted solar radiation using the proposed model (ARMA and NARX) is presented in Figure 36. The performance is assessed with the different errors indicated in Table 15.
The obtained MSE is lower than MAE and RMSE (around 3%) and lower than those obtained using the ARMA model alone.

5. Discussion

To prove the effectiveness of the proposed hybrid model (ARMA and NARX), the obtained results must be compared to those published by some other research studies. In [38] authors presented in their review a state of art about prediction of solar radiation using an Artificial Neural Network (ANN) in some countries in the world. The obtained prediction errors are disparate. In Spain, recorded MSE is in the order of 6%, in Saudi Arabia, it is around 4.49% and the maximum reached average error in India is 4.09%. ANNs were also used in Ajaccio to predict the solar radiation for two different inclination angles (45° and 60°). MSE is equal to 5.28% for an inclination of 45% and 6.24% for an inclination of 60%. A hybrid model is thus proposed by Chaabane and Ben Ammar [39], it is composed of fuzzy inferences and ANN. This model is used to predict the short-term solar radiation in Tunisia. The prediction error computed in this work is the nRMSE, it does not exceed 10%. Other research works are carried out in [40] to predict solar radiation one day in advance. They studied three different types of days (cloudy, not cloudy, and partially cloudy). The prediction Mean Absolute Percentage Error (MAPE) computed is in the order of 1.4% for a not cloudy day, 3% for a cloudy day, and 6.6% for a partially cloudy day. In [41], a long short-term memory algorithm (LSTM) is proposed to predict the next day solar radiation in Korea. Input data used for this model are the outdoor air temperature, wind speed, sky cover, humidity, and precipitation. This model showed an RMSE of 18% in the predictive performance. In India, the prediction of monthly average global solar radiation was made in [42] by using two ANN models with four different algorithms and the best results were given by the Levenberg–Marquardt back propagation (LM) algorithm with a MAPE of 4.24%. The new hybrid model based on Wavelet Transform (WT) and Support Vector Machines (SVM) was proposed in [43] to predict the daily horizontal global solar radiation in Iran. The achieved results demonstrated that the proposed methodology outperforms some other techniques in terms of MAPE which is of 6.99%. An evolutionary algorithm named Cuckoo Search (CS) was combined with Optimally Pruned Extreme Learning Machine (OP-ELM) methodology to forecast the hourly solar radiation in six regions in the United States [44]. RMSE was used to assess the performances of this combined model. The obtained prediction results are not so satisfactory since the RMSE is around 62.5%.
All the different results are recapitulated in Table 16. Moreover, to evaluate the performances of the proposed model presented in this work, we consider the aforementioned research studies. The MSE obtained, which is around 3%, is low compared to those obtained in the different literature works as presented in Table 16. This shows the effectiveness of the hybrid model (ARMA and NARX) to predict solar radiation. However, it is insufficient to judge that it is the best predictor even if it presents good results. Indeed, some other factors greatly affect solar radiation prediction such as the geographic location and the climate, therefore, countries which are characterized by a moderate climate cannot be treated as those having a climate with rapid variations. For these countries, it is not obvious to have a good prediction precision. On the other hand, solar radiation prediction in countries which present an abundance of cloud occurrences is more difficult than those characterized by a clear sky.

6. Conclusions

In this paper, a novel hybrid model composed of ARMA and NARX was proposed to predict the weekly solar radiation averages. The proposed hybrid model has the following advantages over the existing solar radiance prediction models:
The choice of the selection criterion between the techniques to be combined is accurate. It is based on two main criteria, the first one is the model type which reflects the simplicity and flexibility of the model to be applied and the second one is based on its performance.
These models (ARMA and NARX), before combined, are applied separately and the capability of each model to predict the solar radiation is rigorously assessed in order to extract the performances of each one and benefit of them in a hybrid model.
Therefore, since it is simple, flexible, and especially does not require additional and exogenous data to be applied, the ARMA model was used as the basic predictor of solar radiation in this work. Moreover, the effectiveness of ARMA to predict the weekly radiation averages has been proven for a solar radiation variation less than 10%, its performances are not satisfactory when a large solar radiation fluctuation is presented. Hence, the NARX model was used when the solar radiation exceeds 10%, it introduces the temperature and historical solar radiation as inputs. Performances of the proposed hybrid model are evaluated using MSE, MAE, and RMSE. The obtained results (MSE = 3%; MAE = 12%; RMSE = 18%) have shown better results compared to some different research works which reflects the effectiveness of the proposed model to predict the weekly solar radiation averages.
As a perspective, combining some other techniques and applying them to predict solar radiation in order to achieve better performances will be the subject of future works.

Author Contributions

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

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

αi  AR model coefficients
βi  MA model coefficients
ε  White noise
p  1st ARMA order
q  2nd ARMA order
ui  NARX model exogenous data
yi  NARX model outputs
du  Delays order of ui inputs
dy  Delays order of yi outputs
T  Temperature (°C)
R  Radiation (W/m2)
R ^   Predicted radiation (W/m2)

References

  1. IEA. Renewables 2017: Analysis and Forecast to 2022; International Energy Agency: Paris, France, 2017. [Google Scholar]
  2. DOE. Annual Energy Outlook 2018; U.S. Department of Energy: Washington, DC, USA, 2018.
  3. Kiani, A.T.; Nadeem, M.F.; Ahmed, A.; Khan, I.; Elavarasan, R.M.; Das, N. Optimal PV Parameter Estimation via Double Exponential Function-Based Dynamic Inertia Weight Particle Swarm Optimization. Energies 2020, 13, 4037. [Google Scholar] [CrossRef]
  4. Premkumar, M.; Jangir, P.; Sowmya, R.; Elavarasan, R.M.; Kumar, B.S. Enhanced chaotic JAYA algorithm for parameter estimation of photovoltaic cell/modules. ISA Trans. 2021, in press. [Google Scholar] [CrossRef]
  5. Notton, G. Importance of islands in renewable energy production and storage: The situation of the French islands. Renew. Sustain. Energy Rev. 2015, 47, 260–269. [Google Scholar] [CrossRef]
  6. Diagne, M.; David, M.; Lauret, P.; Boland, J.; Schmutz, N. Review of solar irradiance forecasting methods and a proposition for small-scale insular grids. Renew. Sustain. Energy Rev. 2013, 27, 65–76. [Google Scholar] [CrossRef] [Green Version]
  7. Al-Yahyai, S.; Charabi, Y.; Gastli, A. Review of the use of numerical weather prediction (NWP) models for wind energy assessment. Renew. Sustain. Energy Rev. 2010, 14, 3192–3198. [Google Scholar] [CrossRef]
  8. Bird, R.E.; Hulstrom, R.L. Evaluation and Improvement of Direct Irradiance Models. J. Sol. Energy Eng. 1981, 103, 182–192. [Google Scholar] [CrossRef]
  9. Benali, L.; Notton, G.; Fouilloy, A.; Voyant, C.; Dizene, R. Solar Radiation Forecasting using Artificial Neural Network and Random 2 Forest Methods: Application to Normal Beam, Horizontal Diffuse and 3 Global Components. Renew. Energy 2018, 132, 871–884. [Google Scholar] [CrossRef]
  10. Husein, M.; Chung, I.Y. Day-Ahead Solar Irradiance Forecasting for Microgrids Using a Long Short-Term Memory Recurrent Neural Network: A Deep Learning Approach. Energies 2019, 12, 1856. [Google Scholar] [CrossRef] [Green Version]
  11. Fouilloy, A.; Voyant, C.; Notton, G.; Motte, F.; Paoli, C.; Nivet, M.L.; Guillot, E.; Duchaud, J.L. Solar irradiation prediction with machine learning: Forecasting models selection method depending on weather variability. Energy 2018, 165, 620–629. [Google Scholar] [CrossRef]
  12. Gao, B.; Huang, X.; Shi, J.; Tai, Y.; Xiao, R. Predicting day-ahead solar irradiance through gated recurrent unit using weather forecasting data. J. Renew. Sustain. Energy 2019, 11, 043705. [Google Scholar] [CrossRef]
  13. Yadav, A.K.; Chandel, S.S. Solar radiation prediction using Artificial Neural Network techniques: A review. Renew. Sustain. Energy Rev. 2014, 3, 772–781. [Google Scholar] [CrossRef]
  14. Qazi, A.; Fayaz, H.; Wadi, A.; Raj, R.G.; Rahim, N.A.; Khan, W.A. The artificial neural network for solar radiation prediction and designing solar systems: A systematic literature review. J. Clean. Prod. 2015, 104, 1–12. [Google Scholar] [CrossRef]
  15. Alsharif, M.H.; Younes, M.K.; Kim, J. Time Series ARIMA Model for Prediction of Daily and Monthly Average Global Solar Radiation: The Case Study of Seoul, South Korea. Symmetry 2019, 11, 240. [Google Scholar] [CrossRef] [Green Version]
  16. Huang, R.; Huang, T.; Gadh, R.; Li, N. Solar Generation Prediction using the ARMA Model in a Laboratory-level Micro-grid. In Proceedings of the IEEE Third International Conference on Smart Grid Communications (SmartGridComm), Tainan, Taiwan, 5–8 November 2012. [Google Scholar]
  17. Mbaye, A.; Ndiaye, M.; Ndione, D.; Diaw, M.; Traoré, V.; Ndiaye, A.; Sylla, M.; Aidara, M.; Diaw, V.; Traoré, A.; et al. ARMA model for short-term forecasting of solar potential: Application to a horizontal surface on Dakar site. OAJ Mater. Devices 2019, 4. [Google Scholar] [CrossRef]
  18. Valenzuela, O.; Rojas, I.; Rojas, F.; Pomares, H.; Herrera, L.J.; Guillén, A.; Marquez, L.; Pasadas, M. Hybridization of intelligent techniques and ARIMA models for time series prediction. Fuzzy Sets Syst. 2008, 159, 821–845. [Google Scholar] [CrossRef]
  19. Durdu, Ö.F. A hybrid neural network and ARIMA model for water quality time series prediction. Eng. Appl. Artif. Intell. 2010, 23, 586–594. [Google Scholar]
  20. Wu, J.; Chan, C.K. Prediction of hourly solar radiation using a novel hybrid model of ARMA and TDNN. Sol. Energy 2011, 85, 808–817. [Google Scholar]
  21. Cao, S.; Cao, J. Forecast of solar irradiance using recurrent neural networks combined with wavelet analysis. Appl. Therm. Eng. 2005, 25, 161–172. [Google Scholar] [CrossRef]
  22. Mellit, A.; Benghanem, M.; Arab, A.H.; Guessoum, A. A simplified model for generating sequences of global solar radiation data for isolated sites: Using artificial neural network and a library of Markov transition matrices approach. Sol. Energy 2005, 79, 469–482. [Google Scholar] [CrossRef]
  23. Che, Y.; Chen, L.; Zheng, J.; Yuan, L.; Xiao, F. A Novel Hybrid Model of WRF and Clearness Index-Based Kalman Filter for Day-Ahead Solar Radiation Forecasting. Appl. Sci. 2019, 9, 3967. [Google Scholar] [CrossRef] [Green Version]
  24. Halabi, L.M.; Mekhilef, S.; Hossain, M. Performance evaluation of hybrid adaptive neuro-fuzzy inference system models for predicting monthly global solar radiation. Appl. Energy 2018, 213, 247–261. [Google Scholar] [CrossRef]
  25. Guermoui, M.; Melgani, F.; Gairaa, K.; Mekhalfi, M.L. A comprehensive review of hybrid models for solar radiation forecasting. J. Pre-Proof 2020, 258, 120357. [Google Scholar] [CrossRef]
  26. Box, G.; Jenkins, G. Time Series Analysis: Forecasting and Control; Holden-Day: San Francisco, CA, USA, 1970. [Google Scholar] [CrossRef]
  27. Sansa, I. Optimisation d’un Micro Réseau Électrique Selon la Charge d’un site Isolé et Prédiction de la Puissance PV. Ph.D. Thesis, Ecole Nationale d’Ingénieurs de Tunis, Tunis, Tunisia, January 2017. [Google Scholar]
  28. Sant Joan les Fonts, Garrotxa. Available online: http://www.noel.es/ (accessed on 4 April 2010).
  29. Missaoui, S. Prédiction de la Production de la Puissance PV à L’aide des Réseaux de Neurones Dynamiques. Master’s Thesis, Laboratoire de Système Électrique, Ecole Nationale D’ingénieurs de Tunis, Tunis, Tunisia, July 2012. [Google Scholar]
  30. Boussaada, Z.; Curea, O.; Remaci, A.; Camblong, H.; Mrabet Bellaaj, N. A nonlinear autoregressive Exogenous (NARX) neural network model for the prediction of the Daily Direct Solar Radiation. Energies 2018, 11, 620. [Google Scholar] [CrossRef] [Green Version]
  31. Pisoni, E.; Farina, M.; Carnevale, C.; Piroddi, L. Forcasting peak air pollution levels using NARX models. Eng. Appl. Artif. Intell. 2009, 22, 593–602. [Google Scholar] [CrossRef]
  32. Menezes, J.M.P., Jr.; Barreto, G.A. Long-term time series prediction with the NARX network: An empirical evaluation. Neurocomputing 2008, 71, 3335–3343. [Google Scholar] [CrossRef]
  33. Andalib, A.; Atry, F. Multi-step ahead forecasts for electricity prices using NARX: A new approach, a critical analysis of one-step ahead forecasts. Energy Convers. Manag. 2009, 50, 739–747. [Google Scholar] [CrossRef]
  34. Diaconescu, E. The use of NARX Neural Networks to predict Chaotic Time Series Wseas. Trans. Comput. Res. 2008, 3, 182–191. [Google Scholar]
  35. Zemouri, R.; Gouriveau, R.; Zerhouni, N. Defining and applying prediction performance metrics on a recurrent NARX time series model. Nerocomputing 2010, 73, 2506–2521. [Google Scholar] [CrossRef] [Green Version]
  36. Khamis, A.; Abdullah, S.N.S.B. Forecasting Wheat Price Using Backpropagation And NARX Neural Network. Int. J. Eng. Sci. (IJES) 2014, 3, 19–26. [Google Scholar]
  37. Voyant, C. Prédiction de Séries Temporelles de Rayonnement Solaire Global et de Production D’énergie Photovoltaïque à Partir de Réseaux de Neurones Artificiels. Ph.D. Thesis, Spécialité Energétique, Université de Corse-Pascal Paoli, Corte, France, November 2011. [Google Scholar]
  38. Dahmani, K.; Notton, G.; Dizène, R.; Paoli, C. Etat de l’art sur les réseaux de neurones artificiels appliqués à l’estimation du rayonnement solaire. J. Renew. Energies 2012, 15, 687–702. [Google Scholar]
  39. Chaabene, M.; Ammar, M.B. Neuro-fuzzy dynamic model with Kalman filter to forecast irradiance and temperature for solar energy systems. Renew. Energy 2008, 33, 1435–1443. [Google Scholar] [CrossRef]
  40. Yan, X.; Abbes, D.; Francois, B. Solar Radiation Forecasting Using Artificial Neural Network for Local Power Reserve. In Proceedings of the International Conference on Electrical Sciences and Technologies in Maghreb (CISTEM), Tunis, Tunisia, 3–6 November 2014. [Google Scholar]
  41. Jeon, B.K.; Kim, E.J. Next-Day Prediction of Hourly Solar Irradiance Using Local Weather Forecasts and LSTM Trained with Non-Local Data. Energies 2020, 13, 5258. [Google Scholar] [CrossRef]
  42. Premalatha, N.; Valan Arasu, A. Prediction of solar radiation for solar systems by using ANN models with different back propagation algorithms. J. Appl. Res. Technol. 2016, 14, 206–214. [Google Scholar] [CrossRef] [Green Version]
  43. Mohammadi, K.; Shamshirband, S.; Tong, C.W.; Arif, M.; Petković, D.; Ch, S. A new hybrid support vector machine–wavelet transform approach for estimation of horizontal global solar radiation. Energy Convers. Manag. 2015, 92, 162–171. [Google Scholar] [CrossRef]
  44. Wang, J.; Jiang, H.; Wu, Y.; Dong, Y. Forecasting solar radiation using an optimized hybrid model by Cuckoo Search algorithm. Energy 2015, 81, 627–644. [Google Scholar] [CrossRef]
Figure 1. Annual solar radiation evolution corresponding to an industrial company in Barcelona.
Figure 1. Annual solar radiation evolution corresponding to an industrial company in Barcelona.
Energies 14 06920 g001
Figure 2. Solar radiation evolution in W/m2 for a winter day.
Figure 2. Solar radiation evolution in W/m2 for a winter day.
Energies 14 06920 g002
Figure 3. Solar radiation evolution for a winter day (after relative differentiation).
Figure 3. Solar radiation evolution for a winter day (after relative differentiation).
Energies 14 06920 g003
Figure 4. Differentiated and predicted solar radiation using ARMA (3,3) for a winter day.
Figure 4. Differentiated and predicted solar radiation using ARMA (3,3) for a winter day.
Energies 14 06920 g004
Figure 5. (a) Error and (b) relative error of solar radiation prediction using ARMA (3,3) (winter day).
Figure 5. (a) Error and (b) relative error of solar radiation prediction using ARMA (3,3) (winter day).
Energies 14 06920 g005
Figure 6. Real solar radiation vs. predicted one using ARMA (3,3) (for a winter day).
Figure 6. Real solar radiation vs. predicted one using ARMA (3,3) (for a winter day).
Energies 14 06920 g006
Figure 7. (a) Error and (b) relative error of the prediction of solar radiation using ARMA (3,3) (for winter day).
Figure 7. (a) Error and (b) relative error of the prediction of solar radiation using ARMA (3,3) (for winter day).
Energies 14 06920 g007
Figure 8. Evolution of solar radiation in W/m2 for a summer day.
Figure 8. Evolution of solar radiation in W/m2 for a summer day.
Energies 14 06920 g008
Figure 9. Relative differentiated solar radiation series for a summer day.
Figure 9. Relative differentiated solar radiation series for a summer day.
Energies 14 06920 g009
Figure 10. Solar radiation evolution modeled by ARMA (3,3) for a summer day.
Figure 10. Solar radiation evolution modeled by ARMA (3,3) for a summer day.
Energies 14 06920 g010
Figure 11. (a) Error and (b) relative error of solar radiation modeled by ARMA (3,3) (for a summer day).
Figure 11. (a) Error and (b) relative error of solar radiation modeled by ARMA (3,3) (for a summer day).
Energies 14 06920 g011
Figure 12. Prediction of solar radiation by the ARMA (3,3) model for a summer day.
Figure 12. Prediction of solar radiation by the ARMA (3,3) model for a summer day.
Energies 14 06920 g012
Figure 13. (a) Error and (b) relative error of the prediction of solar radiation using ARMA (3,3) (for a summer day).
Figure 13. (a) Error and (b) relative error of the prediction of solar radiation using ARMA (3,3) (for a summer day).
Energies 14 06920 g013
Figure 14. Solar radiation evolution along a year (daily radiation averages).
Figure 14. Solar radiation evolution along a year (daily radiation averages).
Energies 14 06920 g014
Figure 15. Relative differentiation of the solar radiation along a year (daily radiation averages).
Figure 15. Relative differentiation of the solar radiation along a year (daily radiation averages).
Energies 14 06920 g015
Figure 16. Solar radiation evolution prediction using the ARMA (4,4) model (daily radiation averages).
Figure 16. Solar radiation evolution prediction using the ARMA (4,4) model (daily radiation averages).
Energies 14 06920 g016
Figure 17. (a) Error and (b) relative error of the prediction of solar radiation using the ARMA (4,4) model.
Figure 17. (a) Error and (b) relative error of the prediction of solar radiation using the ARMA (4,4) model.
Energies 14 06920 g017
Figure 18. Solar radiation prediction using the ARMA (4,4) model.
Figure 18. Solar radiation prediction using the ARMA (4,4) model.
Energies 14 06920 g018
Figure 19. (a) Error and (b) relative error of the prediction of solar radiation using the ARMA (4,4) model.
Figure 19. (a) Error and (b) relative error of the prediction of solar radiation using the ARMA (4,4) model.
Energies 14 06920 g019
Figure 20. Annual solar radiation evolution considering weekly radiation averages.
Figure 20. Annual solar radiation evolution considering weekly radiation averages.
Energies 14 06920 g020
Figure 21. Relative differentiation of annual solar radiation considering weekly radiation averages.
Figure 21. Relative differentiation of annual solar radiation considering weekly radiation averages.
Energies 14 06920 g021
Figure 22. Relative differentiation of annual solar radiation.
Figure 22. Relative differentiation of annual solar radiation.
Energies 14 06920 g022
Figure 23. (a) Error and (b) relative error of the prediction of annual solar radiation using ARMA (2,1).
Figure 23. (a) Error and (b) relative error of the prediction of annual solar radiation using ARMA (2,1).
Energies 14 06920 g023
Figure 24. Influence of temperature on solar radiation evolution (a) April and May (b) September and October.
Figure 24. Influence of temperature on solar radiation evolution (a) April and May (b) September and October.
Energies 14 06920 g024
Figure 25. Solar radiation prediction using the ARMA (2,1) model.
Figure 25. Solar radiation prediction using the ARMA (2,1) model.
Energies 14 06920 g025
Figure 26. (a) Error and (b) relative error of the prediction of solar radiation using ARMA (2,1).
Figure 26. (a) Error and (b) relative error of the prediction of solar radiation using ARMA (2,1).
Energies 14 06920 g026
Figure 27. Inputs and output of the NARX model.
Figure 27. Inputs and output of the NARX model.
Energies 14 06920 g027
Figure 28. NARX model architecture.
Figure 28. NARX model architecture.
Energies 14 06920 g028
Figure 29. Best validation performances obtained for neural architecture with 7 neurons in hidden layer.
Figure 29. Best validation performances obtained for neural architecture with 7 neurons in hidden layer.
Energies 14 06920 g029
Figure 30. Optimal neural architecture of NARX for the prediction of solar radiation.
Figure 30. Optimal neural architecture of NARX for the prediction of solar radiation.
Energies 14 06920 g030
Figure 31. Prediction of solar radiation using the NARX model.
Figure 31. Prediction of solar radiation using the NARX model.
Energies 14 06920 g031
Figure 32. (a) Error and (b) relative error of the prediction of solar radiation using the NARX model.
Figure 32. (a) Error and (b) relative error of the prediction of solar radiation using the NARX model.
Energies 14 06920 g032
Figure 33. Solar radiation prediction using ARMA and NARX.
Figure 33. Solar radiation prediction using ARMA and NARX.
Energies 14 06920 g033
Figure 34. ARMA and NARX errors for solar radiation prediction.
Figure 34. ARMA and NARX errors for solar radiation prediction.
Energies 14 06920 g034
Figure 35. Proposed approach using a hybrid model (ARMA and NARX).
Figure 35. Proposed approach using a hybrid model (ARMA and NARX).
Energies 14 06920 g035
Figure 36. Prediction of solar radiation using the proposed hybrid model (ARMA and NARX).
Figure 36. Prediction of solar radiation using the proposed hybrid model (ARMA and NARX).
Energies 14 06920 g036
Table 1. Parameters of the ARMA model (winter day).
Table 1. Parameters of the ARMA model (winter day).
ARMA (p,q)
OrderCoefficients
p = 3α1 = −0.5350; α2 = −0.5179; α3 = −0.7095
q = 3β1 = 0.4833; β2 = 0.5091; β3 = 0.9569
Table 2. MSE, MAE, and RMSE (winter day).
Table 2. MSE, MAE, and RMSE (winter day).
ErrorsValues
MSE0.6390
MAE0.4520
RMSE0.7990
Table 3. MSE, MAE, and RMSE for the prediction of solar radiation (winter day).
Table 3. MSE, MAE, and RMSE for the prediction of solar radiation (winter day).
ErrorsValues
MSE0.2931
MAE0.2581
RMSE0.5414
Table 4. Parameters of the ARMA model for a summer day.
Table 4. Parameters of the ARMA model for a summer day.
ARMA (p,q)
OrdersCoefficients
p = 3α1 = 0.6430; α2 = −0.4326; α3 = 0.2921
q = 3β1 = −1.0345; β2 = 0.6379; β3 = −0.3621
Table 5. MSE, MAE, and RMSE of the prediction of solar radiation using ARMA (3,3) (summer day).
Table 5. MSE, MAE, and RMSE of the prediction of solar radiation using ARMA (3,3) (summer day).
ErrorsValues
MSE0.8678
MAE0.6418
RMSE0.9316
Table 6. MSE, MAE, RMSE of the prediction of solar radiation for a summer day.
Table 6. MSE, MAE, RMSE of the prediction of solar radiation for a summer day.
ErrorsValues
MSE0.3689
MAE0.3754
RMSE0.6074
Table 7. Order and coefficients of the ARMA model (daily radiation averages).
Table 7. Order and coefficients of the ARMA model (daily radiation averages).
ARMA (p,q)
OrderCoefficients
p = 4α1 = 0.0897; α2 = −0.1275; α3 = 0.0852; α4 = −0.8752
q = 4β1 = −0.1019; β2 = 0.1209; β3 = −0.0978; β4 = 0.9971
Table 8. MSE, MAE, and RMSE of the prediction of solar radiation using the ARMA (4,4) model.
Table 8. MSE, MAE, and RMSE of the prediction of solar radiation using the ARMA (4,4) model.
ErrorValue
MSE14.8557
MAE1.4544
RMSE3.8543
Table 9. Prediction errors of solar radiation using the ARMA (4,4) model.
Table 9. Prediction errors of solar radiation using the ARMA (4,4) model.
ErrorsValues
MSE7.0778
MAE0.8261
RMSE2.8408
Table 10. Order and coefficients of ARMA (2,1).
Table 10. Order and coefficients of ARMA (2,1).
ARMA (p,q)
OrderCoefficients
p = 2α1 = −1.0342; α2 = −0.4023
q = 1β1 = 0.7483
Table 11. Errors of solar radiation prediction using ARMA (2,1).
Table 11. Errors of solar radiation prediction using ARMA (2,1).
ErrorsValues
MSE0.2182
MAE0.2999
RMSE0.4671
Table 12. Errors of solar radiation prediction using ARMA (2,1).
Table 12. Errors of solar radiation prediction using ARMA (2,1).
ErrorsValues
MSE0.1668
MAE0.2332
RMSE0.4671
Table 13. MSE versus neurons in hidden layer for the NARX model.
Table 13. MSE versus neurons in hidden layer for the NARX model.
Neuron NumberMSE
10.009918
20.008665
30.013289
40.008264
50.008298
60.007460
70.003118
80.008346
90.019881
100.086553
Table 14. Performance comparison between NARX and ARMA.
Table 14. Performance comparison between NARX and ARMA.
ErrorsPerformances
NARXARMA
MSE0.02210.0489
MAE0.09880.1450
RMSE0.14860.2210
Table 15. Hybrid model performances (ARMA and NARX).
Table 15. Hybrid model performances (ARMA and NARX).
ErrorsPerformances
MSE0.0340
MAE0.1270
RMSE0.1863
Table 16. Comparison between the proposed model and other research works.
Table 16. Comparison between the proposed model and other research works.
TechniquesRegionsPerformances
ANN [38]SpainMSE = 6%
ANN [38]Saudi ArabiaMSE = 4.49%
ANN [38]IndiaMSE = 4.09%
ANN [38]Ajaccio (angle 45%)MSE = 5.28%
ANN [38]Ajaccio (angle 60%)MSE = 6.24%
Fuzzy inferences + ANN [39]TunisianRMSE = 10%
LSTM [41]KoreaRMSE = 18%
ANN (LM algorithm) [42]IndiaMAPE = 4.24%
WT + SVM [43]IranMAPE = 6.99%
CS + OP-ELM [44]United StatesRMSE = 62.5%
Proposed (ARMA + NARX)SpainMSE = 3%; MAE = 12%; RMSE = 18%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sansa, I.; Boussaada, Z.; Bellaaj, N.M. Solar Radiation Prediction Using a Novel Hybrid Model of ARMA and NARX. Energies 2021, 14, 6920. https://doi.org/10.3390/en14216920

AMA Style

Sansa I, Boussaada Z, Bellaaj NM. Solar Radiation Prediction Using a Novel Hybrid Model of ARMA and NARX. Energies. 2021; 14(21):6920. https://doi.org/10.3390/en14216920

Chicago/Turabian Style

Sansa, Ines, Zina Boussaada, and Najiba Mrabet Bellaaj. 2021. "Solar Radiation Prediction Using a Novel Hybrid Model of ARMA and NARX" Energies 14, no. 21: 6920. https://doi.org/10.3390/en14216920

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