Highly robust medium access control (MAC) protocols prolong network lifetime. MAC protocols are generally classified into six categories: Scheduled-based, Contention-based, low duty cycle MAC, Hybrid MAC, Real time MAC and Mobility-based MAC. Now it depends on you what kind of MAC protocol, you want to implement and modify. I will highlight some of simulators which provide reasonable support for MAC over Wireless Sensor Networks.
I start unfamiliar but good simulator COOJA that provides the best platform for simulationg / emulating WSNs MAC protocols especially creating compatible topology for MAC.
It is included in Contiki version 2.0. You will get more information how to install this simulator on following link.
DEFT NETZ is another unfamiliar but good choice for crating network topology and providing the cross layering support but needs to understand fully the working process of this simulator otherwise will be complicated.
JiST / SWANS can be good candidate for cross layering support, connecting MAC with network layer.
Castalia on Omnet++ can be considered as good candidate for handling the mobility and provision of multiple channel support.
OPNET is also good option for developing new MAC protocols and changing in the existing MAC protocols but I will not recommend to go with OPNET because you cannot get 100% realistic results.
If you want to do modification at parameter levels then NS2 and NS3 are best suitable options. In addition, NS2 and NS3 can be considered strong candidate for MAC layer that can provide the better flexibility for accessing the channel, slot-reuse concept, Scheduling, hierarchically level change, new implementation mobility support, handling scalability, provision of automatic buffering process etc.
Even I would suggest my friends to use Qualnet Simulator for WSN experiments. Personally I would recommend for NS-2 Simulator for any WSN research work.
For WSN simulations I personally use NS2 and Matlab. NS2 is far more accurate and provide results almost the same as in the real world experiments. MatLab is much easier to use (or at least for me it is), but there are lot of factors and parameters you can’t include when performing simulations with it (without rewriting the whole code).
TOSSIM is also great, but requires a lot of knowledge and time. The good thing with it is that once you have a ready code you can run it first as a simulation (and evaluate the results) and then port the code to a real world sensor and retest the code in the real world.
There is nothing more accurate than a real WSN testbed.
So the choice is up to you – if you wish to go for simulation and real world experiments – go for TOSSIM (or Xubuntos – Ubuntu distribution with built-in TOS). If you wish to make highly reliable simulations – use NS2. If you wish to run fast and not so accurate simulations – use MatLab.
I would also suggest another very good paper, which was written a bit ago, but it is still up to date and can give a good overview of simulation tools:
Lessmann et al, Comparative Study of Wireless Network Simulators, 2008.
If you are working on IEEE 802.15.4 MAC and you want to know about network simulators relevance, then I recommend you our paper entitled: " Wireless Sensor Network Simulators Relevance compared to a real IEEE 802.15.4 Testbed"
You can download it here: http://hal-upec-upem.archives-ouvertes.fr/docs/00/62/03/96/PDF/1569391955.pdf
The choice depends on what changes to the MAC protocol you wish to make. If you are interested in changing simulation parameters, like maximum retry limit, topology setup, or traffic generation then execution file type simulators like NS or Qualnet are better options. If you want to change the MAC protocol code, like handshake mechanisms, frame header structures, etc. then hierarchically structured simulators, like Opnet would be a better option. Just be prepared for a steep learning curve when you start changing protocol (non-parametric) behaviour in a simulator.
A good strategy, if you are targeting motes and designing a MAC for the TinyOS protocol suite, might be to prototype and explore initial design choices using the TOSSIM simulator; and then evaluate real-world effects (radio propagation vagaries etc,) with an experimental testbed like MoteLab.
You can also have a look on the Contiki operating system. It is the first OS that implements an IP stack for ressource constrained devices. It includes a simulator (Cooja). Programming is done using pure C. I think that contiki could be used to carry experiments for MAC layer on IP-enabled WSN.
How to implement Non orthogonality of Multi channel MAC layer protocol for wsn?And How Overlapping channels are utilized to get more efficient protocol?
Since the performance of MAC protocol in WSN heavilty depends upon the underlying channel model. Castalia provides multiple realistic channel models to simualte path loss. Additionally, it has got mobality modelel, energy consumption model and the facility to simulate clock skew between the sensor nodes.
I will recommend Castalia, due to the ability to get help from the Castalia forum hosted by the authors. Although Castalia is not straight forward, if you are motivated and determined you will get good results and appreciate the efforts at the end!!!!
OPNET is a good industry standard simulator. It is also has helpdesk support. But it is a license software. MAC layer is easy to modify and understand.
Highly robust medium access control (MAC) protocols prolong network lifetime. MAC protocols are generally classified into six categories: Scheduled-based, Contention-based, low duty cycle MAC, Hybrid MAC, Real time MAC and Mobility-based MAC. Now it depends on you what kind of MAC protocol, you want to implement and modify. I will highlight some of simulators which provide reasonable support for MAC over Wireless Sensor Networks.
I start unfamiliar but good simulator COOJA that provides the best platform for simulationg / emulating WSNs MAC protocols especially creating compatible topology for MAC.
It is included in Contiki version 2.0. You will get more information how to install this simulator on following link.
DEFT NETZ is another unfamiliar but good choice for crating network topology and providing the cross layering support but needs to understand fully the working process of this simulator otherwise will be complicated.
JiST / SWANS can be good candidate for cross layering support, connecting MAC with network layer.
Castalia on Omnet++ can be considered as good candidate for handling the mobility and provision of multiple channel support.
OPNET is also good option for developing new MAC protocols and changing in the existing MAC protocols but I will not recommend to go with OPNET because you cannot get 100% realistic results.
If you want to do modification at parameter levels then NS2 and NS3 are best suitable options. In addition, NS2 and NS3 can be considered strong candidate for MAC layer that can provide the better flexibility for accessing the channel, slot-reuse concept, Scheduling, hierarchically level change, new implementation mobility support, handling scalability, provision of automatic buffering process etc.