Hey Jakob and the other guys,
I tried to execute the cadytsIterate example, but it doesn’t work (see below)…
C:\Program Files (x86)\Eclipse\Sumo\sumo\tests\tools\assign\calibration>"C:\Program Files (x86)\Eclipse\Sumo\tools\assign\cadytsIterate.py"
--net-file input_net.net.xml --routes routes.rou.alt.xml --detector-values input_measurements
usage: cadytsIterate.py [-h] [-w] [-n FILE] [-+ ADDITIONAL] [-b BEGIN]
[-e END] [-R ROUTESTEPS] [-a AGGREGATION] [-m]
[-p PATH] [-y] [-I] [-j] [-q]
[--meso-recheck MESORECHECK]
[-Q {CO,CO2,PMx,HC,NOx,fuel,noise}] [--eager-insert]
[--time-to-teleport TIMETOTELEPORT]
[--time-to-teleport.highways TIMETOTELEPORT_HIGHWAYS]
[--cost-modifier {grohnde,isar,None}] [-7] [-r FILE]
[-d FILE] [-c CLASSPATH] [-l CALIBSTEP]
[-S DEMANDSCALE] [-F FREEZEIT] [-V VARSCALE]
[-P PREPITS] [-W EVALPREFIX] [-Y] [-Z MINCOUNTSTDDEV]
[-O] [-E] [-T] [-M FMAPREFIX] [-N CLONEPOSTFIX] [-X]
[-K]
[remaining_args [remaining_args ...]]
cadytsIterate.py: error: unrecognized arguments: --routes
C:\Program Files (x86)\Eclipse\Sumo\sumo\tests\tools\assign\calibration>"C:\Program Files (x86)\Eclipse\Sumo\tools\assign\cadytsIterate.py"
--net-file input_net.net.xml -r routes.rou.alt.xml --detector-values input_measurements
Traceback (most recent call last):
File "C:\Program Files (x86)\Eclipse\Sumo\tools\assign\cadytsIterate.py", line 168, in <module>
main()
File "C:\Program Files (x86)\Eclipse\Sumo\tools\assign\cadytsIterate.py", line 122, in main
"-cntlastlink", options.cntlastlink], log)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\assign\duaIterate.py", line 181, in call
retCode = subprocess.call(command, stdout=log, stderr=log)
File "C:\Users\kmalena\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\kmalena\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\kmalena\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden
Regarding the – for me more important – flowrouter input example:
I call flowrouter in that way:
python "C:\Program Files (x86)\Eclipse\Sumo\sumo\tools\detector\flowrouter.py" -n test.net.xml -d det.xml -f flow.csv
-o routes.xml -e flows.xml -i 1 --params="departLane=\"best\" departSpeed=\"max\"" -v --source-sink-outpu sosi_out.xml -t trimmed.xml --debug –z
Here no flows are created due to the respect-zero option (-z)!!
Neglecting this option leads to the following:
python "C:\Program Files (x86)\Eclipse\Sumo\sumo\tools\detector\flowrouter.py" -n test.net.xml -d det.xml -f flow.csv
-o routes.xml -e flows.xml -i 1 --params="departLane=\"best\" departSpeed=\"max\"" -v --source-sink-outpu sosi_out.xml -t trimmed.xml --debug
I attachted the needed files of net, detector-data, etc.
The flow-behaviour I wanna see is that 2 cars coming from the South end one in the East and one in the North, but flowrouter
generates different flows.
The reason could be the aggregated data over a minute so I thought about changing the flowrouter script to use the time-gap
of just a second because my real detectors give me the exact arrival time at those positions.
But before investing this time I wanted to ask you what you think about my idea.
Thank you for your time and help.
Cheers,
Kevin
_____________________________________
Kevin Malena
Regelungstechnik und Mechatronik
Heinz Nixdorf Institut
Universität Paderborn
Fürstenallee 11
33102 Paderborn
Telefon: +49 (0) 52 51 / 60 6278
Raum: F0.337
Internet:
http://www.hni.uni-paderborn.de/rtm
_____________________________________
Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx]
Im Auftrag von Jakob Erdmann
Gesendet: Donnerstag, 21. März 2019 19:46
An: Sumo project User discussions
Betreff: Re: [sumo-user] Validation of detected data
If you put together a simple input example where flowrouter fails I can take a look.
Thank you for your answer Jakob.
Obviously I do know that this problem is highly underderminated and complex, but even
for just single examplary routes flowrouter (and especially it’s the respect-zero function) doesn’t really do what I want it to.
In combination with the calibrators it works pretty well, but I thought there could
be a more elegant solution which I don’t see because I am very new to SUMO.
Maybe u or someone else can explain me how to create a <REALFLOWS>-file in cadytsIterate.py
because i wanna give it a try just to compare the results.
The <REALFLOWS>-file has to be a XML-file in form of:
<measurements>
<singlelink link="1to21" start="25200" end="32400" value="750" stddev="8" type="COUNT_VEH"/>
<singlelink link="1to22" start="25200" end="32400" value="250" stddev="8" type="COUNT_VEH"/>
</measurements>
I converted my detector data to the following format which is compatible for flowrouter:
Detector;Time;qPKW;vPKW
Detektor_Nummer_16_unten;0;2;10
Detektor_Nummer_1_unten;1;1;11
Detektor_Nummer_11_unten;2;2;13
Detektor_Nummer_2_unten;0;3;9
Detektor_Nummer_8_unten;0;2;10
Detektor_Nummer_13_oben;1;1;12
Detektor_Nummer_7_oben;1;2;12
…
With help of the additional file I can also figure out the lane and exact position of
those defined detectors.
I suppose the <REALFLOWS>-file in cadytsIterate.py uses aggregated data for the time
span start to end on the different lanes, but I am not sure.
Thanks & Cheers,
Kevin
Von:
sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx]
Im Auftrag von Jakob Erdmann
Gesendet: Donnerstag, 21. März 2019 13:44
An: Sumo project User discussions
Betreff: Re: [sumo-user] Validation of detected data
The problem flowrouter has to solve in a city network is strongly underdetermined. There are plenty of knobs and dials to improve the result (among other things
you can forbid explicit routes O/D-pairs.
You could also try cadyts which adapts demand levels to detectors for a pre-determined set of routes:
Hey…
I want to validate detected data in a sumo network of my city (at different spots i placed sensors to detect every incoming and outgoing vehicle with speed, arrival
time and type).
I triedto use flowrouter, but the generated routes don’t really fit the data.
Right now I implement a combination of the generated routes and flows by flowrouter with the ‚dynamic‘ calibrators using route probes (see docu: Building a scenario
without knowledge of routes, based on flow measurements).
Do you know about a different method like flowrouter which is more precise?
Thanks,
Kevin
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user