Abstract
A model of agent-based simulation of communicating vehicles is presented to study the information spreading in a vehicular ad hoc network (VANET). The agents are moving along the fastest paths between their starting points and their destinations on real urban topo-logy. During the motion, they can exchange information by short-range wireless communication. The goal is to analyze the statistical properties of the information spreading in the system, e.g. the time evolution of the average awareness or the age distribution of information owned by separate vehicles.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Several smart city services are based on information dissemination in vehicular networks that is why the topic is in the focus of scientific research in the last couple of years. These applications try to make the urban traffic safer and our life even more comfortable. In order to increase the efficiency of these intelligent transportation systems the topological properties of urban road maps were analyzed [1, 2], the traffic flow was measured and studied [3]. Different algorithms and methods were developed to simulate the motion of vehicles and generate traffic in urban or in highway environment [4,5,6]. Several communication protocols were introduced to ensure the communication of moving wireless devices using eighter Dedicated Short Range Communication (DSRC) or for example IEEE 802.11p standard [7,8,9]. In VANETs both the routing [10,11,12] and the broadcasting [4, 13] is actively investigated fields.
Nevertheless, there are open questions still related to the statistical properties of the general spreading processes in VANETs. The goal of this research is to create a new framework in order to be able to answer some of the questions. What are the limits of the information spreading? Can we reach all actors of the traffic system based only on self-organization? Do all vehicles own up-to-date information? Similar questions have been appeared and already answered in social networks [14, 15], but due to the continuously changing topology, the characteristics of spreading can be very different.
In Sect. 2 authors give some introduction how the realistic urban topology is built up. It is followed by the details of the simulation of vehicular motion in Sect. 3. The spreading of information based on carry-and-forward and multihop broadcast dissemination schemes is presented in Sect. 4 and then the first results of our investigation are shown in Sect. 5. This paper is closed by some conclusions.
2 Underlying Map Topology of Simulations
In order to reach realistic simulation environment, a real city map is applied as an underlying topology. The map of the authors’ city was planned to apply. A very detailed dataset is available from the OpenStreetMap project [16]. For the later agent based simulation a much more simplified topology is needed, that is why the source was reduced keeping the topology of crossroad network and the distances between junctions, but losing the real geographical locations of road sections.
According to the original .osm format any crooked road can be build up from shorter straight segments and the geographical coordinates of their endpoints are given. In this way, a road section between crossroads can be described by a list of internal nodes with degree 2. In our traffic approach, the shape of a road section is negligible and only the length of the section is important. This was the base of our topology simplifying method. In case of any two road segments between nodes \(A - B\) and nodes \(B - C\), node B was eliminated if it has no other neighbors than A and C, merging the segments to only one longer segment between nodes \(A - C\) with a distance equal to the sum of lengths of the previous segments (Fig. 1).
Thus the map of Debrecen was reduced to a network of only 3422 nodes (junctions) connected by 4812 links (road sections). It was found that 84% of crossroads connects 3 or 4 roads. In the unit of linknumber (ignoring road length) the diameter of the network is 96. Taking into account the geographical distances the average distance between two crossroads is 121.5 m, however, the distribution is quite wide, there is almost 3 orders of magnitude difference between the shortest and the longest road section. (See the inset of Fig. 2.)
3 Motion of Vehicles
It was assumed that vehicles proceed from their randomly chosen starting node toward their randomly chosen destination node along the fastest path because drivers usually use a route with the shortest travel time instead of the shortest distance route. The original dataset contains information about the rank of all road segments (for example: primary, secondary, residential, living street, etc.). The average speeds of cars depend on the rank of the road. Based on the speed prediction/offer of the Google Maps [17] different average velocity is applied in case of different road rank. Thus the shortest and the fastest route can be different.
Between two neighboring nodes, all vehicles proceed with constant velocity, at a crossroad they turn according to their route (and perhaps change speed). Traffic jams, traffic lights or the finite size of vehicles are not taken into account during the simulation because from the point of view of the later spreading process the short-term fluctuations of the speed of cars are negligible.
When a new vehicle is departed in the system it needs to get a route that is a node sequence to move along from the given location to the destination. Since the generation of shortest/fastest routes in a network of several thousand nodes is very time consuming, more than one million different random routes are generated and stored only once before the traffic simulation. In this way, the simulation itself can be fast because each vehicle just chooses a random route from the stored possibilities. However, the source and destination nodes are random the density of the traffic is really diversified due to the topology (connectivity, ranks).
It was assumed that the number of moving cars in the system at a given time can be constant because the simulated time interval is small compared to the daily life cycle of a city or the duration of rush-hours traffic. At the beginning of the simulation, the cardinality of vehicles is N. Later, when a vehicle arrives to its destination, it was removed and immediately a new one is initialized and started. At the beginning of the time evolution of the system, all the cars are just departed. In order to avoid artificial transient effects the measurement is started only later (\(t=0\)) when the system become randomized, however, the simulation is started at \(t=-T_0\). The length of the randomization time interval (\(-T_0 \le t <0\)) is longer then the most of trips (\(T_0=750\) s, average travel time is \(459 \pm 261\) s, see the main panel of Fig. 2), so when the scientific observation is started all the initial cars have been arrived and others are launched in different time moments.
The simulation is stopped at \(t=T_{max}\). The time interval of the analysis (\(0\le t \le T_{max}\)) is enough long to cover several generations of vehicles, so the total number of simulated cars (\(N_t\)) is at least five times greater the number of cars at a given moment (\(N_t > 5N\)). The time evolution of the system is discrete. The time step \(\varDelta t\) is enough to move only a few meters, so it is tiny compared to the whole simulation time \(\varDelta t \ll T_0+T_{max}\).
4 Spreading of Information
In this system, smart vehicles are represented by agents which can interact by short-range communication. If the distance of two vehicles at a given time moment is less than the range R of the wireless communication, they can exchange information. Based on this, in our model the agents can have two different states. On the one hand agent i can be uninformed, so it has not received any data (denoted by \(S_i=0\)). On the other hand, it can be informed, so it has already got some data (denoted by \(S_i=1\)). Beside this Inter-Vehicular Communication (IVC) there is Vehicle-to-Roadside Communication (VRC) as well. In the latter case the On Board Units (OBU) of smart vehicles can receive information from Road Side Units (RSU). In our first model initially all agents are in uninformed state and only one RSU is present, playing the role of an information source. When an agent passes by the RSU it receives a new up-to-date information (e.g. traffic or weather alert). The agent stores it together with the actual time stamp and later it shares with others within the communication range. If one of these neighboring agents is uninformed it becomes informed. If both agents in the contact have been already informed, the agent with older time stamp will update its knowledge storing the newer information with the given timestamp. Thus information can spread in this dynamically changing network from the RSU to any vehicle even if they have never passed by the RSU. In order to characterize agent i in detail we introduce the quantity \(\tau _i\) which is the latest/newest time stamp of information owned by the informed agent i or \(\tau _i=-1\), if agent i is uninformed. (So \(\tau _i>0\) is the simulation time when the given information entered into the system by the RSU.) The behavior of the system is shown in Fig. 3.
At simulation time t an informed agent i have information with age \(A_i=t-\tau _i\). The average age of information \(\left\langle A \right\rangle \) owned by agents can be written as
where \(N^i\) is the number of informed agents, defined as \(N^i=\sum _i S_i\). Large value of \(N^i\) indicate extensive information spreading. When the average age of information \(\left\langle A \right\rangle \) is low, it means that our smart traffic system is in an up-to-date phase. Thus the number of informed agents \(N^i\) and the average age of information \(\left\langle A \right\rangle \) are good measures of the effectiveness of information spreading in VANET.
5 Results
While an SI (Susceptible-Infected) model is applied more and more agents become informed. Nevertheless, the system never reaches a fully informed state, because of the continuously changing set of agents. Organically new, uninformed agents appear in the system, while informed ones disappear. Investigating the time evolution of the agents it was found that the system reaches a steady state described by saturating functions. In Fig. 4 one can observe that at \(t=0\) (when the RSU is just activated) there is no informed agents in the system, but soon some agents pass by the information source of the infrastructure. Then the vehicles carry the information during their motion to different places of the city meanwhile they also behave as information sources speeding up the spreading of information so leading to increasing \(N^i(t)/N\) function with a significant slope.
After a quite short time period, a dominant proportion of agents are in the informed state, spreading slows down resulting in saturation of the number of informed agents. The average movement of vehicles during a simulation step \(\varDelta t\) is the half of the applied range of communication R. (Of course, increasing range R speeds up the spreading.) Due to this, the propagation of information can be faster then the motion of vehicles, so that is why we reach saturation so quickly. The \(N^i(t)/N\) curves never reach 1.0, the saturation level depends on the number of agents (the density of smart vehicles in the city). It is illustrated in the inset of Fig. 4. As we can observe the information coverage of VANET can be effective only if the number of smart vehicles exceeds a given threshold (about few hundreds of vehicles in Debrecen).
The number of informed agents is proved to be relatively high in the system, but the really important questions are the follows. How old is the average information? Is the system in an up-to-date phase continuously? The average information age as a function of time \(\left\langle A \right\rangle (t)\) can give the answers. It is illustrated in Fig. 5 the most of agents have relatively young information. Recent information from RSU overwrites the system very quickly without any outer control. Of course the level of \(\left\langle A \right\rangle (t)\) (far from the opening time period) determined by the number of agents. More smart vehicles lead to a more up-to-date system. (See the inset of Fig. 5.) The average age of information is even less than the length of time period needed to reach the saturation of the number of informed agents.
6 Summary
An agent-based model of information spreading in VANET was presented. The time-dependent network topology of agents was based on the motion of smart vehicles. The changing set of vehicles (with constant cardinality) are following their routes based on shortest travel time between the randomly selected start and destination points of a real city. Due to the short-range communication moving vehicles can receive information from each other or from fix infrastructure unit(s). In this ad hoc network, the statistical properties of information spreading can be investigated. Above a threshold of smart vehicles information spreads in a very fast way, and a dominant part of the system can be in an up-to-date state.
However this work is mainly focused on the implementation of the model, the some results of the computer simulation show that there are hidden potentials in the introduced complex system. In our further research, we try to find answers to essential, practical questions. What happens if the RSU is removed (turned off)? How does an old information die out? How to avoid the presence old (fake, not up-to-date) information? What is the effect of the introduction of an Susceptible-Infected-Susceptible (SIS) model (forgetting old information)? How to optimize spreading reducing the number of information exchanges (energy efficiency), but keeping system in an up-to-date phase? What is the topology of this ad hoc communication network?
References
Porta, S., Crucitti, P., Latora, V.: The network analysis of urban streets: a dual approach. Phys. A 369, 853–866 (2006)
Jiang, B.: A topological pattern of urban street networks: universality and peculiarity. Phys. A 384, 647–655 (2007)
Yan, Y., Zhang, S., Tang, J., Wang, X.: Understanding characteristics in multivariate traffic flow time series from complex network structure. Phys. A 477, 149–160 (2017)
Zeadally, S., Hunt, R., Chen, Y.S., Irwin, A., Hassan, A.: Vehicular ad hoc networks (VANETS): status, results, and challenges. Telecommun. Syst. 50, 217–241 (2012)
Fiore, M., Härri, J., Filali, F., Bonnet, C.: Vehicular mobility simulation for VANETs. In: 40th Annual Simulation Symposium (ANSS 2007), Norfolk, pp. 301–309 (2007)
Bátfai, N., Besenczi, R., Mamenyák, A., Ispány, M.: Traffic simulation based on the robocar world championship initiative. Infocommun. J. 7, 50–58 (2015)
Salvo, P., de Felice, M., Baiocchi, A., Cuomo, F., Rubin, I.: Timer-based distributed dissemination protocols for VANETs and their interaction with MAC layer. In: IEEE 77th Vehicular Technology Conference, Dresden, pp. 1–6 (2013)
Malla, A.M., Sahu, R.K.: A review on vehicle to vehicle communication protocols in VANETs. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 3, 409–414 (2013)
Xu, Q., Sengupta, R., Mak, T., Ko, J.: Vehicle-to-vehicle safety messaging in DSRC. In: Proceedings of the 1st ACM International Workshop on Vehicular Ad Hoc Networks, pp. 19–28 (2004)
Nishtha, D.M.: Vehicular ad hoc networks (VANET). Int. J. Adv. Res. Electron. Commun. Eng. 5, 1003–1008 (2016)
Gong, J., Xu, C.Z., Holle, J.: Predictive directional greedy routing in vehicular ad hoc networks. In: 27th International Conference on Distributed Computing Systems Workshops (ICDCSW 2007), Toronto, p. 2 (2007)
Ramakrishna, M.: DBR: distance based routing protocol for VANETs. Int. J. Inf. Electron. Eng. 2, 228–232 (2012)
Sanguesa, J.A., Fogue, M., Garrido, P., Martinez, F.J., Cano, J.C., Calafate, C.T.: A survey and comparative study of broadcast warning message dissemination schemes for VANETs. Mob. Inf. Syst. 1–18 (2016). Article no. 8714142
Varga, I.: Comparison of network topologies by simulation of advertising. In: Gusikhin, O., Méndez Muñoz, V., Firouzi, F., Mønster, D., Chang, C. (eds.) Proceedings of the 2nd International Conference on Complexity, Future Information Systems and Risk (COMPLEXIS 2017), pp. 17–22. SciTePress (2017)
Kocsis, G., Varga, I.: Agent based simulation of spreading in social-systems of temporarily active actors. In: Wąs, J., Sirakoulis, G.C., Bandini, S. (eds.) ACRI 2014. LNCS, vol. 8751, pp. 330–338. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11520-7_34
OpenStreetMap contributors (2017). https://www.openstreetmap.org
Google Maps (2017). https://maps.google.com
Acknowledgments
Imre Varga is supported by the EFOP-3.6.1-16-2016-00022 project. The project is co-financed by the European Union and the European Social Fund.
Attila Némethy is supported by the EFOP-3.6.3-VEKOP-16-2017-00002 pro-ject. The project is co-financed by the European Union and the European Social Fund.
Map data copyrighted OpenStreetMap contributors and available from https://www.openstreetmap.org.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Varga, I., Némethy, A., Kocsis, G. (2018). Agent-Based Simulation of Information Spreading in VANET. In: Mauri, G., El Yacoubi, S., Dennunzio, A., Nishinari, K., Manzoni, L. (eds) Cellular Automata. ACRI 2018. Lecture Notes in Computer Science(), vol 11115. Springer, Cham. https://doi.org/10.1007/978-3-319-99813-8_15
Download citation
DOI: https://doi.org/10.1007/978-3-319-99813-8_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-99812-1
Online ISBN: 978-3-319-99813-8
eBook Packages: Computer ScienceComputer Science (R0)