Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] some questions about rerouting in SUMO

Dear all, 
I have defined the configuration in .sumocfg as below:


<routing>
        <device.rerouting.probability value="-1"/>
        <device.rerouting.period value="300"/>
        <device.rerouting.pre-period value="300"/>
    </routing>

(1)
my question is 
 "-1'' means no vehicles in my simulation could change their route after departing? Does it mean the other two commands are useless with <device.rerouting?probability value="-1"/> ?
If I set the <device.rerouting.probability value="1"/>,   all the vehicles could change their route to the faster in every 300s?

(2)
If my simuation duration is 3600s(1h) and I set the
                    <device.rerouting.probability value="1"/>,    
                   <device.rerouting.period value="75000000000000000"/>  
                   <device.rerouting.pre-period value=" 75000000000000000 "/>  
all the vehicles can change to the fastest route and would not change to the fastest one in my simulation as I had set the rerouting period is  75000000000000000? And vehicles could change to the fastest route when currenttime = 75000000000000001 if I had set the <end valute= "75000000000000001">?


(3) 
if my simulation period is 3600, and the pre-period rerouting value was set to   <device.rerouting.pre-period value="300"/>
<device.rerouting.period value="75000000000000000"/>   
 all the vehicles will be loaded in my simulation would check the fastest route for themself every 300s before departure? The lastest fastest route of one vehicle will be chosen as its route during the whole simulation and would not change their route during the simulation as I set the  <device.rerouting.period value="75000000000000000"/>   ?


(4)  
if I  set the rerouting command as 
  <routing>
        <device.rerouting.probability value="1"/>
        <device.rerouting.period value="300"/>
        <device.rerouting.pre-period value="300"/>
    </routing> 
 
What‘s the difference betwwen using  <route-files value="cross0.trips.xml"/> (1.sumocfg)and  <route-files value="cross0.route.xml"/>( 2.sumocfg   )

the mean travel time in 1.sumocfg is shorter than 2.sumocfg. 
So, why mean travel time is shorter in 1.sumocfg? how do vehicles in 1.sumocfg decide the route? And which route one vehicle would choose before it is going to depart?


Best regard,

Jane Cheung








Back to the top