if not traci.vehicle.isStopped(str(i)):
traci.vehicle.setBusStop(str(i),str(j), duration=2.0)
Am Mo., 28. Nov. 2022 um 11:22 Uhr schrieb Pearla Hajjar <
[email protected]>:
> Thank you. I tried to do the suggestion you proposed, but I hot these
> problems:
>
> 1. If I don't put the setBusStop in the while loop for every step, then
> the buses will not stop at the stops.
>
> 2. If I increase the duration to 2, the buses will be blocked on the stops.
>
> I want to assign at every simulation a new set of stops for the buses. I
> give the run function the set of stops and use the setBusStop to tell the
> bus to stop at these stops in every run.
>
> 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:* Saturday, November 26, 2022 6:52:05 PM
> *To:* Sumo project User discussions <[email protected]>
> *Subject:* Re: [sumo-user] Passengers
>
> There is a bug that prevents boarding passengers if the stopping duration
> is too low and the bus is full on arrival (
> https://github.com/eclipse/sumo/issues/12168).
> As simple work-around is to make the stop last more than 1 second.
> Usually this is achieved by prolonging the stop based on the number of
> entering and exiting passengers but you set this to a very short value.
>
> To make this work with your setup (where you call setStop in every step)
> you need to avoid calling setBusStop for vehicles that are already stopped
> or they will never manage to finish their stop.
>
> Am Do., 24. Nov. 2022 um 17:19 Uhr schrieb Pearla Hajjar <
> [email protected]>:
>
> Mainly my simulation serves as a public transportation system. To test if
> it is running fine, I let the buses stop at every stop. When you launch the
> sumo gui, you notice that the buses stop at the second stop and no
> passengers get in until the first stop is empty.
>
>
> Please find attached the simulation file.
>
> 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:* Thursday, November 24, 2022 8:00:58 AM
> *To:* Sumo project User discussions <[email protected]>
> *Subject:* Re: [sumo-user] Passengers
>
> The most likely cause is some passengers to be misconfigured so that they
> want to board a different bus. However, an accurate diagnosis is impossible
> from your textual description. Feel free to attach the files.
>
> Am Do., 24. Nov. 2022 um 00:00 Uhr schrieb mrosales <[email protected]>:
>
> May be the waiting time of the BusStop?
>
> Maybe you can try grow the time in the panel inspector or with TRACI.
>
>
>
>
>
> -------------------------
>
> Saludos cordiales
> Mat. Manuel Hernández Rosales
> Secretario Técnico
> Programa Universitario de Estudios sobre la Ciudad
>
> Coordinación de Humanidades
>
> Universidad Nacional Autónoma de México
> Ciudad de México, México
>
>
>
> *De:* sumo-user <[email protected]> *En nombre de *Jakob
> Erdmann
> *Enviado el:* miércoles, 23 de noviembre de 2022 07:13 a. m.
> *Para:* Sumo project User discussions <[email protected]>
> *Asunto:* Re: [sumo-user] Passengers
>
>
>
> Your problem description is insufficient to diagnose your problem. See
> https://sumo.sourceforge.net/docs/FAQ.html#sumo_does_not_do_what_i_want_and_i_dont_know_how_to_solve_the_issue
>
>
>
> To define rides via TraCI,
>
> use person.add and person.appendDrivingStage (or the more general
> appendStage which also permits defining personTrips with automated public
> transport routing).
>
>
>
> Am Mi., 23. Nov. 2022 um 13:13 Uhr schrieb Pearla Hajjar <
> [email protected]>:
>
> Hello sumo users,
>
>
>
> I am trying to simulate a public transport system. In this system, a bus
> stops at a busStop for passengers to alight and board.
>
>
>
> When the bus stops at the next stop, passengers having this stop as a
> destination alight, but only one passenger board even if there is enough
> capacity.
>
>
>
> Does anyone knows how to fix this problem?
>
>
>
> Also, is there a way to add passengers in traci?
>
>
>
> Thank you in advance.
>
>
>
> 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
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user