Hello, duarouter supports reading a weight file that specifies time-dependent values. see http://sumo.dlr.de/wiki/Demand/Shortest_or_Optimal_Path_Routing#Custom_edge_weights As many time intervals as desired can be specified (or taken from previous simulation output).
For alternative ways of routing vehicles before departure, see http://sumo.dlr.de/wiki/Demand/Automatic_Routing regards, Jakob 2016-10-09 9:00 GMT+02:00 Hui Xiong Ng <[email protected]>: > I an currently researching on improving traffic conditions via adjusting > the edge's weight. > > The issue currently is that when generating routes via DUAROUTER, it takes > in a fixed weight that remains constant throughout the whole routing > generation. > > How can I generate routes in a way such that I can adjust the weight midway > through the generation and DUAROUTER should take in the new weight to find > the shortest path? > > *An rough idea of what I am trying to achieve;* > > Given that the initial weight of the edge is its traveltime, if the density > is too high(which suggest congestion), I would like to dynamically increase > the weight to reflect it's *'true*' traveltime > > > I have then also tried via TraCI whereby I call > traci.vehicle.rerouteTraveltime() which supports rerouting vehicles that > are in the network. It has 2 issues > > 1: Rerouting is very slow, about 40-60s per vehicle. This is unacceptable > for me as my network consist of a huge amount of vehicles. > > 2: Is there a way to reroute vehicles that has yet to be departed(those not > in the network yet)? > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
