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?
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.
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.
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.
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.
There are various ways to analyze results without relying on the IDE.
.sca
and .vec
files in Python and then analyze the files using SciPy.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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With