Skip to main content
Log in

Application of machine learning for solar radiation modeling

  • Original Paper
  • Published:
Theoretical and Applied Climatology Aims and scope Submit manuscript

Abstract

Solar radiation is an important parameter that affects the atmosphere-earth thermal balance and many water and soil processes such as evapotranspiration and plant growth. The modeling of the daily and monthly solar radiation by Gaussian process regression (GPR) with K-fold cross-validation model has been discussed recently. This study evaluated different neural models such as artificial neural network (ANN), support vector machine (SVM), adaptive network-based fuzzy inference system (ANFIS), and multiple linear regression (MLR) for estimating the global solar radiation (daily and monthly) with K-fold cross-validation method. For the appropriate comparison of the models, the randomized complete block (RCB) design applied in the training and test phases. Also, different data sets were evaluated by K-fold cross-validation in each model. The results showed that radial basis function (RBF) model has the lowest error for estimating the monthly and daily solar radiation. In this study, the result of RBF was compared with the GPR models. The conclusion indicated that RBF methodology can predict solar radiation with higher accuracy relative to the GPR model. The results of yearly solar radiation estimation (2009–2014) showed that the RBF model can estimate solar radiation with the MAPE and RMSE of 5.1% and 0.29, respectively. Also, the coefficient of correlation (R2) between actual and estimated values throughout the year is 98% and can be used by the engineers and other researchers for solar and thermal applications.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Abbreviations

ANFIS:

Adaptive Network-Based Fuzzy Inference System

BP:

Back-propagation

G oH :

Daily extraterrestrial radiation (W m−2)

H :

Daily global solar radiation (W m−2)

N :

Day length

R h :

Daily average relative humidity (%)

T max :

Daily maximum temperature (K)

T ave :

Daily average temperature (K)

P :

Daily total rainfall

EF:

Efficiency model

f(T ave):

Function based on the daily mean temperature

FIS:

Fuzzy Inference System

GPR:

Gaussian process regression

GSR:

Global solar radiation

QVNN:

Quaternion-valued neural network

GD:

Gradient descent

LSE:

Least-squares error

LM:

Levenberg–Marquardt

MLR:

Multiple linear regression

MAPE:

Mean absolute percentage error

MLP:

Multilayer perceptron

RBF:

Radial bias function

RMSE:

Root mean square error

Φ:

Site latitude

I sc :

Solar constant

Δ:

Solar declination

SC:

Subtractive clustering

ω s :

Sunset hour angle

n :

Sunshine hours

SVM:

Support vector machine

WT:

Wavelet transform

