mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 18:13:57 +02:00
Fix meaning of beam elevation angle
This commit is contained in:
parent
333abfcdd4
commit
fb9950c8cc
3 changed files with 23 additions and 12 deletions
|
@ -34,9 +34,9 @@ int main(int argc, char *argv[])
|
|||
std::vector<Orbit> orbits = {
|
||||
Orbit (1150, 53.0, 32, 50),
|
||||
Orbit (1110, 53.8, 32, 50),
|
||||
Orbit (1130, 74.0, 8, 50),
|
||||
Orbit (1275, 81, 5, 75),
|
||||
Orbit (1325, 70, 6, 75),
|
||||
// Orbit (1130, 74.0, 8, 50),
|
||||
// Orbit (1275, 81, 5, 75),
|
||||
// Orbit (1325, 70, 6, 75),
|
||||
};
|
||||
NodeContainer satellites;
|
||||
for (Orbit orb: orbits)
|
||||
|
|
|
@ -30,14 +30,23 @@ public:
|
|||
uint16_t sats;
|
||||
};
|
||||
|
||||
|
||||
// Starlink
|
||||
//Orbit (1150, 53.0, 32, 50),
|
||||
//Orbit (1110, 53.8, 32, 50),
|
||||
//Orbit (1130, 74.0, 8, 50),
|
||||
//Orbit (1275, 81, 5, 75),
|
||||
//Orbit (1325, 70, 6, 75),
|
||||
|
||||
// Telesat
|
||||
//Orbit (1000.0, 99.5, 6, 12),
|
||||
//Orbit (1248.0, 37.4, 5, 9),
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
std::vector<Orbit> orbits = {
|
||||
Orbit (1150, 53.0, 32, 50),
|
||||
Orbit (1110, 53.8, 32, 50),
|
||||
Orbit (1130, 74.0, 8, 50),
|
||||
Orbit (1275, 81, 5, 75),
|
||||
Orbit (1325, 70, 6, 75),
|
||||
};
|
||||
NodeContainer satellites;
|
||||
for (Orbit orb: orbits)
|
||||
|
@ -69,12 +78,14 @@ int main (int argc, char *argv[])
|
|||
islNet = islCh.Install (satellites);
|
||||
|
||||
LeoChannelHelper utCh;
|
||||
utCh.SetConstellation ("StarlinkUser");
|
||||
utCh.SetConstellation ("TelesatUser");
|
||||
utNet = utCh.Install (satellites, stations);
|
||||
|
||||
// Install internet stack on nodes
|
||||
AodvHelper aodv;
|
||||
//aodv.Set ("HelloInterval", TimeValue (Minutes (1)));
|
||||
// This is far better for performance (huge network)
|
||||
aodv.Set ("EnableHello", BooleanValue (false));
|
||||
//aodv.Set ("HelloInterval", TimeValue (Seconds (10)));
|
||||
//aodv.Set ("TtlStart", UintegerValue (2));
|
||||
//aodv.Set ("TtlIncrement", UintegerValue (1));
|
||||
//aodv.Set ("TtlThreshold", UintegerValue (20));
|
||||
|
@ -128,7 +139,7 @@ int main (int argc, char *argv[])
|
|||
serverApps.Stop (Minutes (1));
|
||||
clientApps.Stop (Minutes (1));
|
||||
|
||||
Simulator::Stop (Minutes (1));
|
||||
Simulator::Stop (Minutes (10));
|
||||
Simulator::Run ();
|
||||
Simulator::Destroy ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue