Next Article in Journal
Impact of an Energy Monitoring System on the Energy Efficiency of an Automobile Factory: A Case Study
Next Article in Special Issue
Models for Short-Term Wind Power Forecasting Based on Improved Artificial Neural Network Using Particle Swarm Optimization and Genetic Algorithms
Previous Article in Journal
Operational Profile Based Optimization Method for Maritime Diesel Engines
Previous Article in Special Issue
Exploring the Potentials of Artificial Neural Network Trained with Differential Evolution for Estimating Global Solar Radiation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhanced Prediction of Solar Radiation Using NARX Models with Corrected Input Vectors

by
Eduardo Rangel
1,†,
Erasmo Cadenas
1,*,†,
Rafael Campos-Amezcua
2,† and
Jorge L. Tena
1,†
1
División de Estudios de Posgrado de la Facultad de Ingeniería Mecánica, Universidad Michoacana de San Nicolás de Hidalgo, Gral. Francisco J. Múgica S/N, Col. Felicitas del Río, Morelia 58040, Mexico
2
Tecnológico Nacional de México/Centro Nacional de Investigación y Desarrollo Tecnológico, Interior Internado Palmira S/N, Col. Palmira, Cuernavaca 62490, Mexico
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Submission received: 23 March 2020 / Revised: 14 May 2020 / Accepted: 14 May 2020 / Published: 19 May 2020
(This article belongs to the Special Issue Solar and Wind Power and Energy Forecasting)

Abstract

:
The main objective of this work is to analyze and configure appropriately the input vectors to enhance the performance of NARX models to forecast solar radiation one hour ahead. For this study, Engle–Granger causality tests were implemented. Additionally, collinearity among the meteorological variables of the databases was examined. Different databases were used to test the contribution of these analyses in the improvement of the input vectors. For that, databases from three cities of Mexico with different climates were obtained, namely: Chihuahua, Temixco, and Zacatecas. These databases consisted of hourly measurements of the following variables: solar radiation (SR), wind speed (WS), relative humidity (RH), pressure (P), and temperature (T). Results showed that, in all three cases, proper NARX models were produced even when using input vectors formed only with solar radiation and temperature data. Consequently, it was inferred that pressure, wind speed, and relative humidity could be excluded from the input vectors of the forecasting models since, according to the causality tests, they did not provide relevant information to improve the solar radiation forecast in the studied cases. Conversely, these variables could generate spurious results. Forecasting results obtained with the NARX model were compared to the smart persistence model, commonly used to validate SR prediction. Error measures, such as mean absolute error (MAE) and root mean squared error (RMSE), were used to compare prediction results obtained from different models. In all cases, results obtained from the enhanced NARX model surpassed the results of the smart persistence, namely: in Chihuahua up to 11.5 % , in Temixco up to 15.7 % , and in Zacatecas up to 27.2 % .

1. Introduction

Solar radiation (SR) is the driving force behind several solar energy devices, such as photovoltaic systems for generating electricity and solar collectors for water heating [1]. Therefore, SR prediction models are essential for different applications, from the operation of energy systems (PV and thermal systems) to meteorological applications [2,3].
Several research works’ scope was to develop models that allowed predicting SR with acceptable precision. The techniques used in the forecast models varied according to the place and the available data, so it was difficult to classify them adequately. However, they could be divided into three main groups: clarity index models, hybrid models, and artificial neural network (ANN) models. In the first, the variable to model is the atmospheric transmittance or clarity index [4,5,6,7,8]. Hybrid models include those that combine a prediction model with data grouping techniques, such as the model used by Azimi et al. [9], which is a combination of a grouping technique and multilayer perceptron k-means ANN. Other authors have proposed hybrid models that use different types of ANN [10,11]. Recently, new hybrid models were developed, for example of the ARMA/ANN type, where different order ARMA models and several kinds of ANN have been used. In those cases, it is important to note that the ARMA model was used to deal with the linear part, while the ANN model was employed to forecast the non-linear part of the time series [10,12]. In some hybrid cases, the clarity index was also considered, like in the approach used by Voyant et al. [13]. Currently, ANN techniques are widely used in SR forecasting models. Sfetsos and Coonick [1] compared traditional linear methods against several artificial intelligence (AI) based techniques and found that AI models predicted the time series of solar radiation more effectively compared to conventional procedures; the feed-forward neural network (FFNN), Elman recurrent neural network, and diverse training functions were applied. Other examples of the use of FFNN to predict SR can be consulted in the bibliography [3,14,15]. In some research works, dividing the annual time series into seasonal time series was proposed [4,13,16]. Less conventional models were proposed by Pandey and Soupir [17] and Yang et al. [18], which included the use of polynomial expressions for the decomposition of the time series, the zenith angle, and the transmission function. An ARMA-time delay neural network (TDNN) hybrid model, based on data segmentation and a grouping algorithm, was developed for the hourly forecast of global solar radiation by Wu and Chan [19]. Huang et al. [20] used a coupled model of autoregressive and dynamic systems, obtaining a hybrid model, which they compared with the Lucheroni model.
Hocaoglu and Karanfil [21] proposed the use of causality tests to find the bidirectional relationship between the meteorological variables. In their study, wind speed, pressure, and temperature were used; however, the authors did not implement any forecast model. Ahmad et al. [22] used the Pearson correlation coefficient as a measure of the linear correlation between two variables to select the inputs of a prediction model, then the authors decided to try several combinations of inputs to obtain the global horizontal irradiation (GHI). Meanwhile, Aguiar et al. [23] proposed an ANN to forecast the GHI using the Pearson correlation to find the relationship between the satellite and terrestrial data to obtain the best input data to the ANN models.
The literature review showed that, in most cases, the entries of forecast models were intuitively selected. Furthermore, from the study on the state-of-the-art concerning hourly prediction of SR, the importance of the architecture and the performance of forecast models were evident. However, there was little information on the selection of the input variables of these models, and there was not a clear proposal on how these input variables should be chosen, with only a few works dealing with this topic.
The present research work focuses on the use of causality tests to find the proper inputs of multi-variable models for SR prediction, with a horizon of one hour; this implies that for the model to trace a synthetic time series, it always needs previous actual data of the input variables. Several NARX models were developed for three sites. In the first instance, the models included all variables in the input vector. Later, new models with input vectors built using the collinearity and causality tests were produced. All results were compared with the smart persistence model. The analysis of the results suggested that it was necessary to apply co-integration tests to the meteorological variables of each site database. The reason was that, in some cases, it was not necessary to include all variables as inputs for the forecast models. Therefore, these tests ensured avoiding spurious forecasts generated by a mistaken conformation of the multi-variable models of any kind: NARX, autoregressive vectors, ANN, etc. The structure of this document is the following: Section 2 presents a description of the studied sites’ datasets and the type of available meteorological variables. Afterwards, the theoretical bases for smart persistence, NARX models, Engle–Granger tests, and performance tests used to evaluate the forecast models are described in Section 3. In Section 4, the selection of input variables and the structure of the nonlinear autoregressive exogenous model (NARX) are presented and explained. Section 5 shows the results and the corresponding discussion.

