Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] SUMO actors persisting in each time step?
  • From: Rami Wilson <ramiw@xxxxxxxxxx>
  • Date: Fri, 30 May 2025 21:45:46 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=onrinZ+f1W53pgGXG+l3ENvZUsnx+9w10ADCvlowNDQ=; b=PNoEeCUsXlysLg/GZfpO5K8ZMFVHqEL7RXoJygsN0bzmcQyk5hB1ymXYtNvQRC4IIFrWYNiBcjuoZ3mIET6nkSP1NUG0R8NwFd2izXX7hXnH8ydcPaIBv7129lZ///V8vDucPXXXVs54Vy4fjiHjK5YKNpq1KB8ZkCPH/rvCRej0d6ouTKwsJt8JXimcS0b1U1hFjsFM2hG4bDJ+dg3x6nF8Idz+XIga5wCxp6WblSKWgj+DEuTnC2575r7KDC8aHTIj9LRgwjnf2HMFs0po3D/RdgdBFywfPpF8qqMitDCTGeUMoQDaESIP+nEj5tBAFn/03ISgi/nslx+cU9N6Rw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=g3JsTODIfGkExs8tBxafL/RkSeFARmlcjgytvcGINSAyPH4dbnZZLggwNGi5MqHLmcOufiVGAOp8yFBiZV3BEzhqoXaGpmbN61o8hdNCoWvbavSnDXEHZzE9m/XQ2Bf9xjMTtTIcbJ0YuX+OAPO0LmLpSLNcqeh0nwW3YHQvfs4Yvc5XLXqF3P7zfZvuSfTBlHZ+RvrPAQJij1SkwJN8r763+gQTpkgh/8XtAHTb77sKL+/IHm/b1rv6bX2dW84k0DVw/+xcT/d9C+JrQsTsNGyvnNcbOGkR0IDp6UtN7oeFmsewavTAycDfZBFWUNtwpj1rYIEqtNHStd2RwIjWgQ==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHb0an+UobRqPpqdEqpOU/S1xX/ug==
  • Thread-topic: SUMO actors persisting in each time step?

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!

Back to the top