31-03-2012, 11:44 AM
Guide to GloMoSim
Guide to GloMoSim.pdf (Size: 123.5 KB / Downloads: 102)
Disclaimer
Undeniably, there are already several existing GloMoSim tutorials and manuals out there, and the purpose of this guide is not to undermine the efforts and knowledge of previous authors, but to provide additional experiences from a novice user, working with routing protocols. ☺
If you are very familiar with the Linux operating system, then you should skip this guide totally and proceed on to “A Comprehensive GloMoSim Tutorial” – a compilation by Jorge Nuevo.
The installation procedures as follows apply only for Linux machines. In addition, the parameters herein serves only as a guideline for simulating network protocols. If you are planning to simulate for other purposes, the parameters to be used may differ, and you should consult relevant literature in your area of research for the commonly used parameters.
Configuration parameters
The GloMoSim configuration file “config.in” can be located under the path glomosim-2.03/glomosim/bin. It provides the configuration parameters for the simulation.
SIMULATION TIME
Adjust this according to the time period which you want to run your simulations. A typical simulation time is about 300 seconds, but this should vary according to the type of statistics which you are trying to obtain.
SEED
While this value is initially set to 1, you are free to change it to allow other initialization configurations for your node positions. In practice, we normally run about 10 simulations for each scenario, using different seed numbers, and then average the statistics being collected. This helps to reduce any arbitrary randomness of the nodes.
TERRAIN-DIMENSIONS
The units are in metres. A terrain size of 2000 metres by 2000 metres will usually work quite fine. If you would like to vary the average node density, you can either (i) adjust the number of nodes in the network; or (ii) adjust the terrain size.
NUMBER-OF-NODES
This is the number of nodes to be simulated in the network.
NODE-PLACEMENT
The usual practice is to use uniform or random placement of nodes. However, if you are planning to use some other mobility models not provided in the default GloMoSim package (such as Reference Point Group Mobility model), you can use a node generation software (such as BonnMotion, which will be explained later) to create a file containing the placement of nodes.