2. Meteorological Variables’ Databases

Data from three sites were analyzed, and at each site, there was an available weather station with specific characteristics. The studied sites were chosen based on their solar radiation potential, weather characteristics, and data availability. These meteorological stations were located in different cities of Mexico, namely: Chihuahua, Temixco, and Zacatecas. Figure 1 shows an approximate climate map of Mexico. This figure also shows the locations of the studied sites. Furthermore, Table 1 shows the precise location of the sites and their corresponding weather type. The main characteristics of measurement equipment of the meteorological stations are shown in Table 2.
Three databases containing 17,520 hourly measurements of each variable, that is two full years of data, were consulted; however, due to the databases’ restrictions, different years were employed. In the case of Chihuahua, four meteorological variables were monitored: solar radiation, temperature, relative humidity, and pressure (SR, T, RH, and P); from January 2014 to December 2015. In the case of Temixco, five meteorological variables were measured: SR, T, RH, P, and wind speed (WS); from January 2013 to December 2014. Finally, for the case of Zacatecas, four meteorological variables were monitored: SR, T, RH, and WS; from January 2006 to December 2007.

3. Techniques and Methods Used in the Analysis

This section describes the applied techniques to select the data that formed the input vectors of the NARX models to forecast SR.

3.1. Collinearity Tests

Two variables are defined as collinear if the data vectors that represent them are on the same line (i.e., subspace of dimension one). Generally, the k variables are collinear if the vectors that represent them are in a subspace of dimension smaller than k, that is if one of the vectors is a linear combination of the other vectors. In practice, such “exact collinearity” rarely occurs, but this is certainly not necessary to consider that a collinearity problem exists [24].
Usually, an analysis of the principal components of the independent variables is performed to detect the collinearity. The principal components of a set of variables to other variables are referred to as the linear combination of the original variables. The principal components have three properties: (a) they are mutually independent (they are not correlated with each other); (b) they maintain the same information as the original variables; (c) they have the maximum variance with the above limitations. The variance of each principal component is an eigenvalue of the variance-covariance matrix of the original variables.
The number of null eigenvalues indicates the number of variables that are a linear combination of others (the number of exact collinearities). The eigenvalues near zero indicate serious collinearity problems.

3.2. Engle–Granger Causality Test

The fundamental aim of the co-integration tests is to know how much useful information the input variables provide to the model. This information is used to decide which variables should be part of the forecasting model. One of the most popular co-integration tests is the Engle–Granger causality method.
The causality test avoids the generation of spurious results, with a certain level of precision (in this study, a confidence level of 1 % was used). By eliminating unnecessary variables from the forecast model, the inclusion of meteorological variables that do not provide any significant information could be avoided; such variables may affect the model performance in unexpected or unwanted ways. These results are the spurious phenomenon of the nonsense regression explained by Yule [25]. Yule proved that spurious correlation could persist in non-stationary time-series, even if the sample is very large.
The Engle–Granger causality tests propose a hypothesis diagnostic, where the null hypothesis rejects the causality approach of one variable against another variable, that is the independent variable does not have useful information to predict the dependent variable. The Engle–Granger causality tests first assumes that the variable X does not cause the variable Y. If this null hypothesis is rejected, then the variable X causes the variable Y, that is the variable X contains relevant information to predict the variable Y. The causality tests were carried out by solving Equations (1) and (2).
Y t = i = 1 n α i X t i + j = 1 n β j Y t j + u 1 t ,
X t = i = 1 n λ i Y t i + j = 1 n δ j X t j + u 2 t ,
where X is, for example, the solar radiation, Y is the air temperature, u 1 t is the uncorrelated white noise, and n is the number of lags. α i , β j , λ i , and δ j are parameters to be determined.
Similarly, using the auto-regressive vector technique, it is possible to elaborate tests for several variables [25]; such as wind speed, relative humidity, etc.
Since the results of the causality test depend on the number of lags, these tests were conducted using 2 , 3 , , and 24 lags. The results were considered acceptable when some of the unnecessary variables were rejected after modifying the number of lags, due to the main objective of this work being fulfilled: to develop SR forecasting models with a reduced number of input variables.

3.3. Augmented Dickey–Fuller Test

Many statistical tests that help to determine if a time-series is or is not stationary exist. The augmented Dickey–Fuller (ADF) test was implemented in this work to identify the stationarity of the time-series. This test is based on the null hypothesis, which supposes that an analyzed time-series is non-stationary. Still, if this first hypothesis is rejected, then the time-series is considered stationary.
On the other hand, unit root tests are based on the study of stochastic time-series; in this case: pure random walk, random walk with drift, and random walk with drift and deterministic trend. Furthermore, the random walk with drift and deterministic trend model was proposed with an additional term, which considered whether the term u t was correlated or not [25], as can be seen in Equation (3).
Δ Y t = β 1 + β 2 t + δ Y t 1 + i = 1 m α j Δ Y t j + ϵ t ,
where β 1 is the drift, β 2 is the deterministic trend term, δ is the term that indicates if the time-series is stationary, ϵ t is a pure error term, and Δ Y t i = Y t 1 Y t 2 , Δ Y t 2 = Y t 2 Y t 3 , etc.

3.4. Non-Linear Auto-Regressive Model with Exogenous Inputs