References

  • Alizamir M, Kim S, Kisi O, Zounemat-Kermani M (2020) A comparative study of several machine learning based non-linear regression methods in estimating solar radiation: case studies of the USA and Turkey regions. Energy 197:117239

    Article  Google Scholar 

  • Amini S, Taki M, Rohani A (2020) Applied improved RBF neural network model for predicting the broiler output energies. Appl Soft Comp J 87:106006

    Article  Google Scholar 

  • Arabloo M, Ziaee H, Lee M, Bahadori A (2015) Modeling of the properties of brines using least squares support vector machine (LS-SVM) computational strategy. J Taiwan Inst Chem Eng 50:123–130

    Article  Google Scholar 

  • Behrang M, Assareh E, Ghanbarzadeh A, Noghrehabadi A (2010) The potential of different artificial neural network (ANN) techniques in daily global solar radiation modeling based on meteorological data. Sol Energy 84:1468–1480

    Article  Google Scholar 

  • Belmahdi B, Louzazni M, Bouardi AE (2020) One month-ahead forecasting of mean daily global solar radiation using time series models. Optik 219:165207

    Article  Google Scholar 

  • Benghanem M, Mellit A (2014) A simplified calibrated model for estimating daily global solar radiation in Madinah, Saudi Arabia. Theor Appl Climatol 115:197–205

    Article  Google Scholar 

  • Bolandnazar E, Rohani A, Taki M (2020) Energy consumption forecasting in agriculture by artificial intelligence and mathematical models. Energy Sourc A Recov Utiliz Environ Effects 42(13):1618–1632. https://doi.org/10.1080/15567036.2019.1604872

    Article  Google Scholar 

  • Burari F, Sambo A, Mshelia E (2001) Estimation of global solar radiation in Bauchi, Nig. J Ren Energy 9:34–36

    Google Scholar 

  • Cao H, Xin Y, Yuan Q (2016) Modeling of biochar yield from cattle manure pyrolysis via least squares support vector machine intelligent approach. Bioresour Technol 202:158–164

    Article  Google Scholar 

  • Chandola D, Gupta H, Tikkiwal VA, Bohra MK (2020) Multi-step ahead forecasting of global solar radiation for arid zones using deep learning. Proc Comp Sci 167:626–635

    Article  Google Scholar 

  • Che Y, Chen L, Zheng J, Yuan L, Xiao F (2019) A novel hybrid model of WRF and clearness index-based Kalman filter for day-ahead solar radiation forecasting. Appl Sci 9(19):3967. https://doi.org/10.3390/app9193967

    Article  Google Scholar 

  • Chen R, Ersi K, Yang J, Lu S, Zhao W (2004) Validation of five global radiation models with measured daily data in China. Energy Convers Manag 45:1759–1769

    Article  Google Scholar 

  • Chen J-L, Li G-S, Wu S-J (2013) Assessing the potential of support vector machine for estimating daily solar radiation using sunshine duration. Energy Convers Manag 75:311–318

    Article  Google Scholar 

  • Chen J-L, Li G-S, Xiao B-B, Wen Z-F, Lv M-Q, Chen C-D, Jiang Y, Wang X-X, Wu S-J (2015) Assessing the transferability of support vector machine model for estimation of global solar radiation from air temperature. Energy Convers Manag 89:318–329

    Article  Google Scholar 

  • Farhadi R, Taki M (2020) The energy gain reduction due to shadow inside a flat-plate solar collector. Renew Energy 147:730–740

    Article  Google Scholar 

  • Ferreira PM, Gomes JM, Martins IA, Ruano AE (2012) A neural network based intelligent predictive sensor for cloudiness, solar radiation and air temperature. Sensors 12:15750–15777

    Article  Google Scholar 

  • Fu Z, Cheng J, .Yang M, Batista J, Jiang Y. 2020. Wastewater discharge quality prediction using stratified sampling and wavelet de-noising ANFIS model. Comput Electr Eng 85: 106701.

    Article  Google Scholar 

  • Garba AA, Amusat RO, Ngadda YH (2016) Estimation of global solar radiation using sunshine-based model in Maiduguri, North East, Nigeria. Appl Res J 2:19–26

    Google Scholar 

  • Ghimire S, Deo RC, Raj N, Mi J (2019) Deep solar radiation forecasting with convolutional neural network and long short-term memory network algorithms. Appl Energy 253:113541. https://doi.org/10.1016/j.apenergy.2019.113541

    Article  Google Scholar 

  • Gill J, Singh J, Ohunakin OS, Adelekan DS, Atiba OE, Nkiko MO, Atayero AA (2020) Adaptive neuro-fuzzy inference system (ANFIS) approach for the irreversibility analysis of a domestic refrigerator system using LPG/TiO 2 nanolubricant. Energy Rep 6:1405–1417

    Article  Google Scholar 

  • Hematian A, Ajabshirchi Y, Ranjbar SF, Taki M (2019) An experimental analysis of a solar-assisted heat pump (SAHP) system for heating a semisolar greenhouse, Energy Sources, Part A: Recovery, Utilization, and Environmental Effects. https://doi.org/10.1080/15567036.2019.1663308

    Book  Google Scholar 

  • Isikwue B, Amah A, Agada P (2016) Empirical model for the estimation of global solar radiation in Makurdi, Nigeria. Global J Sci Front Res 12

  • Jović S, Aničić O, Marsenić M, Nedić B (2016) Solar radiation analyzing by neuro-fuzzy approach. Energy Build 129:261–263

    Article  Google Scholar 

  • Jung HC, Kim JS, Heo H (2015) Modeling of building energy consumption using an improved real coded genetic algorithm based least squares support vector machine approach. Energy Build 90:76–84

    Article  Google Scholar 

  • Kalogirou SA (2014) Solar energy engineering: processes and systems, second edn. Academic Press, California

    Google Scholar 

  • Khorasanizadeh H, Mohammadi K, Mostafaeipour A (2014) Establishing a diffuse solar radiation model for determining the optimum tilt angle of solar surfaces in Tabass, Iran. Energy Convers Manag 78:805–814

    Article  Google Scholar 

  • Kirmani S, Jamil M, Rizwan M (2015) Empirical correlation of estimating global solar radiation using meteorological parameters. Int J Sustain Energy 34:327–339

    Article  Google Scholar 

  • Kumar G, Malik H (2016) Generalized regression neural network based wind speed modeling model for western region of India. Proc Computer Sci 93:26–32

    Article  Google Scholar 

  • Kutucu, H., Almryad, A., 2016. Modeling of solar energy potential in Libya using an artificial neural network model, Data Stream Mining & Processing (DSMP), IEEE First International Conference on. IEEE, pp. 356-359.

  • Linares-Rodriguez A, Ruiz-Arias JA, Pozo-Vazquez D, Tovar-Pescador J (2013) An artificial neural network ensemble model for estimating global solar radiation from Meteosat satellite images. Energy 61:636–645

    Article  Google Scholar 

  • Liu Y, Zhou Y, Chen Y, Wang D, Wang Y, Zhu Y (2020) Comparison of support vector machine and copula-based nonlinear quantile regression for estimating the daily diffuse solar radiation: a case study in China. Renew Energy 146:1101–1112

    Article  Google Scholar 

  • Lockart N, Kavetski D, Franks SW (2015) A new stochastic model for simulating daily solar radiation from sunshine hours. Int J Climatol 35:1090–1106

    Article  Google Scholar 

  • Mardani Najafabadi M, Taki M (2020) Robust data envelopment analysis with Monte Carlo simulation model for optimization the energy consumption in agriculture. In: Energy Sources, Part A: Recovery, Utilization, and Environmental Effects. https://doi.org/10.1080/15567036.2020.1777221

    Chapter  Google Scholar 

  • Mecibah MS, Boukelia TE, Benyahia NE (2015) Management and exploitation of direct normal irradiance resources for concentrating solar collectors: Algeria as a case study. Int J Energy Environ Eng 6:65–73

    Article  Google Scholar 

  • Mellit A, Benghanem M, Arab AH, Guessoum A (2005) A simplified model for generating sequences of global solar radiation data for isolated sites: using artificial neural network and a library of Markov transition matrices approach. Sol Energy 79:469–482

    Article  Google Scholar 

  • Mellit A, Menghanem M, Bendekhis M (2005) Artificial neural network model for modeling solar radiation data: application for sizing stand-alone photovoltaic power system, IEEE Power Engineering Society General Meeting, 2005. IEEE, New Jersey, pp 40–44

    Google Scholar 

  • Mohammadi K, Khorasanizadeh H, Shamshirband S, Tong CW (2016) Influence of introducing various meteorological parameters to the Angström–Prescott model for estimation of global solar radiation. Environ Earth Sci 75:1–12

    Article  Google Scholar 

  • Mohammadi K, Shamshirband S, Kamsin A, Lai P, Mansor Z (2016) Identifying the most significant input parameters for predicting global solar radiation using an ANFIS selection procedure. Renew Sust Energ Rev 63:423–434

    Article  Google Scholar 

  • Mohammadi K, Shamshirband S, Tong CW, Alam KA, Petković D (2015) Potential of adaptive neuro-fuzzy system for modeling of daily global solar radiation by day of the year. Energy Convers Manag 93:406–413

    Article  Google Scholar 

  • Mohammadi K, Shamshirband S, Tong CW, Arif M, Petković D, Ch S (2015) A new hybrid support vector machine–wavelet transform approach for estimation of horizontal global solar radiation. Energy Convers Manag 92:162–171

    Article  Google Scholar 

  • Motahari-Nezhad M, Jafari SM (2020) ANFIS system for prognosis of dynamometer high-speed ball bearing based on frequency domain acoustic emission signals. Measurement 165:108154

    Article  Google Scholar 

  • Namrata, K., Sharma, S., Saksena, S., 2013. Comparison of different models for estimation of global solar radiation in Jharkhand (India) region.

    Book  Google Scholar 

  • Noriega Angarita, E., Sousa Santos, V., Quintero Duran, M.J., Gil Arrieta, C., 2016. Solar Radiation Modeling for Dimensioning Photovoltaic Systems Using Artificial Neural Networks.

    Google Scholar 

  • Ogunsanwo F, Adepitan J, Ozebo V, Ayanda J (2016) Empirical model for estimation of global radiation from sunshine duration of Ijebu-Ode. Int J Phys Sci 11:32–39

    Article  Google Scholar 

  • Olatomiwa L, Mekhilef S, Shamshirband S, Mohammadi K, Petković D, Sudheer C (2015) A support vector machine–firefly algorithm-based model for global solar radiation modeling. Sol Energy 115:632–644

    Article  Google Scholar 

  • Olatomiwa L, Mekhilef S, Shamshirband S, Petkovic D (2015) Potential of support vector regression for solar radiation modeling in Nigeria. Nat Hazards 77:1055–1068

    Article  Google Scholar 

  • Olatomiwa L, Mekhilef S, Shamshirband S, Petković D (2015) Adaptive neuro-fuzzy approach for solar radiation modeling in Nigeria. Renew Sust Energ Rev 51:1784–1791

    Article  Google Scholar 

  • Panahi M, Gayen A, Pourghasemi HR, Rezaie F, Lee S (2020) Spatial prediction of landslide susceptibility using hybrid support vector regression (SVR) and the adaptive neuro-fuzzy inference system (ANFIS) with various metaheuristic algorithms. Sci Total Environ 741:139937

    Article  Google Scholar 

  • Piri J, Shamshirband S, Petković D, Tong CW, ur Rehman MH (2015) Modeling of the solar radiation on the Earth using support vector regression technique. Infrared Phys Technol 68:179–185

    Article  Google Scholar 

  • Rahimikhoob A (2010) Estimating global solar radiation using artificial neural network and air temperature data in a semi-arid environment. Renew Energy 35:2131–2135

    Article  Google Scholar 

  • Razmjoo A, Qolipour M (2016) Technical-Economic Evaluation of Solar Energy Potential for the City of Ahvaz. Int J Renew Energy Technol Res 5:1–10

    Google Scholar 

  • Rehman S, Mohandes M (2008) Artificial neural network estimation of global solar radiation using air temperature and relative humidity. Energy Policy 36:571–576

    Article  Google Scholar 

  • Rohani A, Taki M, Abdollahpour M (2018) A novel soft computing model (Gaussian process regression with K-fold cross validation) for daily and monthly solar radiation forecasting (Part: I). Renew Energy 115:411–422

    Article  Google Scholar 

  • Rohani A, Taki M, Bahrami G (2019) Application of artificial intelligence for separation of live and dead rainbow trout fish eggs. Artific Intellig Agricult 1:27–34

    Article  Google Scholar 

  • Sabet Sarvestani N, Rohani A, Farzad A, Aghkhani MH (2016) Modeling of specific fuel consumption and emission parameters of compression ignition engine using nano fluid combustion experimental data. Fuel Process Technol 154:37–43

    Article  Google Scholar 

  • Saoud LS, Rahmoune F, Tourtchine V, Baddari K (2016) A novel method to forecast 24 h of global solar irradiation. Energy Syst:1–23

  • Shamshirband S, Mohammadi K, Khorasanizadeh H, Yee L, Lee M, Petković D, Zalnezhad E (2016) Estimating the diffuse solar radiation using a coupled support vector machine–wavelet transform model. Renew Sust Energ Rev 56:428–435

    Article  Google Scholar 

  • Sirabahenda Z, Simon AH, Courtenay SC, van den Heuvel MR (2020) Assessment of the effective width of riparian buffer strips to reduce suspended sediment in an agricultural landscape using ANFIS and SWAT models. CATENA. 195:104762

    Article  Google Scholar 

  • Suykens JAK, Vandewalle J (1999) Least squares support vector machine classifiers. Neural Process Lett 9:293–300

    Article  Google Scholar 

  • Taki M, Ajabshirchi Y, Mahmoudi A (2012) Modeling of output energy for wheat production using artificial neural networks in Esfahan province of Iran. J Agricult Technol 8(4):1229–1242

    Google Scholar 

  • Taki M, Ajabshirchi Y, Ranjbar SF, Rohani A, Matloobi M (2016a) Heat transfer and MLP neural network models to predict inside environment variables and energy lost in a semi-solar greenhouse. Energy Build 110:314–329

    Article  Google Scholar 

  • Taki M, Ajabshirchi Y, Ranjbar SF, Rohani A, Matloobi M (2016b) Modeling and experimental validation of heat transfer and energy consumption in an innovative greenhouse structure. Inform Proc Agricult 3:157–174

    Google Scholar 

  • Taki M, Mahmoudi A, Ghasemi-mobtaker H, Rahbari H (2012) Energy consumption and modeling of output energy with multilayer feed-forward neural network for corn silage in Iran. Agric Eng Int: CIGR Journal 14(4):93–101

    Google Scholar 

  • Taki M, Mehdizade A, Rohani A, Rahnama M, Rahmati-Joneidabad M (2018) Applied machine learning in greenhouse simulation; new application and analysis. Inform Proc Agricult 5:253–268

    Google Scholar 

  • Taki M, Rohani A, Rahmati-Joneidabadi M (2018) Solar thermal simulation and applications in greenhouse. Inform Proc Agricult 5:83–113

    Google Scholar 

  • Taki M, Rohani A, Soheilifard F, Abdeshahi A (2018) Assessment of energy consumption and modeling of output energy for wheat production by neural network (MLP and RBF) and Gaussian process regression (GPR) models. J Clean Prod 172:3028–3041

    Article  Google Scholar 

  • Taki M, Rohani A, Yildizhan H, Farhadi R (2019) Energy-exergy modeling of solar radiation with most influencing input parameters. Energy Sourc A Recov Utiliz Environ Effects 41(17):2128–2144. https://doi.org/10.1080/15567036.2018.1550126

    Article  Google Scholar 

  • Taki M, Yildizhan H (2018) Evaluation the sustainable energy applications for fruit and vegetable productions processes; case study: greenhouse cucumber production. J Clean Prod 199:164–172

    Article  Google Scholar 

  • Wang L, Kisi O, Zounemat-Kermani M, Zhu Z, Gong W, Niu Z, Liu H, Liu Z (2016) Modeling of solar radiation in China using different adaptive neuro-fuzzy methods and M5 model tree. Int J Climatol 37(3):1141–1155

    Article  Google Scholar 

  • Zang H, Cheng L, Ding T, Cheung KW, Wang M, Wei Z, Sun G (2020) Application of functional deep belief network for estimating daily global solar radiation: a case study in China. Energy 1919:116502

    Article  Google Scholar 

  • Zhang H, Cheng S, Li H, Fu K, Xu Y (2020) Groundwater pollution source identification and apportionment using PMF and PCA-APCA-MLR receptor models in a typical mixed land-use area in Southwestern China. Sci Total Environ 741:140383

    Article  Google Scholar 

  • Ziafati A, Maleki A (2020) Fuzzy ensemble system for SSVEP stimulation frequency detection using the MLR and MsetCCA. J Neurosci Methods 338:108686

    Article  Google Scholar 

