Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Generating flows within a city with DFRouter?
  • From: "Evans, Barry" <B.Evans@xxxxxxxxxxxx>
  • Date: Fri, 9 Aug 2019 12:12:10 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=exeter.ac.uk;dmarc=pass action=none header.from=exeter.ac.uk;dkim=pass header.d=exeter.ac.uk;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-SenderADCheck; bh=51aHj91olvSv1IcmFEfarbAdi7EsIYHC8LG3WiNg5EQ=; b=l/2a2epdx8dwPKCDxUlmPOwtObjjbu1GudjV0zLSEYsDXHdn3yqZZ6UCYsX6mQYRWT2GX1oNSpsSF8LH6FWk4yB5ug425hkD1rjGj+ud8HMWzouxgNAfIpCaF1Epdj9ZNPym8BvmNho9Btrm5VmNM5OYwnlaQl25BiJ4NXRR2y7SbkQd05IW1S4StaMBXhRkhcJhFlPBjzrc9S2EkaJ7WTY5FEqppyishniDBfH58h8K9ZCgLZQ7t1NWDDgOuFiSmMD0n5hruC5MCHhmsnVA54/XgtuEHVGEggwbEg45XqNPP1R1PysJzVmkIF6axAWQzzLGaaEHHsc3KVbb2QCgNQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EHe7jkZ63gExx5fawryYscpY0hzqXg6fux+yYmbUEw8GVhW3pnazDqCwdxdn1XKHgzSI4jicqa2c+BzazRSPDNKmEaZ7ctOF3TanGt8OR5AyA/SVqv+3UjjHeN3+XO67yuHRFpuWhopxsta5H5fP/yp8Sbybd+MvRcMqhiPX+rdpxEunKaOU6Ot3eijYmX+cDyNiNwrpYRBfFFYDyphDMMZB+xCk8VHCry/83v8dNoQu18DRFZVP3IGfeTjEpBsGOVhXtgFeZ0ojB15EUrIkmE48pcxoOrtdOpXV4UahP5sp0ZXuhJiQwhS8f5DF4jB/RyC76wIRItfQw6n26SEozg==
  • 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: AdVOq6sKIVns1T4lT6mLdYAbOOizMQ==
  • Thread-topic: Generating flows within a city with DFRouter?

Hi there,

 

I’m trying to generate realistic traffic flows within a city based on traffic data obtained from detectors. I’ve tried following the examples in demand from observation points (https://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points) and  Tutorials/HighwayDetector (https://sumo.dlr.de/wiki/Tutorials/HighwayDetector) but not had much success.

 

I used the “Locating detectors” script with my net file to generate the detector information (based on my detector lat lon coordinates) and I created a flow file with the count and average speed of vehicles across each detector. I then run the dfrouter script referencing the input files and ask it to output a route file and emitter file.

 

When I try running sumo only a few vehicles are added to the network even though I’m getting a lot of messages saying “vehicle is inserted in emergency situation” with the majority of vehicles in my summary output showing as “waiting”.

 

To give some information about my input data for dfrouter my flow values in my flow file are aggregated to 5 minute intervals so my flow file looks like this:

 

Detector;Time;qPKW;qLKW;vPKW;vLKW

Detector1;0.0;9;0;22.98;0

Detector2;0.0;13;0;12.42;0

Detector1;5.0;8;0;20.5;0

Detector2;5.0;51;0;29.81;0

 

And detector data is like:

 

<e1Detector id=" Detector1" lane="-25118551#3_1" pos="18.72243033159732" freq="60" file="NUL" friendlyPos="True"/>

<e1Detector id=" Detector2" lane="-25118551#3_1" pos="25.050468409043802" freq="60" file="NUL" friendlyPos="True"/>

 

 

I tried changing the frequency (freq=”60”) to freq=”300” as thought maybe it was setting emitter probability to high but this doesn’t fix things. I’ve also tried changing the “departLane” parameter to departLane=“allowed” and set departPos=”random_free” to see if that would add vehicles to an unoccupied location but that also doesn’t work.

 

Could someone give me some advice as to what the potential issue is please or if I’m completely misunderstanding the use of dfrouter (which is likely the case) and point me in direction of tutorial or documentation I can look at to build realistic traffic flows within a city area based on count data.

 

Thank you in advance.

 

Kind regards,

 

Barry


Back to the top