Simran
Simran is a simulator for studying topological
properties of multi-hop wireless networks. Simran takes as input a
scenario file with initial positions and movements of nodes, and
generates a trace file containing metrics of interest such as average number of neighbours, averaged shortest path lengths over all pairs of nodes, reachability, connectivity, and number and size of connected components. Simran is also supported by a number of smaller programs for generating scenario files, managing simulations and for analysing results.
- Download and install files from here into the same
directory.
- Compile simrancc.c and rename the executable simrancc. You also need Perl installed and
in the path.
- config.pm contains simulation parameters with comments. Enter your simulation
paramters here.
- Run ./genscen to generate scenarios. The scenario files will be written in the
./sc directory; make sure it exists before running genscen.
- Run ./runset to run the simulations. The output from simrancc will be written
in the directory ./res; make sure it exists before running runset.
- ./avres summarizes the results of different runs.