Short-Term Prediction of Carbon Monoxide Concentration Using Artificial Neural Network (NARX) Without Traffic Data: Case Study: Shiraz City

  • Mohammad Reza Mohebbi
  • Ayub Karimi Jashni
  • Maryam DehghaniEmail author
  • Kamal Hadad
Research paper


Air pollution is one of the most widespread and important issues in mechanical civilization, and it has made supervision and control of air quality an ineluctable issue that has been introduced as a principal national problem. This study investigates the ability of dynamic neural networks, particularly the nonlinear autoregressive exogenous (NARX) network, in predicting air carbon monoxide concentration in Shiraz in the absence of traffic data since there are no accurate statistical data on traffic volume (as one of the primary sources for air pollution modeling). Dynamic networks have been utilized to model time-variable patterns as they have time memory through the history of concentration volume implicitly containing traffic characteristics. To begin this study, meteorological data including temperature, moisture content, rainfall amount, and wind velocity and direction at a 3-h mean basis were obtained from the Bureau of Meteorology at the Shiraz Airport. Moreover, air pollutant concentration data due to Setad Square’s measurement station between 2005 and 2008 were prepared from the Fars Department of Environmental Protection. According to the results obtained from the static neural network, the correlation coefficients (R) for the training, validation, and test datasets are estimated as 0.49, 0.37, and 0.41, respectively. Moreover, the R2 correlation coefficient, the root mean square error (RMSE), and mean absolute percentage error (MAPE) are 0.31, 0.43, and 51%, respectively. However, the correlation coefficients achieved from NARX model for the training, validation, and test datasets are estimated as 0.77, 0.76, and 0.80, respectively, while the R2 correlation coefficient, RMSE, and MAPE are 0.72, 0.05, and 7%, respectively. The results demonstrate the dynamic neural network’s high performance in modeling carbon monoxide concentration in the absence of traffic data. Moreover, sensitivity analysis indicates the stability of the model to the noisy data.


Air pollution Modeling Dynamic neural networks NARX Traffic data 



The authors would like to thank the Fars Department of Environmental Protection and the Shiraz Meteorological Organization for providing data. They also would like to thank Dr. Mohammad Reza Nikoo, Assistant Professor of Shiraz University, for his significant contribution and guidance.

Compliance with Ethical Standards

Conflict of interest

The authors declare that they have no conflict of interest.


  1. Borrego C, Tchepel O, Costa AM, Martins H, Ferreira J, Miranda AI (2006) Traffic related particulate air pollution exposure in urban areas. Atmos Environ 40:7205–7214CrossRefGoogle Scholar
  2. Boznar M, Lesjak M, Malkar P (1993) A neural network-based method for short-term predictions of ambient SO2 concentrations in highly polluted industrial areas of complex terrain. Atmos Environ 34:807–816Google Scholar
  3. Brunelli U, Piazza U, Pignato L (2007) Two-days ahead prediction of daily maximum concentrations of SO2, O3, PM10, NO2, CO in the urban area of Palermo, Italy. Atmos Environ 41:2967–2995CrossRefGoogle Scholar
  4. Chelani AB, Brerton RG, Walsh PT (1997) Prediction of sulphur dioxide concentration using artificial neural network. Environ Model Softw 17:161–168Google Scholar
  5. Diaconescu E (2008) The use of NARX neural networks to predict chaotic time series. Trans Comput Res 3:182–191Google Scholar
  6. Elangasinghe MA, Singhal N, Dirks KN, Salmond JA (2014) Development of an ANN–based air pollution forecasting system with explicit knowledge through sensitivity analysis. Atmos Pollut Res 5:696–708CrossRefGoogle Scholar
  7. Feng X, Li Q, Zhu Y, Hou J, Jin L, Wang J (2015) Artificial neural networks forecasting of PM2. 5 pollution using air mass trajectory based geographic model and wavelet transformation. Atmos Environ 107:118–128CrossRefGoogle Scholar
  8. Lal Benjamin N, Sharma S, Pendharker U, Shrivastava JK (2014) Air quality prediction using artificial neural network. IJCS 2:07–09Google Scholar
  9. Melas D, Kioutsioukis I, Ziomas I (2000) Neural network model for predicting peak photochemical pollutant levels. Air Waste Manag 50:1047–3289Google Scholar
  10. Mohebbi MR, Jashni AK, Dehghani M (2013) Investigation of air pollution in Shiraz based on AQI index. In: The 7th national conference on world environment day, University of Tehran, pp 50–63Google Scholar
  11. Moseholm L, Silva J, Larson TC (1996) Forecasting carbon monoxide concentration near a sheltered intersections using video traffic surveillance and neural networks. Transp Res Part D 1:15–28CrossRefGoogle Scholar
  12. Negandra SM, Khare M (2004) Artificial neural network based line source models for vehicular exhaust emission predictions of an urban roadway. Transp Res Part D Transp Environ 9:199–208. CrossRefGoogle Scholar
  13. Pawul M, Śliwka M (2016) Application of artificial neural networks for prediction of air pollution levels in environmental monitoring. J Ecol Eng 17:190–196CrossRefGoogle Scholar
  14. Perez P (2001) Prediction of sulfur dioxide concentrations at a site near downtown Santiago, Chile. Atmos Environ 35(29):4929–4935CrossRefGoogle Scholar
  15. Perez P, Trier A, Reyes J (2000) Prediction of PM2.5 concentrations several hours in advance using neural networks in Santiago, Chile. Atmos Environ 34:1189–1196CrossRefGoogle Scholar
  16. Rahman PA, Panchenko AA, Safarov AM (2017) Using neural networks for prediction of air pollution index in industrial city. IOP Conf Ser Earth Environ Sci 87:042016CrossRefGoogle Scholar
  17. Russo A, Raischel F, Lind PG (2013) Air quality prediction using optimal neural networks with stochastic variables. Atmos Environ 79:822–830CrossRefGoogle Scholar
  18. Sahin U, Ucan ON, Bayat C, Oztorun N (2005) Modeling of SO2 distribution in Istanbul using artificial neural networks. Environ Model Assess 10:135–142CrossRefGoogle Scholar
  19. Shi JP, Harrison RM (1997) Regression modelling of hourly NOx and NO2 concentrations in urban air in London. Atmos Environ 31:4081–4094CrossRefGoogle Scholar
  20. Spellman G (1999) An application of artificial neural networks to the prediction of surface ozone concentrations in the United Kingdom. Appl Geogr 19:123–136CrossRefGoogle Scholar
  21. Zhang J, Ding W (2017) Prediction of air pollutants concentration based on an extreme learning machine: the case of Hong Kong. Int J Environ Res Public Health 14:114CrossRefGoogle Scholar
  22. Zheng Y, Liu F, Hsieh HP (2013) U-air: when urban air quality inference meets big data. In: Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining, pp 1436–1444Google Scholar
  23. Zhu D, Cai C, Yang T, Zhou X (2018) A machine learning approach for air quality prediction: model regularization and optimization. Big Data Cognit Comput 2:5. CrossRefGoogle Scholar

Copyright information

© Shiraz University 2018

Authors and Affiliations

  1. 1.Department of Civil and Environmental Engineering, School of EngineeringShiraz UniversityShirazIran
  2. 2.School of Mechanical EngineeringShiraz UniversityShirazIran

Personalised recommendations