sat-trace-input-external-fading-example.cc File Reference

External input fading example application based on CBR example for satellite network. More...

#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/satellite-module.h"
#include "ns3/traffic-module.h"
+ Include dependency graph for sat-trace-input-external-fading-example.cc:

Go to the source code of this file.

Detailed Description

External input fading example application based on CBR example for satellite network.

Interval, packet size and test scenario can be given in command line as user argument. To see help for user arguments, execute the command

./waf –run "trace-input-external-fading-example --PrintHelp"

This example application sends first packets from GW connected user to UT connected users and after that from UT connected user to GW connected user.

This example uses additional fading input with normal fading calculations. The results can be directly compared with the output from "trace-output-example" to see the effects of additional fading.

This example uses the following trace for input:

  • external fading trace

The input folder is: {NS-3-root-folder}/contrib/satellite/data/fadingtraces

The input data files must be available in the folder stated above for the example program to read, otherwise the program will fail.

This example produces the following traces:

  • interference density trace
  • rx power density trace
  • fading trace
  • composite SINR

The output folders are: {NS-3-root-folder}/contrib/satellite/data/interferencetraces/output {NS-3-root-folder}/contrib/satellite/data/rxpowertraces/output {NS-3-root-folder}/contrib/satellite/data/fadingtraces/output {NS-3-root-folder}/contrib/satellite/data/compositesinrtraces/output

Definition in file sat-trace-input-external-fading-example.cc.