YTUP
Journals
About
Services
Guides
Sign InSubmit Article
HomeJournalsSigma Journal of Engineering and Natural Sciences10.14744/sigma.2021.00005
SJSigma Journal of Engineering and Natural Sciences
Get Alerted Download PDF
AbstractKeywordsIntroductionMethods Of Solar Radiation EstimationPerformance EvaluationSimulation And ResultsSarimaxConclusionNomenclatureArimaData Availability StatementConflict Of InterestEthicsShare and CiteRelated Articles
Article Open Access1 January 2021

Solar radiation forecasting by using deep neural networks in Eskişehir

Order Reprints Cite Share

Mohammed QASEM1

1Bahçeşehir University; Eskişehir City Hospital

Sigma Journal of Engineering and Natural Sciences 2021, Vol. 39, Issue 2, pp. 159-169; doi.org/10.14744/sigma.2021.00005

Download PDF View DOI record

Abstract

According to the World Economic Outlook (WEO), the global demand for energy is presumably going to be increased due to growing the world’s population up during the upcoming two decades. As a result of that, apprehensions about environmental effects, which appear as a result of greenhouse gases are grown and cleaner energy technologies are developed. This clearly shows that extended growth of the worldwide market share of clean energy. Solar energy is considered as one of the fundamental types of renewable energy. For this reason, the need for a predictive model that effectively observes solar energy conversion with high performance becomes urgent. In this paper, classic empirical, artificial neural network (ANN), deep neural network (DNN), and time series models are applied, and their results are compared to each other to find the most accurate model for daily global solar radiation (DGSR) estimation. In addition, four regression models have been developed and applied for DGSR estimation. The obtained results are evaluated and compared by the root mean square error (RMSE), relative root mean square error (rRMSE), mean absolute error (MAE), mean bias error (MBE), t-statistic, and coefficient of determination (R2). Finally, simulation results provided that the best result is found by the DNN model.

Keywords: Daily global solar radiation forecasting; artificial neural network; deep neural network; renewable energy

Introduction

The increase in energy production from alternative resources as a result of the arising in traditional fuel prices makes the integration of renewable energy plants into the electric grid urgent and must be encouraged [1]. In addition, alternative energy resources have many advantages such as having the lowest effects on the environment

‘environment-friendly’ and sustainability [2]. Although these resources have many advantages, the output power of them is variable and changes in non-stationary time series because of these resources are interrupted. Keeping the global energy supply safe with the high integration of renewable energy sources is considered one of the serious challenges that can be faced soon [3].

*Corresponding author. *E-mail address: ubasaran@eskisehir.edu.tr This paper was recommended for publication in revised form by Section Editor Necmiye Özlem Ünverdi Published by Yıldız Technical University Press, İstanbul, Turkey Copyright 2021, Yıldız Technical University. This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

