如何计算吞吐量"吞吐量" INET的例子?

时间:2015-11-03 08:36:14

标签: omnet++

我正在考虑使用Inet / omnet ++来评估我们正在研究的路由算法。由于我是第一次使用该工具,我正在执行一些示例并阅读源代码。 然后我找到了一个示例,它带有inet,/ inet / examples / wireless / throughput。

问题在于我没有得到相同的价值。

在README文件中,可以阅读:

"Throughput is measured by the "sink" submodule of the AP. It is recorded
into the output scalar file, but can also be inspected during runtime.

The Excel sheet includes throughput measured by the simulation, and compares
it to the theoretical maximum which is roughly 5.12 Mbps (at 11 Mbps bitrate
and 1000-byte packets). The theoretical value and the simulation output
are very close, the difference being less than 1 kbps."

Timing.xls中显示了相同的值

但是,当我执行模拟时,我获得了不同的值:846266 bit / sec

我是否需要执行一些额外的计算以获得吞吐量的最终值?

这是一个错误吗?

由于INET中的某些修改,该值是否不再有效?

1 个答案:

答案 0 :(得分:0)

throughput示例的比特率默认值为1 Mbps。所以你获得的价值是正确的。
要更改比特率,请在omnetpp.ini目录的throughput中修改此行:
**.wlan*.bitrate = 1Mbps