Smart Grid and Renewable Energy
Vol.07 No.03(2016), Article ID:64716,10 pages
10.4236/sgre.2016.73006

Neural Network for Estimating Daily Global Solar Radiation Using Temperature, Humidity and Pressure as Unique Climatic Input Variables

Victor Adrian Jimenez1, Amelia Barrionuevo2, Adrian Will1,2, Sebastián Rodríguez1

1Grupo de Investigación en Tecnologías Informáticas Avanzadas, Facultad Regional Tucumán, Universidad Tecnológica Nacional, Tucumán, Argentina

2Facultad de Ciencias Exactas y Tecnología, Universidad Nacional de Tucumán, Tucumán, Argentina

Copyright © 2016 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY).

http://creativecommons.org/licenses/by/4.0/

Received 21 November 2016; accepted 15 March 2016; published 18 March 2016

ABSTRACT

Solar radiation is one of the most important parameters for applications, development and research related to renewable energy. However, solar radiation measurements are not a simple task for several reasons. In the cases where data are not available, it is very common the use of computational models to estimate the missing data, which are based mainly on the search for relationships between weather variables, such as temperature, humidity, precipitation, cloudiness, sunshine hours, etc. But, many of these are subjective and difficult to measure, and thus they are not always available. In this paper, we propose a method for estimating daily global solar radiation, combining empirical models and artificial neural networks. The model uses temperature, relative humidity and atmospheric pressure as the only climatic input variables. Also, this method is compared with linear regression to verify that the data have nonlinear components. The models are adjusted and validated using data from five meteorological stations in the province of Tucumán, Argentina. Results show that neural networks have better accuracy than empirical models and linear regression, obtaining on average, an error of 2.83 [MJ/m2] in the validation dataset.

Keywords:

Daily Solar Radiation Estimation, Empirical Solar Radiation Model, Feedforward Backpropagation Neural Network, Regression Analysis

1. Introduction

Solar radiation is an important parameter for research related to solar energy. The solar energy importance is that it can play a key role in the decarbonisation of the global economy along with improvements in energy efficiency and imposing costs on greenhouse gases emissions [1] . Furthermore, solar radiation is widely used for the applications development, such as photovoltaic systems, that convert solar energy directly into electrical energy without harming the environment, and development of crop growth models based mainly on processes photosynthetic [2] .

Unlike other climate variables such as ambient temperature and relative humidity, the solar radiation is barely measured [3] . Even if there exist some weather stations nearby, access to data is often limited. Also, it is common for weather data to have many missing values (from a few minutes to several days missing measurements), or they are out of range due to equipment malfunction [4] [5] . So, in those cases it is possible to obtain reasonably accurate estimates of their value using computational models.

In the literature, we can find a wide variety of methods to estimate solar radiation. There are empirical models [3] [6] [7] , statistical approaches [8] [9] , others based on linear regression [10] - [13] and nonlinear [11] [14] and based on artificial intelligence techniques. In the latter group, the use of artificial neural networks is the most extended [10] [15] , although some authors have proposed methods that use techniques such as Fuzzy Logic [11] and Particle Swarm Optimization [16] , among others [11] [17] . A complete review of these methods can be found in [1] [18] [19] .

Many of these methods include empirical relationships between solar radiation and astronomical factors (Earth-sun distance, solar declination, hour angle, etc.), geographic factors (latitude, longitude and elevation of the site), physical factors (diffusion of air molecules, water vapor content, the spread of dust, etc.) and weather factors (sunshine, temperature, rainfall, relative humidity, cloud cover, etc.) [1] . The empirical models based on meteorological factors that provide more accurate estimates use mainly sunshine hours and cloudiness as input variables [20] , but other variables such as precipitation, relative humidity, temperature point spray, among others, are also very common. Therefore, a proper method for a particular purpose and a particular location should take into account data availability and expected accuracy. In the particular, case where measurements of cloudiness and sunshine hours are not available, there are other models, based on different sets of variables available on the most weather stations, such as ambient temperature, relative humidity and atmospheric pressure.

