GithubHelp home page GithubHelp logo

Comments (1)

procodemechanics avatar procodemechanics commented on May 29, 2024

Upon running more trials and experimenting with the distribution of number of sender and receiver nodes, the main take away is that increasing the size of packet and the number of vehicles in the simulation results in this error. I also observe the following :

  1. For less dense network of vehicles, the above problem only arises when a lot of senders are grouped together.
    For example, suppose I have 100 cars in the simulation where the Alert packet sent is of size 10 bytes,
    `.car[0..49].udpApp[].typename = "AlertSender"

.car[49..99].udpApp[].typename = "AlertReceiver"`

If the senders are grouped in smaller groups and uniformly distributed amongst the receiver nodes, the error is not encountered. For example,
`.car[0..4].udpApp[].typename = "AlertSender"

.car[5..9].udpApp[].typename = "AlertReceiver"

.car[10..14].udpApp[].typename = "AlertSender"

.car[15..19].udpApp[].typename = "AlertReceiver"

...`

If the Alert packet size is increased to 300 bytes, this above distribution of 50 Senders and 50 Receivers encounters the same error. However, if I reduce the number of senders to 25 and have 75 receivers instead of 50, the simulation works without error.

  1. For highly dense vehicle network, with suppose 400 vehicles, and packet size of 300 bytes, this sender to receiver ratio (as seen in point 1 to be 25:75) needs to drop even further to somewhere about 5:75 to have a proper simulation run.

Why is this behavior observed when the only thing changing is the number of vehicles?

from simulte.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.