Skip to content

Simulating Manhattan Grid Mobility Model for VANET with SUMO

The Manhattan mobility model is an urban-type of mobility model for vehicular ad-hoc networks (VANET) and it uses a “grid road topology[6]. SUMO has different tools for creating and customizing road networks and traffic flows and traffic signals. In this article, we will use some of those tools available in SUMO to generate a random Manhattan Grid road network with random traffic flows and traffic, signals.

 

The netgenerate Tool

It is a tool/script that generates abstract road networks that may be used by other SUMO-applications.

The  following command will generate a random road network and will save it in the file Random.net.xml .

 

$ netgenerate –rand -o Grid.net.xml –rand.iterations=70

The following screenshot shows the successful creation of the road network.

 

The  following command will generate a random road network and will save it in the file Random.net.xml  but now it will contain traffic light information also.

$ netgenerate –rand -o Grid.net.xml –rand.iterations=70 -j “traffic_light”
 

The netedit Tool

It is a graphical network editor tool included with SUMO. It can be used to create new road network and can be used to edit the previously existing road network.

The following command will open the netedit GUI interface

$ netedit
The following is the netedit GUI interface:


 

Now we can open the random road network that we created with the netgenerate in the netedit GUI and edit it if required.

We may now edit the network as per our wish and requirement.

For example,

  • we may add a new edge (road segment) or even delete an existing one.
  • we may add vehicles at different locations/edges.
  • we may add traffic signals. 
  • one may explore the available options and customize the network

 

 

We can simulate vehicles in the created network. 

Sorry!!!. Some sections are hidden; because, you are only having restricted access to this article.

While getting paid support/assistance for your research from Charles, you may get an access key/password to some articles. If you are having the access key/password to this particular article, then please enter it below to unlock the restricted section of this article.

If your research is related to this area, and you want to get paid support/assistance from Charles, then you may start a 'free' research discussion with Charles.

Loading the configuration and simulating it in sumo-gui

sumo-gui is the same sumo simulator application with a graphical user interface.

The following command will open the sumo GUI

$ sumo-gui

 

Now we can open the configuration file “Grid.sumo.cfg”  and select “real world” view from the combo box.

The following screenshot shows the view of our grid road network.

 

If we zoom-in to the road network, we can see the traffic signals as follows :

The output of the Simulation

 

The following gif animation shows the output of the simulated Manhattan Grid road network scenario with traffic signals. Here the vehicles starts to appear from left top and travel to right bottom.

Sorry!!!. Some sections are hidden; because, you are only having restricted access to this article.

While getting paid support/assistance for your research from Charles, you may get an access key/password to some articles. If you are having the access key/password to this particular article, then please enter it below to unlock the restricted section of this article.

If your research is related to this area, and you want to get paid support/assistance from Charles, then you may start a 'free' research discussion with Charles.

Random Trips Example

The following gif animation shows the output of the simulated Manhattan Grid road network with random trips. Here the vehicles start to appear from all the directions on the four sides and start to move in a random way.

Related Articles

Creating Random Road Network, Traffic Flows, Signals in SUMO

References

  1. https://sumo.dlr.de/docs/netgenerate.html
  2. https://sumo.dlr.de/docs/Netedit/index.html
  3. https://sumo.dlr.de/docs/duarouter.html
  4. https://sumo.dlr.de/docs/sumo-gui.html
  5. https://sumo.dlr.de/docs/sumo.html
  6. https://en.wikipedia.org/wiki/Manhattan_mobility_model
  7. https://www.projectguideline.com/creating-random-road-network-traffic-flows-signals-in-sumo/

For Assistance in Protocol Implementation, Simulations & Analysis of Industrial as well as Scholarly Research Works, you may Contact Us.

WhatsApp chatDiscuss Through WhatsApp

Call 91 9843779735

Send an e-Mail Message.




This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.

WhatsApp Discuss Through WhatsApp