Consider a recurrent neural network with only one input and one output, whose behavior is described by Equations (4) and (5). Given this state-space model, modifying it into an input-output model as an equivalent representation of the neural network is necessary.
x ( n + 1 ) = ϕ W a x ( n ) + w b u ( n ) ,
y ( n ) = c T x ( n ) .
Using Equations (4) and (5), it can be easily demonstrated that the output y ( n + q ) could be expressed in terms of the state x ( n ) and the input vector u q ( n ) as follows:
y ( n + q ) = Φ x ( n ) , u q ( n ) ,
where q is the dimensional form of the state-space model and Φ : 2 q . Provided that the recurrent network is observable, the local observability theorem can be used to write:
x ( n ) = Ψ [ y p ( n ) , u q 1 ( n ) ] ,
where Ψ : 2 q 1 q . Hence, substituting Equation (7) in Equation (6), it is obtained:
y ( n + q ) = Φ Ψ y p ( n ) , u q 1 ( n ) , u q ( n ) = F y q ( n ) , u q ( n ) ,
where u q 1 ( n ) is contained in u q ( n ) as its first elements ( q 1 ), and the nonlinear mapping F : 2 q takes care of both ϕ and ψ .
u q 1 ( n ) = u ( n ) , u ( n + 1 ) , , u ( n + q 2 ) T ,
y p ( n ) = y ( n ) , y ( n + 1 ) , , y ( n + q 1 ) T .
Using the definitions of y p ( n ) and u q ( n ) given in Equations (9) and (10), we may rewrite Equation (8) as the expanded form:
y ( n + q ) = F y ( n + q 1 ) , , y ( n ) , u ( n + q 1 ) , , u ( n ) .
Replacing n with n q + 1 , then:
y ( n + 1 ) = F y ( n ) , , y ( n q + 1 ) , u ( n ) , , u ( n q + 1 ) .
Expressed in words, some non-linear mapping F : 2 q exists whereby the present value of the output y ( n + 1 ) is uniquely defined in terms of its past values y ( n ) , , y ( n q + 1 ) and the present and past values of the input u ( n ) , , u ( n q + 1 ) . For this input-output representation to be equivalent to the state-space model of Equations (4) and (5), the recurrent network must be observable. The practical representation of this equivalence is that the NARX model (see Figure 2a, with its limited feedback towards the output neuron, is in fact able to simulate the corresponding fully recurrent state-space model of Figure 2b (assuming that m = 1 and p = 1 ), with no difference between their input-output behavior [26].

3.5. Smart Persistence Model

The smart persistence model was used as a benchmark. Despite the simplicity of this model, it can be very accurate for low variability periods. Therefore, the smart persistence model is useful to compare to other models. This model is defined as [27]:
S R ( t + Δ t ) = S R c l r ( t + Δ t ) S R c l r ( t ) S R ( t ) .
It is well known that solar radiation suffers losses due to dispersion and atmospheric absorption when it passes through the atmosphere [28]. After the atmospheric absorption phenomenon, the normal solar flow rate (solar radiation/normal irradiance) that reaches the Earth’s surface is calculated with Equation (14), found in the Handbook of Solar Energy [28], where it is also mentioned that SR can be another form of normal irradiance.
S R c l r = I e x t · exp T R 0.9 + 9.4 · cos θ z ,
and:
cos θ z = cos ϕ cos δ cos ω + sin δ sin ϕ ,
where θ z is the solar zenith angle defined as the angle between the vertical and the line connecting to the Sun, I e x t is the extraterrestrial irradiance per hour, T R is the turbidity factor, ϕ is the latitude of the site, δ is the declination angle of the Earth, and ω is the hour angle.
The extraterrestrial hourly mean irradiance (W/m 2 ) is calculated by the following equation [29]:
I e x t = I s c E 0 ( sin δ sin ϕ + 0.9972 · cos δ cos ϕ cos ω 0.5 ) ,
where E 0 is the eccentricity correction factor, I s c = 1367 W/m 2 is the solar constant, and ω 0.5 is the hour angle at the half hour.

3.6. Solar Radiation Estimation under Clear Sky Conditions, S R c l r

To have a reference and a constraint for the calculation of smart persistence, a monthly ideal turbidity factor was calculated for each site by solving Equation (14) for T R :
T R = log ( S R ) m o n t h ( I e x t ) m o n t h · 0.9 + 9.4 · ( cos θ z ) m o n t h ,
where ( S R ) m o n t h is the maximum value of the month of solar irradiance measured at each site, ( I e x t ) m o n t h is the maximum value of solar extraterrestrial radiation for each month at each site, and ( cos θ z ) m o n t h is the monthly value used to calculate ( I e x t ) m o n t h according to [28]. Table 3, Table 4 and Table 5 show the obtained results from Equation (17) of the turbidity factor, T R , corresponding to Chihuahua, Temixco, and Zacatecas, respectively.
It is worth mentioning that it was only necessary to calculate T R once for each month since the maximum value measured in each month of both SR and I e x t was used. The maximum ideal SR could be calculated using a single T R under optimal conditions at each site per month. The goal was to use that SR calculated value as a constraint for the smart persistence model so that it never exceeded such a value.
Note that the results for the turbidity factor were obtained under the following hypotheses:
  • at least one day of each month had clear sky conditions.
  • SR obtained under clear sky conditions was calculated by considering the maximum irradiance of every month.
Figure 3 presents the synthetic series of maximum ideal S R c l r generated using Equation (14) for a typical year, where the monthly T R presented in Table 3, Table 4 and Table 5 was used. It should be noticed that 8760 computed data of S R c l r were plotted from hourly known values of I e x t and θ z for each site, which were adjusted by T R for each month at each site, specifically. This figure also shows the first 744 h corresponding to January, where 31 peaks can be easily observed, one for a day. Several interesting phenomena were observed when reviewing the entire synthetic series: first, it seemed that a relatively continuous area was drawn; however, it was not: it was a line graph that, being a series of hourly S R c l r , had a cyclical shape with very close waves; second, 12 steps appeared, due to the effect of T R , which scaled the results and changed every month; and finally, a trend was observed in the data that corresponded to the annual seasonal cycle where the summer months received more S R c l r . It is important to highlight that T R produced a peculiar behavior in Zacatecas since there was a significant gap from June to August compared to the rest of the year.

3.7. Performance Tests

Two standard error metrics widely used in the solar prediction area were implemented: the root mean squared error (RMSE) and the mean absolute error (MAE).
R M S E = 1 n i = 1 n ( S R ) f ( S R ) m 2 ,
M A E = 1 n i = 1 n ( S R ) f ( S R ) m ,
where ( S R ) f is the forecasted solar radiation and ( S R ) m is the measured solar radiation.
Additionally, to compare the relative improvement of the different models with respect to the smart persistence model, the forecast skill parameter was calculated as defined in [23].
F o r e c a s t s k i l l ( % ) = 1 R M S E N A R X R M S E S P · 100 ,
where the subscripts N A R X and S P denote the NARX model and the smart persistence model, respectively.

4. Selection of Input Variables and the Structure of the NARX Model

This section explains how the collinearity and co-integration tests were applied to assemble the input vectors of the prediction model. Afterwards, the general architecture of a trained NARX model is presented.

4.1. Collinearity Tests

When a variable has a linear combination with another one, it means that both variables are related through a linear expression. When the linear correlation coefficient between the variables is equal to unity, the variables have a simple collinearity. In the case of multiple variables, collinearity occurs when some independent variables are correlated with each other. One way to detect collinearity between multiple variables is through principal component analysis of the independent variables. The variance of each principal component is an eigenvalue of the variance-covariance matrix of the original variables. The null eigenvalues indicate the number of variables that are linear combinations of others (exact collinearities). Once the presence and number of collinearities are determined in a multivariate time-series, it is convenient to find the involved variables through the calculation of their variance-decomposition proportion for each component; Belsley et al. [24] proposed using a proportion threshold of about 0.5 .
Collinearity tests were used to assemble the input vectors of the NARX models correctly. Figure 4 shows the collinearity tests performed on the multivariate time series of the three studied sites, with the available variables in each site, namely:
  • In the case of Chihuahua, the temperature and the pressure were above the threshold of the variance-decomposition proportion; see Figure 4a. Thus, in the next stage, the collinearity tests were performed omitting one of these variables, obtaining two new combinations of input vectors. The first input vector was assembled using SR, RH, and T. The second vector was constructed using SR, RH, and P.
  • In the case of Temixco, temperature, relative humidity, and pressure showed collinearity; see Figure 4b. Therefore, three new input vectors were obtained formed as follows: SR, WS, and T variables for the first vector; SR, WS, and RH variables for the second vector; and SR, WS, and P variables for the third vector.
  • In the case of Zacatecas, the temperature significantly exceeded the threshold of 0.5; see Figure 4c. Therefore, two new input vectors were obtained in combination with the temperature, i.e., SR, RH, and T; and SR, WS, and T.
Table 6, Table 7 and Table 8 show the proposed input vectors for Chihuahua, Temixco, and Zacatecas, respectively. In all cases, Vector 1 was formed using all available meteorological variables. Vectors 2 and 3 (and 4 for Temixco) were obtained from the results of the collinearity tests. Finally, Vector 4 (5 for Temixco) was the result of the application of collinearity and integration tests.

4.2. Engle–Granger Causality Tests

Cointegration tests to identify redundant variables of the input vector built from collinearity test were applied. In the case of Chihuahua, the collinearity test determined two different combinations of input vectors: V 2 = [ S R , R H , T ] and V 3 = [ S R , R H , P ] ; which were formed using separately the variables that presented collinearity. Then, the causality test was applied to V 2 , identifying the RH as a redundant variable, so the RH was eliminated from the this input vector, obtaining V 4 = [ S R , T ] of Table 6. For V 3 , the test did not register any redundant variable, so the input variables remained the same.
In the case of Temixco, the causality tests were applied to three groups of input variables: V 2 = [ S R , W S , T ] , V 3 = [ S R , W S , R H ] , and V 4 = [ R S , W S , P ] . The tests indicated that there would only be a change in the case of V 2 , where it was determined that the WS was a redundant variable. Therefore, the new vector V 5 = [ S R , T ] of Table 7 was defined.
Finally, in the city of Zacatecas, it was found that only T showed collinearity, and two input vectors were formed:
V 2 = [ S R , T , R H ] , V 3 = [ S R , T , W S ] . The causality tests determined the relative humidity as a redundant variable in V 2 . Therefore, the new input vector V 4 = [ S R , T ] was formed; see Table 8.

4.3. NARX Models Including Collinearity Tests

Once the input vectors were determined, the NARX models were developed for each of the cases shown in Table 6, Table 7 and Table 8. When all the meteorological variables were used (i.e., vectors V 1 ), as well as vectors obtained from the causality tests, the NARX models were performed using the diagram of Figure 5. The flowchart initiated when input variables were entered. Then, the NARX model was trained, and finally, the performance tests were calculated. The variables were normalized with values from zero to one, before the NARX model was trained. To normalize the variables, the subroutine shown in Figure 5b was used.

4.4. NARX Models Including Collinearity and Engle–Granger Causality Tests

The main objective of this research work was to build the best NARX model, based on the proper input vectors. The flowchart of Figure 6 shows the steps that were followed to define the relevant variables in the solar radiation prediction using collinearity and causality tests. In the case of Chihuahua, V 1 included all the variables. Then, V 2 and V 3 were obtained, applying the collinearity test. Finally, the causality test was applied on both input vectors, showing a difference only in V 2 . This test indicated that the RH did not cause SR. Therefore, the new input vector was formed as V 4 = [ S R , T ] . In the case of Temixco, the causality test was used to build V 2 , V 3 , and V 4 . The causality test determined that the WS did not cause SR in V 2 , while in V 3 and V 4 , there was no change, that is the input vectors remained the same. Therefore, the new input vector was formed as V 5 = [ S R , T ] . For Zacatecas, the causality test was implemented in V 2 and V 3 . From the application of this test, only V 2 determined that the HR did not cause SR, while in Case 3, no change was registered in the input variables, resulting in V 4 = [ S R , T ] .
According to the obtained results from the collinearity and causality tests’ application, the proper input vector for each site only included SR and T, that is one non-collinear variable and one collinear variable.
Although preliminary results indicated that the best input vector only included SR and T, NARX models were trained for each of the cases from Table 6, Table 7 and Table 8 to compare all NARX models through the performance tests, in which it was expected that those NARX models with the best input vector would obtain the best forecast performance. The first year of the available data was used as the training data. For the performance tests, the SR forecast horizon was one hour ahead. These results were compared with the second year of the data measured in each of the sites, i.e., a blind forecast was calculated.

4.5. Number of Time Lags of the NARX Model

First, the variance and the mean were stabilized through the cubic root of the solar radiation, i.e., Y t = S R 1 / 3 . Then, it was differentiated using 24 lags, as d Y t = ( 1 B 24 ) Y t . Figure 7a shows the transformation of the solar radiation time-series resulting from the application of these operations. After that, the autocorrelation function (ACF) and the partial autocorrelation function (PACF) were obtained from the stabilized solar radiation time-series. Figure 7b shows the sinusoidal behavior of the ACF, which was a clear sign of the presence of seasonality in the SR times-series. At the same time, the PACF displayed peaks every 24 h, which indicated that the time-series presented daily evolution; see Figure 7c. Therefore, the NARX models were tested with different numbers of time lags until reaching 24 lags. The results showed that the best predictions were obtained when 24 lags were used.

4.6. Artificial Neural Network Setup

Figure 8 shows the general flowchart of the input variables’ combinations of the NARX models proposed for the SR forecast at each site; see Table 6, Table 7 and Table 8. For Chihuahua, the architecture of the artificial neural network with all available input variables, i.e., x ( t ) = [ S R , T , R H , P ] and y ( t ) = [ S R ] as the output variable, is presented in Figure 8a. Figure 8b,c shows how the input variables were previously treated with the collinearity test, resulting in two input vectors built with three variables each. Because the temperature and the pressure were defined as collinear, both variables were separated from the original model, and two new input vectors were generated: in the first one, the temperature was combined with solar radiation and relative humidity, x ( t ) = [ S R , R H , T ] ; while in the second one, the pressure was combined with solar radiation and relative humidity, x ( t ) = [ S R , R H , P ] . In this case, Figure 8d was not used; it was only applicable in the case of Temixco. Finally, Figure 8e shows the performed procedure on the input variables, before applying the NARX model. The four original meteorological variables were treated with the collinearity and the causality tests. Therefore, the inlet vector was reduced from four variables to two variables, namely x ( t ) = [ S R , T ] .
Similarly to the Chihuahua case, the NARX model that included all meteorological variables available in the site as inputs is presented in Figure 8a, where x ( t ) = [ S R , W S , R H , T , P ] . According to the collinearity tests, the temperature, the relative humidity, and the pressure showed collinearity. Consequently, these variables could not be combined to build the input vectors. Figure 8b–d shows how the input vectors were generated using the collinearity tests, namely x ( t ) = [ S R , W S , T ] , x ( t ) = [ S R , W S , R H ] , and x ( t ) = [ S R , W S , P ] , respectively. Finally, in Figure 8e, the solar radiation and temperature were considered as input variables to the NARX model. This vector was obtained from the application in the collinearity and causality tests. As can be seen, the results of the collinearity and the causality tests were not included for the cases V 3 = [ S R , W S , R H ] and V 4 = [ S R , W S , P ] ; this was because, when applying the causality test to these cases, the results did not suggested any change. Nevertheless, the only change observed occurred when the causality test was applied to V 2 = [ S R , W S , T ] ; where, according to the causality test, WS did not cause SR. Therefore, in this particular case, the input vector was composed as x ( t ) = [ S R , T ] .
According to the collinearity test, the only variable that presented collinearity was the temperature. Therefore, there was no restriction in combining T with another variable. Figure 8a shows the NARX architecture using all available variables for the site of Zacatecas, that is x ( t ) = [ S R , T , R H , W S ] . Figure 8b,c shows the inlet vectors resulting from the collinearity tests, namely x ( y ) = [ S R , T , R H ] and x ( y ) = [ S R , T , W S ] , respectively. When applying the causality tests to the combination of variables [ S R , T , R H ] , the results indicated that the three variables should be used for the SR prediction. Nevertheless, when applying the causality test to [ S R , T , W S ] , the results indicated that WS did not cause SR, that is WS should not be used for the SR forecast. In Figure 8d, the architecture used for the forecast of solar radiation can be seen, which only had SR and T as input variables.
In all cases, the number of neurons used in the hidden layer of the NARX models was 10. The number of lags was obtained using the autocorrelation function and the partial autocorrelation function. The Levenberg–Marquardt algorithm was used as the training algorithm.

5. Results and Discussions

The results were obtained using two specialized software packages: EViews 9.0 [30] and MATLAB 2015a [31]. The first was used to perform the cointegration tests thanks to its versatility and the graphical user interface. The second was used for the normalization of the inlet vectors, the NARX models’ generation, and the collinearity tests.
The forecast results were compared to each other using forecast error measures to verify which configuration of the NARX model had the best performance. Additionally, to have a different comparison pattern, a solar radiation forecast based on the smart persistence model was generated.

5.1. Performance Tests

The results of the performance tests obtained from Equations (18)–(20) are shown in Table 9, Table 10 and Table 11. Table 9 shows the results obtained for Chihuahua. In the first case, all the available variables in the site were included, this case being where the most significant errors were observed. Once the collinearity and causality techniques were applied, the input vector was reduced to only two variables: SR and T. The collinearity and causality tests restricted the inclusion of every variable that was correlated in the system; for example HR was correlated with T and P; therefore, in our study, only one variable should be incorporated to avoid using redundant information. Finally, it is highlighted that the NARX model that included the collinearity and causality tests showed a better fit than the intelligent persistence model.
Table 10 and Table 11 show the obtained results for Temixco and Zacatecas, respectively. In both cases, the best forecast result was obtained when only SR and T were used to form the input vectors. Therefore, it can be concluded that solar radiation forecasting improved when the collinearity and causality tests were applied to determine the input vector of the NARX model.
It should be noted that, since three study cases were a limited sample to have a conclusive result, the input vectors obtained with the procedure described in this work for other cases could not be SR and T. Thus, the results obtained in this work, concerning the delimitation of the input variables of the NARX models, did not represent a general rule. Furthermore, another determining factor in the conformation of the input vector, other than collinearity and causality tests, was the historical data, on which the training of the forecasting model depended.
Table 9, Table 10 and Table 11 also show the calculation of the forecast skill from Equation (20). It can be observed that the best result was obtained for Zacatecas, then for Temixco, and finally, for Chihuahua. They showed the forecast skill intervals of 27.2 % , 15.7 % , and 11.5 % , respectively.

5.2. Linear Regression Analysis

Linear regression analysis was applied to better visualize forecast accuracy. The results of this analysis are shown in Figure 9, where the x-axis represents the solar radiation forecasting, the y-axis represents the real data, and the blue line is the regression line. This figure shows that the correlation between the real and the predicted data was between 0.94 and 0.97 , which indicated that the models were very competitive.
For the first two sites, Chihuahua and Temixco, the regression line was almost 45 , while the third site had a slightly more pronounced slope. These results indicated that there was a concordance between the SR forecast and the real data. Furthermore, in this figure, it can be appreciated that the data were not very dispersed in any of the graphs, another indication that the forecast results were good.

5.3. NARX Models versus the Smart Persistence Model

Figure 10 shows a comparison between the solar radiation measured data and the forecasting results obtained from the NARX model and the smart persistence model. Figure 10a presents the results for Chihuahua from 1 January 2015 to 7 January 2015. The RMSE for the NARX model for these seven days was 5.3 W/m 2 , while it was 7.3 W/m 2 for the smart persistence model. This chart shows a better fit of the NARX model, especially when the curves did not present a sudden change of direction. When this occurred, both models showed problems fitting to real data; therefore, it was necessary to calculate the prediction error to identify the best-fitting forecast model.
Figure 10b shows the comparison of the last seven days of December 2014 of the solar radiation measured data, NARX model, and smart persistence model for Temixco. The RMSE of the NARX model was 4.5 W/m 2 , while 6.1 W/m 2 for the smart persistence model. In this case, both models presented a good performance, with the NARX model being slightly better.
Figure 10c shows the comparison between real and prediction data for 6 May 2007, to 12 May 2007, for the city of Zacatecas. In this case, the RMSE of the NARX model was 7.02 W/m 2 , while 10.16 W/m 2 for the smart persistence model. The measured data had an irregular behavior, which caused the NARX model to underestimate the values of SR. In contrast, the smart persistence model overestimated it. Consequently, once again, it was necessary to know the measurement of the prediction error to determine which was the best fit.
Although the graphs did not show much difference between the NARX model and the smart persistence model, the performance tests that were performed for the seven days analyzed in each case indicated that the NARX model was better than the smart persistence model in all cases.

6. Conclusions

Solar radiation is the driving force behind several solar energy devices, such as photovoltaic systems for generating electricity and solar collectors for water heating [1]. Many researchers are interested in proposing and improving forecasting results through new techniques of ANN. In this paper, two tests were applied to three databases to achieve the best variable selection of the input vector of NARX models to improve the SR prediction: the collinearity and causality tests.
In the Chihuahua and Zacatecas cases, there was a clear improvement when applying both tests, nevertheless, in Temixco, there was quite similar performance when the NARX model with V 2 = [ S R , T , W S ] and the NARX model with V 4 = [ S R , T ] were compared. However, the best model used fewer data by eliminating one variable to achieve similar results as the NARX model with vector V 2 . According to the obtained results, the NARX models that showed the best performance for the solar radiation forecasting one hour ahead were those in which the collinearity and causality tests were applied to determine the proper variables to form the input vectors. Additionally, the input vectors were reduced to use only the significant variables in the forecasting models. The results indicated that, in all studied cases, the solar radiation and temperature were the best combinations of the input variables, which provided better prediction results by using the NARX models.
The prediction results obtained from the NARX models were compared to a benchmark model, the smart persistence model. This model was used to forecast the solar radiation one hour ahead, establishing a relationship between the global solar radiation and solar radiation under clear sky conditions. The solar radiation calculation under clear sky conditions was obtained employing the monthly maximum solar radiation and the monthly maximum extraterrestrial solar radiation. The turbidity coefficient was determined with these monthly values, which is usually obtained through specialized measurement instruments. The solar radiation forecast skill, % F o r e c a s t s k i l l , was calculated from the results of the NARX model and the smart persistence model, obtaining 11.5 % , 15.7 % , and 27.2 % for Chihuahua, Temixco, and Zacatecas, respectively.
The next steps that this research envisages include the expansion of the forecast horizon, i.e., models capable of forecast solar radiation with the least uncertainty for 6, 12, 24, and 48 h ahead. Besides that, numerical models such as the Weather Research and Forecasting (WRF) model could be explored. Additionally, hybrid models involving this kind of numerical model with artificial intelligence and statistical models could be employed, which provide the numerical forecast with the linear and non-linear characteristics of the phenomenon.

Author Contributions

Conceptualization, E.C. and E.R.; methodology, E.R., R.C.-A., and J.L.T.; software, E.R. and J.L.T.; validation, E.C. and E.R.; formal analysis, E.C., E.R., and R.C.-A.; investigation, E.C. and E.R.; resources, E.C.; data curation, E.R. and R.C.-A.; writing, original draft preparation, E.C., E.R., and R.C.-A.; writing, review and editing, E.C. and R.C.-A.; visualization, R.C.-A.; supervision, E.C. All authors read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors appreciate to Instituto de Energías Renovables de la Universidad Nacional Autónoma de México for providing the database through the "Sistema de Información de datos Solarimétricos y Meteorológicos" and sincerely thank to Jesús Quiñones for the collaboration.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial neural network
ARMAAutoregressive moving average
MAEMean absolute error
NARXNonlinear autoregressive model with exogenous inputs
PPressure
RHRelative humidity
RMSERoot mean squared error
SRSolar radiation
TTemperature
WSWind speed

References

  1. Sfetsos, A.; Coonick, A. Univariate and multivariate forecasting of hourly solar radiation with artificial intelligence techniques. Sol. Energy 2000, 68, 169–178. [Google Scholar] [CrossRef]
  2. Cao, J.; Lin, X. Study of hourly and daily solar irradiation forecast using diagonal recurrent wavelet neural networks. Energy Convers. Manag. 2008, 49, 1396–1406. [Google Scholar] [CrossRef]
  3. Hocaoǧlu, F.O.; Gerek, Ö.N.; Kurban, M. Hourly solar radiation forecasting using optimal coefficient 2-D linear filters and feed-forward neural networks. Sol. Energy 2008, 82, 714–726. [Google Scholar] [CrossRef]
  4. Akarslan, E.; Hocaoglu, F.O. A novel adaptive approach for hourly solar radiation forecasting. Renew. Energy 2016, 87, 628–633. [Google Scholar] [CrossRef]
  5. Boland, J.; David, M.; Lauret, P. Short term solar radiation forecasting: Island versus continental sites. Energy 2016, 113, 186–192. [Google Scholar] [CrossRef]
  6. Jiménez-Pérez, P.F.; Mora-López, L. Modeling and forecasting hourly global solar radiation using clustering and classification techniques. Sol. Energy 2016, 135, 682–691. [Google Scholar] [CrossRef]
  7. Martín, L.; Zarzalejo, L.F.; Polo, J.; Navarro, A.; Marchante, R.; Cony, M. Prediction of global solar irradiance based on time series analysis: Application to solar thermal power plants energy production planning. Sol. Energy 2010, 84, 1772–1781. [Google Scholar] [CrossRef]
  8. Monjoly, S.; André, M.; Calif, R.; Soubdhan, T. Hourly forecasting of global solar radiation based on multiscale decomposition methods: A hybrid approach. Energy 2017, 119, 288–298. [Google Scholar] [CrossRef]
  9. 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]
  10. 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]
  11. Chen, C.R.; Kartini, U. k-Nearest Neighbor Neural Network Models for Very Short-Term Global Solar Irradiance Forecasting Based on Meteorological Data. Energies 2017, 10, 186. [Google Scholar] [CrossRef] [Green Version]
  12. Voyant, C.; Muselli, M.; Paoli, C.; Nivet, M.L. Numerical weather prediction (NWP) and hybrid ARMA/ANN model to predict global radiation. Energy 2012, 39, 341–355. [Google Scholar] [CrossRef] [Green Version]
  13. Voyant, C.; Muselli, M.; Paoli, C.; Nivet, M.L. Hybrid methodology for hourly global radiation forecasting in Mediterranean area. Renew. Energy 2013, 53, 1–11. [Google Scholar] [CrossRef] [Green Version]
  14. Ji, W.; Chee, K.C. Prediction of hourly solar radiation using a novel hybrid model of ARMA and TDNN. Sol. Energy 2011, 85, 808–817. [Google Scholar] [CrossRef]
  15. Renno, C.; Petito, F.; Gatto, A. ANN model for predicting the direct normal irradiance and the global radiation for a solar application to a residential building. J. Clean. Prod. 2016, 135, 1298–1316. [Google Scholar] [CrossRef]
  16. Kaplanis, S.; Kaplani, E. Stochastic prediction of hourly global solar radiation for Patra, Greece. Appl. Energy 2010, 87, 3748–3758. [Google Scholar] [CrossRef]
  17. Pandey, P.K.; Soupir, M.L. A new method to estimate average hourly global solar radiation on the horizontal surface. Atmos. Res. 2012, 114–115, 83–90. [Google Scholar] [CrossRef]
  18. Yang, D.; Jirutitijaroen, P.; Walsh, W.M. Hourly solar irradiance time series forecasting using cloud cover index. Sol. Energy 2012, 86, 3531–3543. [Google Scholar] [CrossRef]
  19. Wu, J.; Chan, C.K. Prediction of hourly solar radiation with multi-model framework. Energy Convers. Manag. 2013, 76, 347–355. [Google Scholar] [CrossRef]
  20. Huang, J.; Korolkiewicz, M.; Agrawal, M.; Boland, J. Forecasting solar radiation on an hourly time scale using a Coupled AutoRegressive and Dynamical System (CARDS) model. Sol. Energy 2013, 87, 136–149. [Google Scholar] [CrossRef]
  21. Hocaoglu, F.O.; Karanfil, F. A time series-based approach for renewable energy modeling. Renew. Sustain. Energy Rev. 2013, 28, 204–214. [Google Scholar] [CrossRef]
  22. Ahmad, A.; Anderson, T.N.; Lie, T.T. Hourly global solar irradiation forecasting for New Zealand. Sol. Energy 2015, 122, 1398–1408. [Google Scholar] [CrossRef] [Green Version]
  23. Aguiar, L.M.; Pereira, B.; Lauret, P.; Díaz, F.; David, M. Combining solar irradiance measurements, satellite-derived data and a numerical weather prediction model to improve intra-day solar forecasting. Renew. Energy 2016, 97, 599–610. [Google Scholar] [CrossRef] [Green Version]
  24. Belsley, D.; Kuh, E.; Welsch, R. Regression Diagnostics: Identifying Influential Data and Sources of Collinearity; Wiley Series in Probability and Statistics; John Wiley & Sons: Hoboken, NJ, USA, 1980. [Google Scholar] [CrossRef]
  25. Gujarati, D.N.; Porter, D.C. Basic Econometrics, 5th ed.; McGraw-Hill Publishing: New York, NY, USA, 2013. [Google Scholar]
  26. Haykin, S. Neural Networks a Comprehensive Foundation, 2nd ed.; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2004; Volume 1, p. 823. [Google Scholar]
  27. Chu, Y.; Pedro, H.T.C.; Coimbra, C.F.M. Hybrid intra-hour DNI forecasts with sky image processing enhanced by stochastic learning. Sol. Energy 2013, 98, 592–603. [Google Scholar] [CrossRef]
  28. Tiwari, G.N.; Tiwari, A.; Shyam. Handbook of Solar Energy. Theory, Analysis and Applications, 1st ed.; Springer: Singapore, 2016. [Google Scholar] [CrossRef] [Green Version]
  29. Behar, O.; Khellaf, A.; Mohammedi, K. Comparison of solar radiation models and their validation under Algerian climate—The case of direct irradiance. Energy Convers. Manag. 2015, 98, 236–251. [Google Scholar] [CrossRef]
  30. EViews. EViews 9 Student/Lite Version; IHS Global Inc.: Irvine, CA, USA, 2015. [Google Scholar]
  31. Beale, M.H.; Hagan, M.T.; Demuth, H.B. Neural Network Toolbox ™ User’ s Guide R 2013b; The MathWorks Inc.: Natick, MA, USA, 2013. [Google Scholar]
