Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Flowrouter and ImplausibleRoutes.py
  • From: Andi Kunz <andi-kunz@xxxxxxx>
  • Date: Wed, 28 Sep 2022 11:30:28 +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=lq97z7kXMKM4IxXKLHvQ3A9Gl9FnuM2vrdI5JwncwEg=; b=EgtmWxH2YsYKtf9M1wG0tDvt2xwlt6bpezDZou3tnE5KPx3eeUXprz1ThMoBA1nhYTJg6F+RgEr1+4AXgiE9s/ZeUej9Tn/4hy/atVCZQQhoFT6ektSE78vDadpktVmXD5xRomSngvFVjIfMDOn8dyY1BGzzUlvYvm/p6UGQu1dC0Wh6I8Mm1eGqLn3z9j3rmERis4BqM7t/+Dn5yF+oZTAJj+E2iqGI4ojuFcpyMluhFiQGDuumqgWHuzsYGt87S80txZdKGoxCtat+H/Z0MZFVxFBLQOBW2I/KjDbLqSS2kksn0tYGjDtydWn4xYphWsdx056kRLomMtnGGjKlkw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fH8TWsyIggfineo+xAYHZJTF1+NDJEDnZdngYTQISnCoywzk4CCRQAs8/YoXXxlRbQtr2jVYsq09D5RJmjHEGsUMWYngNucqzL9Ju3aMBD2MWwreBmfKXMeXClLydmQ0ouxbirjQ+GQAeP5Z5/KpEVcw7brTVbNpEjJrYs6n5ZbV+DJ2qJjwN+bDBOdriepHOU+ok7YYnyJJ9fNAjt38G8wqVI2/ULnXFcvkhTY8yC8m8IOnGfcUVHjQoZMjRR0mjRdNGi0bZJqYRPPB+utfK0W2NDKtCNwD4+aGPLIbP6XYuHFLBTyCZqQ1yhBlPwfG2xGfCBSKWdA23dr70AM1xg==
  • 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/KF7bky5DXsFfPQ1Fg==
  • Thread-topic: Flowrouter and ImplausibleRoutes.py

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

 


Back to the top