这是我在相扑程序中的sumocfg文件代码。
<input>
<net-file value="updated.net.xml"/>
<route-files value="trips.trips.xml"/>
</input>
<time>
<begin value="0"/>
</time>
<report>
<verbose value="true"/>
<no-step-log value="true"/>
</report>
updated.net.xml是我写的网络文件,而trips.trips.xml只是车辆移动文件。
在https://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures中,有密度信息格式,但我不知道如何生成包含车辆密度信息的附加输出文件。
我应该在这里添加什么代码?
发布于 2019-03-06 22:18:35
正如'Instantiating an the Simulation‘一节所述,您需要在下面添加一个额外的文件:
<input>
<net-file value = 'xxx'/>
<route-files value = 'xxx'/>
<additional-files value = 'xxx'/>
</input>在附加文件中,添加要测量的所需边和车道In。
https://stackoverflow.com/questions/54689060
复制相似问题