The aim of this paper is to propose a method for estimating daily global solar radiation, based on an empirical model and neural network. The proposed method uses the empirical model to generate initial estimates, which are then used along with temperature, relative humidity and atmospheric pressure as input variables for the neural network to improve estimates. As part of this study, we make a comparison of different mathematical methods to determine which one provides better initial estimates of solar radiation. Both empirical models and neural network are adjusted and validated using weather data from automated weather stations located in the province of Tucumán, Argentina. Finally, the proposed method is compared with linear regression to determine if the relationship between input data and output data has indeed nonlinear components.

The rest of this paper is organized as follows: Section 2 describes the materials and methodology used for estimating daily global solar radiation; Section 3 details the results for both the empirical model and the method based on neural networks; finally in Section 4 the conclusions are presented.

2. Materials and Methodology

2.1. Data Description

The weather data used in this work were collected from five weather stations belonging to Estación Experimental Agroindustrial Obispo Colombres (E.E.A.O.C.), located in the province of Tucumán, Argentina. The dataset corresponds to average values of samples taken every 15 minutes, in the period between 01-01-2010 and 20- 11-2013. Among all the variables provided by the weather stations, in this paper we use:

・ Temperature [˚C]

・ Relative Humidity [%]

・ Atmospheric Pressure [hPa]

・ Observed Solar Radiation [W/m2]

In the initial analysis of the dataset, and as usually happens in distributed sensor networks, there are records with missing or erroneous values (out of range), varying from a few days to a few weeks. This is usually caused by problems in measuring devices or data transmission and storage or poorly calibrated instrumentation [21] . Because the amount of missing data is not significant, we decided to remove the complete records that present any anomaly. Also, the data were not filled to prevent the filling procedure introduce deviations that can affect the results. Table 1 shows a summary of missing values for each weather station and a statistical description of the dataset.

From the database described above, a new database is generated with daily values, which was used in the tests in this paper. This new database is composed of maximum, minimum and average temperature, average relative humidity, average atmospheric pressure and global solar radiation [MJ/m2].

2.2. Initial Model for Estimating Global Solar Radiation

A large percentage of empirical methods found in the literature use empirical relations to estimate the global solar radiation from climatic variables. Many of them include extraterrestrial radiation (), which is calculated using standard geometric properties. The process described below is based on [6] :

(1)

where is the solar constant, equal to 118.11 [MJ/(m2∙day)]; is a correction factor for the eccentricity of the orbit of the Earth, is the longitude of the location, is the solar declination and is the hour angle of the sun.

The factor is defined as the square of the ratio between current Earth-Sun distance (R) and the average

Table 1. Statistical description of the climate database.

Earth-Sun distance (), which is calculated as:

(2)

where is the day of the year (d) in radians.

The solar declination is the angle between the rays of the sun and the plane of the Earth equator. It is obtained by the following equation:

(3)

where is the ecliptic longitude which indicates the position of the Earth in its orbit. Since the eccentricity of the orbit of the Earth is small, we can consider that is circular, committing an error of about 1 degree. So, the solar declination is calculated using the following expression:

(4)

The hour angle of the sun is defined as its angular displacement, taking positive values before noon and negative values in after noon. The hour angle of the sun can be calculated using the following equation:

(5)

To choose a method for the initial estimates of global solar radiation, different models based only on temperature were tested. To adjust the empirical parameters of these models, a local search algorithm was implemented, Hill Climbing [22] . This algorithm was used because some of the models are nonlinear respect to the parameters, preventing the use of deterministic methods, such as regression analysis. Thereby, using data from the meteorological station located in El Colmenar, we seek the optimal combination of parameters, so as to minimize the error committed by the model. Table 2 shows the errors obtained in each case. We can see that the models proposed by [23] and [24] are those that achieved best results in terms of accuracy. However, in this paper we use the Annadale’s model because it is simpler and requires less parameter adjustment. Then, the daily global solar radiation is calculated using the following equation:

(6)

where and are empirical coefficients adjusted with historical data of temperature and global solar radiation, and Z is the altitude of the location (450 meters in Tucumán). A complete description of the tested models and their corresponding mathematical formulas can be found in [6] .

2.3. Feedforward-Backpropagation Neural Network

An Artificial Neural Network (ANN) is an abstract model formed by a structure of interconnected processing units, called neurons. The links connecting neurons transmit information between themselves, where mathematical transformations are applied to provide the expected result. The inputs of each neuron have associated

