Simple Network Simulator (sim2net)

Simple Network Simulator (sim2net) is a discrete event simulator of mobile ad hoc networks (MANETs) implemented in Python (version 2.7). The simulator allows us to simulate networks of a given number of nodes that move according to the selected mobility model, run custom applications, and communicate only by sending application messages through wireless links.

Installation

There are two possibilities to install the sim2net simulator: with the use of the pip installation tool, or from the source code obtained from GitHub.

1. Using the pip installation tool

$ sudo pip install sim2net

2. Manually from the source code

Step 1. Clone the project:

$ git clone git@github.com:mkalewski/sim2net.git sim2net
$ cd sim2net

Step 2. Run install:

$ sudo python setup.py install

“Hello World” example

$ sim2net -i .
$ sim2net ./configuration.py ./application.py

Indices and tables