Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Average person speeds

Hi Giuliana,

 

thank you for your quick reply!

 

Unfortunately, I forgot to mention that I need those average speeds for certain time intervals (e.g. every 5-min). Then, your approach would only be possible if I assume a constant speed along the route, correct?

 

Best

Gabriel

 

--

Gabriel Tilg M.Sc.

Tel. +49 89 289 23837

 

Lehrstuhl für Verkehrstechnik / Chair of traffic engineering and control

Technische Universität München / Technical University of Munich

 

Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] Im Auftrag von Maria.Armellini@xxxxxx
Gesendet: Donnerstag, 10. September 2020 18:57
An: sumo-user@xxxxxxxxxxx
Betreff: Re: [sumo-user] Average person speeds

 

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-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Tilg, Gabriel
Sent: Donnerstag, 10. September 2020 18:28
To: sumo-user@xxxxxxxxxxx
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

 


Back to the top