1) Rerouters can only be usd with sumo (not duarouter) 2) A closingReroute by itself is sufficient to cause rerouting so you do no need to combine this with a destProbReroute. However, your rerouter definition is incorrect. The 'edges' attribute indicates the location where vehicles should change their route. This must be an edge that permits a detour and thus should be an edge with multiple successor edges that lies ahead of the closed edge.
regards, Jakob Am So., 14. März 2021 um 09:31 Uhr schrieb Rkouhi <[email protected]>: > I use Siouxfalls network for simulation, and in run-time, I want to close > the > edge from node 19 to node 17 (which is named 19to17). But the vehicles do > not reroute after closing the edge (street). So, obviously sth is wrong. I > will explain everything step by step. Hope one can find my mistake. > > 1) I make have additional file like this: (with name routinfo_add.xml) > > <rerouter id="rerout1" edges="19to17" probability="1.0"> > <interval begin="300" end="1500"> > <closingReroute id="19to17"/> > </interval> > </rerouter> > > Question 1: where should I use this additional file (I mean in which file > should I mention to this additional file)? I have > "duarcfg_file.trips2routes.duarcfg" file which makes the routes from the > trips, So I think this is where I should use it. > "duarcfg_file.trips2routes.duarcfg" is as follows: > > <configuration> > <input> > <net-file value="my_net.net.xml"/> > <route-files value="od_file.odtrips.xml"/> > <additional-files value="routinfo_add.xml"/> --->>> this is the > additional file > </input> > <output> > <output-file value="od_route_file.odtrips.rou.xml"/> > </output> > <report> > <xml-validation value="never"/> > <no-step-log value="true"/> > </report> > </configuration> > > Or should I use the additional file in config_file.sumocfg file? Which is > as > follows: > > <configuration> > <input> > <net-file value="my_net.net.xml"/> > <route-files value="od_route_file.odtrips.rou.xml"/> > <additional-files value="routinfo_add.xml"/> > </input> > <time> > <begin value="0"/> > <end value="7200"/> > </time> > > </configuration> > > > > Question 2: As far as I know, I have to introduce the new route after the > line " <closingReroute id="19to17"/>" in additional file, so the vehicles > can use it as an alternative way. Sth like: <destProbReroute > id="rerout2"/> > This route2 consists of 3 edges (19to15, 15to10, 10to17) > > Where should I introduce this route2?? Before making the network or after > it? > Before making the network I have three files: my_edge.edg.xml, > my_node.nod.xml, my_type.type.xml. > Right now, I use it in my_edge.edg.xml, but it does not work! > > > That would be great if one can help me > Best Regards, > Reihaneh > > > > > -- > Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