Table 2. Error values obtained with empirical models, using the data from El Colmenar.

weights, which are adjusted iteratively by a training algorithm. For each iteration (or step), the algorithm compares the output and target values, so as to minimize the error. The training process ends when the network is capable of reproducing the outputs corresponding to the input parameters.

Multilayer Feedforward is a kind of neural network, which consist of a number of layers: the first has neurons directly connected to the input data, and they are linked to one or more neurons in a hidden layer, or directly connected to the neurons in the output layer. In this kind of network, all neurons in one layer are full connected to all neurons of the next layer, and there are no feedbacks or recurrent connections.

In this work, we decided to use a Multilayer Feedforward Neural Network with 4 neurons in a single hidden layer, as show in Figure 1. Hyperbolic tangent sigmoid transfer function is used in the hidden layer and linear transfer function for neurons in the output layer. The neural network was trained with the Levenberg-Marquardt Backpropagation algorithm [25] , due to its high efficiency and fast convergence, although their computational requirements are high [26] . For the purpose of developing, testing and validating the ANN-model, the data from the meteorological station located in El Colmenar was divided into two subsets following a uniformly random distribution [27] , taking 80% as training set and 20% as testing set. The stop criterion consists of at most 50 iterations or until it is verified that the error in the testing set is higher than in the training set for 10 consecutive epochs.

The input vector of the neural network consists of global solar radiation estimates (H) calculated with Equation (6), the solar zenith angle () in radians calculated with Equation (7) and climatic variables (mean relative humidity and maximum, minimum and average temperature) described in Section 2.1.

Figure 1. Architecture of a multilayer feedforward neural network.

(7)

Additionally, in order to improve the accuracy of estimates, information from the previous day is included as new independent variables called lagged variables [28] . Thus, the number of input variables of the system is duplicated (12 variables in total). In preliminary tests it was determined that considering variables corresponding to 2 or more days before does not generate a significant improvement.

As is usual when using neural networks, we normalize the data by applying a scaling minmax to. In this way we prevent that the training algorithm has preferences for any particular variable.

2.4. Lineal Regression

In other works [10] [13] [29] , linear regression was used to estimate solar radiation in different locations in Argentina, obtaining good results. This shows that solar radiation has a linear relation with other weather variables, mainly temperature, humidity, sunshine hours and cloudiness, among others. However, when these variables are not available, the quality of the estimates obtained with linear regression can be reduced. Then, to verify the presence of non-linear components in the problem, we also use linear regression to estimate the values of solar radiation, and then compare the values obtained with those obtained with neural networks. The input variables used in both cases are the same.

The inclusion of past information as lagged variables in the input vector generates a strong correlation between some of the input variables. For this reason, the linear systems involved can be ill-conditioned (produce a strong variation in the output for small changes in the input) [30] [31] , making the solution not adequate. To avoid this problem we use Moore-Penrose pseudoinverse [30] , which is able to obtain good solutions even in the presence of ill-conditioned systems.

2.5. Statistical Analysis

In order to evaluate the performance of the implemented models, the errors obtained are analyzed using different metrics commonly used in the literature, comparing the calculated solar radiation values () with solar radiation measurement (). The error metrics used are: Root Mean Squared Error or RMSE (Equation (8)), whose value is interpreted easily because it is expressed in the same unit that the variable to be estimated; Percentage Root Mean Squared Error or RMSE% (Equation (9)), which expresses the RMSE as percentage; Mean Bias Error or MBE (Equation (10)), which allowed us to know if there is an underestimation or overestimation, analyzing its sign; Pearson’s Correlation Coefficient R (Equation (11)), which helps to determine the extent that the model follow the general trend of the data.

(8)

(9)

(10)

(11)

3. Results and Discussion

The errors obtained using the simple empirical model, using linear regression and using a neural network are shown in Table 3. It is clear that neural networks generate results with lower errors in all cases. Considering RMSE values, the error reduction of neural network compared to empirical model is 30.9% in El Colmenar, 32.0% in Santa Ana, 28.0% in Pueblo Viejo, 29.3% in Monte Redondo and 23.4% in Casas Viejas. Note that error levels obtained from dataset from El Colmenar are lower in all three cases. This occurs because data from El

