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 <[email protected]>:

> 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: image.png]
>
> On Tue, Dec 7, 2021 at 3:01 AM Jakob Erdmann <[email protected]>
> wrote:
>
>> Yes. But also see
>> https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html
>>
>> Am Mo., 6. Dez. 2021 um 19:52 Uhr schrieb Brandon Cedric Patangan via
>> sumo-user <[email protected]>:
>>
>>> 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 <[email protected]>
>>> 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 <[email protected]>:
>>>>
>>>>> 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: image.png]
>>>>> Apologies if I've disturbed anyone, I'm just really in need of that
>>>>> data
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> _______________________________________________
>>>> sumo-user mailing list
>>>> [email protected]
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to