NS2 has been widely used for network simulation for wired and wireless.
Me and friends get some fund from e-science fund to do the performance evaluation on available wireless sensor network routing protocol and suggests new improvement if any.
For simulation NS2 is suggested to be used in this project it is mainly because we know a little bit of NS2. It is open source and extensible. Researcher or user can add their own module as an extension for NS2.
So I think there are 2 main thing our group member should know:
For simulation NS2 is suggested to be used in this project it is mainly because we know a little bit of NS2. It is open source and extensible. Researcher or user can add their own module as an extension for NS2.
So I think there are 2 main thing our group member should know:
- The WSN technology itself including the architecture , routing , performance evaluation and so on.
- How to create new module on NS2
Of course there must be someone else who are conducting the same project. That's why it is important to do some literature survey and Internet search on what has been done by others. The top Google search result with keyword "NS2 for WSN" show this website URL:
Mannasim (www.mannasim.dcc.ufmg.br )
Maybe we should start from here?
Mannasim (www.mannasim.dcc.ufmg.br )
Maybe we should start from here?


26 comments
can u help me with my ns2? i need to create wsn topology
first of all, where are u from?
If you refer to my post, it shows that we are also start to learn to use NS2 for WSN simulation.
As suggested in this entry, we are going to use Mannasim as one of our option for WSN simulation. Why don't you have a try too? Good Luck ^_^
hi.
i am also starting to work on WSN on NS-2. I am also a newbie. SO wouls appreciate all the help i ca get... Mannasims a great start but i intend to simulate only particular protocols. Direct Distributed Algorith is one of them. Can some help me???
hi ^_^.. welcome to my blog
akhilgm,
I'm also newbie in WSN n wireless networking in NS2 ..
However I have some little experiences in using NS2 for wired networking.
I'm not sure whether the Direct Distributed Algorithm is implemented in NS2. If it is implemented then it will be no problem, else, users need to add their own module.
hey...
seems we complement each other... even though i am a newbie to NS-s. i have tried my hand at implementing ieee 802.11 in NS2... n the direct distributed algo module is what i need the most. unfortunately i cant find anything to help me create the module. any suggestions???
hey .. ^_^,
frankly speaking , I dont know about the direct distributed algo..
but if it is not implemented yet.. then it is up to user to create their own module. To create own module.. user need to know on how to extend ns2. Of course understanding C++ and OTcl are essential. I found a simple tutorial to do that : http://www-sop.inria.fr/mistral/personnel/Ahmad.Al_Hanbali/ns2/cours2.pdf
hi..i supposed to simulate WSN using ns2 and i have already installed ns2.29 under windows environment in my pc
the question is how can i simulate wsn for a given radio frequency 2.45GHZ..i need some guidance and hope u and the other might help..please..
for any information please contact me at phatnatics@yahoo.com
Hi hady,
Since mannasim is an extension of wireless support of NS2, you can change the frequency in the simulation script.
Phy/WirelessPhy set freq_ 2.45e+9
good luck!
thanx about the information. and how about the bandwidth? how much does it need for that frequency?
sorry hady,
It is up to you, based on your literature survey to determine the bandwidth value, maybe you can have a look on any standards , technical paper , or anything related to your project.
Good Luck
please tell me how to find some implemented code in sensor network
dear ahmad,
The sample code can be retrieved from the download section of mannasim..
http://www.mannasim.dcc.ufmg.br/download.htm
scroll down and there will be 2 examples there.
Hi..malar here.i need help regarding this ns2.29 which is new to me.im taking final year project regarding Improvement of QoS in Wireless Sensor Network and we need to use this ns2.29 to find out how this QoS can be improved by simulating routing algorithm..can u guide on how to do it.thank you
hey there....
i came across your blog and my dimming hopes suddenly rose high when i saw a few "newbies" on NS2 post stufff here....!! (hehe)
Frankly speaking i am totally new to NS2 and WSN both...and want to evetually implement an Adhoc WSN...For that i was suggested by a few people to first to first try my hands on NS2 for simulating the algorithms i wanna implement (sounds practical !!)...
Now i REALLY hope i have come to the right place here where i can find some basic help and guidance from all the bloggers here...
I dont want any kinda code from anyone...but I just want people to show a path of execution to me...
I hope i get an URGENT REPLY from the blog owner as well as other bloggers here...!!.
thanks...
Karan...
dear malar, sorry.. the blog owner is very busy. I cannot help but saying sorry since I cannot provide much time to help you.. Maybe other visitors can help u? YOu can read trough NS2 related article in this blog if it can assists
dear KARAN, sorry also for late reply.. Since I've taken quite a long time in replying this message.. I belive that you are already using NS2 and able to do simulation using it..
Hi! I am new to ns2. I want to simulate routing protocols for WSN. Could some one help me to estblish communication between wsn nodes. waiting for reply
hey everyone...i need an urgent assistance from whoever can provide...i am simulating WSN and i want to knw how can i let a node in the n/w find it's neighbours, using the "energy of the received signal" (i.e. the signal carrying a response to the "hello" message)...
i want to decrement a signal strength value "per unit time" or "per unit distance", so that i can get the value for the receieved signal ...but having probs implementing it...
SOMEBODY PLZ REPLY SOON...WITH A SOLUTION HOPEFULLY
thanks
Under /tcl/ex directory in ns-2.XX you can find a lot of examples.
They have the answer to a lot of questions made here.
thanks felix
hello everyone.... it seems that i am at the right place...guyz i need to simulate WSN using genetic algorithm as an optimization technique..... i dont know as to where i should start.... please help me on this....and what language am i supposed to use tcl or c++ or both and how do i run a c++ program in ns2??????
How to impleent WSN protocols like SPIN,GAF and LEECH in ns2 simulator.Previouslyi had simulated MANET protocls(DSR,AODV,DSDV) for various scenarios.But i don know how to start for WSN.I cant find any thing realted to it in NS2.What should i do for already installed ns2 to simulate WSN protocls.Plz help me..
Dear Abhilash, you can simulate WSN for Leach algorithm using mannasim TcL generator, ok
How to get energy of a node in ns2.29. Please help me.
There have been some unanswered questions regarding energy issues in previous posts. I am interested in implementing an energy harvesting protocol for which I need to know the energy of current node's neighbors and take the routing decisions. I would really appreciate any help in this matter.
Thank You.
Hi all,
I'm trying to implement new routing protocol for sensor networks. The LEACH example provided with mannasim was very useful to me but i wasn't able to read the leach script generate by script-generator-tools. Is there any format or source of unformation that can help me to know the meaning of each columns.
Any help woulb great.
Post a Comment