The supply and demand of energy play an important role in the global development of human activity. Adequate supplies of clean energy are strongly connected with global stability, economic prosperity, and quality of life. As it is known, solar energy is considered as one of the most important alternative energy resources which converts sunlight to electricity. The energy that can be generated by the solar panel is strongly dependent on many factors like solar radiation, weather temperature, and other weather variables. The integration of solar energy into electric grids has come because of the increase in demand for energy. To make utilizing solar energy more efficient, forecasting information must be trusted. The exact prediction of DGSR variety can increase the quality of solar energy using and management [4]. The effective forecasting is considered as one of the most important factors that must be taken into consideration in solar power plant design [5]. Forecasting can be helpful for the development of different applications for power systems [6, 7]. To make DGSR forecasting more accurate, there are several methods proposed in the last decades. The results of most methods may not be acceptable because of high rates of error. The accuracy of solar radiation forecasting does not exceed 88% by using classic empirical methods [8, 10]. Therefore, we need to create new models by using novel methods in order to get results with high accuracy. DGSR value can be affected by many weather factors, such as cloud cover, precipitation, temperature, wind speed, pressure, and humidity. Nevertheless, the precise correlation between each weather feature and the received DGSR can be hard to be find. Therefore, the originality and the main aim of this work is to create a direct relationship, by using a fully connected DNN, between various weather parameters and DGSR values, to make DGSR prediction more accurate. DNN can be used to find linear as well as non-linear relationship between features and targets without much of feature engineering or domain knowledge [11, 13]. In addition, the study [14] realized in Eskişehir proved that CPRG, CPR [6], Liu and Jordan [11], Jain model 1 [8] & Jain model 2 [9] models obtain the best results among the discussed classic empirical models. For this reason, they are chosen as the best classic empirical models to be compared with AI methods. Furthermore, two of the well-known time series models (autoregressive integrated moving average (ARIMA) and seasonal autoregressive integrated moving average with Exogenous Regressors (SARIMAX) are implemented in this study. The rest of the paper is structured as follows. In section 2, different DGSR methods are described. In section 3, simulations and results of each method are discussed in detail. In the last section, the conclusion and the key contributions of the paper are highlighted.

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

Methods Of Solar Radiation Estimation

Solar radiation estimation with a higher percentage of accuracy has the biggest role in modeling solar systems. As can be seen from Figure 1, there are various applications that use prediction results to upgrade works and future plans of the electric grid with the conforming required time-resolution of the forecasting [11]. For instance, solar radiation prediction about the upcoming second is important to operate network stability and grid voltage regulation optimally. In addition, power reserve management, dispatching, and load flowing need information about the next hours of energy forecasting. Similarly, transmission scheduling and unit commitment require data about the upcoming days of energy forecasting. And also, optimization, production, and consumption of electrical energy need predicted data about the upcoming days, weeks, or months of solar radiation. And finally, capacity and global management need energy forecasting predicted data for the upcoming years. Energy forecasting is necessary for many applications. Because of the discontinuous and unpredictable character of renewable energy, the integration of it into the electrical grid increases the network management complexity and the balance continuity between production and consumption. To avoid damage in the electrical loads they must be powered by constant balanced electricity all the time. However, the electrical generator and operator has some difficulties to keep the balance constant with traditional and energy production systems that can be controlled. The reliability of the system depends on how the system can adapt to expected and unforeseen changes in production, disturbances, and consumption of electrical energy. In addition, to keep the quality of service at a good level, the energy provider should manage the system with different temporary horizons. Grid voltage, power quality, and grid stability problems can be related to uncontrollable solar energy production [7, 8]. For these reasons, the need for forecasting models with a high accuracy becomes urgent and challenging. In view of the great importance of solar energy in energy production, the most common techniques used in the solar radiation prediction process will be addressed. Solar radiation forecasting techniques can be classified into three main, different classes. These classes given in Figure 2 are: • Physical structural forecasting models that depend on meteorological and geographical parameters. • Time-series models that are based on the historical observed data of solar irradiance as input values. • Artificial intelligence and hybrid models that are based on the historical observed data of solar radiation and considered as a combination of two or

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

Figure 1. Different applications use forecasting data with different time intervals [8].

Figure 2. Solar irradiance prediction methods [12]. more different models of solar radiation forecasting, respectively. Emprical Mathematical Models According to the study [14], which was implemented in Eskişehir, the best empirical models in that study are CPR, CPRG, Liu and Jordan, Jain model 1, and Jain model 2. For this reason, they are chosen to compare their results with DNN model results. In Table 1, the chosen empirical models which are used in this study are shown.

ARIMA and SARIMAX Models ARIMA model is used more than other classic empirical models because the inputs to the models are not stationary yet. The mathematical structure of ARIMA models is described as: Yt = α + β1Yt–1 + β2Yt–2 + … β1Yt–p∈t + φ1∈t–1 + φ1∈t–2 + … φ1∈t–q

where Yt is the predicted value, α is a constant, β1Yt-p are linear combination lags of Y, ϕ1ϵt-2

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

average lag polynomial, βi xti are the linear combination lags of x, ϵt is the linear combination of lagged forecast error.

Table 1. The chosen empirical mathematical models Model CPR [5]

( sinWs cosWs ) f c = a + 0.5b 180 π Ws sinWs − cosWs 180 r0 = Liu and Jordan model [16]

are linear combination of lagged forecast errors [15]. The ARIMA model is considered as the reference estimators in the DGSR forecasting. The sharp transitions in radiation is captured by this model more accurately than other models [16]. SARIMA model is developed by Craggs et al. [17], accounting for about 82 and 85% of the total variation in the 10 min averaged horizontal and vertical irradiances, respectively. SARIMAX model takes exogenous variables which influences the value of time series model at time t, but it is not auto-regressed on. SARIMAX model is described as: p

where Θ(L)p,Φ(L)p are non-seasonal lag polynomials, ∆ d ∆ SD yt are the time series, differenced d times, and seasonally differenced D times, θ(Ls)p is the non-seasonal autoregressive lag polynomial, φ(Ls)p is the seasonal moving

ANN It is considered as a processing system that connects small processing units. ANN simulates the shape and the work of the biological neural network in the human body. ANN can automatically learn to recognize patterns in data from the previous data that can be added to the network [18]. The ability to model complicated and non-linear processes between the input and output variables is considered as the best advantage of ANN that cannot be found in the other forecasting techniques. To perform ANN for DGSR prediction, the Visual Gene Developer software is used in this study [19]. Prediction with using this software is achieved by using different ANN structures with different parameters. The model that is used for DGSR prediction consists of ANN with 3 hidden layers beside input and output layers. The shape of the ANN model created in Visual Gene Developer software is clearly shown in Figure 3. DNN it is considered as a modified ANN with many hidden layers, with more than three hidden layers. This kind of neural networks is widely used in image and speech recognition competitions, translation, and e-Marketing [18]. DNN has a fundamental one- or two-dimensional structure that can be captured and exploited by conventional layers. As a result, the forward development of IoT and increasing big data capacity, DNN models are recently taking large attention to be used in diverse research fields. DNN has the potential to give the nonlinear relationship between input features and the output targets. It takes on learning representations from data that puts an emphasis on learning successive layers of increasingly meaningful representations. The deeper it goes, the higher-level representation it is able to identify, so that it establishes a proper mapping from input features to their target [20]. The proposed network is a DNN consisting of 1 input layer with 5 nodes, 1 output layer with 1 node, and 5 hidden layers. The general structure of the proposed DNN used for forecasting is shown in Figure 4. Developing Regression Models for DGSR Prediction Using SPSS By using the regression method in SPSS [19], four different models are created. These models are developed for DGSR estimation for Eskisehir city, by using the collected data in the selected period between 01.01.2014 until 31.12.2014. The mathematical structure of the created models is expressed as shown in Eqn. (3–6): SPSSModel1 SR = 0.191 + 0.233 ⋅ Tmax ( )

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

Figure 3. General structure of the ANN prediction model in Visual Gene Developer software.

SPSSModel _ 3( SR ) = 0.343 + 0.168Tmax + 0.604Wspeed −0.281. Humidity

Performance Evaluation

SPSSModel 4 _( SR ) = 0.338 + 0.089SRt + 0.128Tmax + 0.608Wspeed −0.013Wdirection − 0.261. Humidty

Wspeed is the daily wind speed, SRt is the solar radiation time. SRt it is the time that DGSR can be obtained from the sun.

where SPSSModel4 is the solar radiation (SR) function, Tmax is the daily maximum temperature,

The predicted DGSR values, obtained by DNN, are compared with those which are predicted by using statistical analysis methods, consequently, the work of the models used for the DGSR prediction is evaluated to obtain the best model. The most commonly used methods are as

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

following: root mean square error (RMSE), mean absolute error (MAE), mean bias error (MBE), t-statistic, Coefficient of determination (R2), and relative root mean squared error (rRMSE), which are described in detailed Eqn. (7-12) as following:

where n is the number of samples, yi is the true target value of sample i, yi is the predicted target value of sample i, yˆi is the mean of the selected data.

Simulation And Results

In this work, DGSR data are predicted by using classic empirical models (CPR, CPRG, Liu and Jorden Lian

Model 1 and Lain Model 2); time series models (ARIMA, SARIMAX), ANN model, DNN model, and 4 developed regression models for Eskisehir city. According to [14] study, the five empirical models give the best results in Eskişehir region. For this reason, they are chosen to compare their results with ANN, DNN, and developed regression models results. The classic empirical models are simulated in Microsoft Excel; however, time series models are simulated in Python. ANN model is trained by using Visual Gene Developer software. Otherwise, DNN models are trained by using the TensorFlow Keras Machine Learning Python library in the Google Colab environment. DNN models consist of one input layer contains 5 parameters, hidden layers between three and ten, and one output layer. The data are collected by the meteorology station in Eskişehir. Collected DGSR and other weather parameters (maximum temperature, maximum wind speed, wind direction, solar time, and humidity) data are recorded for four years, from 2011 until 2014. After filling the missed data feature, the vector of each sample is reshaped into a 5-dimensional vector and the target vector in a one-dimensional vector. Thus, the input layer containing 5 nodes, each node represents one feature of the weather parameters and the output layer contains only 1 node that represents DGSR. The data are divided into three sub-datasets: training, validation, and testing dataset. The percentages of the training, validation, and testing data are 60%, 20%, and 20% respectively. DNN models are trained and tested using the collected data. The first simulations are performed with DNN. The results of 12 different DNN models are given in Table 2. The Rectified Linear Unit (ReLU) is applied to each node in the hidden layers and the number of epochs is 1000 for all of the 12 models. It can be seen that the best model with the best performance is the DNN model 4 which consists of 1 input layer, 10 hidden layers, and 1 output layer. DNN model 4 is trained with batch size equal to 32 and RMSprop equal to

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

0.001. The number of processed samples before updating the model is called batch data. Batch data is also known as the number of the finished processes during the training dataset. The batch size value should be an integer between one and the number of the samples in the training dataset. However, the number of epochs can be an unlimited value between one and infinity. According to the results, DNN model 4 is considered as the best choice for DGSR forecasting in order to contribute to the management of the electric power grid. In Figure 5, it is clearly shown that DNN model 4 has the best performance among different DNN models. Its predicted data almost fits the test data.

Then, DGSR is predicted by using 5 different classic empirical models, ANN model, four new developed regression models, and two time series models. The performance of each model is shown in Table 3. As can clearly be seen in Table 3, the DNN model 4 and SARIMAX model have the closest results to the real values. The statistical performance of the models are shown in the Table 3, DNN model 4 has the lowest value of the RMSE, when we compared it with the other models performance. In the following graphs it is clearly shown that the DNN model 4 results have the minimum error value. DNN model 4 modeling results of the testing and predicted results are shown in Figure 6. The predicted values basically capture

Figure 5. The performance of different DNN models. Table 3. Statistical parameters of the daily global solar radiation of different models Model

Sarimax

the true target value; however, there are some several differences around turning points, and the trends of some middle points are completely toward different directions. From Figure 6, it can be seen how DNN model 4 gives accurate results. As it is shown in Figure 6, the predicted values can capture most of the true values. In Figure 7, it is shown The MAE for training and validation processes during training the DNN model 4, and it shows that at 844th epoch

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

the model gives the minimum value of MAE. However, in Figure 8 it is shown the monthly average results of DGSR obtained by the different models. It can be clearly seen that DNN model 4 gives the best results among them.

Conclusion

DGSR estimation plays an important role in the part of electricity production to a short and long-time interval

Figure 6. Testing result of the DNN model 4 a) results of one-year forecasting b) zoomed portion of the model results.

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

