The individual assignments of weights is possible. It is somewhat simpler to conflate costs with travel times and set individual travel times for each edge but it is also possible to set costs independently of travel times and route by costs (this makes sense if costs change over time while driving). See http://sumo.dlr.de/wiki/Simulation/Routing http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#change_edge_travel_time_information_.280x58.29 http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#change_edge_effort_information_.280x59.29 regards, Jakob
2017-04-25 22:26 GMT+02:00 Ryan Lau <[email protected]>: > Hi all, > > > I would like to simulate adding a toll (or similar monetary cost) to > congested roads in order to divert drivers who are cost-sensitive, thereby > reducing traffic congestion. For example, say the traveltime of edge 1 is > 50 seconds, and all vehicles are routed through edge 1 via Shortest/Optimal > Path Routing. I would like to add a $5 toll on this edge, updating the edge > weight to 10 + alpha_i*$5, where alpha_i is some parameter which reflects > the cost sensitivity of an individual driver (seconds per dollar in this > example). The issue is that I would like to be able to have different > values of alpha for each driver. For drivers sensitive to the cost (large > alpha), the weight is high, and this vehicle is rerouted to an alternate > route which takes more time but saves the $5 cost. For drivers insensitive > to the cost (small alpha), the weight is low, and this vehicle is not > rerouted. > > > I hope this example is clear. Is such an assignment of variable weights to > individual vehicles possible? Otherwise, is there an alternative approach > which yields the same behavior? > > > Thanks in advance, > > > -Ryan > ------------------------------------------------------------ > ------------------ > 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
