Simple Network Simulator (sim2net) is a discrete event simulator of mobile ad hoc networks (MANETs).
Simple Network Simulator (sim2net) is a discrete event simulator of mobile ad hoc networks (MANETs) implemented in Python. 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.
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 email@example.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
The full documentation can be found on readthedocs.org.