Thabk you for your answer. I haven't tried the traci.load yet because I am trying to solve the problem of stopping.
For this, when adding a stop, I am assigning the duration. If I put it 1, the bus will only pick one passenger, if ai increase it, the bus will be stuck on the stop. Perla HAJJAR Ph.D Student- Universite de Versailles SQ and Communauté d’Agglomération de Saint Quentin en Yvelines Direction des Mobilités- Navettes autonomes ________________________________ From: sumo-user <[email protected]> on behalf of Jakob Erdmann <[email protected]> Sent: Friday, 13 May 2022, 10:35 To: Sumo project User discussions <[email protected]> Subject: Re: [sumo-user] Assign stops to buses and automatic simulation launching 1. You will have to add each stop of your repeating route individually. You can use function vehicle.insertStop to add stops anywhere within the list of existing stops. 2. you can use traci.load to relaunch the simulation. (make sure to use options -S -Q if you're starting sumo-gui). Am Fr., 13. Mai 2022 um 10:28 Uhr schrieb Pearla Hajjar <[email protected]<mailto:[email protected]>>: Bonjour, Hope you qre doing good. I have a question in my project. I am working on assigning different stops for buses in each simulation. In the main function I calculate the combination of stops the buses should stop at and I want to set then in the run funtion where the simulation happens. My questions are: 1. When i do traci.vehicle.setBusStop it only assigns this stop for the bus once in the simulation and I am using a circular root with repeat. How can I make the bus stop at these stops at every turn until my stopping condition is satisfied? 2. When generating the stopping paattern, I am have different combinations. I want to go through each combination and launch the simulation automatically after the previous one finishes with the new stop pattern. Any idea how to do so? Thank you in advance. Perla HAJJAR PhD at UVSQ _______________________________________________ sumo-user mailing list [email protected]<mailto:[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
