Posts Tagged With ‘OMNeT++&8217

OMNET++ INET 802.11e Throughput Problem

It seems Omnet++ Inet still has problems with 802.11 mac layer  implementation.  The problem I face is, throughput decreases to half when the Max Contention Window  parameter is set to same value with Min Contention Window. I made the experiment with throughput example supplied in Inet. Simulation environment is set up as 1 AP and 1 Station when cwMinData and cwMaxData is set same value throughput is measured around 2.7 Mbps. Interesting thing is it is same regardless of the value I set (3, 7, 32 …). With 1 AP and 1 Station there shouldn’t be a collision and throughput shouldn’t decrease. I asked forums and reported as bug but still couldn’t find a solution. I guess I’ll be looking for alternative simulation environment, may be ns3?

Fixing OMNET++ on Mac OS X 10.9 Mavericks

Upgrading to Mac OS X 10.9 Mavericks breaks OMNET++, some actions required to get it working correctly. Here is the steps that I followed;

  1. Install latest Xcode 5.0.1 from Mac App Store
  2. Install command line tools  xcode-select –install
  3. Install macports Mavericks build
  4. Install gcc version 4.7 via macports
    sudo port selfupdate
    sudo port install gcc47
    sudo port select –set gcc mp-gcc47
    After this point you can compile OMNET++ and get working but, I faced problems when running simulations like missing icons/images in simulation. I think Tcl library has issues with Mavericks, in my case it has to reinstall too.
  5. sudo port install tcl
    sudo port install tcllib
  6. Now, edit configure.user in OMNET++ source directory
    TK_LIBS=”-L/opt/local/lib -ltk8.6 -ltcl8.6″
  7. Now you can follow OMNET++ standard installation instructions.


Book Review: Learning OMNeT++

Last week I read Learning OMNeT++ , the book is published by Packt Publishing which is about popular network simulation software. Book is 102 pages and it is easy to read and follow, it took a few days to go over and finish it. It is available in  pdf, epub and Kindle formats which is good.

Book covers OMNET++ IDE, network structure, models, basic and compound modules, simulation environment, evaluation of simulation results and INET framework with example simulations.

It is a good resource to start learning OMNET++.  It’d be nice if wireless related topics was included too. If you want to make quick start to OMNET++, I’d recommend reading the book: Learning OMNET++.

Learning OMNET++

Learning OMNET++



Simulating Wireless Sensor Network with OMNet++ on Mac OS X Lion

There are several network simulators available which are design for different purposes. Quick google will result survey papers discussing these simulator both advantages, disadvantages and usage areas. After deep diving into these simulator environments, OMNeT++ is the best logical option for simulating WSN (Wireless Sensor Networks). OMNeT++ is available as commercial and academic uses and actively developed.

Also, OMNeT++ provides infrastructure to develop components top off on it and WSN is available as 3rd party component. OMNeT++ models are available in its website. Mixim is a modeling framework for mobility and fixed networks which is necessary simulating wireless networks with OMNeT++.

OMNeT++ 4.2.1 and MiXiM 2.2.1 is greatly integrated and works well under Mac OS X Lion. After installing OMNeT++ MiXiM is imported into workspace and compiled under OMNeT++. To be able to compile and build tools latest XCode version is needed.