Figure 7. The MAE for training and validation processes of the DNN model 4.

Figure 8. The results of monthly predicted DGSR of different used models.

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

in solar energy systems. Most of the published papers with many experimental results with a large number of data, support using DNN and its superiority are compared with the other methods. For this, DGSR for the given location has been predicted by using the previously proposed DNN model. The proposed DNN model contains an input layer, 10 hidden layers, and one output layer. The input layer contains 5 nodes which represent the five weather features on which the DGSR depends. The output layer has only 1 node and represents predicted DGSR values. Then, the network is trained and tested using the given data. In addition, the same data are predicted by using different models; five classic empirical models (CPR, CPRG, Lain Model 1, Lain Model 2, and Liu model), time series models (ARIMA and SARIMA), new developed regression models, and ANN model. The statistical performances of all created models are evaluated by RMSE, MABE, MBE, t-statistic, rRMSE, and R2. The experiment results show that DGSR forecasting by using the DNN model gives the best result with high accuracy. That is, the results show that DNN model 4 gives the best result with a coefficient of determination equal to 0.8566; however, the second model that gives a good result is SARIMAX with R2 equal 0.8327. In case that DNN model gives the best results in forecasting, they can be considered as the best alternative solution for future weather forecasting cases. Consequently, the prediction of the energy produced by renewable energy resources, including solar energy, will be more accurate. That is, an increase in prediction accuracy means a decrease in losses resulting from less accurate prediction. Future research could focus on the improvement of the model performance and trying to implement hybrid models that combine DNN model with one or more models together. Some models that are recommended for future research are Fuzzy Logic Neural Networks (FNN) and Fuzzy Logic with Genetic Algorithms (GAs) model.

