Re: [sumo-user] Can not figure out timing for different traci function

2021-01-31 Thread Jakob Erdmann
If you need to start a fresh simulation, you can use traci.load([ ]) which reloads the network and also allows to set all simulation options. getDeltaT is not suited for measing simulation speed. It simply returns the step-length that was set via options. To measure execution speed you could take

Re: [sumo-user] od2trips (number of vehicles)

2021-01-31 Thread jlange
Hello Jakob, thanks for the hint. We figured out that the source and sink of a TAZ were defined differently than usual because the used edge belongs to a mix of one way street for cars (main direction) and a bus lane (opposite direction) - only the car lane is implemented. After figuring out, we

Re: [sumo-user] Can not figure out timing for different traci function

2021-01-31 Thread . Abdullah
Hi, thank you for the answer. Looking at traci.simulation.loadState, it only takes a filename, is there a way to specify these options (["--step-length", "0.5", '--save-state.rng', "--step-method.ballistic", "--no-step-log", "--no-warnings"], port=port) like I can for traci.start Also, when I mea

Re: [sumo-user] traci.vehicle.changeSublane giving a warning

2021-01-31 Thread Jakob Erdmann
call changeSublane(vehID, 0) to return lateral control to the internal model. Am Fr., 29. Jan. 2021 um 23:07 Uhr schrieb Bae, Jong In : > Thank you for your help! It's working now. > But I have a small issue; after the vehicle changes the lane, it doesn't > stay on the center of the lane but keep

[sumo-user] How to "turn off" traci.vehicle.changeLane

2021-01-31 Thread Bae, Jong In
Hello, Is there any way to turn off the traci.vehicle.changeLane command? I am using sublane model and the vehicle is still driving on the side of the lane even if it wasn't able to complete the lane change. I'm wondering if that's because the 'changeLane' command is still on. I want to make the

Re: [sumo-user] Can not figure out timing for different traci function

2021-01-31 Thread Jakob Erdmann
Hello, the delay most likely comes from loading the network and setting up all the necessary simulation objects in memory. If you need to start a simulation repeatedly, you can avoid the overhead of network loading by calling traci.simulation.saveState and traci.simulation.loadState regards, Jakob

Re: [sumo-user] Platooning in sumo

2021-01-31 Thread Jakob Erdmann
The example that you gave earlier did not crash. Can you provide input for reproducing this new issue? Am Fr., 29. Jan. 2021 um 18:59 Uhr schrieb bermad bila : > Hello, > Thank you for your help. But, when I check the configuration that you are > provided, and I tap "sumo-gui Bejaia.sumo.cfg" I