A Practical Introduction to the OMNeT++ Simulation Framework
This chapter introduces OMNeT++ , a comprehensive software package that provides infrastructure and tools for writing simulations for communication networks and other distributed systems. One of the fundamental ingredients of this infrastructure is a gene
- PDF / 931,959 Bytes
- 49 Pages / 439.36 x 666.15 pts Page_size
- 91 Downloads / 399 Views
A Practical Introduction to the OMNeT++ Simulation Framework Andras Varga
1.1 Introduction OMNeT++1 is often quoted as a network simulator, but it is really a generic simulation framework for the research and development of complex distributed systems. During the many years it has been available, countless simulation models and model frameworks have been written on top of OMNeT++ by researchers in diverse areas: queuing, resource modeling, internet protocols, wireless networks, switched local area networks, peer-to-peer networks, media streaming, mobile ad-hoc networks, mesh networks, wireless sensor networks, vehicular networks, networks-on-chip, optical networks, high-performance computing systems, cloud computing, storage area networks, and more. Most of these model frameworks are open source, developed as independent projects and follow their own release cycles. One of most useful and largest model frameworks is the INET Framework, or INET for short. It provides protocols, agents, and other models for working with communication networks. INET is especially useful when designing and validating new protocols, or exploring new or exotic scenarios. Several other simulation frameworks take INET as a base and extend it into specific directions, such as vehicular networks (e.g., Veins which is introduced in Chap. 6), real-time Ethernet communication (e.g., CoRE4INET which is introduced in Chap. 10), overlay/peer-to-peer networks (e.g., OverSim), or Long Term Evolution (LTE) (e.g., SimuLTE which is introduced in Chap. 5). Veins, for example,
1 OMNeT++
community website: http://www.omnetpp.org.
A. Varga () Opensim Ltd, Budapest, Hungary e-mail: [email protected] © Springer Nature Switzerland AG 2019 A. Virdis, M. Kirsche (eds.), Recent Advances in Network Simulation, EAI/Springer Innovations in Communication and Computing, https://doi.org/10.1007/978-3-030-12842-5_1
3
4
A. Varga
offers a comprehensive suite of models for intervehicle communications. To that end, it uses components from INET and relies on co-simulation with a 3rd-party road traffic simulator. OMNeT++ provides a solid foundation and rich facilities for writing simulation frameworks like INET. The C++ simulation kernel provides support to structure and parametrize models, use event scheduling, add and control random numbers, collect statistical results, support graphics and animation, and much more. OMNeT++ comes with an Integrated Development Environment (IDE) that provides a comfortable environment for developing simulation models. Using the IDE is optional: model files can be edited in any text editor, and nearly all functionalities of the IDE are also accessible using command-line utilities. Simulations can be run under a graphical runtime environment (Qtenv) that supports 2D/3D animation and also allows one to explore the internal state of the model. A console-based runtime environment (CmdEnv) is provided for batch execution and other use cases that do not need a Graphical User Interface (GUI). While many network simulators have a more-or-
Data Loading...