rRMSE Relative root mean squared error SARIMAX  Seasonal Autoregressive Integrated MovingAverage with Exogenous Regressors SVM Support vector machines WEO World Economic Outlook WNN Wavelet neural network Subscripts H Daily global solar radiation on horizontal surface (W/m2) I Hourly global solar radiation on horizontal surface (W/m2) fs Multiplying factor n Number of samples r0 Multiplying factor (unitless) R2 Coefficient of determination SRt The solar radiation time Tmax The daily maximum temperature t-statistic t-statistic yi Measured solar radiation value yi Mean of measured solar radiation yi Predicted value of solar radiation Ws Sunrise hour angle Wspeed The daily wind speed W Solar hour angle Greek symbols ϵt linear combination of lagged forecast errors Θ(L)p, Φ(L)p non-seasonal lag polynomials ΔdΔDSyt the time series, differenced d times, and seasonally differenced D times θ(Ls)P  the non-seasonal autoregressive lag polynomial φ(Ls)Q the seasonal moving average lag polynomial βixti linear combination lags of x

Nomenclature

Abbreviation AI Artificial intelligence ANN Artificial neural network

Arima

Autoregressive integrated moving average CPR Collares-Pereira and Rabl CPRG  Collares-Pereira and Rabl modified Gueymard DGSR Daily global solar radiation DNN Deep neural network FNNs Fuzzy neural networks Gas Genetic Algorithms IoT Internet of Things MAE Mean absolute error MBE Mean bias error ReLU Rectified Linear Unit RMSE Root mean square error

