Thank you so much.
Regards,
Rohan

On Tue, Dec 13, 2022 at 2:11 PM Jakob Erdmann <[email protected]> wrote:

> The speed value is computed as travelledDistance / sampledSeconds.
> You should be able to replicate the aggregated speed value by the
> following procedure:
> - for each edge compute travelled distances as speed * sampledSeconds
> - sum up  the distances and sampledSeconds
> - take the quotient of the sums
>
>
>
>
>
> Am Di., 13. Dez. 2022 um 09:23 Uhr schrieb 191 000 <
> [email protected]>:
>
>> Dear community,
>>
>> I have been trying to understand how the average speed is calculated in
>> edge-based traffic measures. I know it is space-mean speed but I am trying
>> to aggregate data for multiple edges.
>> I first generated average speed of two edges using edges="" and
>> aggregate="True" method, then I generated average speed of the two edges
>> separately. Now, I have tried arithmetic mean, harmonic mean, weighted
>> average by numbers but cannot get the value equal to the aggregated value
>> given by SUMO.
>> Kindly suggest in what way can I manually aggregate the average speed
>> data so as to get same value as when being done by aggregating directly
>> through SUMO.
>>
>> Thanks and regards,
>> Rohan
>> _______________________________________________
>> 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