Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Regarding trip info by type

Hi Jakob, it is saying sumo-gui v 1_11_0+0354-11a4f78f849, and I just re-installed it from the link that you sent, but it's still giving the same error message (errno2 no such file or directory) 

On Tue, Dec 7, 2021 at 11:38 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Did you by any chance install the latest *release* version (1.11.0) instead of the latest development version (https://sumo.dlr.de/daily/sumo-win64-git.msi) ?

Am Di., 7. Dez. 2021 um 16:33 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello, very sorry to send a follow-up on this, but is there any possible workaround? I just installed the latest version of SUMO and have been getting errno 2 and errno11 despite typing in this command: python "%SUMO_HOME%\tools\output\tripeinfoByType.py" -t testoutput.xml which used to work in the previous version, except it didn't display per hour values. Just want to confirm if this is an issue in the latest version or if my command is incorrect. Thank you again!

Brandon

On Tue, Dec 7, 2021 at 6:25 PM Brandon Cedric Patangan <bcpatangan@xxxxxxxxx> wrote:
Hi Jakob,

I installed the latest SUMO version and uninstalled the old one so as to get the interval values. However I got Errno22 when running tripinfoByType: 

image.png

Is there a problem with the command I'm using? I believe that is the correct command, but I might be wrong. Thanks again 

On Tue, Dec 7, 2021 at 2:37 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Version 1.11.0 only supports 24hour values. For aggregating by time you need the latest development version of tripInfoByType. (call it with option --interval 3600).

Am Mo., 6. Dez. 2021 um 20:54 Uhr schrieb Jakob Erdmann <namdre.sumo@xxxxxxxxx>:
Possibly the file isn't fully written. If you created it by running sumo-gui, make sure to close the gui before reading the file.

Am Mo., 6. Dez. 2021 um 20:45 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello Jakob, I got this error, not sure what it means? I just ran tripinfobytype with the file and it said ParseError: no element found

 image.png

On Tue, Dec 7, 2021 at 3:01 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

Am Mo., 6. Dez. 2021 um 19:52 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi Jakob, thank you so much. I'm not too sure how to run sumo with --tripinfo-output, is it edited in the SUMO configuration file? Thanks!

On Tue, Dec 7, 2021 at 2:48 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
The tool is located in sumo\tools\output and will provide the 24h vehicle count by type (among other values)
You need make sure that sumo is running with option --tripinfo-output  and that the simulation is finished before you try to process the ttripinfo file with tripInfoByType.py  (it doesn't matter whether you simulate with sumo or sumo-gui).


Am Mo., 6. Dez. 2021 um 15:32 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello, please help! I apologize for sending another email but I'm in need of the data for my thesis. Regarding tripinfobytype.py is it possible to see the number of vehicles generated in a certain mode per hour in the simulation time? For example, I'm trying to get hourly AADT data as a variable in a travel cost equation. I need to have a value "n" per hour that signifies either (car, bus or truck) per hour for a 24 hour (86400) second simulation.

I've tried running the python simulation but I keep getting errors and don't know how to get it to display this data. I also don't know if I can get the per-hour data while I'm running sumo-gui in real time. 

I've attached a screenshot here, hope someone can let me know what I'm doing wrong:

image.png
Apologies if I've disturbed anyone, I'm just really in need of that data
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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