Figure 1. Weather map of Mexico (source: Instituto Nacional de Estadística, Geografía e Informática).
Figure 1. Weather map of Mexico (source: Instituto Nacional de Estadística, Geografía e Informática).
Energies 13 02576 g001
Figure 2. Proposed NARX model: (a) Nonlinear autoregressive neural network with exogenous inputs. (b) Multilayer perceptron with one hidden layer [26].
Figure 2. Proposed NARX model: (a) Nonlinear autoregressive neural network with exogenous inputs. (b) Multilayer perceptron with one hidden layer [26].
Energies 13 02576 g002aEnergies 13 02576 g002b
Figure 3. Solar radiation under clear sky conditions ( S R c l r ): (a) Chihuahua: 1 January to 31 December 2015; (b) Chihuahua: 1–31 January 2015; (c) Temixco: 1 January to 31 December 2014; (d) Temixco: 1–31 January 2014; (e) Zacatecas: 1 January to 31 December 2007; and (f) Zacatecas: 1–31 January 2007.
Figure 3. Solar radiation under clear sky conditions ( S R c l r ): (a) Chihuahua: 1 January to 31 December 2015; (b) Chihuahua: 1–31 January 2015; (c) Temixco: 1 January to 31 December 2014; (d) Temixco: 1–31 January 2014; (e) Zacatecas: 1 January to 31 December 2007; and (f) Zacatecas: 1–31 January 2007.
Energies 13 02576 g003
Figure 4. Results of the collinearity tests: (a) Chihuahua, (b) Temixco, and (c) Zacatecas.
Figure 4. Results of the collinearity tests: (a) Chihuahua, (b) Temixco, and (c) Zacatecas.
Energies 13 02576 g004
Figure 5. Nonlinear autoregressive exogenous model: (a) Main flow chart. (b) Variables’ normalization subprocess.
Figure 5. Nonlinear autoregressive exogenous model: (a) Main flow chart. (b) Variables’ normalization subprocess.
Energies 13 02576 g005
Figure 6. NARX model including collinearity and the Engle–Granger test.
Figure 6. NARX model including collinearity and the Engle–Granger test.
Energies 13 02576 g006
Figure 7. Autocorrelation functions analysis: (a) Transformation of the original time-series. (b) Autocorrelation function. (c) Partial autocorrelation function.
Figure 7. Autocorrelation functions analysis: (a) Transformation of the original time-series. (b) Autocorrelation function. (c) Partial autocorrelation function.
Energies 13 02576 g007
Figure 8. General architecture of the NARX models: (a) V 1 using all available variables, (b) V 2 obtained from the collinearity test application, (c) V 3 obtained from the collinearity test application, (d) V 4 obtained from the collinearity test application (only for the case of Temixco), and (e) V 4 or V 5 (only for the case of Temixco) obtained from the collinearity and causality tests’ application.
Figure 8. General architecture of the NARX models: (a) V 1 using all available variables, (b) V 2 obtained from the collinearity test application, (c) V 3 obtained from the collinearity test application, (d) V 4 obtained from the collinearity test application (only for the case of Temixco), and (e) V 4 or V 5 (only for the case of Temixco) obtained from the collinearity and causality tests’ application.
Energies 13 02576 g008
Figure 9. Linear regression analysis: (a) Chihuahua, (b) Temixco, and (c) Zacatecas.
Figure 9. Linear regression analysis: (a) Chihuahua, (b) Temixco, and (c) Zacatecas.
Energies 13 02576 g009
Figure 10. Comparison between the forecasting models and measured data: (a) Chihuahua: one week, (b) Chihuahua: two days, (c) Temixco: one week, (d) Temixco: two days, (e) Zacatecas: one week, and (f) Zacatecas: two days.
Figure 10. Comparison between the forecasting models and measured data: (a) Chihuahua: one week, (b) Chihuahua: two days, (c) Temixco: one week, (d) Temixco: two days, (e) Zacatecas: one week, and (f) Zacatecas: two days.
Energies 13 02576 g010
Table 1. Location of meteorological stations and the weather type of the sites.
Table 1. Location of meteorological stations and the weather type of the sites.
SiteLatitudeLongitudeElevationWeather
(North)(West)(m.a.s.l.)Type
Chihuahua 28.6 106.0 1415Very dry
Temixco 18.8 99.2 1313Warm-sub humid
Zacatecas 22.8 102.6 2460Dry
Table 2. Sensor characteristics.
Table 2. Sensor characteristics.
ProbeSensorRangeAccuracy
Eppley B&W Pyranometer
CS500 Temperature Probe1000 Ω platinum resistance 40.0 C to + 60.0 C ± 0.5 C
thermometer, DIN43760B
CS500 Relative Humidity ProbeVaisala INTERCAP0 to 100 % ± 3 %
R.M. Young Wind Sentry AnemometerCups Wheel Assembly 0.0 to 50.0 m/s ± 0.5 m/s
PTB110 BarometerVaisala BAROCAP 500.0 1100.0 hPa ± 0.3 hPa
WXT510 Weather TransmitterUltrasonic Signal0 to 60 m/s 3 %
BAROCAP600 to 1100 hPa ± 0.5 hPa
THERMOCAP Sensor 52.0 C to 60.0 C ± 0.3 C
HUMICAP Sensor0 to 100 % RH ± 3 % RH
Table 3. Turbidity factor, T R , in Chihuahua, Chih.
Table 3. Turbidity factor, T R , in Chihuahua, Chih.
Jan.Feb.Mar.Apr.May.Jun.Jul.Aug.Sept.Oct.Nov.Dec.
( I e x t ) m o n t h , (W/m 2 )9861128126713371352135213491337128511721018904
( S R ) m o n t h , (W/m 2 )7849461037106811001087105110461013909778767
( cos θ z ) m o n t h , (−)0.6800.7860.8970.9620.9860.9860.9880.9750.9260.8310.7100.623
T R , (−)1.6721.4641.8692.2362.0992.2252.5452.4682.2832.2132.0351.111
Table 4. Turbidity factor, T R , in Temixco, Mor.
Table 4. Turbidity factor, T R , in Temixco, Mor.
Jan.Feb.Mar.Apr.May.Jun.Jul.Aug.Sept.Oct.Nov.Dec.
( I e x t ) m o n t h , (W/m 2 )115312611351137513741359136013621351128711751085
( S R ) m o n t h , (W/m 2 )8649501011103910171043105610261103950840816
( cos θ z ) m o n t h , (−)0.7950.8790.9570.9890.9900.9910.9920.9900.9730.9120.8110.748
T R , (−)2.4122.5972.8672.8513.0742.7062.5882.8902.0402.8752.8822.261
Table 5. Turbidity factor, T R , in Zacatecas, Zac.
Table 5. Turbidity factor, T R , in Zacatecas, Zac.
Jan.Feb.Mar.Apr.May.Jun.Jul.Aug.Sept.Oct.Nov.Dec.
( I e x t ) m o n t h , (W/m 2 )109112131323136513661361135613561330124611171017
( S R ) m o n t h , (W/m 2 )642720798888834985897860867795575584
( cos θ z ) m o n t h , (−)0.7520.8450.9370.9820.9880.9930.9910.9890.9580.8830.7790.701
T R , (−)4.2284.6174.9054.3565.0343.3114.2304.6484.2374.1405.4614.155
Table 6. Input vectors of Chihuahua, Chih.
Table 6. Input vectors of Chihuahua, Chih.
VectorInput VariablesOutput VariableTests
1SR, RH, T, PSR
2SR, RH, TSRCollinearity
3SR, RH, PSRCollinearity
4SR, TSRCollinearity and cointegration
Table 7. Input vectors of Temixco, Mor.
Table 7. Input vectors of Temixco, Mor.
VectorInput VariablesOutput VariableTests
1SR, WS, T, RH, PSR
2SR, WS, TSRCollinearity
3SR, WS, RHSRCollinearity
4SR, WS, PSRCollinearity
5SR, TSRCollinearity and cointegration
Table 8. Input vectors of Zacatecas, Zac.
Table 8. Input vectors of Zacatecas, Zac.
VectorInput VariablesOutput VariableTests
1SR, RH, WS, TSR
2SR, RH, TSRCollinearity
3SR, WS, TSRCollinearity
4SR, TSRCollinearity and cointegration
Table 9. Performance tests for Chihuahua.
Table 9. Performance tests for Chihuahua.
CaseInputOutputLagsHiddenMAERMSE Forecast skill
Neurons(W/m 2 )(W/m 2 )(%)
1SR, T, RH, PSR241044.184.2−0.4
2SR, RH, TSR241038.274.411.4
3SR, RH, PSR241039.578.26.8
4SR, TSR241036.574.211.5
Smart Persistence43.983.9-
Table 10. Performance tests for Temixco.
Table 10. Performance tests for Temixco.
CaseInputOutputLagsHiddenMAERMSE Forecast skill
Neurons(W/m 2 )(W/m 2 )(%)
1SR, WS, RH, T, PSR241039.579.6−14.5
2SR, WS, TSR241028.958.715.5
3SR, WS, RHSR241031.661.611.3
4SR, WS, PSR241029.760.013.6
5SR, TSR241029.158.615.7
Smart Persistence32.969.5-
Table 11. Performance tests for Zacatecas.
Table 11. Performance tests for Zacatecas.
CaseInputOutputLagsHiddenMAERMSE Forecast skill
Neurons(W/m 2 )(W/m 2 )(%)
1SR, T, RH, WSSR241050.585.724.9
2SR, T, RHSR241049.784.825.6
3SR, T, WSSR241049.684.426.0
4SR, TSR241046.883.027.2
Smart Persistence67.2114-

Share and Cite

MDPI and ACS Style

Rangel, E.; Cadenas, E.; Campos-Amezcua, R.; Tena, J.L. Enhanced Prediction of Solar Radiation Using NARX Models with Corrected Input Vectors. Energies 2020, 13, 2576. https://0-doi-org.brum.beds.ac.uk/10.3390/en13102576

AMA Style

Rangel E, Cadenas E, Campos-Amezcua R, Tena JL. Enhanced Prediction of Solar Radiation Using NARX Models with Corrected Input Vectors. Energies. 2020; 13(10):2576. https://0-doi-org.brum.beds.ac.uk/10.3390/en13102576

Chicago/Turabian Style

Rangel, Eduardo, Erasmo Cadenas, Rafael Campos-Amezcua, and Jorge L. Tena. 2020. "Enhanced Prediction of Solar Radiation Using NARX Models with Corrected Input Vectors" Energies 13, no. 10: 2576. https://0-doi-org.brum.beds.ac.uk/10.3390/en13102576

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