Hello,
I am trying to use SUMO to run a multimodal simulation with vehicles and pedestrians. I have had success with this so far, but due to the constraints of our project, we need
all actors to persist in each timestep for the length of the simulation.
When using randomtrips and traci to run the simulation, the current output looks something like this:
(with 10 vehicles and 10 pedestrians)
Timestep 0.0
Vehicle 1
Vehicle 2
Person 1
Timestep 1.0
Vehicle 1
Vehicle 2
Vehicle 3
Person 1
Person 2
...
Timestep 50.0
Vehicle 10
Person 10
Actor entries and exits are staggered, and each time step can have any number of actor updates. However, I was hoping I can get an output that is like this:
Timestep 0.0
Vehicle 1
Vehicle 2
...
Vehicle 10
Person 1
Person 2
...
Person 10
Timestep 1.0
Vehicle 1
Vehicle 2
...
Vehicle 10
Person 1
Person 2
...
Person 10
And so on..
I understand this is due to when actors enter / exit the simulation, but is there any way to force the output to include the same amount of actor updates for each time step? Is there a way to force all vehicles to enter and exit the simulation at the same time?
Not sure if this should be done while generating routes or when actually running SUMO.
Thank you for this great project!