nunofranciscomoreira / UDMSim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--- UDMSim v1.0 - June 2020 ---

UDMSim is a simulation platform for underwater data muling oriented systems that combines an AUV simulator and the Network Simulator 3 (ns-3). This package contains a set of traces generated by the AUV simulator and the ns-3 code of the UDMSim. This software is a work in progress and is presented as is. Further improvements are being developed.

How to Run a UDMSim Simulation:

-> Copy "src/application.h" and "src/application.cc" to the ns3 folder "src/network/model/" -> Copy "src/bulk-send-application.h" and "src/bulk-send-application.cc" to the ns3 folder "src/applications/model/" -> Copy "src/waypoint-mobility-model.h" and "src/waypoint-mobility-model.cc" to the ns3 folder "src/mobility/model/" -> Copy "src/propagation-loss-model.h" and "src/propagation-loss-model.cc" to the ns3 folder "/src/propagation/model" -> Copy the "mule_traces" and "output" folders to ns3 instalation folder (root).

Configure ./waf:

CXXFLAGS="-Wall -g -O0" ./waf configure

Run command example:

a) 1 data mule docks at the auv using the perfect navigation mode to travel 100m, and retrieve 200MB of data using 20MHz channel BandWidth. ./waf --run "scratch/udmsim --seed=1 --data=200 --mules=1 --phy=0 --freq=20 --type=PFT --distance=100 --go_to_auv='mule_traces/docked/mission_100m_nocurr_perfectnav/100mperfectnav_go.csv' --return_from_auv='mule_traces/docked/mission_100m_nocurr_perfectnav/100mperfectnav_return.csv' --travel_times='mule_traces/docked/mission_100m_nocurr_perfectnav/100mperfectnav_timings.csv'"

b) 1 data mule hovers at 1m over the auv using the imperfect navigation mode to travel 100m, and retrieve 200MB of data using 5MHz channel BandWidth. ./waf --run "scratch/udmsim --seed=1 --data=200 --mules=1 --phy=1 --freq=5 --type=IPFT --distance=100 --go_to_auv=mule_traces/1m/mission_100m_nocurr_imperfectnav/100mimperfectnav_go.csv --return_from_auv=mule_traces/1m/mission_100m_nocurr_imperfectnav/100mimperfectnav_return.csv --travel_times=mule_traces/1m/mission_100m_nocurr_imperfectnav/100mimperfectnav_timings.csv"

For more info, please contact Nuno Moreira (nuno.f.monteiro@inesctec.pt) or Filipe B. Teixeira (fbt@inesctec.pt) https://grow.inesctec.pt © INESC TEC 2020

About


Languages

Language:C++ 99.3%Language:Python 0.7%