OSM MOBILITY MODEL

Introduction

ns-3 is a discrete event network simulator and the next major revision of ns-2. The OSM mobility model is an attemp to use OpenStreetmap Data to generate mobility models for ns3 (and other network simualtors as well). Often mobility models for network similators are based on a pure random basis (a node is placed on a random position on the map and move with velocity n to position m). This is often far from beeing perfect and sometimes the mobility model have a great influence to the results.

Focus of this project:

componenten-architecture
Munich
componenten-architecture
Manhattan - New York City
componenten-architecture
San Diegp

Usage

Internals

Note: I am no expert in the area of mercator projection, loxodromes or gudermannian functions! The implemenation is mainly based on mathematical formulas found in the internet.

Class Diagramm

class diagramm

Download

Git

Git checkout:

git clone http://git.internetendpunkt.de/osm-mobility.git

OSM Maps

Some maps are already prepared and ready for the simulation. You can download my files or download your own area files via the openstreetmap project. If you are new to openstreetmap then I suggest to take one of these files first:

Gnuplot Files

To generate maps equal to the figures above you can use the following gnuplot file: osm,gpi. This will generate two enhanced postscript (EPS) files. You can convert these files to PDF via epstopdf --outfile=osm.pdf osm.eps. Last but not least: to convert to a pixel based graphic type convert -density 300 osm.eps osm.png

References

Contact

For further questions, bug reports or any other interrupts: hagen@jauu.net


Valid HTML 4.01! Valid CSS!