Table 3. Statistical results for the basic empirical, linear regression and neural networks models.

aValues used for training or parameter adjustment.

Colmenar were used to adjust the empirical model, obtain the linear regression coefficients and train the neural network. Furthermore, comparing the results obtained, you can see that the error reduction when using neural networks regarding linear regression is 6.6% for training set (data from El Colmenar) and 10.0% on average for the validation cases. These differences show that the relationship between solar radiation and the input variables present nonlinear components.

The use of lagged variables allows improving the estimates accuracy. According to preliminary tests, which are not detailed in this work, use these additional variables allows a reduction between 10% and 15% in the estimates obtained with neural networks. Since the total amount of variables is not excessive (in total 12 input variables were used), it was not necessary to implement a method for selecting variables.

The use of lagged variables allows improving the estimates accuracy. According to preliminary tests, which are not detailed in this work, use these additional variables allows a reduction between 10% and 15% in the estimates obtained with neural networks. Since the total amount of variables is not excessive (in total 12 input variables were used), it was not necessary to implement a method for selecting variables.

Figure 2 and Figure 3 show the scatter plots of measured and estimated solar radiation data, from El Colmenar (training) and Casas Viejas (validation). It is evident that there is a slight underestimation for values greater than 25 [MJ/m2], and a slight overestimation for values less than 5 [MJ/m2]. This model behavior occurs for both the training set and the validation set. However, in general the trained model achieves correctly grasp the trend of the data, and this is reflected in the R values near 1 in Table 3. The scatter plots for the rest of the weather stations were similar to those shown from Casas Viejas. Finally, in Figure 4 you can see and compare curve profiles of real and estimated solar radiation data.

4. Conclusions

This paper presented a methodology for estimating solar radiation based on empirical models and artificial neural networks, using temperature, relative humidity and atmospheric pressure as unique climatic input variables. From the results obtained, we present the following conclusions:

・ The proposed methodology is used to estimate the daily global solar radiation satisfactorily, even without some of the variables considered critical that the literature reports as necessary for a good estimate.

・ Using the neural network significantly improves the accuracy over estimates obtained only using the empirical model.

Figure 2. Results obtained with neural networks on data from (a) El Colmenar (training set) (b) Casas Viejas (validation set).

Figure 3. Results obtained with neural networks on data from Casas Viejas (validation set).

(a)(b)

Figure 4. Daily Global Solar Radiation estimates obtained using neural networks. (a) El Colmenar (training set). (b) Casas Viejas (validation set).

・ By using lagged variables is possible to improve the result. Considering more time backwards the number of variables increases, but in some cases this allows to increase the accuracy of the estimates. However, the use of too many variables may increases the complexity of the problem, so it is recommended the use of some variable selection method to avoid these problems.

・ The error obtained is slightly higher than the error obtained in other works that estimate solar radiation in Tucumán [13] . This result is expected since in our case the input variables are restricted to only three (temperature, humidity and pressure).

In this work, a single empirical model is included as input to the neural network. However, the methodology used allows us to include more than one.

Acknowledgements

This work was partially supported by grants PID-UTN 25/P051 UTI 1757. We also wish to extend thanks to Estación Experimental Agroindustrial Obispo Colombres to provide the data necessary to make this paper.

Cite this paper

Victor Adrian Jimenez,Amelia Barrionuevo,Adrian Will,Sebastián Rodríguez, (2016) Neural Network for Estimating Daily Global Solar Radiation Using Temperature, Humidity and Pressure as Unique Climatic Input Variables. Smart Grid and Renewable Energy,07,94-103. doi: 10.4236/sgre.2016.73006

