This file gives an example of satellite constellations. More...
#include "ns3/applications-module.h"
#include "ns3/config-store-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"
Go to the source code of this file.
Functions | |
int | mainGeoTwoSats (uint32_t packetSize, std::string interval, std::string configurationFolder, std::string startDate, Ptr< SimulationHelper > simulationHelper) |
int | mainLeo (uint32_t packetSize, std::string interval, std::string configurationFolder, std::string startDate, Ptr< SimulationHelper > simulationHelper) |
This file gives an example of satellite constellations.
User must choose which constellation to simulate from all available in satellite/data/constellations Two main methods are implemented depending on the use of GEO or LEO constellations (different parameters)
Definition in file sat-constellation-example.cc.
int mainGeoTwoSats | ( | uint32_t | packetSize, |
std::string | interval, | ||
std::string | configurationFolder, | ||
std::string | startDate, | ||
Ptr< SimulationHelper > | simulationHelper | ||
) |
Set regeneration mode
Use constellation
Enable ACM
Set simulation output details
Enable packet trace
Definition at line 45 of file sat-constellation-example.cc.
References ns3::SimulationHelper::CBR, ns3::SimulationHelper::FWD_LINK, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, ns3::SatEnums::REGENERATION_NETWORK, ns3::SimulationHelper::RTN_LINK, and ns3::SimulationHelper::UDP.
int mainLeo | ( | uint32_t | packetSize, |
std::string | interval, | ||
std::string | configurationFolder, | ||
std::string | startDate, | ||
Ptr< SimulationHelper > | simulationHelper | ||
) |
Set regeneration mode
Use constellation
Use constellation with correctly centered beams (used for testing)
When using 72 beams, we need a 72*nbSats network addresses for beams, so we take margin
Enable ACM
Set simulation output details
Enable packet trace
Definition at line 243 of file sat-constellation-example.cc.
References ns3::SatTrafficHelper::FWD_LINK, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, ns3::SatEnums::REGENERATION_NETWORK, and ns3::SatTrafficHelper::RTN_LINK.