Sorry Jakob, I sent you the wrong testingbus.rou.xml file. The correct one is attached. Sent from Mail for Windows From: vincentobiako Jakob I am having some trouble understanding what I am doing wrong with my bus schedule that I created. I have a schedule that consists of stopping at bus stops for 30 secs followed by moving to the next bus stop in 120 secs. The schedule for the bus stops look something like this:
The column on the far-right is representative of the “until” keyword that is used in the xml code to represent when the bus can move to the next stop. The issue that I am running into is that the bus at times seems to stay longer 30 secs at some bus stops, especially when the simulation progresses. Why exactly is this happening? Is this a built-in deviation or variance in SUMO’s public transport model? Or is my xml code wrong? To give a little more context I have also attached my .net.xml, .rou.xml, and additional files for the bus system. There is also traffic in this model. Could that be the reason for the variation bus stop stop times? Thank you Ifezue Sent from Mail for Windows From: Jakob Erdmann The first thing you should do is define a real schedule with 'until' values rather than relying on the 'duration' parameter alone: https://sumo.dlr.de/docs/Simulation/Public_Transport.html#public_transport_schedules When this is used, any slack in the schedule is automatically used to counteract bunching because the first bus (running behind schedule) can start earlier than the second bus that has to wait for it's scheduled time. The tool ptLine2flows can be used to generate a synthetic schedule for given sequences of stops: https://sumo.dlr.de/docs/Tutorials/PT_from_OpenStreetMap.html regards, Jakob Am Fr., 17. Sept. 2021 um 03:13 Uhr schrieb vincentobiako <[email protected]>:
_______________________________________________ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testingbus.rou.xml
Description: XML document
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
