Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Assign stops to buses and automatic simulation launching
  • From: Pearla Hajjar <pearlahajjar@xxxxxxxxxxx>
  • Date: Fri, 13 May 2022 08:28:17 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=SQmNjTVdNJNqovVQwoWwIKpQk68Pzy+dEJWKoxbaSpE=; b=XzeaEDUKm6YIRuesqXDyelqjwAp/u3v+5o5dGodOjr6Zc03oG+34rLONH6vH0Bqg6jJKcY1vvAYU8ElUaPi6MQDpFBueNejBA8x7aOvyMe3nDIsKrpfxcmirhnh7YaH923FlC1q1Y3cGBL9og2F+ina/HjkVFBoA44FgBrRf2tTjmgLm7mMNkYQjm7ZOnjh8plq6G/O/yhshB8pATqe4Tmw948ZRlFstia99slvmgN/Fds4y5uIXoAEaxrb4a4QGSwcdBIRxJIC3fY+aw6ZvmUmn99Y92NLwPc6A+Gs9IHrPKkFxGqAryQ/nzW8Bf939fDvEcMyZF05AJHR0c1W9fA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lqynAgN1KcfRJRsKyFlW03cUVPZIxQdETzLxz+aAPoUQNQqBRIWqN09T1Oh67xp2jPaoHOIky+8FUVKAb4/+nnr9lF+V5sUntPNesSWd+7oYXyPy3CevIEIL1f4poU72jU70olp8JkAefj5K6TVvtkvudpLYCquqK1bL3Q+VqmyjDawaCOQpzUHdPm3UxcdmgFN93dflCjMW2ArBN8aAnotLU/jsJ3CgyfUx9ZdgeuiaSW4rfpd7EGNz1jtZpKEQ/ADzgA/ovy6e+4EUUA6XzGOuVeBhHAndK4mcATET6GApJ4j15leZiil+/5UiX/xt9lg+VwI/SU8Z43mWVA5BLw==
  • 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>
  • Thread-index: AQHYZqJJVs/Qc1hdpUqsirJugzA0Xw==
  • Thread-topic: Assign stops to buses and automatic simulation launching

Bonjour,  

Hope you qre doing good.

I have a question in my project. I am working on assigning different stops for buses in each simulation. In the main function I calculate the combination of stops the buses should stop at and I want to set then in the run funtion where the simulation happens. My questions are:

1. When i do traci.vehicle.setBusStop it only assigns this stop for the bus once in the simulation and I am using a circular root with repeat. How can I make the bus stop at these stops at every turn until my stopping condition is satisfied?


2. When generating the stopping paattern, I am have different combinations.  I want to go through each combination and launch the simulation automatically after the previous one finishes with the new stop pattern. Any idea how to do so?


Thank you in advance.


Perla HAJJAR

PhD at UVSQ


Back to the top