Data Availability Statement

The published publication includes all graphics and data collected or developed during the study.

Conflict Of Interest

The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Ethics

There are no ethical issues with the publication of this manuscript.

Sigma J Eng Nat Sci, Vol. 39, No. 2, pp. 159-169, June, 2021

Share and Cite

QASEM, M.; FİLİK, Ü.B. Solar radiation forecasting by using deep neural networks in Eskişehir. Sigma Journal of Engineering and Natural Sciences 2021, Vol. 39, pp. 159-169. https://doi.org/10.14744/sigma.2021.00005

Export:

Related Articles

Electricity energy consumption forecasting using LSTM and NARParastou BEHGOUY, Abbas UĞURENVER, 1 January 2026Centralized controller-based on optimal power flow OPF algorithm for power management in microgrid sAbumuslim KHUJAEV, Abbas UĞURENVER, 1 January 2025Trends and future perspectives in wind energy studies A bibliometric analysis with time-series neuraNihal GENC, Ferdi OZBILGIN et al., 1 January 2025Anthocyanin and bioactivity properties of berberis crategina DC In buffer system and apple juice impHavva POLAT KAYA, Tuğba KOÇ et al., 1 January 2024
Publication History
Published1 January 2021
Versionv1
AccessOpen Access
10.14744/sigma.2021.00005
Article Figures (9)
Figure 1Figure 2Figure 3Figure 4Figure 5Figure 6Figure 7Figure 8Figure 9
Related Articles
Electricity energy consumption forecasting using LSTM and NARParastou BEHGOUY, Abbas UĞURENVERSigma Journal of Engineering and Natural Sciences, 1 January 2026Centralized controller-based on optimal power flow OPF algorithm for power management in microgrid sAbumuslim KHUJAEV, Abbas UĞURENVERSigma Journal of Engineering and Natural Sciences, 1 January 2025Trends and future perspectives in wind energy studies A bibliometric analysis with time-series neuraNihal GENC, Ferdi OZBILGIN et al.Sigma Journal of Engineering and Natural Sciences, 1 January 2025
Sigma Journal of Engineering and Natural Sciences coverSigma Journal of Engineering and Natural Sciences Download PDF

Subscribe to YTUP

Stay connected and receive the latest research updates directly in your inbox.

YTUP — Yıldız Technical University Publishing

Advancing knowledge and fostering innovation through high-quality, peer-reviewed academic publications.

About YTU

Discover

  • ›Articles
  • ›Journals
  • ›Research Topics
  • ›Open Access Policy

Guidelines

  • ›Author guidelines
  • ›Services for authors
  • ›Policies and publication ethics
  • ›Editor guidelines
  • ›Fee policy

Explore

  • ›Articles
  • ›Research Topics
  • ›Journals
  • ›How we publish

Support

  • ›Help center
  • ›Emails and alerts
  • ›Contact us
  • ›Submit
  • ›Career opportunities
YTU Logo

© 2026 Yıldız Technical University (Istanbul, Turkey)

Terms and ConditionsTerms of UsePrivacy PolicyPrivacy SettingsDisclaimer
Like this platform? Join our teamHave feedback or questions?
Supervisor