加入收藏 设为首页 联系站长
首页 | 虚拟动态 | Cisco模拟 | Juniper仿真 | 虚拟机 | 网络仿真 | 软件路由 | 技术专题 | 相关软件 | 交流论坛
>首页 -> 网络仿真 -> NS

TOP

New Energy Model in NS2
[ 录入者:admin | 时间:2007-10-28 00:36:29 | 作者: | 来源: | 浏览:780次 ]
Please note that an important update to the energy model is checked in to ns-2 on June 14, 2005, and you should use a version later than that date.

from :http://www.isi.edu/ilense/software/smac/

An example is shown as follows
$ns_ node-config -adhocRouting DumbAgent \
-llType $opt(ll) \
-macType Mac/SMAC \
-ifqType $opt(ifq) \
-ifqLen $opt(ifqlen) \
-antType $opt(ant) \
-propType $opt(prop) \
-phyType $opt(netif) \
-channelType $opt(chan) \
-topoInstance $topo_ \
-agentTrace ON \
-routerTrace ON \
-macTrace ON \
-energyModel $opt(energymodel) \
-idlePower 1.0 \
-rxPower 1.0 \
-txPower 2.0 \
-sleepPower 0.001 \
-transitionPower 0.2 \
-transitionTime 0.005 \
-initialEnergy $opt(initialenergy)

The following parameters are newly added:
-sleepPower: power consumption (Watt) in sleep state
-transitionPower: power consumption (Watt) in state transition from sleep to idle (active)
-transitionTime: time (second) used in state transition from sleep to idle (active)



The model in NS document is not up-to-date.
[上一篇]NS2 Books [下一篇]Raw Socket FAQ
※相关文章
 

评论

称  呼:
内  容:

相关栏目

最新文章

热门文章

推荐文章

赞助商链接