Veins 中行进时间和速度的单位是什么?

What is the unit of travel time and speed in Veins?

我正在 OMNeT++ 中研究 Veins,通过使用 TraCI 命令获取道路的行驶时间,方法是:

double getCurrentTravelTime(). 

我从中得到的价值很小。所以我想知道旅行时间的单位是什么以及如何获得 SuMO 或 Veins 中的平均速度?

此命令从边缘查询变量 0x5a。它的含义记录在 SUMO wiki 的第 http://www.sumo.dlr.de/wiki/TraCI/Edge_Value_Retrieval:

页上

current travel time (0x5a): double, Returns the current travel time (length/mean speed).

如无特别说明,SUMO使用international system of units,即return值以秒为单位。