Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Analysing and Plotting OMNET++ results

I have run a VEINS/OMNET++ simulation using Cmdenv. Usually I used OMNET++ IDE to run simulation and would analyze the results within IDE. But now the results are on a server, is there any easier(convenient) way to analyze the results without importing it into OMNET++ IDE?

like image 516
aaa Avatar asked Jan 20 '16 18:01

aaa


People also ask

What is the use of OMNeT?

OMNeT++ (Objective Modular Network Testbed in C++) is a modular, component-based C++ simulation library and framework, primarily for building network simulators. OMNeT++ can be used for free for non-commercial simulations like at academic institutions and for teaching.

What is Ned in OMNeT?

NED (NEtwork Description) is the topology description language of OMNeT++. It has a simple syntax yet it is very powerful when in comes to defining regular topologies such as chain, ring, mesh, hypercube, tree structures etc. NED features in nutshell: hierarchical, typed module structure.

How do I create a project in OMNeT ++?

1.2 Setting up the projectOnce in the IDE, choose New -> OMNeT++ Project from the menu. A wizard dialog will appear. Enter tictoc as project name, choose Empty project when asked about the initial content of the project, then click Finish. An empty project will be created, as you can see in the Project Explorer.

How do I run simulation in OMNeT ++?

2.1 Launching the simulation programini (in either the editor area or the Project Explorer), and pressing the Run button. The IDE will build your project automatically. If there are compilation errors, you need to rectify those until you get an error-free compilation and linking.


2 Answers

There are various ways to analyze results without relying on the IDE.

  • One example would be to use R and the omnetpp Package. There is also an extensive tutorial explaining how to install and use the package.
  • Another way could be to write a parser for .scaand .vecfiles in Python and then analyze the files using SciPy.
like image 149
floxyz Avatar answered Oct 25 '22 08:10

floxyz


The best solution is to write an R script using omnetpp package, this is what i am currently doing, for the same purpose.

Under your server you can install R, then run the script with Rscript command

like image 26
HanniBaL90 Avatar answered Oct 25 '22 06:10

HanniBaL90