I am working on a project that requires simulating MANET models such as (Random Walk, Random Direction, etc.) in NS2 Simulator (I installed NS 2.34).
Actually, it is the first time that I use this tool. As I have read, NS2 supports Random Way Point Mobility Model.
What about other mobility models? how can I simulate them in NS2?
Thanks in Advance,
We can use the following tool which can support Random Direct and Random Walk:
RandomTrip project
Related
I am trying to implement a paper where the architecture is an urban cell having zone head as LTE base station that allocates tasks dynamically to mobile fog nodes which are cars. The cars are connected to LTE base station as they enter the cell and the zone head keeps track of when they are going to leave the cell. Each car also interacts with its neighbour cars using DSRC (one-hop communication) to know which car nodes are in its proximity.
I don't know which package to use to set up this architecture and how to set up it.
The package used in the paper in VeinsLTE but I cannot find enough help for getting started.
Please enlist some references or getting started with a vehicular fog network.
Or please tell me what steps should I take to build this architecture.
VeinsLTE was a project that allowed SimuLTE to be used with Veins. In more recent versions of SimuLTE and Veins, neither needs additional modifications to work with each other. If you want to give it a try, you can simply download an Instant Veins version that already includes SimuLTE.
I wanted to compare the energy consumption of directional vs omnidirectional antennas in WSN specifically. Couple of questions:
1-) How the direction of the incoming signal determined? In which parameter the nodes (both sender and receiver) can store it? simply I need to find out the signal's coming angle if possible. I guess there is sth in Castalia related to that.
2-) The coordinator node's coordinates should be specified, isn't it?
3-) Any tutorial on the Battery depletion models for Castalia?
4-) If I just accept/transmit signals from/to a certain direction (with higher gain) can this be regarded quick-dirty directional antenna? How can this be done?
5-) I need more examples on these, especially on 802.15.4 stuff.
Sorry just a beginner in Castalia...
Thanks...
There is no directional signal propagation model in Castalia, so you can't use Castalia for your purposes. You could built that model for Castalia, but this is a huge task.
There is no connection between the directionality of signal (physical layer) and the MAC protocol used (MAC layer). I am not sure why you are asking about it.
The battery model is yet another topic (note: it's better not to ask multiple unrelated questions within a StackOverflow question). Castalia's battery depletion model is a the most simple one: linear depletion. Other people have built more advanced models but I am not sure they are publicly available.
I'm doing network simulation using Omnet ++ software and castalia. so i want to know how to plot power consumption, RSSI value curves
thanks in advance
This question's answer is dependent on what software you're using exactly. OMNeT++ provides a suite and toolchain for visualization, but as user Thanassis points out below, Catalia has its' own specialized evaluation tools.
For general OMNeT++ simulations
The OMNeT++ tutorial covers this in quite a lot of detail. Basically:
tell OMNeT++ what data you're recording (by editing the .ned files) using the #statistic annotation
modify the simulation to track the data you're interested in, either over simulation time (referred to as vectors) or per simulation (referred to as scalars), basically using emit().
make sure that your simulation (omnetpp.ini) is set up to collect the statistics (by setting e.g. histogram or vector as the type of collected data)
use either the graphical OMNeT++ interface or your own scripts to analyze the output of the simulation (which is, by default, stored in a folder called results wherever you're running the simulation, unless you change that in the omnetpp.ini)
Please also refer to these related questions:
How to collect traffic data and macroscopic statistics in Veins?
Calculating end-to-end delay for SimpleServerApp in Veins-LTE
I am a beginner about Veins. Now I am trying to simulate dynamic adjustment of the transmission power and speed between 2 running vehicles based on their distance with each other with Veins 4.5, Omnet 5.0 and Sumo 0.29.
So far I have built the Sumo model and run the model in Omnet but without any programming which means the transmission power and speed between 2 vehicles are all set in the .ini file. Now I want to implement an algorithm to adjust them dynamically.
As a beginner I barely know how to start this job. The Veins tutorial didn't tell how to apply the functions provided by Veins. I now build a new .cc file based on our .ned file. And from MyVeinsApp.cc I found some methods I need to implement. But still I need some programming instructions about my problem.
1 how to get the realtime distance between 2 running vehicles?
2 is it possible to control the transmission power and speed with Veins 4.5?
I am sorry for these initial questions.But I really don't know how to develop a Veins simulation from the very beginning step by step at the programming level
Thank you very much!
To get the distance between two vehicles you can use the built-in function distance() from Coord (see this post).
To control the transmit power you can use the parameter txPower from Mac1609_4.
For changing the speed of the vehicle you can check this post.
What are the addresses of some websites that offers random numbers from physical sources? I'm looking both for free services and services that cost money.
I have been using http://www.random.org/, and i like it. Generates random numbers from atmospheric noise, and also is capable of generate:
coin flips
dice rolling
card shuffling
among others, take a look at it.
HotBits:
Genuine random numbers, generated by radioactive decay.
HotBits are generated by timing successive pairs of radioactive decays detected by a Geiger-Müller tube interfaced to a computer.
Once the random bytes are delivered to you, they are immediately discarded—the same data will never be sent to any other user and no records are kept of the data at this or any other site.
Secure Server HotBits Request
Sounds like the Quantum Random Bit Generator may be of use ? It relies on photonic emission in semiconductors and the detection thereof by photoelectric effect.
They supply command line and library/API access via various different platforms/frameworks.
www.Random.org
Apparently they use Atmospheric noise to generate they're numbers though I'm not sure if they've published their algorithms.
Many Linux systems have a /dev/random device built in. That provides random numbers from physical sources.
The random number generator gathers
environmental noise from device
drivers and other sources into an
entropy pool
See http://en.wikipedia.org/wiki/Urandom