如何仅在 SUMO 中生成车辆的密度信息?
How can I generate the density information of vehicles in only SUMO?
这是我在SUMO程序中的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中有密度信息格式,但我不知道如何生成包含车辆密度信息的附加输出文件。
我应该在这里添加什么代码?
如'Instantiating within the Simulation'中所述,您需要在下面添加一个额外的文件:
<input>
<net-file value = 'xxx'/>
<route-files value = 'xxx'/>
<additional-files value = 'xxx'/>
</input>
在附加文件中,添加需要测量的边和车道 ID。
这是我在SUMO程序中的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中有密度信息格式,但我不知道如何生成包含车辆密度信息的附加输出文件。
我应该在这里添加什么代码?
如'Instantiating within the Simulation'中所述,您需要在下面添加一个额外的文件:
<input>
<net-file value = 'xxx'/>
<route-files value = 'xxx'/>
<additional-files value = 'xxx'/>
</input>
在附加文件中,添加需要测量的边和车道 ID。