Search code examples
omnet++veinssumo

How can I insert another model of antenna into the .NED of a traffic simulation?


I would like to introduce a Directional Antenna Model where I can change the gains of them so I can compare the results with the Default Omnidirectional Antenna (Isotropic Antenna) of the program.

I am using Veins 5.0, SUMO 0.19 and Omnet++ within the Github Carlogicapi found in https://github.com/burtonwilliamt/carlogicapi/blob/master/tutorials/VeinsTutorial/README.md

How can I do so? Should I create a new model and then insert it? if so where should I insert it? directly in the .ini ? how can I make omnet++ use the model I give him?

Here I have some useful links about the antenna's models I found in inet.omnetpp.org (https://inet.omnetpp.org/docs/showcases/wireless/directionalantennas/doc/)

would you give me a hand please? inet.omnetpp


Solution

  • The Veins 5.0 tutorial simulation sets the antenna pattern to use in line 87 of its omnetpp.ini https://github.com/sommer/veins/blob/veins-5.0/examples/veins/omnetpp.ini#L87. It also comes with a variety of other (more or less directional) antenna patterns (namely panorama and patch), which are stored in other fragments of the same xml file: https://github.com/sommer/veins/blob/veins-5.0/examples/veins/antenna.xml