Good afternoon,
Regarding the comparison between a theoretical empty network and the actual one, I believe `timeloss` comes quite close to that objective.
I would like to try estimating the average time spent in a queue.
The "Lane- or Edge-based Traffic Measures" output includes a `waitingTime` metric, which can be adjusted using the `speedThreshold` parameter.
According to a reference source, a vehicle can be considered to be in a queue under the following conditions:
The gap to the vehicle ahead (leader) is less than or equal to 6 m;
And its speed is greater than or equal to the leader's speed;
And its speed is less than or equal to one-third of its desired speed.
For an initial approach, I could define a vehicle as being in a queue (or as the first in line) if its speed is less than or equal to one-third of its desired speed; however, since I have varying road speeds, I cannot set a fixed default value. Is there a way to set the `speedThreshold` using a formula such as `0.33 * edgeSpeed`?
Since the data is aggregated as a total—just as I did for `timeloss`—I can generate the edge data by dividing `waitingTime` by `flow` to obtain an average value in seconds per vehicle.
Sds,
Pedro Oliveira