Published on

Third International Workshop on "Geographical Analysis, Urban Modeling, Spatial Statistics"

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this


  1. 1. Session: Geographical Analysis, Urban Modeling, Spatial statistics A web-based autonomous weather monitoring system of the town of Palermo and its utilization for temperature nowcasting By: Giorgio Beccali, Maurizio Cellura, Simona Culotta, Valerio Lo Brano, Antonino Marvuglia UNIVERSITY OF PALERMO
  2. 2. Introduction <ul><li>Nowadays, the influence of microclimatic conditions on the energy behavior of buildings draws the attention of many researchers . </li></ul><ul><li>The enhanced urbanization, occurring both in developed and developing countries, led to the appearance of the Urban Heat Island (UHI) effect, notably known for the air temperature increase in the wide urban areas, compared to the conditions measured in the extra-urban areas . </li></ul>
  3. 3. <ul><li>An accurate analysis of the spatial and temporal evolution of the UHI needs a detailed collection of local weather data (recorded with a suitable sampling time) which can be accomplished only through an efficient weather monitoring system. </li></ul><ul><li>The Department of Energy and Environmental Researches (DREAM) of the University of Palermo has started to build up a network of weather stations displaced in different parts of the town. </li></ul><ul><li>The weather stations are equipped with: </li></ul><ul><ul><li>Air Temperature sensor; </li></ul></ul><ul><ul><li>Barometer; </li></ul></ul><ul><ul><li>Hygrometer; </li></ul></ul><ul><ul><li>Anemometer and weather vane; </li></ul></ul><ul><ul><li>Rain gauge; </li></ul></ul><ul><ul><li>Radiometer </li></ul></ul>
  4. 4. <ul><li>Weather stations are Vantage Pro2 Plus (Davis Instruments). </li></ul>Solar radiation sensors Pluviometer SIM + solar battery Consolle Anemometer Anemometer base
  5. 5. Albunea Pizia Merlino Amaltea Meteo Palermo1 Morgana Cassandra
  6. 6. Area: 6.25 Km 2 Area: 13.5 Km 2 Area: 45.6 Km 2 Installed in March 2008 July, 10 th 2007 MeteoPalermo1 March, 4 th 2008 Albunea May, 21 st 2007 Pizia February, 20 th 2007 Amaltea November, 30 th 2006 Cassandra November, 13 rd 2006 Morgana September, 26 th 2006 Merlino Installation date Weather station
  7. 7. Data acquisition and web publishing system The Linux server of DREAM connects to the shared folder of this PC where the file is stored and copies it into a local folder. The procedure is automated by a bash script and is repeated for each weather station. Re-formatting of the ASCII file through a Perl script A web server (Apache) is connected with the database server (MySQL) and an http service is available over TCP/IP network . Graphs and data digest : publicly available. Statistic elaborations and data download : protected by login and password. Every 30 minutes each weather station automatically generates an ASCII file containing the last 336 collected data and immediately transfers it (via GSM) to a MS Windows PC located at the DREAM building, in which a proprietary software is installed.
  8. 8. Data publishing system
  9. 9. Data publishing system
  10. 10. Data publishing system
  11. 11. Data publishing system
  12. 12. Data publishing system
  13. 13. Data publishing system <ul><li>Web surfers can have two different representations of the data: a numerical representation with the current values and a graphical representation of historical time series. </li></ul><ul><li>The generated graphs are dynamic and are created by the system every time someone visits the web page. Several statistical elaborations are also provided in graphical form. </li></ul>
  14. 14. Statistical elaborations Elaborations edited by Dr. Valerio Lo Brano and Dr. Simona Culotta
  15. 15. Temperature and Humidity <ul><li>For temperature and humidity analysis interactive graphs have been created, that allow the user to select the desired reference period, to zoom in on a particular area of the chart or to change the scale of representation. </li></ul>
  16. 16. Rainfall <ul><li>It is possible to display the bar plot of the monthly total rainfall depth in mm. </li></ul>
  17. 17. Wind data <ul><li>It is possible to display several polar diagrams showing the prevailing wind direction during the selected period. It is also possible to plot a polar diagram with the wind events subdivided in velocity classes (< 1 m/s; from 1 m/s to 2.5 m/s; > 2.5 m/s). </li></ul>
  18. 18. Wind data <ul><li>The wind speed frequency histogram can also be displayed. </li></ul><ul><li>It is useful for the anemometric characterization of the sites. </li></ul>Wind speed (m/s) Frequency (%)
  19. 19. Case study: ANN-based temperature nowcasting <ul><li>T he very short-term temperature forecasting (nowcasting) problem was treated as the identification of a dynamical system and tackled by the utilization of a Nonlinear Black-Box model based on a ANN. </li></ul><ul><li>The underlying hypothesis is that the system is signified by transfer function characterizations. As the behaviour of the system changes, the ANN model developed keeps track of the changes in the features and parameters of the system. </li></ul><ul><li>Thus, at any instant of time, it correctly simulates the given time-varying system, despite any significant change in its properties. </li></ul><ul><li>The analyses were accomplished by using Matlab 7.0: </li></ul><ul><ul><li>NNSYSID Toolbox by M. Nørgaard ( Model selection ); </li></ul></ul><ul><ul><li>System Identification Toolbox ( Parameters estimation and Model validation ) </li></ul></ul>Perugia, June 30 - July 3, 2008
  20. 20. Linear model structures <ul><li>According to Ljung (1999), a single-output system with input u and output y is called linear if it is possible to describe it by a model that takes the form: </li></ul><ul><li>where: </li></ul><ul><li>- G and H are transfer functions in the time-delay operator </li></ul><ul><li>e ( t ) is a white noise signal that is independent of past inputs and that can be characterized by some probability density function; </li></ul><ul><li>u ( t ) is an exogenous signal. </li></ul><ul><li>In the case of the A uto R egressive M oving A verage with e X ogenous inputs ( ARMAX ) model the transfer functions are defined as: </li></ul>
  21. 21. The ARMAX model <ul><li>and the optimal predictor is: </li></ul>prediction error or residual : Regression vector : Parameter vector :
  22. 22. Nonlinear model structures <ul><li>When widening the focus to also include identification of nonlinear dynamic systems, the problem of selecting model structures becomes more difficult. </li></ul><ul><li>By exploiting the typical capability of MultiLayer Perceptrons (MLP) to learn nonlinear relationships from a set of data, nonlinear extensions of the most common linear structures for time series prediction have been created. </li></ul><ul><li>By making this choice, the model structure selection is basically reduced to dealing with the following two issues: </li></ul><ul><ul><li>Selecting the inputs to the network; </li></ul></ul><ul><ul><li>Selecting an internal network architecture </li></ul></ul>An often used approach is to reuse the input structures from the linear models substituting the internal architecture with a MLP network.
  23. 23. Nonlinear model structures <ul><li>Nonlinear counterparts to the linear time series forecasting model structures are thus obtained by: </li></ul>where: is the vector containing the adjustable parameters in the neural network known as weights ; g is the function realized by the neural network and it is assumed to have a feed-forward structure. is again the regression vector ; <ul><li>Depending on the choice of the regression vector, different nonlinear model structures emerge. If the regression vector is selected as for ARX models, the model structure is called NNARX. Likewise, NNFIR, NNARMAX, NNOE and NNSSIF structures there exist . </li></ul>
  24. 24. The NNARMAX model <ul><li>In particular, in the NNARMAX model the regressors are selected as in an ARMAX model. The past prediction errors depend on the model output and consequently they establish a feedback. </li></ul>u3: Wind speed u2: Dew point u1: Humidity u5: Solar radiation u4: Atm. pressure Temperature
  25. 25. The networks used in the case-study <ul><li>The parameters used for the predictor ( n, m, k, d ) were the same estimated by using Matlab System Identification Toolbox for the corresponding ARMAX model (with the same inputs and outputs). </li></ul>Except MeteoPalermo1 station
  26. 26. Results <ul><li>The models were validated by observing the differences between the measured and the predicted temperatures for the week ranging from August 25 th to 31 th 2007, which had not been used for the training phase. </li></ul>max min 0.39 1.27 Pizia 0.45 1.44 Morgana 0.68 2.11 MeteoPalermo1 0.35 1.13 Merlino 0.48 1.55 Cassandra 0.45 1.47 Amaltea MAE (°C) MAPE (%) Weather station
  27. 27. Results Week August 25 th to 31 th 2007 Morgana Cassandra Amaltea Pizia MeteoPalermo1 Merlino Output One-step ahead prediction
  28. 28. Results Merlino station
  29. 29. Map of the average forecasted temperature for the week 25/08/07 – 31/08/07
  30. 30. Map of the average measured temperature for the week 25/08/07 – 31/08/07
  31. 31. Conclusions and future work <ul><li>The developed web-based autonomous weather monitoring system was designed to study the spatial and temporal variation of the temperatures within the urban area of Palermo and investigate the influence of various factors on the UHI. </li></ul><ul><li>It represents a very powerful tool for urban monitoring. </li></ul><ul><li>In a future research activity a forecasting model with a wider time span will be implemented, in order to obtain the future evolution of the temperature with a relevant advance and use this information to study the time evolution of urban comfort conditions. </li></ul><ul><li>By using some of the existing outdoor comfort indices it will be possible to create dynamic maps of the actual and forecasted thermal hygrometric comfort conditions at urban scale and publish them on the website of DREAM. </li></ul>
  32. 32. Dr. Antonino Marvuglia e-mail: tel: +39 091 236 139 web site: Thank you for your attention
  33. 39. Forecasting performaces of the ARMAX (4,4,1) model for Merlino weather station Week 25-31 August 2007. Output One-step ahead prediction