Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to collect Junction data from Links
  • From: Matheus Saueressig <matsaueressig@xxxxxxxxxxx>
  • Date: Thu, 17 Nov 2022 02:05:03 +0000
  • Accept-language: pt-BR, 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=K/wGstZ6AGC/a7Embm3n+S+2P/N/Uk1fcoc5/vbCSt4=; b=oQjNFq0L+XYzySOXVn0SWc07hUVCZpBv2aUm7fvUbgA4y3kIyhqG2IwRb9xmxYMH0RllzQqUJLJ11AW0UpMPxUio5/g0k7nRZRSIG7+pluS5IWXMQoX4NJuN6mfKN7/LY+EJFQETWrkYwePXXglFR/a/E12uyNXLZGacs+mTuKZLiSK+NutlRFRlwoYbO8c4NIsYL6XbyuaLqQDcoSxPMwGI3OzdNdV8DGUVmCKE1+TVGSyyTaHae1kmdbVwR6fD4HaVwzOTga18pYkwL2CYhG6O9GQAwVS48YdTwx/ZRTPRtPCZ2o4Ack4VQHbqTXlotV9aHWny4KktBQkDd1ORGA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eADJWeySCD7Ouc4MxhPyUZtQm/PwYV1ki2nCykY+yEShwS+VWj+TfWhZ6TsS9An5wUSbuhxxY0TUJNE3hyQPlUwMTg2TYOnRlwh9twK6vlCzxSPl/uP4gUe93FKSHRWNPycvThNJMUDJf9uTtC9A3955NaUoQ/Dr1LRq2E7qgQq8dnF8LFep6NPRWar2eUoD427NEfMCiNwPAmwgQ6+fEL1DguyWOogF0gz7FHF37KQG/H9MDp0aIisCQRTo9BpM/3hOOlT9a6e8V57tKCuyslR0rhm3blGouOQ3xBIO1Bc9gZSFJV6rAdWUl10h7YAZZVyTusNGOOfrVPeSE6PmPQ==
  • 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: AQHY+ff5ZvuFgpkESU6rT2L/8PGeka5CC9GAgABRzZc=
  • Thread-topic: [sumo-user] How to collect Junction data from Links

How do I use sumolib? I saw the documentation but it didn't help me at all

De: sumo-user <sumo-user-bounces@xxxxxxxxxxx> em nome de Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Enviado: quarta-feira, 16 de novembro de 2022 18:10
Para: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Assunto: Re: [sumo-user] How to collect Junction data from Links
 
Also, you can use sumolib to retrieve all edges around a junction: https://sumo.dlr.de/docs/Tools/Sumolib.html (then use this to aggregate travel statistics on edges).

Am Mi., 16. Nov. 2022 um 21:18 Uhr schrieb Matheus Saueressig <matsaueressig@xxxxxxxxxxx>:
Hello, I have a python code to handle Multi-agent Reinforcement Learning using SUMO as a microscopic traffic simulation. It collects data from a .sumocfg file and generate .csv file with Step, Link, Running Vehicles, Occupancy and Travel Time parameters from the simulation.

I'm trying to modify it by including a Junction parameter and aggregate and ordenate the link parameters by junction.

How can I access a Junction with .getEdge()?



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top