thanks Jakob.
Best,
Hao
> On Nov 21, 2019, at 01:54, Jakob Erdmann wrote:
>
> A routeID is the name for a list of edges and must be registered first:
> traci.route.add("route0", ["E3D3","D3C3"])
> traci.vehicle.add("vehicle0", "route0")
>
>> Am Do., 21. Nov. 2019 um 07:24 Uhr schrieb Hao Zhou
A routeID is the name for a list of edges and must be registered first:
traci.route.add("route0", ["E3D3","D3C3"])
traci.vehicle.add("vehicle0", "route0")
Am Do., 21. Nov. 2019 um 07:24 Uhr schrieb Hao Zhou :
> Hey Jakob, I tried the following simple test but it failed, I don't see
> why it happe
Hey Jakob, I tried the following simple test but it failed, I don't see why it
happens.
veh_id = 0
route_ID = str(["E3D3","D3C3",])
traci.vehicle.add(str(veh_id),route_ID)
File "/home/hao/sumo/tools/traci/connection.py", line 105, in _sendExact
raise TraCIException(err, prefix[1], _RESULTS[pr
Hello,
you can call traci.vehicle.add repeatedly with the same routeID. just make
sure to use a new vehicleID every time.
Alternatively, you could call sumo with option --scale to easily scale the
amount of traffic up or down.
regards,
Jakob
Am Mo., 18. Nov. 2019 um 22:19 Uhr schrieb Hao Zhou :
Hi all,
I want to keep generating vehicles until the network reaches a certain density
level. I know sumo has the option to give a limit on the number of vehicles,
which is one of the options. But do there exist better approaches?
I want to do multiple experiments with different density level