如何在静脉中收集交通数据和宏观统计数据? [英] How to collect traffic data and macroscopic statistics in Veins?

查看:101
本文介绍了如何在静脉中收集交通数据和宏观统计数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello StackEx社区.

我正在Veins 3.0中实现某些场景,我希望从仿真中收集某些流量统计信息,例如平均等待时间,平均能耗等.

请提供有关如何生成和解释这些信息的帮助.

谢谢

解决方案

TraCIMobility已经记录了一些可以直接使用或建立的统计信息.例如,参见总CO2排放量.您可能需要实现自己的其他统计信息,例如,在检测到汽车停了一定时间.有关结果记录和分析,请参见 OMNeT ++用户手册页面有关如何执行此操作的一般信息,以及 Tic Toc教程例子.

Hello StackEx community.

I am implementing certain scenarios in Veins 3.0 and I wish to collect certain traffic statistics such as the Average Waiting Time, the Average Energy consumption, etc from my simulation.

Please help on how to generate and interpret these information.

Thanks

解决方案

TraCIMobility already records some statistics that you can directly use or build on. See, for example totalCO2Emission. Other statistics you might have to implement yourself, e.g., after detecting that a car was stopped for a certain time. See the OMNeT++ user manual pages on result recording and analysis for general information on how to do that and the Tic Toc tutorial for a concrete example.

这篇关于如何在静脉中收集交通数据和宏观统计数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