This is another Wireless Sensor Network simulator, this time in Python3.
Currently, three routing protocols are implemented: min-hop, ETX (mean delay) and Deadline Achievement Probability (DAP).
-
Clone the repository:
git clone https://github.com/mesepulveda/wsnsim.git
-
Change to the repository folder:
cd wsnsim
-
Create a virtual enviroment:
python3 -m venv venv
-
Activate the virtual enviroment:
source venv/bin/activate
-
Install the requirements:
pip3 install -r requirements.txt
-
Append the project’s root directory to PYTHONPATH:
export PYTHONPATH="${PYTHONPATH}:${PWD}"
python3 tests/simple_test.py
python3 tests/complex_test.py
python3 tests/pdf_test.py
python3 tests/paper_example.py
- Read the code.
- Read about
SimPy
and other dependencies. - If you still have questions, write to Matías Sepúlveda (mesepulveda@uc.cl).