Hi Gabriel, have you tried with the trip-info output? See https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html. You can use the routeLength and duration parameters to calculate the average speed. With the vehicle parameter you can check if the person is riding a bus/car.
Here you can find more information about the available outputs in sumo: https://sumo.dlr.de/docs/Simulation/Output.html This is an example of the output for persons: <personinfo id="0" depart="20608.00" type="DEFAULT_PEDTYPE"> <walk depart="20608.00" departPos="0.00" arrival="20699.00" arrivalPos="40.95" duration="91.00" routeLength="93.13" timeLoss="29.06" maxSpeed="1.50"/> <ride waitingTime="7.00" vehicle="Schnellbus.0" depart="20706.00" arrival="22115.00" arrivalPos="126.39" duration="1409.00" routeLength="8616.78" timeLoss="837.18"/> <walk depart="22115.00" departPos="126.39" arrival="22121.00" arrivalPos="118.90" duration="6.00" routeLength="7.49" timeLoss="1.02" maxSpeed="1.50"/> <access stop="Denstorf_BV" duration="22.00" routeLength="30.71"/> <walk depart="22143.00" departPos="50.82" arrival="22174.00" arrivalPos="10.00" duration="31.00" routeLength="40.82" timeLoss="3.85" maxSpeed="1.50"/> </personinfo> Regards, Giuliana From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Tilg, Gabriel Sent: Donnerstag, 10. September 2020 18:28 To: sumo-user@eclipse.org Subject: [sumo-user] Average person speeds Dear all, I am trying to calculate the average person speeds (if possible only when they ride on a bus / are in a car) in the network without relying on FCD (since these files are large, and parsing computationally costly in my use case). I used the person-summary-output, but meanSpeeds are not provided. I also tried to work with edge-based data, but only detectPersons="walk" works (I think). Any ideas are appreciated! Thanks and best regards, Gabriel
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user