Download references

Acknowledgments

The authors would like to thank the editor in chief and the anonymous referees for their valuable suggestions and useful comments that improved the paper content substantially. Also special thanks to the Meteorological Office Data Center in Khorasan Razavi, Iran, for providing data related to this study. This study was supported by Agricultural Sciences and Natural Resources University of Khuzestan, Iran. The authors are grateful for the support provided by this university.

Author information

Authors and Affiliations

Authors

Contributions

Morteza Taki: conceptualization, methodology, software, investigation, writing—original draft. Abbas Rohani: software, resources, data curation. Hasan Yildizhan: review and editing.

Corresponding author

Correspondence to Morteza Taki.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

Extraterrestrial solar radiation (GoH)

In this study, daily total extraterrestrial radiation (GoH W m−2) was calculated based on Kalogirou (2014):

$$ {G}_{\mathrm{oH}}=1366.1\left[1+0.033\cos \left(\frac{360n}{365}\right)\right]\left(\cos \phi \cos \delta \cos \omega +\sin \phi \sin \delta \right) $$

where n is the day of the year, φ is the site latitude, δ is the solar angle, and ω is the hour angle.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Taki, M., Rohani, A. & Yildizhan, H. Application of machine learning for solar radiation modeling. Theor Appl Climatol 143, 1599–1613 (2021). https://doi.org/10.1007/s00704-020-03484-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00704-020-03484-x

Keywords

Navigation