Hello Everyone


I am currently trying to figure out how I can model buses going around a
looping route and changing their route to go to a fuel station in TraCI
when their fuel capacity gets to a certain level. I was looking at several
different functions in the TraCI API that could help with this and one of
the ones I took note of was replaceStop(). I noticed some of the arguments
in the function, but some of them didn't make sense to me. For instance:

· What is the NextStopIndex is this the same as BusStop ID?

· What is the LaneIndex is this the same as LaneID or this the number at
the end of the LaneID? For example: -7855681#1_0 the index in this case is
0.

· How is the Flag argument defined? Is it only binary with 0 or 1? What
exactly do these values represent?

· Do both the arguments 'Until' and 'Duration' need to be specified or does
only one of the two?

I also have a predetermined looping bus route that is in a .rou.xml file
format. I was wondering once the bus replaces its current upcoming bus stop
to the fueling station and performs the fueling activity, what will happen
to the bus next? Will the bus move to the next bus stop on its route? Or
move ahead to the next bus stop in its schedule if it is falling behind
schedule?



Thank you

Ifezue
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to