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

Hello, never mind it, worked perfectly! However it does seem like the stat is just the 24 hour count. Is there an hourly count available? Thanks again!

On Tue, Dec 7, 2021 at 3:45 AM Brandon Cedric Patangan <bcpatangan@xxxxxxxxx> wrote:
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

Back to the top