Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [SPAM] duaiterate.py problems

Most likely, your input trip file contains a trip where the 'to' edge is not reachable from the 'from' edge.
You can filter out invalid trips using 'duarouter --ignore-route-errors'.

Am Fr., 4. Juni 2021 um 16:56 Uhr schrieb Fereshteh <j.fereshte1993@xxxxxxxxx>:
Hello,

I figured out that the duaiterate.py writes edgeData by default to a file
named dump_XYZ.xml.
Also, I understood the error that I mentioned in my last email was related
to the option of --eco-measure CO2, and by deleting this option the error
was disappeared too, although the reason of error is still not clear to me.
Anyway, I ran the command without --eco-measure option, like this:

python ~\duaIterate.py  --net-file *.net.xml --trips *.trips.xml
duarouter--additional-files vtype.xml,closed-links.xml
duarouter--vtype-output vtype_output.xml --additional
vtype.xml,closed-links.xml,mean-output.xml -l 10 -m -b 0 -e 86400
--clean-alt

But I faced with a new error:

Error: Vehicle 'light134047' has no valid route. No connection between edge
'30486-30609' and edge '30609-30614'.
Quitting (on error).

It is while I have inserted a trip file as input, not a route file, and the
routs should be specified by duaiterarte.py call. I searched the mentioned
vehicle in the generated .rou file. It is as follow:


        </vehicle>
    <vehicle id="light134047" type="passenger" depart="5.71"
departLane="free" departSpeed="max" fromTaz="45043" toTaz="45772">
        <route edges="45043-30110 30110-30115 30115-30116 30116-30131
30131-30111 30111-30108 30108-30107 30107-30106 30106-30099 30099-30034
30034-30019 30019-30020 30020-30009 30009-30008 30008-30005 30005-29860
29860-29852 29852-29847 29847-29841 29841-29884 29884-29961 29961-29960
29960-29963 29963-29965 29965-29822 29822-29831 29831-29828 29828-29809
29809-29597 29597-29589 29589-29562 29562-29377 29377-29347 29347-29320
29320-29318 29318-29297 29297-29277 29277-29274 29274-29272 29272-29263
29263-29260 29260-29261 29261-29270 29270-29295 29295-29267 29267-29486
29486-29517 29517-29362 29362-29360 29360-29371 29371-29398 29398-29406
29406-29394 29394-29345 29345-29338 29338-29306 29306-29310 29310-29308
29308-29298 29298-29317 29317-29341 29341-29361 29361-29794 29794-29821
29821-29906 29906-29916 29916-30188 30188-30335 30335-30479 30479-30482
30482-30488 30488-30486 30486-30609 30609-30614 30614-30621 30621-30846
30846-30848 30848-31067 31067-31076 31076-31088 31088-31118 31118-31124
31124-31332 31332-31484 31484-31482 31482-31480 31480-31481 31481-31655
31655-45772"/>
    </vehicle>

I don’t get why duaiterate has assigned a route that leads to connection
error between edges and how can I deal with it?

Thank you
Fereshteh




--
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