Pollution Simulator



Visualisation and User Interface

Introduction - the main aims
The user interface
The visualisation
An example


Introduction - the main aims

The aim of the project was to create the user interface and visualise the simulation of the spread of pollution in urban area. The simulation has been implemented in the other project and this project has provided good communication and easy interaction between a user and the simulation.

The project has been developed under Microsoft Visual C++. This tool provides a relatively easy way of designing and implementing the user interface because of a possibility of using MFC (Microsoft Foundation Class) and therefore it has been selected. It is also supporting an object-oriented programming, which was applied during the project's development.


The user interface

The user interface provides a communication between the user and the simulation. The application is designed to be highly interactive, so that the user can set conditions, trigger the simulation and steer the whole process. All these actions are provided in an easy and quite intuitive way. The simulation is always recorded and there is a possibility of replaying it many times in order to notice the details. It can be also saved as a document, which can be opened afterwards. The user interface is quite complex and provides many mechanisms of controlling the simulation, replaying the recorded processes and watching the results, which make the interaction more effective. Among them the most important are:


The visualisation

The data resulting from the simulation are presented in a clear and smart way. This has been achieved by displaying the map of the simulated area, which presents streets and pollution concentration. Two different types of information are visualised. Colours derived from different shades of grey indicate the height of buildings. To visualise the level of pollution concentration, a smooth scale of colours from green to red has been applied. These two scales do not have common points, therefore they are easy to be distinguished and are working well together. The whole area is divided into small squares during the simulation. Each of these squares has its own level of pollution, which is interpolated and transformed into an appropriate colour. This solution provides relative smoothness of colours on the map and the original grid of squares is not visible.


An example

This example presents the appearance and visualisation solutions applied in Pollution Simulator.




The screenshots presented above show an example of a proceeded simulation. One screenshot was taken every four hours, so that all the day is covered by the simulation. It can be observed that pollution presented by colours scaled from green to red on the map is highly dependant on time and wind. For example during night the pollution concentration is low because of relatively low emission. It is also visible that the direction, in which pollution spreads, is dependant on the wind direction.





Back to the home page of Pollution Simulator