Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Flowrouter and ImplausibleRoutes.py
  • From: Andi Kunz <andi-kunz@xxxxxxx>
  • Date: Wed, 28 Sep 2022 11:56:52 +0000
  • Accept-language: de-DE, 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=LInpadUul9wCt6fy5u8RLaBPQNrsD9QmlMkJvmD7lfc=; b=W+r77+eVN/xkhZ8gpNmdzRP/wtekeYfXSrHQaE8r/Oj3kNEb09wFRoPjqxo/WxvU1PEqk1XqkftWecFLt2gMWO56QBjVRCksuLVwbZxgJ4NmKrR+4rLWPNgiGJ8jwQ5jXs9Eq5Jr5lNVKZAVz8OrEkPqQUUpAglnKhlD9XV0PMQr89QAaJhmQ3+TdQcbyh8ze2rHTgn/HAWjR4iIPhAEc5UQ7YKMdhAHxir+4WqdeZ6PmmbmikDfVe1NFS3q6FvlakEvNNUdDsAQ7ZLP00yUIc6h4+LQoz9rc+Pu7M8Odjmmb47sJwDhG3244sEzVVsofnyHHiNn6JriaY3QMbBZeQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VMROtwtEoZeC8HD4YdP+43oWiFCwtMeS117RhLLg5xJhIBrhTmbDon8ERRep0HmFquLy07A4Z6CfQmDXdASxzzhGP7yBatuiJBDWn1/WMaY2TrMdTuKHGeoulDp4d07UiW215nADeCsuT/fwEsCz7zttZs0+qETFUOaJkP2V9JmVjPj3jLu9mmcfx6TxCM1VWzgxEJVMRgci4vwrwo5UtcwSScHCJfR8OR2JDipDlhY3f7k+cnLn7pwV/+/9tGgtvgUolL+HhF6o0n9qlPeTECBPnrpUrObSXEHG5yTf2xiez+sYh8c6vUUQtRivo0lBYsMKuFcDSF6zVJn31Fc2Wg==
  • 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: AQHY0yxvEtOb/KF7bky5DXsFfPQ1Fq30uhaAgAAAOTU=
  • Thread-topic: [sumo-user] Flowrouter and ImplausibleRoutes.py

Hello Jakob,

 

Thank you for your quick response to my question!

 

The Zip file contains my network, detectors and flows file. Additionally, I included my initial routes file which I used to generate the flow-restrictions, as well as the flow-restrictions file.

 

Best Regards,

Andreas

 

Von: Jakob Erdmann
Gesendet: Mittwoch, 28. September 2022 13:48
An: Sumo project User discussions
Betreff: Re: [sumo-user] Flowrouter and ImplausibleRoutes.py

 

Can you share your input files (everything you use to call flowrouter)?

 

Am Mi., 28. Sept. 2022 um 13:30 Uhr schrieb Andi Kunz <andi-kunz@xxxxxxx>:

Hello,

 

I am trying to generate flow-restrictions as input for flowrouter. My workflow is as follows:

 

At first I ran flowrouter without flow-restrictions and then used the route-file from flowrouter as input for implausibleRoutes.py with the following command:

 

python implausibleRoutes.py myNetwork.net.xml routes.xml --airdist-ratio-factor 100 --standalone --restriction-output restrict.xml --threshold 100

 

The restrict.xml file comes in the expected format and featured all routes/flows that I want to restrict in flowrouter.

 

Following that I ran flowrouter again with the following command:

 

python flowrouter.py -n myNetwork.net.xml -d detectors.add.xml -f flows.txt -o routes.xml -e flows.xml --respect-zero -l -i 15 -v --flow-restrictions=restrict.xml

 

However, flowrouter does not consider the specified flow-restrictions and the simulation does not differ from my initial simulation.

Is there potentially a mistake in the way I included the flow-restrictions file when running flowrouter? How do I have to format the flow-restrictions file?

 

Best Regards,

Andreas Kunz

 

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

 

Attachment: Flowrouter.zip
Description: Flowrouter.zip


Back to the top