References

  1. 1. Besharat, F., Dehghan, A.A. and Faghih, A.R. (2013) Empirical Models for Estimating Global Solar Radiation: A Review and Case Study. Renewable and Sustainable Energy Reviews, 21, 798-821.
    http://dx.doi.org/10.1016/j.rser.2012.12.043

  2. 2. Liu, D. and Scott, B. (2001) Estimation of Solar Radiation in Australia from Rainfall and Temperature Observations. Agricultural and Forest Meteorology, 106, 41-59.
    http://dx.doi.org/10.1016/S0168-1923(00)00173-8

  3. 3. Li, M.-F., Fan, L., Liu, H.-B., Guo, P.-T. and Wu, W. (2013) A General Model for Estimation of Daily Global Solar Radiation Using Air Temperatures and Site Geographic Parameters in Southwest China. Journal of Atmospheric and Solar-Terrestrial Physics, 92, 145-150.
    http://dx.doi.org/10.1016/j.jastp.2012.11.001

  4. 4. Abraha, M. and Savage, M. (2008) Comparison of Estimates of Daily Solar Radiation from Air Temperature Range for Application in Crop Simulations. Agricultural and Forest Meteorology, 148, 401-416.
    http://dx.doi.org/10.1016/j.agrformet.2007.10.001

  5. 5. Al Riza, D.F., Gilani, S.I.H. and Aris, M.S. (2011) Hourly Solar Radiation Estimation Using Ambient Temperature and Relative Humidity Data. International Journal of Environmental Science and Development, 2, 188-193.

  6. 6. Almorox, J. (2011) Estimating Global Solar Radiation from Common Meteorological Data in Aranjuez, Spain. Turkish Journal of Physics, 35, 53-64.

  7. 7. El Ouderni, A.R., Maatallah, T., El Alimi, S. and Nassrallah, S.B. (2013) Experimental Assessment of the Solar Energy Potential in the Gulf of Tunis, Tunisia. Renewable and Sustainable Energy Reviews, 20, 155-168.
    http://dx.doi.org/10.1016/j.rser.2012.11.016

  8. 8. Ji, W., Loh, J., Choo, F., Chen, L., et al. (2009) Solar Radiation Prediction Using Statistical Approaches. 7th International Conference on Information, Communications and Signal Processing, Macau, 8-10 December 2009, 1-5.
    http://dx.doi.org/10.1109/icics.2009.5397540

  9. 9. Dong, Z., Yang, D., Reindl, T. and Walsh, W.M. (2013) Short-Term Solar Irradiance Forecasting Using Exponential Smoothing State Space Model. Energy, 55, 1104-1113.
    http://dx.doi.org/10.1016/j.energy.2013.04.027

  10. 10. Bocco, M., Willington, E. and Arias, M. (2010) Comparison of Regression and Neural Networks Models to Estimate Solar Radiation. Chilean Journal of Agricultural Research, 70, 428-435.
    http://dx.doi.org/10.4067/s0718-58392010000300010

  11. 11. Khatib, T., Mohamed, A., Mahmoud, M. and Sopian, K. (2011) Modeling of Daily Solar Energy on a Horizontal Surface for Five Main Sites in Malaysia. International Journal of Green Energy, 8, 795-819.
    http://dx.doi.org/10.1080/15435075.2011.602156

  12. 12. Ibrahim, S., Daut, I., Irwan, Y., Irwanto, M., Gomesh, N. and Farhana, Z. (2012) Linear Regression Model in Estimating Solar Radiation in Perlis. Energy Procedia, 18, 1402-1412.
    http://dx.doi.org/10.1016/j.egypro.2012.05.156

  13. 13. Will, A., Bustos, J., Bocco, M., Gotay, J. and Lamelas, C. (2013) On The Use of Niching Genetic Algorithms for Variable Selection in Solar Radiation Estimation. Renewable Energy, 50, 168-176.
    http://dx.doi.org/10.1016/j.renene.2012.06.039

  14. 14. Sen, Z. (2007) Simple Nonlinear Solar Irradiation Estimation Model. Renewable Energy, 32, 342-350.
    http://dx.doi.org/10.1590/s0100-204x2006000200001

  15. 15. Bocco, M., Ovando, G. and Sayago, S. (2006) Development and Evaluation of Neural Network Models to Estimate Daily Solar Radiation at Córdoba, Argentina. Pesquisa Agropecuaria Brasileira, 41, 179-184.
    http://dx.doi.org/10.1590/s0100-204x2006000200001

  16. 16. Mohandes, M.A. (2012) Modeling Global Solar Radiation Using Particle Swarm Optimization (PSO). Solar Energy, 86, 3137-3145.
    http://dx.doi.org/10.1016/j.solener.2012.08.005

  17. 17. Cao, J. and Lin, X. (2008) Study of Hourly and Daily Solar Irradiation Forecast Using Diagonal Recurrent Wavelet Neural Networks. Energy Conversion and Management, 49, 1396-1406.
    http://dx.doi.org/10.1016/j.enconman.2007.12.030

  18. 18. Yadav, A.K. and Chandel, S. (2014) Solar Radiation Prediction Using Artificial Neural Network Techniques: A Review. Renewable and Sustainable Energy Reviews, 33, 772-781.
    http://dx.doi.org/10.1016/j.rser.2013.08.055

  19. 19. Teke, A., Yildirim, H.B. and Çelik, Ö. (2015) Evaluation and Performance Comparison of Different Models for the Estimation of Solar Radiation. Renewable and SustainableEnergyReviews, 50, 1097-1107.
    http://dx.doi.org/10.1016/j.rser.2015.05.049

  20. 20. De La Casa, A., Ovando, G. and Rodríguez, A. (2003) Estimación de la Radiación Solar Global en la Provincia de Córdoba. Argentina, y su Empleo en un Modelo de Rendimiento Potencial de Papa. Revista de Investigaciones Agropecuarias, 32, 45-62.

  21. 21. Kotsiantis, S., Kostoulas, A., Lykoudis, S., Argiriou, A. and Menagias, K. (2006) Filling Missing Temperature Values in Weather Data Banks. 2nd IET International Conference on Intelligent Environments, Vol. 1, Athens, 5-6 July 2006, 327-334.
    http://dx.doi.org/10.1049/cp:20060659

  22. 22. Simon, D. (2013) Evolutionary Optimization Algorithms. John Wiley & Sons, Hoboken.

  23. 23. Annandale, J., Jovanovic, N., Benade, N. and Allen, R. (2002) Software for Missing Data Error Analysis of Penman-Monteith Reference Evapotranspiration. Irrigation Science, 21, 57-67.
    http://dx.doi.org/10.1007/s002710100047

  24. 24. Winslow, J.C., Hunt, E.R. and Piper, S.C. (2001) A Globally Applicable Model of Daily Solar Irradiance Estimated from Air Temperature and Precipitation Data. Ecological Modelling, 143, 227-243.
    http://dx.doi.org/10.1016/S0304-3800(01)00341-6

  25. 25. Yu, H. and Wilamowski, B.M. (2011) Levenberg-Marquardt Training. Industrial Electronics Handbook, 5, 1-16.
    http://dx.doi.org/10.1201/b10604-15

  26. 26. Hagan, M.T. and Menhaj, M.B. (1994) Training Feedforward Networks with the Marquardt Algorithm. IEEE Transactions on Neural Networks, 5, 989-993.
    http://dx.doi.org/10.1109/72.329697

  27. 27. Jacovides, C., Tymvios, F., Boland, J. and Tsitouri, M. (2015) Artificial Neural Network Models for Estimating Daily Solar Global UV, Par and Broadband Radiant Fluxes in an Eastern Mediterranean Site. Atmospheric Research, 152, 138-145.
    http://dx.doi.org/10.1016/j.atmosres.2013.11.004

  28. 28. Voyant, C., Muselli, M., Paoli, C. and Nivet, M.-L. (2011) Optimization of an Artificial Neural Network Dedicated to the Multivariate Forecasting of Daily Global Radiation. Energy, 36, 348-359.
    http://dx.doi.org/10.1016/j.energy.2010.10.032

  29. 29. Almorox, J., Bocco, M. and Willington, E. (2013) Estimation of Daily Global Solar Radiation from Measured Temperatures at Cañada De Luque, Córdoba, Argentina. Renewable Energy, 60, 382-387.
    http://dx.doi.org/10.1016/j.renene.2013.05.033

  30. 30. Eldén, L. (2007) Matrix Methods in Data Mining and Pattern Recognition. Society for Industrial and Applied Mathematics, Philadelphia.
    http://dx.doi.org/10.1137/1.9780898718867

  31. 31. Varmuza, K. and Filzmoser, P. (2008) Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton.