基于omnet++的LEACH协议仿真

时间:2015-04-22 09:15:03
【文件属性】:
文件名称:基于omnet++的LEACH协议仿真
文件大小:136KB
文件格式:RAR
更新时间:2015-04-22 09:15:03
仿真 改进 代码 This is a simulation of LEACH (Low-Energy Adaptive Clustering Hierarchy), a well-known cluster-based protocol for sensor networks with an extension to make it solar-aware. This simulation was created for the following paper: Thiemo Voigt, Hartmut Ritter, Jochen Schiller, Adam Dunkels, and Juan Alonso. Solar-aware Clustering in Wireless Sensor Networks. In Proceedings of the Ninth IEEE Symposium on Computers and Communications, June 2004. http://www.sics.se/~thiemo/iscc2004Final.pdf Abstract: "Energy conservation plays a crucial in wireless sensor networks since such networks are designed to be placed in hostile and non-accessible areas. While battery-driven sensors will run out of battery sooner or later, the use of renewable energy sources such as solar power or gravitation may extend the lifetime of a sensor network. We propose to utilize solar power in wireless sensor networks and extend LEACH, a well-known cluster-based protocol for sensor networks to become solar-aware. The presented simulation results show that making LEACH solar-aware significantly extends the lifetime of sensor networks." The code contains two directories: one is a distributed LEACH version, the other one a centralized where the base station (assumed to know everything) chooses the optimal cluster head. The "optimal" is in the code approximated via rules that include some kind of geopgraphical criteria among others. In solar.h you choose if you want to have solar turned on or not and also set some other parameters. To compile on Linux: opp_makemake -f -N make On Windows with Visual C++: opp_nmakemake -f -N nmake -f Makefile.vc Hope you find the model useful. Thiemo Voigt (thiemo@sics.se) (model packaged by Andras Varga)
【文件预览】:
leachDist
----nodebase.cc(2KB)
----solar.h(2KB)
----node.cc(23KB)
----omnetpp.ini.on(1KB)
----RESULTS(6KB)
----runall.sh(157B)
----scripts()
--------parse_data.pl(2KB)
--------minitopology.pl(3KB)
--------meta.pl(1KB)
--------topology.pl(3KB)
--------avg.pl(1KB)
--------createtops.pl(506B)
--------parse_results.pl(1KB)
----node.h(3KB)
----nodebase.h(2KB)
----bs.cc(18KB)
----iscc2004Final.pdf(126KB)
----omnetpp.ini.off(1KB)
----bs.ned(1007B)
----solar.ned(2KB)
----node.ned(1021B)
----params.ini(19B)
----bs.h(2KB)
----omnetpp.ini(1KB)
----cl_msg.msg(2KB)
----RESULTS_DIST(3KB)

网友评论

  • 对于我来说没有多大作用啊 囧
  • 正好在學習omnet,可以參考
  • 毕业论文参考这个,很有用,内容对我很有用,谢谢分享。
  • 资源很好 omnet4.3下成功运行~~
  • 还好吧 需要改点东西才能运行
  • 还可以,内容挺容易看懂