Code Monkey home page Code Monkey logo

ioannismavromatis / multithread-inet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from v2x-dev/multithread-inet

1.0 0.0 0.0 32.71 MB

Multi-threaded INET Framework for V2X Communications

License: GNU General Public License v3.0

Python 0.97% Makefile 0.06% HTML 0.16% CSS 0.02% Batchfile 0.08% XSLT 0.17% Tcl 0.14% Shell 0.26% R 0.24% Perl 6 0.01% Perl 0.61% C++ 94.14% Lex 0.10% C 0.30% Yacc 0.51% FreeMarker 0.12% NSIS 0.01% TeX 2.11%

multithread-inet's Introduction

Multi-threaded INET Framework for V2X Communications

This is multi-threaded version of INET Framework. Our implementation is able to reduce the simulation time, ensuring seamless integration with the existing scenarios of a user. Our code is based on the legacy INET Framework and it has been modified accordingly. The INET Framework is an open-source suite for wired, wireless, and mobile networks.

Multi-threaded Versions 3.6.4 and 4.0

Two different versions of the multithreaded INET framework are provided. The first one is based on ver. 3.6.4-394571f (multithreaded_inet_3.6.4). The second one, is based on ver. 4.0-576b2dc (multithreaded_inet_4.0). Both versions provide the same functionality described above. Either one can be chosen based on the versions of OMNeT++, Veins, and SUMO that will be used.

For our research purposes, we modified the functions below:

  • visitObject in the PhysicalEnvironment class.
  • visit in the DielectricObstacleLoss class.

We also introduced the notion of the distanceBoundary under within the ScalarAnalogueModel class.
For further details about our modifications, please refer to our paper https://github.com/v2x-dev/multithread-inet/blob/master/ieeevnc2018.pdf and our poster https://github.com/v2x-dev/multithread-inet/blob/master/poster_ieeevnc2018.pdf.

Licence

This code is freely available under the GNU General Public License v3.0, found in the LICENCE file.
If this code is used for drafting a manuscript, all we ask is to cite the following papers:

@INPROCEEDINGS{multithreadedINET,
        author={I. Mavromatis and A. Tassi and R. J. Piechocki and A. Nix},
        title = {{Parallel Implementation of the OMNeT++ INET Framework for V2X Communications}},
        booktitle={Proc. of IEEE Vehicular Networking Conference (VNC) 2018},
        year = 2018,
        month = {Dec},
}
@INPROCEEDINGS{fullStackV2X,
        author={I. Mavromatis and A. Tassi and R. J. Piechocki and A. Nix},
        booktitle={2017 IEEE Vehicular Networking Conference (VNC)},
        title={{Agile Calibration Process of Full-Stack Simulation Frameworks for V2X Communications}},
        year={2017},
        doi={10.1109/VNC.2017.8275604},
        ISSN={2157-9865},
        month={Nov},
}

Requirements

The code is compatible with Linux (Ubuntu 16.04 LTS) and OS X 10.12 and 10.13. The version 3.6.4, is compatible with OMNeT++ 5.2.1 and Veins 4.6. The SUMO Traffic Generator (ver. 0.30.0) is required to generate the vehicle routes. The version 4.0 is compatible with OMNeT++ 5.4.1 and Veins 5 alpha 1. The SUMO ver. 1.0.1 is required for that case. All the above tools should be pre-installed. Please refer to the links below for detailed guides of how to install them.

For information about how to use Veins with INET and OMNeT++, please refer to Veins_INET sub-module (website).

How to Use it

  1. Our Multi-threaded INET project should be imported in OMNeT++. For more information, please refer to OMNeT++ Documententation.
    • Ensure that no other version of the INET Framework is opened in OMNeT++.
  2. The Multi-threaded INET project should be later compiled (Build Project in OMNeT++).
  3. Veins and Veins_INET projects should be imported in OMNeT++ and compiled as well.
  4. At the omnetpp.ini, please add the following lines:
Scenario.physicalEnvironment.numberOfThreads = 4
Scenario.radioMedium.analogModel.distanceBoundary = 1000
  1. The Scenario is the name of the network to be simulated in OMNeT++. The numberOfThreads can be modified accordingly to the machine used (please refer to our paper for more information and the difference in the performance introduced). Finally, the distanceBoundary can be modified with regard the scenario and the granularity required from the user.

Useful Links

More information about Veins vehicular network simulation framework can be found in Veins website.
More information about the INET Framework can be found in INET Framework's website.
More information about OMNeT++ can be found in OMNeT++ website and under the documentation page.
More information about SUMO Traffic Genetator can be found in SUMO's website.

multithread-inet's People

Contributors

andreatassi avatar ioannismavromatis avatar v2x-dev avatar

Stargazers

 avatar

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.