Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] DFROUTER Detector type is discarded for most of detectors

Hello,
using  only edgeData will work just fine. To make use of the edgeData that you generated (counts are stored in 'qPKW`), you need to set routeSampler option
--edgedata-attribute qPKW
If your flowfile contains temporal changes in flow, you need to update edgeDtataFromFlow.py to the latest development version because the version released with 1.6.0 does not handle the time-information correctly.  https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version

regards,
Jakob



Am Fr., 26. Juni 2020 um 08:55 Uhr schrieb anilbaral <baral.anil99@xxxxxxxxx>:
Hi Jakob,
In response to my first email, you suggested me to use routesampler.py
instead of dfrouter and flowrouter.py. I couldn't obtain sufficient
information on routesample.py from the SUMO website. Please help me with my
following questions:
when using routesampler.py, should we provide both turn count data and edge
data file? Can turn count data be generated from the flow data that we use
in DFROUTER? I have generated edge data using edgeDataFromFlow.py, the edge
data file looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<data>
    <interval id="flowdata" begin="0" end="3600">
        <edge id="-118082207#1" qPKW="2546.0" qLKW="0" groups="1"/>
        <edge id="-143701451#0" qPKW="2738.0" qLKW="0" groups="1"/>
        <edge id="-143701507#18" qPKW="6568.0" qLKW="0" groups="1"/>
        <edge id="-216229752#1" qPKW="801.0" qLKW="0" groups="1"/>
        <edge id="-216229761#3" qPKW="940.0" qLKW="0" groups="1"/>
        <edge id="-21691403#3" qPKW="4964.0" qLKW="0" groups="1"/>
        <edge id="-21695844#4" qPKW="10142.0" qLKW="0" groups="1"/>
        <edge id="-21696190#0" qPKW="5806.0" qLKW="0" groups="1"/>

Do these outputs represent the correct attributes of the edge data file?


I have flow data from detectors no turn count data, Is it possible to use
routesampler.py to generate the vehicles?

Thank You,
Anil



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
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