ESTIMATION OF HOURLY MEAN AMBIENT TEMPERATURES WITH ARTIFICIAL NEURAL NETWORKS 1. INTRODUCTION

Similar documents
Journal of Applied Research and Technology 14 (2016)

Prediction of Hourly Solar Radiation in Amman-Jordan by Using Artificial Neural Networks

Research Article Predicting Global Solar Radiation Using an Artificial Neural Network Single-Parameter Model

Artifical Neural Networks

Prediction of Global Solar Radiation in UAE

Forecasting of Rain Fall in Mirzapur District, Uttar Pradesh, India Using Feed-Forward Artificial Neural Network

Temporal global solar radiation forecasting using artificial neural network in Tunisian climate

Application of Fully Recurrent (FRNN) and Radial Basis Function (RBFNN) Neural Networks for Simulating Solar Radiation

The Potential of Artificial Neural Network Technique in Daily and Monthly Ambient Air Temperature Prediction

A Novel 2-D Model Approach for the Prediction of Hourly Solar Radiation

Short Term Solar Radiation Forecast from Meteorological Data using Artificial Neural Network for Yola, Nigeria

Thunderstorm Forecasting by using Artificial Neural Network

Using artificial neural network for solar energy level predicting

MODELLING ENERGY DEMAND FORECASTING USING NEURAL NETWORKS WITH UNIVARIATE TIME SERIES

Electricity price forecasting in Turkey with artificial neural network models

Three Structures of a Multilayer Artificial Neural Network for Predicting the Solar Radiation of Baghdad City- Iraq

Prediction of Global Solar Radiation Using Artificial Neural Network

Artificial Intelligence

ANN and Statistical Theory Based Forecasting and Analysis of Power System Variables

Investigation of complex modulus of asphalt mastic by artificial neural networks

Short-term wind forecasting using artificial neural networks (ANNs)

Application of Artificial Neural Network for Short Term Load Forecasting

EE-588 ADVANCED TOPICS IN NEURAL NETWORK

Feature Selection Optimization Solar Insolation Prediction Using Artificial Neural Network: Perspective Bangladesh

INTRODUCING A NEW FORMULA BASED ON AN ARTIFICIAL NEURAL NETWORK FOR PREDICTION OF DROPLET SIZE IN VENTURI SCRUBBERS

SOLAR INSOLATION FORECAST USING ARTIFICIAL NEURAL NETWORK FOR MALAYSIAN WEATHER

Prediction of Particulate Matter Concentrations Using Artificial Neural Network

Modeling Soil Temperature Using Artificial Neural Network

Predicting Wheat Production in Iran Using an Artificial Neural Networks Approach

Application of Artificial Neural Networks to Predict Daily Solar Radiation in Sokoto

Global Solar Radiation Prediction using Artificial Neural Network Models for New Zealand

Comparison learning algorithms for artificial neural network model for flood forecasting, Chiang Mai, Thailand

IN recent years, introduction of an alternative energy source

JJMIE Jordan Journal of Mechanical and Industrial Engineering

Wind Power Forecasting using Artificial Neural Networks

Estimation of Pan Evaporation Using Artificial Neural Networks A Case Study

Journal of of Computer Applications Research Research and Development and Development (JCARD), ISSN (Print), ISSN

Forecasting River Flow in the USA: A Comparison between Auto-Regression and Neural Network Non-Parametric Models

A comparative study of ANN and angstrom Prescott model in the context of solar radiation analysis

Data Mining Part 5. Prediction

COMPUTATIONAL MODELING OF ELECTRICITY CONSUMPTION USING ECONOMETRIC VARIABLES BASED ON NEURAL NETWORK TRAINING ALGORITHMS

Backpropagation Neural Net

Modelling and Prediction of 150KW PV Array System in Northern India using Artificial Neural Network

Rainfall Prediction using Back-Propagation Feed Forward Network

Short-term water demand forecast based on deep neural network ABSTRACT

A new method for short-term load forecasting based on chaotic time series and neural network

