Re: [sumo-user] Phase time extension with TraCI.
Thanks so much. Le mer. 22 juil. 2020 à 14:51, a écrit : > Hi, > > > > here you can find information about traffic light control via TraCi: > > > https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html#controlling_traffic_lights_via_traci > > > > “Using the function setPhaseDuration, the remaining duration for the > current phase can be modified. Note, that this does not take effect when > encountering the same phase again in the next phase cycle.” > > If you want to change the phase duration for all cycles you could maybe > define another traffic light program and then change them with the command > *setProgram*. > > > > Best Regards, > > Giuliana > > > > *From:* sumo-user-boun...@eclipse.org [mailto: > sumo-user-boun...@eclipse.org] *On Behalf Of *Aristide BAMAZI > *Sent:* Mittwoch, 15. Juli 2020 20:26 > *To:* Sumo project User discussions > *Subject:* [sumo-user] Phase time extension with TraCI. > > > > # *Question* : > > Want to know if it is possible to set a new duration to phase when running > the simulation with TraCI. > > # *W**hat I have tried* > > I have tried the method traci.trafficlight.setPhaseDuration(tls, > duration). but it seems not to perform what I want. > > > > Best Regards. > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Phase time extension with TraCI.
# *Question* : Want to know if it is possible to set a new duration to phase when running the simulation with TraCI. # *What I have tried* I have tried the method traci.trafficlight.setPhaseDuration(tls, duration). but it seems not to perform what I want. Best Regards. ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] traffic states
Thanks very much Le mer. 15 juil. 2020 à 10:57, a écrit : > Hi, > > > > you could use the „tls switches“ output. See > https://sumo.dlr.de/docs/Simulation/Output/Traffic_Lights.html#tls_switches > . > > > > Here you can find more information about Traffic Lights outputs: > > https://sumo.dlr.de/docs/Simulation/Output/Traffic_Lights.html > > And here are some Traffic Lights tools: > > https://sumo.dlr.de/docs/Tools/tls.html#tlscoordinatorpy > > > > Regards, > > Giuliana > > > > *From:* sumo-user-boun...@eclipse.org [mailto: > sumo-user-boun...@eclipse.org] *On Behalf Of *Aristide BAMAZI > *Sent:* Dienstag, 14. Juli 2020 20:11 > *To:* Sumo project User discussions > *Subject:* [sumo-user] traffic states > > > > Hello everybody. Want to know whether there is a way to know when each > traffic light turns to green with sumo without using the presenting phase > duration? > > > > Best regards. > > > > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] traffic states
Hello everybody. Want to know whether there is a way to know when each traffic light turns to green with sumo without using the presenting phase duration? Best regards. ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] minGap attribute
OK! Thanks very Mr Michael. On Sat, Jun 27, 2020, 21:36 Michael Behrisch wrote: > Hi, > you can create vehicle type distributions with different minGaps, see > https://sumo.dlr.de/docs/Tools/Misc.html#createvehtypedistributionpy for > a tool which might help. > > Best regards, > Michael > > Am 24.06.20 um 17:36 schrieb Aristide BAMAZI: > > Hello everybody. > > Want to know if the way someone generate dynamically traffic can > > affect the vType minGap attribute ? I am generating the route file > > using Weibull distribution with TRACI. Even if I increase the minGap, > > the vehicles still stick to one other at intersection stop. > > Excuse my English, it's not my mother tongue. > > > > Need help. > > > > Best regards. > > > > ___ > > sumo-user mailing list > > sumo-user@eclipse.org > > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > > > > > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] WaintingTime
Thank so much On Thu, Jun 18, 2020, 10:57 Jakob Erdmann wrote: > - waiting time is the continuous waiting time up to the current moment. It > is reset to 0 every time the vehicle starts moving again > - accumulated waiting time is the time spent standing within the > configured waiting-time-memory time window (default 100s) > > Am Do., 18. Juni 2020 um 11:26 Uhr schrieb Aristide BAMAZI < > aristide.bam...@imsp-uac.org>: > >> Hello everybody . I have to retrieve for each simulation step the wanting >> time of each vehicle on each road. >> >> 1. Do I use or < getWaintingTime > >> >> 2. Want to Know how sumo compute the accumulated wanting time. >> >> 3. What is the meaning of < -- wainting-time-memory > in command >> options ? >> >> Best regards >> Aristide. >> >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] WaintingTime
Hello everybody . I have to retrieve for each simulation step the wanting time of each vehicle on each road. 1. Do I use or < getWaintingTime > 2. Want to Know how sumo compute the accumulated wanting time. 3. What is the meaning of < -- wainting-time-memory > in command options ? Best regards Aristide. ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] od2trips and vehicle types
OK! Thanks for your reply. On Mon, Jun 15, 2020, 15:27 Issa, Joshua wrote: > I did this, but I still encountered the same problem. > > > > *From:* sumo-user-boun...@eclipse.org [mailto: > sumo-user-boun...@eclipse.org] *On Behalf Of *Jakob Erdmann > *Sent:* June 15, 2020 9:36 AM > *To:* Sumo project User discussions > *Subject:* Re: [sumo-user] od2trips and vehicle types > > > > define the rail type in an additional file like this: > > > > > > > > and then load this file into duarouter with option --additional-files > > > > Am Mo., 15. Juni 2020 um 14:44 Uhr schrieb Issa, Joshua < > joshua.i...@nrc-cnrc.gc.ca>: > > Hello, > > > > I am trying to use od2trips and duarouter to generate train paths. The > issue is that od2trips doesn’t want to recognize the rail type. > > > > > > Here is the commands I used: > > > > Thank you > > > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] (no subject)
Hello sumo users and developers, actually, i am using TRACI coupled with SUMO, and faced a problem. I add vehicles dynamically to the simulation with < traci.vehicle.add() > method. What I want to know, is it possible to retrieve each vehicle departure time from the simulation after adding it with the above method? If yes how ? I have checked in < traci.vehicle > object and didn't find anything that can help. Thanks. ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user