I simulated a multi base station WSN (only the authentication requests) in NS3.
I have attached the .cc file. The output seems in order.
For small network (say, MU=3, BS=2, SN=4, CH=2) the runtime is in seconds ( 54.9 sec ). But the run time increases almost exponentially with the number of nodes.
MU | BS | CH | SN | run time |
5 | 5 | 5 | 50 | ~24 hrs |
10 | 5 | 7 | 70 | ~35 hrs |
15 | 5 | 10 | 100 | 48+ hrs (still running) |
This run time is special confusing as my supervisor stated similar networks in NS2 normally executed in around an hour.
I would be highly grateful is some points out my mistakes or suggests improvement.
(Reposting after deleting earlier topic because of unclear subject line)