• 大小: 136KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-23
  • 语言: C/C++
  • 标签: 仿真  改进  代码  

资源简介

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)

资源截图

代码片段和文件信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      17926  2006-06-04 02:48  leachDist\bs.cc

     文件       2138  2006-04-06 18:49  leachDist\bs.h

     文件       1007  2006-04-06 15:39  leachDist\bs.ned

     文件       1845  2006-04-06 20:34  leachDist\cl_msg.msg

     文件     129458  2006-04-06 22:31  leachDist\iscc2004Final.pdf

     文件      24015  2006-06-04 02:49  leachDist\node.cc

     文件       3482  2006-04-06 18:49  leachDist\node.h

     文件       1021  2006-04-06 18:49  leachDist\node.ned

     文件       1837  2006-04-06 18:49  leachDist\nodebase.cc

     文件       1614  2006-04-06 18:49  leachDist\nodebase.h

     文件       1133  2006-04-06 20:25  leachDist\omnetpp.ini

     文件       1085  2006-04-06 01:33  leachDist\omnetpp.ini.off

     文件       1083  2006-04-06 01:33  leachDist\omnetpp.ini.on

     文件         19  2006-04-06 01:33  leachDist\params.ini

     文件       6355  2006-04-06 01:33  leachDist\RESULTS

     文件       2649  2006-04-06 01:33  leachDist\RESULTS_DIST

     文件        157  2006-04-06 01:33  leachDist\runall.sh

     文件       1246  2006-04-06 01:33  leachDist\scripts\avg.pl

     文件        506  2006-04-06 01:33  leachDist\scripts\createtops.pl

     文件       1096  2006-04-06 01:33  leachDist\scripts\meta.pl

     文件       2640  2006-04-06 01:33  leachDist\scripts\minitopology.pl

     文件       1574  2006-04-06 01:33  leachDist\scripts\parse_data.pl

     文件       1527  2006-04-06 01:33  leachDist\scripts\parse_results.pl

     文件       2670  2006-04-06 01:33  leachDist\scripts\topology.pl

     文件       2481  2006-04-06 18:49  leachDist\solar.h

     文件       1742  2006-04-06 18:49  leachDist\solar.ned

     目录          0  2008-09-08 12:14  leachDist\scripts

     目录          0  2008-09-11 21:00  leachDist

----------- ---------  ---------- -----  ----

               212306                    28

............此处省略1个文件信息

评论

共有 条评论