everybody!
I want to simulate a large-scale (more than thousand nodes) satellite network,e.g.,starlink_p1 constellation with 1584 satellites.
We model satellite as router, and each router connects to a standhost for generating traffic. We use the up-to-date version of OMNET with INET4.4 in Ubuntu20.04, and the topology file (NED) and config file(ini) are complete as the following.
However, when we run the simulation by the means of Cmdenv, the simulation has been initializing for more than a day. I wonder if there's something wrong with my setting, or if omnet does not support large-scale simulation with 1584 nodes.
I look forward to your reply, thanks.
NED.file:
package inet.examples.inet.MegaCons;
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.inet.Router;
import inet.node.inet.StandardHost;
network Starlink_p1_grid_topo
{
parameters:
int n = 1584;
types:
channel Intra_channel extends ned.DatarateChannel
{
delay = 2.2ms;
datarate = 1Gbps;
ber = 1e-7;
}
channel Ref_channel extends ned.DatarateChannel
{
datarate = 1Gbps;
ber = 1e-7;
}
submodules:
sat[n]: Router {
gates:
pppg[4];
ethg[1];
}
H1: StandardHost {
gates:
ethg[1];
}
H2: StandardHost {
gates:
ethg[1];
}
configurator: Ipv4NetworkConfigurator {
@display("p=66,93");
}
connections allowunconnected:
sat[125].ethg++ <--> Ref_channel <--> H1.ethg++;
sat[853].ethg++ <--> Ref_channel <--> H2.ethg++;
//------intra-plane ISLs----------------
for orb = 0..23,for orb_sat = 0..65 {
sat[24*orb + orb_sat].pppg++ <--> Ref_channel <--> sat[24*orb + orb_sat + 1].pppg++ if (24*orb + orb_sat < 66*(orb + 1) - 1);
sat[24*orb + orb_sat].pppg++ <--> Ref_channel <--> sat[24*orb + orb_sat - 65].pppg++ if (24*orb + orb_sat == 66*(orb + 1) - 1);
}
//------inter-plane ISLs----------------
for orb_sat = 0..65,for orb = 0..23 {
sat[orb_sat + 24*orb].pppg++ <--> Ref_channel <--> sat[orb_sat + 66*(orb + 1)].pppg++ if (orb < 23);
sat[orb_sat + 24*orb].pppg++ <--> Ref_channel <--> sat[orb_sat + 66*(orb - 23)].pppg++ if (orb == 23);
}
}
INI file :
[General]
network = Starlink_p1_grid_topo
sim-time-limit = 30s
**.module-eventlog-recording = false
**.sndNxt.statistic-recording = true
**.sndTime.statistic-recording = true
**.rcvSeq.statistic-recording = true
**.rcvTime.statistic-recording = true
**.packetSent.statistic-recording = true
**.packetReceived.statistic-recording = true
**.endToEndDelay.statistic-recording = true
**.throughput.statistic-recording = true
**.**.statistic-recording = false
**.**.bin-recording = false
[Config test]
**.H*.numApps = 2
**.app[0].typename = "UdpBasicApp"
**.app[0].destPort = 1234
**.app[0].messageLength = 128B
**.app[0].sendInterval = 0.1s
**.app[0].startTime = 10s
**.app[0].stopTime = 20s
**.H2.app[0].destAddresses = "H1"
**.H1.app[0].destAddresses = "H2"
**.app[1].typename = "UdpEchoApp"
**.app[1].localPort = 1234