Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Assign stops to buses and automatic simulation launching
  • From: Pearla Hajjar <pearlahajjar@xxxxxxxxxxx>
  • Date: Wed, 18 May 2022 08:11:26 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; 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=g0OnrN8ruyqWiWHgO2h9sALIZrS7Q5wnH04E3kZjqws=; b=KIu3kusIuN4DlU3L057jFafM1XpB3rKUcHpgg/eQDQwjqwahNKJ8W1KBWybc4/XB40JarTk4t6DD+dmmCpTsuHYhLZN61IZOIcxe8zRealRrRxj2Rh/0WGiYWcf2fnrhUEbgNBxbcuXT6xb8wxmy0oM37s6Ytz/59x8TBRjvkbRi0S1d2VGZVz80W0L682DAfPDbY/XJR7av4rpodmZhuf+2L6ncYRhE13JvPJ55neCVm4RJHi3SKKEkDmXljDyFkB5ax4EZjvgIN10+xMXkquS/zW3FCyVCn61+MEapB4KxXA+ZxtH9Xu0wGxPjCevQ4i5h6gOLjcicMw9bGXPYng==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=azjkte3s9SzEZjvFwSj1FxDNVsIhgzvYkzwc3Ia5UDCiP3ZItdveOYFFHcS0qzaikuhv00wIMh2wIS3hBoGwKciNotuOmXKAX3rcedOzffO3zZrCUwYqDHfbW9WYLML+eegNN1e/PzbIt/KYEBPA1QB/u7iNtRv1S1NHL2/IuR6IOtyQnAEYzxZn82KZMJnFTM78fYkxDekS/HB6oMxN/2qWTBOTxAa5W+jymxus2yC0BDmrXyvcdQZovAHaYoUCEnF5Uq6l0nqpNO/183CukBU9aPdUpOtimZcALM6bCVPwyE8wm4OoiRG8BVdjKCsJ3oQqPyS9V+sdTbsCetbslw==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: AQHYZqJJVs/Qc1hdpUqsirJugzA0X60ce2yAgAfUUQs=
  • Thread-topic: [sumo-user] Assign stops to buses and automatic simulation launching

Thabk you for your answer. I haven't tried the traci.load yet because I am trying to solve the problem of stopping.

For this, when adding a stop, I am assigning the duration. If I put it 1, the bus will only pick one passenger, if ai increase it, the bus will be stuck on the stop.


Ph.D Student- Universite de Versailles SQ and Communauté d’Agglomération de Saint Quentin en Yvelines

Direction des Mobilités- Navettes autonomes 

From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Friday, 13 May 2022, 10:35
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Assign stops to buses and automatic simulation launching

1. You will have to add each stop of your repeating route individually.
You can use function vehicle.insertStop to add stops anywhere within the list of existing stops.

2. you can use traci.load to relaunch the simulation.  (make sure to use options -S -Q if you're starting sumo-gui).

Am Fr., 13. Mai 2022 um 10:28 Uhr schrieb Pearla Hajjar <pearlahajjar@xxxxxxxxxxx>:

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.



sumo-user mailing list
To unsubscribe from this list, visit

Back to the top