Artificial Neural Networks (ANN) Xiaogang Su, Ph.D. Department of Mathematical Science University of Texas at El Paso

Estimation of Reference Evapotranspiration by Artificial Neural Network

Application of Artificial Neural Networks in Evaluation and Identification of Electrical Loss in Transformers According to the Energy Consumption

EEE 241: Linear Systems

Temperature Prediction based on Artificial Neural Network and its Impact on Rice Production, Case Study: Bangladesh

Optimum Neural Network Architecture for Precipitation Prediction of Myanmar

*** (RASP1) ( - ***

Keywords- Source coding, Huffman encoding, Artificial neural network, Multilayer perceptron, Backpropagation algorithm

A study of determining a model for prediction of solar radiation

Data and prognosis for renewable energy

Solar Irradiance Prediction using Neural Model

MODELING OF A HOT AIR DRYING PROCESS BY USING ARTIFICIAL NEURAL NETWORK METHOD

COMPUTATIONAL INTELLIGENCE (INTRODUCTION TO MACHINE LEARNING) SS16

Neural Networks: Backpropagation

A Hybrid ARIMA and Neural Network Model to Forecast Particulate. Matter Concentration in Changsha, China

Application of Artificial Neural Networks in Prediction of Compressive Strength of Concrete by Using Ultrasonic Pulse Velocities

Modelling of Pehlivan-Uyaroglu_2010 Chaotic System via Feed Forward Neural Network and Recurrent Neural Networks

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Artificial Neural Network

FORECASTING OF INFLATION IN BANGLADESH USING ANN MODEL

Real Time wave forecasting using artificial neural network with varying input parameter

A STATE-SPACE NEURAL NETWORK FOR MODELING DYNAMICAL NONLINEAR SYSTEMS

EE-588 ADVANCED TOPICS IN NEURAL NETWORK

An artificial neural networks (ANNs) model is a functional abstraction of the

CSC 578 Neural Networks and Deep Learning

Revision: Neural Network

Weather based forecasting model for crops yield using neural network approach

CSE 352 (AI) LECTURE NOTES Professor Anita Wasilewska. NEURAL NETWORKS Learning

Computational statistics

Artificial Neural Networks

ESTIMATION OF SOLAR RADIATION USING LEAST SQUARE SUPPORT VECTOR MACHINE

Calculation of the heat power consumption in the heat exchanger using artificial neural network

Extracting Trends Ensembles in Solar Irradiance for Green Energy Generation Using Neuro-evolution

Keywords: Neural Network, Geostatistics, Zoning, Prediction, Groundwater Level, Jahrom, Feed- Forward, Network

Heat Load Forecasting of District Heating System Based on Numerical Weather Prediction Model

Open Access Research on Data Processing Method of High Altitude Meteorological Parameters Based on Neural Network

Lecture 5: Logistic Regression. Neural Networks

Trend Analysis and Mapping of Severe Cyclonic Storms in Bay of Bengal using ANN and Exponential Smoothing

Introduction Neural Networks - Architecture Network Training Small Example - ZIP Codes Summary. Neural Networks - I. Henrik I Christensen

Gas Detection System Based on Multi-Sensor Fusion with BP Neural Network

DESIGN AND DEVELOPMENT OF ARTIFICIAL INTELLIGENCE SYSTEM FOR WEATHER FORECASTING USING SOFT COMPUTING TECHNIQUES

Neural Network Based Response Surface Methods a Comparative Study

ARTIFICIAL INTELLIGENCE. Artificial Neural Networks

4. Multilayer Perceptrons

A Comparative study on Different ANN Techniques in Wind Speed Forecasting for Generation of Electricity

Prediction of monthly mean daily global solar radiation using Artificial Neural Network

Combined GIS, CFD and Neural Network Multi-Zone Model for Urban Planning and Building Simulation. Methods

ARTIFICIAL NEURAL NETWORKS گروه مطالعاتي 17 بهار 92

Neural Network to Control Output of Hidden Node According to Input Patterns

Artificial Neural Networks

FORECASTING YIELD PER HECTARE OF RICE IN ANDHRA PRADESH

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

Discussion Papers in Economics. Ali Choudhary (University of Surrey and State Bank of Pakistan) & Adnan Haider (State Bank of Pakistan) DP 08/08

AN INTRODUCTION TO NEURAL NETWORKS. Scott Kuindersma November 12, 2009

Transcription:

Mathematical and Computational Applications, Vol. 11, No. 3, pp. 215-224, 2006. Association for Scientific Research ESTIMATION OF HOURLY MEAN AMBIENT TEMPERATURES WITH ARTIFICIAL NEURAL NETWORKS Ömer Altan Dombaycı and Önder Çivril Department of Technical Programmes, Denizli Vocational College, Pamukkale University, 20159 Denizli, Turkey. adombayci@pamukkale.edu.tr; ondercivril@yahoo.com Abstract-In this study, the artificial neural networks have been used for the estimation of hourly ambient temperature in Denizli, Turkey. The model was trained and tested with four years (2002-2005) of hourly mean temperature values. The hourly temperature values for the years 2002-2004 were used in training phase, the values for the year 2005 were used to test the model. The architecture of the ANN model was the multi-layer feedforward architecture and has three layers. Inputs of the network were month, day, hour, and two hourly mean temperatures at the previous hours, and the output was the mean temperature at the hour specified in the input. In the model, Levenberg-Marquardt learning algorithm which is a variant of backpropagation was used. With the software developed in Matlab, an ANN was constructed, trained, and tested for a different number of neurons in its hidden layer. The best result was obtained for 27 neurons, where R 2, RMSE and MAPE values were found to be 0.99999, 0.92024 and 0.20900% for training, and 0.9999, 0.91301 and 0.20907% for test. The results show that the artificial neural network is powerful an alternate method in temperature estimations. Keywords- Estimation, Neural network, Ambient temperature 1. INTRODUCTION The information about the climatic parameters like mean hourly values of relative humidity, ambient temperature and wind velocity are useful in the thermal analysis of building, heating and cooling load calculations to decide the correct sizing of an airconditioning system for thermal comfort and in the performance evaluation and optimum design of many solar energy system [1]. Accurate forecasting of hourly air temperatures has a number of important applications in the industry, agriculture and the environment [2]. For example, the knowledge of variation in ambient temperature has a considerable value in predicting the solar radiation [3,4,5], hourly energy consumption and cooling load estimation in buildings [6,7] and room air temperature prediction [8]. Artificial Neural Network (ANN) technique can be used as an alternative method in the analysis of rather complex and ill-defined engineering problems and modeling the estimation studies. ANN does not require the formulation of the physical relation of the concerned problem [9]. Moreover, one of the important properties of ANN models is their capability in detecting the patterns existing in a complex natural system and adopting themselves to recurrent changes [10].

216 Ö. A. Dombaycı and Ö. Çivril In this study, an ANN model was developed in order to use to estimate the hourly ambient temperature in Denizli, Turkey. The model was trained and tested with four years (2002-2005) of hourly mean temperature values obtained from Turkish State Meteorological Service. While the hourly temperature values for the years 2002-2004 were used in training phase, the values for the year 2005 were used to test the model. Moreover, Levenberg-Marquardt (LM) and tangent sigmoid (tansig) were chosen as the learning algorithm and transfer function of the model, respectively. The output of the network was the hourly mean temperature at the date and time specified by the inputs. The hourly mean temperature values one and two hours earlier than the specified date and time was also used in the input layer. 2. ARTIFICIAL NEURAL NETWORK ANN is a branch of Artificial Intelligence which was developed in 1950s in order to imitate the biological structure of the human brain [11]. The ANN models work like a black box without requiring the detailed information of a system. Instead of requiring this information, they learn the relation between the input parameters and the controlled and uncontrolled variables by studying the previously recorded data like non-linear regression. One more advantage of using ANNs is the capability of managing large and complex systems with a vast number of interrelated parameters. On the other hand they don t take into account the excess data which is very important [12]. The basic component of an ANN is an artificial neuron which is shown in Fig. 1. The input signals, represented by x 1, x 2,..., x n, are modified by the associated weights, w i1, w i2,..., w in, to form the weighted inputs. These weighted inputs are processed in two parts. First, they are combined together and added with the bias b i. Then this combined signal is transformed along by a function, which is called the transfer function, to form the output of the neuron. Thus, the output is given by Where y = f c ) (1) i ( i c = x L + i 1 wi 1+ x2wi 2 + + xnwin bi (2) There are a number of possible transfer functions. However, sigmoidal functions are more common. An ANN is organized as layers of neurons. Each neuron in a layer is connected to all neurons in the previous layer. An example of this type of arrangement, which is used also in this study, is shown in Fig. 2. The network consists of an input layer, one hidden layer and an output layer. The input layer is not an actual neural computing layer because the neurons in this layer have no weights, biases and transfer functions. It simply presents the input data to the network. The output layer presents the response of the network to the given input. The hidden layer (or sometimes layers) has no connections to the outside world.

Estimation of Hourly Mean Ambient Temperatures with ANN 217 Fig. 1. Representation of a neuron Fig. 2. ANN model used in the study The process of training the network is the adjustment of the weights so that the network can produce the desired response to the given inputs. A set of inputs and the desired outputs corresponding to these inputs is called a training set. In order to train the network all weights and biases are randomized to small values and an input-output pair is selected from the training set. The selected inputs are applied to the network and the output is calculated. Then, the difference between the network output and the desired output, the error, is found. The weights and biases are adjusted by using a method called the learning algorithm to minimize this error. This process is applied to all the pairs in the training set. This training cycle which is called an epoch, is repeated until the error reduces to an acceptable value. One of the most effective learning algorithms in ANN is the Backpropagation algorithm. For this reason, Backpropagation and its variants are the most popular learning algorithms [13]. In general, gradient descent and gradient descent with momentum are relatively slow algorithms because they require small learning rates for a stable learning. Moreover, the success of these algorithms depends on the learning rate of the dependent parameters and the momentum constant. The algorithms like Conjugategradient (SCG), BFGS quasi-newton and Levenberg-Marquardt are faster than other algorithms and use standard numeric optimization techniques [9].

218 Ö. A. Dombaycı and Ö. Çivril 3. NEURAL NETWORK TRAINING AND TESTING Artificial Neural Networks are used in a wide range of areas like pattern classification and identification, estimation, and optimization. In order to train the network, input data and target values corresponding to these data are required. The data used in this study was the hourly mean temperature values belonging the years 2002 through 2005, measured by Turkish State Meteorological Service for Denizli. In this study, in order to predict the mean temperature at a desired hour, previous two hourly mean temperature values were used. Thus inputs of the network were month, day, hour, and two hourly mean temperatures at the previous hours, and the output was the mean temperature at the hour specified in the input. A total of 35062 data, 26302 of which for training and 8760 of which for test were used. The architecture of the ANN model was the multi-layer feedforward architecture and has three layers. The first layer is the input layer with 5 inputs, the second layer is the hidden layer and the last one is the output layer. In the model, Levenberg-Marquardt learning algorithm which is a variant of backpropagation was used. With the neurons in the hidden layer the tansig transfer function and with the neuron in the output layer pure linear transfer function, which are given by the equations below, were used. x x e e y= x x e + e (3) y= x (4) The network was trained and tested for different number of neurons, varying from 3 to 30, in the hidden layer. In order for a comparison of errors, R 2, RMSE and MAPE values defined by 1/ 2 2 RMSE = ( 1/ p) t j o j (5) j 2 ( t ) ( ) j j o j o j j = 1 (6) 2 R 2 1 t MAPE = j o j 100 (7) p j t j Where t is the target value, o is the output value and p is the number of input-output pairs [9], were used.

Estimation of Hourly Mean Ambient Temperatures with ANN 219 4. RESULT AND DISCUSSION The ANN model was trained with the mean hourly temperature values of the years 2002-2004, and the trained model was tested for the mean hourly temperature values of the year 2005 by using software developed in Matlab. The process of ANN model is started with a network having 3 neurons in its hidden layer, and repeated by increasing the number of neurons up to 30 neurons. The output of the network was found to be very close to the measured values. The predicted values and their comparisons with the measured values are shown in Fig. 3, 4 and 5, each of which corresponds to one year of data in the training set. Test results are also shown in Fig. 6. In order for the clearness of the figures, the training and test results are depicted only for the first 500 hours of each year. As shown in the figures, it was found that the predicted temperature values which are the output of the network is very close to measured values for all years. However, predicted values deviate from the measured ones in some points. These points correspond to the sharp changes in measured values which were not predicted successfully by the ANN. 290 measured values predicted values Hourly Mean Ambient Temperature (K) 285 280 275 270 265 0 50 100 150 200 250 300 350 400 450 500 Time (Hours) Fig. 3. Predicted and measured hourly mean ambient temperatures for the first 500 hours of the training year 2002.

220 Ö. A. Dombaycı and Ö. Çivril 290 288 measured values predicted values Hourly Mean Ambient Temperatures (K) 286 284 282 280 278 276 274 0 50 100 150 200 250 300 350 400 450 500 Time (Hours) Fig. 4. Predicted and measured hourly mean ambient temperatures for the first 500 hours of the training year 2003. 290 measured values predicted values 285 Hourly Mean Ambient Temperatures (K) 280 275 270 265 260 0 50 100 150 200 250 300 350 400 450 500 Time (Hours) Fig. 5. Predicted and measured hourly mean ambient temperatures for the first 500 hours the training year 2004.

Estimation of Hourly Mean Ambient Temperatures with ANN 221 295 measured values predicted values Hourly Mean Ambient Temperatures (K) 290 285 280 275 270 0 50 100 150 200 250 300 350 400 450 500 Time (Hours) Fig. 6. Predicted and measured hourly mean ambient temperatures for the first 500 hours the test year 2005. The calculated root-mean squared error (RMSE), absolute fraction (R 2 ) and mean absolute percentage error (MAPE) values of the errors of the ANN forecasted mean hourly temperature were listed in Table 1, for each networks. From table, the best result was obtained for 27 neurons, where R 2, RMSE and MAPE values were found to be 0.99999, 0.92024 and 0.209 % for training, and 0.9999, 0.91301 and 0.20907% for test.

222 Ö. A. Dombaycı and Ö. Çivril Table 1. RMSE, R 2 and MAPE values of the training and test results Number of neurons RMSE-Train R 2 -Train MAPE-Train (%) RMSE-Test R 2 -Test MAPE-Test (%) 3 1,13380 0,99998 0,26178 1,12770 0,99998 0,26243 4 1,02840 0,99999 0,23581 0,99926 0,99999 0,23269 5 1,03570 0,99999 0,23955 1,02090 0,99999 0,23878 6 0,97949 0,99999 0,22442 0,96899 0,99999 0,22500 7 0,99664 0,99999 0,22802 0,98059 0,99999 0,22553 8 1,00110 0,99999 0,22934 0,99532 0,99999 0,23038 9 0,97739 0,99999 0,22300 0,96911 0,99999 0,22259 10 0,94407 0,99999 0,21306 0,92968 0,99999 0,21190 11 0,95735 0,99999 0,21812 0,94683 0,99999 0,21766 12 0,96486 0,99999 0,22014 0,95303 0,99999 0,21869 13 0,94582 0,99999 0,21628 0,93801 0,99999 0,21651 14 0,98811 0,99999 0,22572 0,97693 0,99999 0,22540 15 0,93239 0,99999 0,21078 0,92735 0,99999 0,21161 16 0,92805 0,99999 0,20913 0,92226 0,99999 0,21057 17 0,91819 0,99999 0,20702 0,91338 0,99999 0,20865 18 0,92240 0,99999 0,20875 0,91820 0,99999 0,21102 19 0,91804 0,99999 0,20956 0,91929 0,99999 0,21151 20 0,95524 0,99999 0,21844 0,94333 0,99999 0,21762 21 0,94142 0,99999 0,21408 0,93181 0,99999 0,21378 22 0,93131 0,99999 0,21060 0,92102 0,99999 0,21012 23 0,92616 0,99999 0,21115 0,93121 0,99999 0,21493 24 0,91745 0,99999 0,20796 0,91574 0,99999 0,20994 25 0,92415 0,99999 0,21007 0,92440 0,99999 0,21227 26 0,93420 0,99999 0,21338 0,93362 0,99999 0,21600 27 0,92024 0,99999 0,20900 0,91301 0,99999 0,20907 28 0,93104 0,99999 0,21186 0,92578 0,99999 0,21269 29 0,93139 0,99999 0,21169 0,92483 0,99999 0,21250 30 0,93159 0,99999 0,21140 0,92303 0,99999 0,21182 5. CONCLUSION The aim of this study was to predict the mean hourly ambient temperature in Denizli, by using the neural network technique. The paper introduced the ANN technique for modeling ambient temperatures. From the total of 35062 data, 26302 of which for training and 8760 of which for test were used. In the model LM learning algorithm has been used and the best results were obtained 27 neurons. These predictions can be useful in thermal analysis of buildings, heating and cooling load calculations so that the sizing of air-conditioning systems can be done more correctly. The training and test results show that there is a good correspondence between the predicted and measured values. Thus, ANN technique can be used as an alternate method in temperature estimations.

Estimation of Hourly Mean Ambient Temperatures with ANN 223 Nomenclature - ANN LM o p R 2 RMSE SCG t artificial neural network Levenberg-Marquardt output value number of input-output pairs absolute fraction variance root-mean-squared error scaled conjugate gradient target value REFERENCES 1. G.V. Parishwad, R.K. Bhardwaj and V.K.Nema, Prediction of monthly-mean hourly relative humidity, ambient temperature, and wind velocity for India, Renewable Energy; 13, 363-380, 1998. 2. R. E. Abdel-Aal, Hourly temperature forecasting using abductive networks, Artificial Intelligence; 17, 543-556, 2004. 3. A. Sözen, E. Arcaklıoğlu, M.Özalp and E.G. Kanıt, Solar-energy potential in Turkey, Applied Energy; 80, 367-381, 2005. 4. A.S.S. Dorvlo, J.A. Jervase and A.A. Lawati, Solar radiation estimation using artificial neural networks, Applied Energy; 71, 307-319, 2002. 5. A.Sözen, E. Arcaklıoğlu, M. Özalp and E.G. Kanıt, Use of artificial neural networks for mapping of solar potential in Turkey, Applied Energy; 77, 273-286,2004. 6. G. Mihalakakou, M. Santamoruris and A. Tsangrassoulis, On the energy consumption in residential buildings, Energy and Buildings; 34, 727-736, 2002. 7. A.E. Ben-Nakhi and M.A. Mahmoud, Cooling load prediction for buildings using general regression neural networks, Energy Conversion & Management; 45, 2127-2141, 2004. 8. I.H. Yang and W.K. Kim, Prediction of the time of room air temperature descending for heating systems in buildings, Building and Environment; 39, 19-29, 2004. 9. M. Gölcü, Y. Sekmen, P. Erduranlı and M.S. Salman, Artificial neural- network base modeling of variable valve-timing in spark- ignition engine, Applied Energy; 81, 187-197, 2005. 10. N.I. Dalikopoulos, P. Colulibaly and I.K. Tsanis, Groundwater level forecasting using artificial neural networks, Journal of Hydrology; 309, 229-240, 2005. 11. P.Viotti, G.Liuti and P.D. Genova, Atmospheric urban pollution: applications of an artificial neural network (ANN) to the city Peugia, Ecological Modelling;148, 27-46, 2002. 12. S.A. Kalogirou, Artificial neural networks in renewable energy systems applications: a review, Renewable & Sustainable Energy Reviews; 5, 373-401, 2001.

224 Ö. A. Dombaycı and Ö. Çivril 13. S. Kalogirou, Applications of artificial neural- networks for energy system, Applied Energy; 67, 17-35, 2000.