Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Traci multiple consecutive simulation run
  • From: Pearla Hajjar <pearlahajjar@xxxxxxxxxxx>
  • Date: Tue, 28 Jun 2022 09:19:48 +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=o6knDV+TOTl/KQTRaclI9b0JIxi6qpDAL1j+fQCOZtI=; b=b4XZH3dQ2u+bphcJZFXkXijGYqhVrSFM3UfFzsbJqC3h+098ZuuansWHOU17RYMbSgvBFK9V44tTTe/s48Cp5N05AnjxznnRwp5+KQ0pQk9ecJwVbavSbMH19gD9FUtAKPdv9C7vDOtQfX6SB/iW6yc8rUgU2GtspstAuZNQd9T6/+FeW3/XwE9F3xsDsybgoEWdSnv/I84QxFmOkzoqzBrYVfF5MC0OOTPOLAdS/+Ra81GXzZZDC+QkvmlAPON4ZehbO4tBdLCHingQd72+Z8OHqzjqCoPmyeVIWxLhEY/6q1ldchbX9CbOBVqqz6aePwnwfwxzk6unCktHrtN3AA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B6UzW5ND+USnAw0d3LcGD76b0nwy7+tO1w7LEz+KZS9ZX58cTvhvoi2CmzdjHKjHINXyfzN+WNS6jjs80vANxUyZdvMWMXT84yR77JHeo1a5XF9/JIw796axYMCqRYMaE431sbHc9rJtvdymScduGqA3kL3RYnmLOgKfKBpB2fZuELGQNAOruWzMYydjwdPnfTapeXKo8QaVgTcHVxEj4Z3wx7rrbRzNCmXKOp+2uJVEpZHJMcenLk8AvLseBlwwuHKFuRZdkvglOUUBiPxxA6koxL4ARtb4mYCXOtmOBzngQYYIE1T6RKNlsaKeU5n92IuqId2WGztwvoLFc8UeNQ==
  • 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: AQHYis8iesoe9w1lRka/rLbyDHH6Wg==
  • Thread-topic: Traci multiple consecutive simulation run

Hello,

I am trying to simulate many consecutive sumo runs with different inputs automatically i.e. when the first simulation ends, it will start the other simulation from the input of the for loop.

I don't care to run the simulation in gui, I just need the output files of every simulation.

I tried using traci.load but I get the following error:
File "C:\Users\hajjar.p\PycharmProjects\SUMO SA\Stopping cond.py", line 178, in <module>
    traci.load(["-c", "Sumo_SA_Conf.sumocfg", "--vehroute-output", "vehroute.xml", "--tripinfo-output",
  File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line 190, in load
    raise FatalTraCIError("Not connected.")
traci.exceptions.FatalTraCIError: Not connected.

Your help is much appreciated.
Thank you in advance.
Regards,

Perla HAJJAR

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

Direction des Mobilités- Navettes autonomes 


Back to the top