The simulation uses BitSimulator. You need to download and compile it. This is version 0.9.5+ with added source code implementing the rings and SLR with RD TS-OOK.
Download beta.sh
and scenario.xml
into the BitSimulator directory (where the bitsimulator
executable is).
Change to the bitsimulator
directory and run beta.sh
from it using this command: ./beta.sh
. This takes some time (about 3 hours on my laptop), and requires around 15 GB of free storage.
You will then find all the results in congestion/results.txt
of these tables:
Figure 3 ("Scenario with beta= 1000") and Figure 4 ("Scenario with beta= 100") are the first packet of each flow in VisualTracer. The command used is: ./visualtracer -D congestion -s 100000000000
(the source inter-packet interval is 100000000000 fs = 100000 ns).
scenario.xml
describes the scenario to be executed. It is executed for variants of the scenario for different betas, source inter-packet intervals, different modulations with and without error correction codes. It runs for 5 flows of 100 packets each in the network of 20000 nodes.
beta.sh
:
scenario.xml
to the directory congestion
and runs all scenarios in the same directory.scenario.xml
each time (according to the new beta or source inter-packet interval, TSOOK or RD TS-OOK or maxBitError).bitsimulator
and outputs all results in congestion/results.txt
file. results.txt
displays a line about the current scenario, the number of packets received by each destination node, the cumulative number of data ignore events and data collision events for this scenario.