Hello, xml2csv.py is not suited for extracting mixed personInfos and tripInfos. If your persons are doing nothing else but ride, you can make it work by setting option '--device.tripinfo.probability 0' which disables tripinfo output for the vehicles. Alternatively, call sumo/tools/output/attributeStats.py tripinfos.xml -e ride -a waitingTime --full-output rides.csv (this extracts nothing but waiting time, though) To retrieve full information (rides and their ids) you need a custom parsing script (similar to https://sumo.dlr.de/docs/Tools/Sumolib.html#parse_all_edges_in_a_edge_data_meandata_file )
regards, Jakob regards, Jakob Am Do., 2. Dez. 2021 um 15:53 Uhr schrieb Ifezue Obiako < [email protected]>: > Jakob > > I see what you were referring to, but I was trying to get the waiting time > in csv format rather than xml format. I tried using the xml2csv.py script > in the command line. However, it doesn't seem that the xml2csv.py script > converts the person-info to csvformat. It only seems to convert the trip > info from xml to csv. Is there a way I can get the waiting time > specifically for the person-info from xml format to csv format? > > Thanks > Ifezue > > On Thu, Dec 2, 2021 at 7:26 AM Ifezue Obiako <[email protected]> > wrote: > >> Okay. I see now. Thank you for the help Jakob. >> >> On Thu, Dec 2, 2021 at 12:19 AM Jakob Erdmann <[email protected]> >> wrote: >> >>> tripinfo-output will include a record of every ride. Attribute >>> 'waitingTime' is the time spent waiting for vehicle arrival. >>> https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html >>> >>> Am Mi., 1. Dez. 2021 um 23:34 Uhr schrieb Ifezue Obiako < >>> [email protected]>: >>> >>>> Hello Everyone >>>> >>>> I have a simulation that uses person flows to impart rider demand >>>> within my simulation as part of its public transit system. With this in >>>> mind, I was going through the simulation output documentation and I was >>>> wondering if it is possible to get the individual person wait times of >>>> individuals within person flows? If so, how can I accomplish this? >>>> >>>> Thank you in advance for your help >>>> Ifezue >>>> _______________________________________________ >>>> 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
