Hi! I want to keep a constant number of vehicles in the network. I tried to use rerouter so that each time a vehicle reached its destination it is injected again in, following the same route.
My flows are: <flows> <flow id="1" number="300" from="26411394#0" to="26410948" begin="0" end="150" departPos="free" departSpeed="max"/> <flow id="2" number="300" from="173596613" to="26410948" begin="0" end="230" departPos="free" /> </flows> and the additional file : <additional> <rerouter id="R1" edges="173596613"> <interval begin="0" end="1000"> <destProbReroute id="26411394#0" probability="1" /> </interval> </rerouter> </additional> Then I used the commands: To generate routes: duarouter --net=Autoroute.net.xml --output-file=Autoroute.rou.xml --flow-files Autoroute.flow.xml -a Autoroute.add.xml -b 0 -e 1000 --departlane free --randomize-flows To generate netstate: sumo -n Autoroute.net.xml -r Autoroute.flow.xml -a Autoroute.add.xml --netstate-dump netstate.xml However, I got a warning that there is no connection between starting edge and final edges.So , please can't that be done with rerouter ? Any Alternatives? Thanks in advance for help Best Regards F ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
