Commit d95f07cb authored by Daniel Lukitsch's avatar Daniel Lukitsch Committed by praich
Browse files

Implementation finalized

parent 8cf15259
Pipeline #744 failed with stages
in 36 seconds
Showing with 137 additions and 159 deletions
+137 -159
......@@ -6,6 +6,6 @@ ID,x,y,z,Sender,Receiver,Interference Sender,Interference Receiver
4,201,274,0,,,,
5,290,339,0,,0,,
6,400,339,0,,,,
7,499,274,0,,,,
7,489,274,0,,,,
8,523,169,0,,,,
9,499,65,0,,,,
9,489,65,0,,,,
......@@ -23,7 +23,6 @@
#include "ns3/node.h"
#include "ns3/energy-module.h"
#include "ns3/lr-wpan-radio-energy-model-helper.h"
#include "ns3/aodv-ipv6-helper.h"
using namespace ns3;
......@@ -34,7 +33,7 @@ NS_LOG_COMPONENT_DEFINE (filename);
int main (int argc, char *argv[])
{
std::string simName = filename;
std::string protocol = "Aodv";
std::string protocol = "Flooding";
std::string input = "./examples/multicast/stdModel.csv";
uint32_t packetSize = 50;
......@@ -268,20 +267,6 @@ int main (int argc, char *argv[])
internetv6.Install (nodes.Get(it->first));
}
}
else if(protocol == "Aodv") // install aodv
{
AodvIpv6Helper aodv;
Ipv6ListRoutingHelper routingHelperWithAodv;
routingHelperWithAodv.Add (aodv, 0); // has effect on the next Install ()
internetv6.SetRoutingHelper(routingHelperWithAodv);
for(auto it = topology.begin(); it != topology.end(); it++)
{
if(std::get<3>(it->second) == -1 && std::get<4>(it->second) == -1)
internetv6.Install (nodes.Get(it->first));
}
}
else if(protocol == "Flooding")
{
......@@ -345,16 +330,6 @@ int main (int argc, char *argv[])
nodes.Get(nodeIndex)->GetObject<Ipv6L3Protocol>()->SetAttribute ("SendIcmpv6Redirect", BooleanValue (false));
}
else if(protocol == "Aodv")
{
Ptr<Icmpv6L4Protocol> icmpProtocol = nodes.Get(nodeIndex)->GetObject<Icmpv6L4Protocol>();
icmpProtocol->SetAttribute("DAD", BooleanValue(false));
icmpProtocol->SetAttribute("MaxUnicastSolicit", IntegerValue(0));
icmpProtocol->SetAttribute("MaxMulticastSolicit", IntegerValue(0));
nodes.Get(nodeIndex)->GetObject<Ipv6L3Protocol>()->SetAttribute ("SendIcmpv6Redirect", BooleanValue (false));
}
else
{
NS_LOG_ERROR("Wrong protocol specified!");
......@@ -371,10 +346,6 @@ int main (int argc, char *argv[])
{
clientHelper.SetAttribute("RemoteAddress", AddressValue (interfaces.GetLinkLocalAddress(std::get<1>(it->second))));
}
else if(protocol == "Aodv")
{
clientHelper.SetAttribute("RemoteAddress", AddressValue (interfaces.GetAddress(std::get<1>(it->second), 0)));
}
else
{
NS_LOG_ERROR("Wrong protocol specified!");
......
ID,x,y,z,Sender,Receiver,Interference Sender,Interference Receiver
0,0,0,0,1,,,
1,110,0,0,,0,,
......@@ -25,4 +25,4 @@ plt.show()
#g.savefig("FacetGrid.pdf", bbox_inches='tight', dpi = 300)
#f.savefig("relplot.pdf", bbox_inches='tight', dpi=300)
h.figure.savefig("artificialSend.pdf", bbox_inches='tight', dpi=300)
\ No newline at end of file
h.figure.savefig("artificialSend.svg", bbox_inches='tight', dpi=1200)
\ No newline at end of file
simFile,SimRuns,Protocol,simName,nodeCfg,Mobility-Model,Seed-Value,packetSize [Bytes],numPackets,SendIntervall [ms],simEndTime [s],Transmit Power [dBm],channel Nr,interferencePacketSize [Bytes],interferenceSendIntervall [ms],Interference Transmit Power [dBm],Interfence Channel,MPL Proactive,MPL Reactive,MPL Seed-Lifetime [Min],MPL Data Imin [ms],MPL Data Imax,MPL Data K,MPL Data Expirations,MPL Control Imin [ms],MPL Control Imax,MPL Control K,MPL Control Expirations,Flooding Hops,EnergyModel Enable,InitialBatteryEnergy [Joules]
Generic_Model,1,Mpl,Line_2_Mpl_1D0C_EnergyEvaluation,./examples/multicast/Line_2_EnergyEvaluation.csv,fixed,1234,20,60,60000,5,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
simFile,SimRuns,Protocol,simName,nodeCfg,Mobility-Model,Seed-Value,packetSize [Bytes],numPackets,SendIntervall [ms],simEndTime [s],Transmit Power [dBm],channel Nr,interferencePacketSize [Bytes],interferenceSendIntervall [ms],Interference Transmit Power [dBm],Interfence Channel,MPL Proactive,MPL Reactive,MPL Seed-Lifetime [Min],MPL Data Imin [ms],MPL Data Imax,MPL Data K,MPL Data Expirations,MPL Control Imin [ms],MPL Control Imax,MPL Control K,MPL Control Expirations,Flooding Hops,EnergyModel Enable,InitialBatteryEnergy [Joules]
Generic_Model,5,Mpl,Line_10_Mpl_1D0C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_2D0C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_1D1C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_2D1C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_2D2C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,Line_10_Flooding_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_1D0C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_2D0C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_1D1C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_2D1C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_2D2C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,Square_5x5_Flooding_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_1D0C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_2D0C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_1D1C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_2D1C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_2D2C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,Circle_10_Flooding_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D0C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D0C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D1C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D1C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D2C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,RandomLine_10_Flooding_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D0C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D0C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D1C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D1C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D2C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,RandomRectangle_10_Flooding_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_1D0C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_2D0C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_1D1C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_2D1C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_2D2C_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,Circle_10_Flooding_battery,./examples/multicast/Circle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_2D0C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_1D1C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_2D1C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_2D2C_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,Line_10_Flooding_battery,./examples/multicast/Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_1D0C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_2D0C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_1D1C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_2D1C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_2D2C_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,Square_5x5_Flooding_battery,./examples/multicast/Square_5x5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D0C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D0C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D1C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D1C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D2C_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,RandomLine_10_Flooding_battery,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D0C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D0C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D1C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D1C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D2C_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,RandomRectangle_10_Flooding_battery,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
......@@ -53,33 +53,3 @@ Generic_Model,5,Mpl,Circle_10_Mpl_2D1C,./examples/multicast/Circle_10.csv,fixed,
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D1C,./examples/multicast/Random_Line_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_5_Mpl_2D1C,./examples/multicast/Random_Rectangle_5.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D1C,./examples/multicast/Random_Rectangle_10.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D1C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_1D0C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_2D0C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_1D1C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_2D2C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,Line_100_Flooding,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_2D1C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D1C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D1C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D1C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_Mpl_1D0C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D0C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_1D1C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D2C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_1D0C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D0C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_1D1C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D2C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,Square_15x15_Flooding,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_1D0C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D0C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_1D1C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D2C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,RandomLine_100_Flooding,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_1D0C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D0C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_1D1C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D2C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,RandomRectangle_100_Flooding,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Flooding,SquareLineSquare_100_Flooding,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
simFile,SimRuns,Protocol,simName,nodeCfg,Mobility-Model,Seed-Value,packetSize [Bytes],numPackets,SendIntervall [ms],simEndTime [s],Transmit Power [dBm],channel Nr,interferencePacketSize [Bytes],interferenceSendIntervall [ms],Interference Transmit Power [dBm],Interfence Channel,MPL Proactive,MPL Reactive,MPL Seed-Lifetime [Min],MPL Data Imin [ms],MPL Data Imax,MPL Data K,MPL Data Expirations,MPL Control Imin [ms],MPL Control Imax,MPL Control K,MPL Control Expirations,Flooding Hops,EnergyModel Enable,InitialBatteryEnergy [Joules]
Generic_Model,5,Mpl,Square_15x15_Mpl_2D1C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D1C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D1C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,SquareLineSquare_Mpl_1D0C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D0C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_1D1C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D2C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,FALSE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_1D0C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D0C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_1D1C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D2C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,FALSE,50000000
Generic_Model,5,Flooding,Square_15x15_Flooding,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,FALSE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_1D0C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D0C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_1D1C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D2C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,FALSE,50000000
Generic_Model,5,Flooding,RandomLine_100_Flooding,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,FALSE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_1D0C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D0C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,FALSE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_1D1C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,FALSE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D2C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,FALSE,50000000
Generic_Model,5,Flooding,RandomRectangle_100_Flooding,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,FALSE,50000000
Generic_Model,5,Flooding,SquareLineSquare_100_Flooding,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,FALSE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D1C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_1D0C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_2D0C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_1D1C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_2D2C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,Line_100_Flooding,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Mpl,Line_100_Mpl_2D1C,./examples/multicast/Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D1C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D1C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D1C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_Mpl_1D0C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D0C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_1D1C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,SquareLineSquare_100_Mpl_2D2C,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_1D0C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D0C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_1D1C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,Square_15x15_Mpl_2D2C,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,Square_15x15_Flooding,./examples/multicast/Square_15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_1D0C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D0C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_1D1C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomLine_100_Mpl_2D2C,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,RandomLine_100_Flooding,./examples/multicast/Random_Line_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_1D0C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D0C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_1D1C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,50000000
Generic_Model,5,Mpl,RandomRectangle_100_Mpl_2D2C,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,50000000
Generic_Model,5,Flooding,RandomRectangle_100_Flooding,./examples/multicast/Random_Rectangle_100.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
Generic_Model,5,Flooding,SquareLineSquare_100_Flooding,./examples/multicast/SquareLineSquare_15x15-15-15x15.csv,fixed,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,50000000
......@@ -29,33 +29,33 @@ Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D1C_random,./examples/multicast/Rand
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D1C_random,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500000
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D2C_random,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500000
Generic_Model,5,Flooding,RandomRectangle_10_Flooding_random,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500000
Generic_Model,5,Mpl,Line_10_Mpl_1D0C_random_battery_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_2D0C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_1D1C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_2D1C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_2D2C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,Line_10_Flooding_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_1D0C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_2D0C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_1D1C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_2D1C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Square_5x5_Mpl_2D2C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,Square_5x5_Flooding_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_1D0C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_2D0C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_1D1C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_2D1C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,Circle_10_Mpl_2D2C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,Circle_10_Flooding_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D0C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D0C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D1C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D1C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D2C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,RandomLine_10_Flooding_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D0C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D0C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D1C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D1C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,500
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D2C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,500
Generic_Model,5,Flooding,RandomRectangle_10_Flooding_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,500
Generic_Model,5,Mpl,Line_10_Mpl_1D0C_random_battery_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_2D0C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_1D1C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_2D1C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Line_10_Mpl_2D2C_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,Line_10_Flooding_random_battery,./examples/multicast/Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_1D0C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_2D0C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_1D1C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_2D1C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Square_5x5_Mpl_2D2C_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,Square_5x5_Flooding_random_battery,./examples/multicast/Square_5x5.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_1D0C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_2D0C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_1D1C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_2D1C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,Circle_10_Mpl_2D2C_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,Circle_10_Flooding_random_battery,./examples/multicast/Circle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D0C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D0C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_1D1C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D1C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomLine_10_Mpl_2D2C_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,RandomLine_10_Flooding_random_battery,./examples/multicast/Random_Line_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D0C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,1,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D0C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,FALSE,30,1000,3,1,2,3000,3,1,0,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_1D1C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,1,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D1C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,1,,TRUE,40
Generic_Model,5,Mpl,RandomRectangle_10_Mpl_2D2C_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,TRUE,TRUE,30,1000,3,1,2,3000,3,1,2,,TRUE,40
Generic_Model,5,Flooding,RandomRectangle_10_Flooding_random_battery,./examples/multicast/Random_Rectangle_10.csv,random,1234,20,60,60000,3800,0,11,,,,,,,,,,,,,,,,125,TRUE,40
......@@ -15,6 +15,12 @@
#include "ns3/sixlowpan-helper.h"
#include "ns3/netanim-module.h"
#include "ns3/statistics-helper.h"
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/multi-model-spectrum-channel.h>
#include "ns3/lr-wpan-radio-energy-model-helper.h"
#include "ns3/energy-module.h"
#include "ns3/lr-wpan-module.h"
using namespace ns3;
......@@ -22,14 +28,12 @@ static const std::string filename = "aodv-lrwpan";
int main (int argc, char **argv)
{
LogComponentEnable ("AodvIpv6RoutingProtocol", LOG_LEVEL_ALL);
// LogComponentEnable ("AodvIpv6RoutingProtocol", LOG_LEVEL_ALL);
// LogComponentEnable ("AodvIpv6RoutingTable", LOG_LEVEL_ALL);
LogComponentEnable ("Ping6Application", LOG_LEVEL_ALL);
// LogComponentEnable ("Ping6Application", LOG_LEVEL_ALL);
std::string simName = filename;
std::string protocol = "Flooding";
std::string input = "./examples/multicast/stdModel.csv";
std::string path = "./output/" + simName + "/";
NodeContainer nodes;
......@@ -38,7 +42,7 @@ int main (int argc, char **argv)
/// Distance between nodes, meters
double step = 50;
/// Simulation time, seconds
double totalTime = 20;
double totalTime = 50;
/// Write per-device PCAP traces if true
bool pcap = true;
/// Print routes if true
......@@ -58,6 +62,9 @@ int main (int argc, char **argv)
LrWpanHelper lrWpanHelper;
StatisticsHelper statHelper;
auto folderName = "results";
std::system(("rm -rf " + path).c_str());
std::system(("mkdir -p " + path + folderName).c_str());
std::cout << "Creating " << (unsigned)size << " nodes " << step << " m apart.\n";
nodes.Create (size);
......@@ -82,8 +89,30 @@ int main (int argc, char **argv)
LrWpanHelper lrwpanHelper;
NetDeviceContainer netDevices = lrwpanHelper.Install(nodes);
LrWpanSpectrumValueHelper svh;
Ptr<SpectrumValue> psd = svh.CreateTxPowerSpectralDensity (0, 11); // 0dBm and channel 11
BasicEnergySourceHelper basicSourceHelper;
basicSourceHelper.Set ("BasicEnergySourceInitialEnergyJ", DoubleValue (100));
basicSourceHelper.Set ("PeriodicEnergyUpdateInterval", TimeValue (Simulator::GetMaximumSimulationTime())); // do not reload the battery
EnergySourceContainer sources = basicSourceHelper.Install(nodes);
LrWpanRadioEnergyModelHelper radioEnergyHelper;
DeviceEnergyModelContainer deviceModels = radioEnergyHelper.Install (netDevices, sources);
for(int it = 0; it < nodes.GetN(); it++)
{
Ptr<LrWpanPhy> phy = netDevices.Get(it)->GetObject<LrWpanNetDevice>()->GetPhy();
phy->SetAttribute("TxPower", DoubleValue(0)); // 0dBm
phy->SetTxPowerSpectralDensity(psd);
statHelper.Install(nodes.Get(it), DynamicCast<LrWpanNetDevice>(netDevices.Get(it)), 1, totalTime);
}
lrwpanHelper.AssociateToPan(netDevices, 10);
lrwpanHelper.EnablePcapAll("aodv_lrwpan", true);
lrwpanHelper.EnablePcapAll(path + simName, true);
AodvIpv6Helper aodv;
// you can configure AODV attributes here using aodv.Set(name, value)
......@@ -93,7 +122,7 @@ int main (int argc, char **argv)
if (printRoutes)
{
Ptr<OutputStreamWrapper> routingStream = Create<OutputStreamWrapper> ("aodv.routes", std::ios::out | std::ios::trunc);
Ptr<OutputStreamWrapper> routingStream = Create<OutputStreamWrapper> (path + simName + "aodv.routes", std::ios::out | std::ios::trunc);
aodv.PrintRoutingTableAllAt (Seconds (4), routingStream);
}
......@@ -116,7 +145,7 @@ int main (int argc, char **argv)
p.Start (Seconds (0));
p.Stop (Seconds (totalTime) - Seconds (0.001));
AnimationInterface anim ("lrwpan-aodv.xml");
AnimationInterface anim (path + simName+ ".xml");
anim.EnablePacketMetadata (); // Optional
std::cout << "Starting simulation for " << totalTime << " s ...\n";
......@@ -125,8 +154,6 @@ int main (int argc, char **argv)
Simulator::Run ();
Simulator::Destroy ();
auto folderName = "results";
std::system(("mkdir -p " + path + folderName).c_str());
statHelper.PrintResultsCsvStyle(nodes, path + folderName + "/" + simName + ".csv", true, true);
return 0;
......
......@@ -296,8 +296,8 @@ LrWpanRadioEnergyModel::ChangeState (int newState)
SetLrWpanRadioState (newState);
// some debug message
std::cout << "LrWpanRadioEnergyModel:Total energy consumption is " <<
m_totalEnergyConsumption << "J" << std::endl;
NS_LOG_DEBUG ("LrWpanRadioEnergyModel:Total energy consumption is " <<
m_totalEnergyConsumption << "J");
}
m_nPendingChangeState--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment