Hi Camillo,
you can read in our docs
<https://sumo.dlr.de/docs/Simulation/Output/RawDump.html#generated_output>
about the attributes' meanings. The "pos" attribute refers to the distance
from the lane begin. Generally the vehicle element is a child of the lane
element the "pos" attribute refers to. It is possible to use it for traffic
density purposes although there are other output options (e.g. edgeData).
You'd still need to read the edge lengths from the network, e.g. by using
sumolib.net (ref <https://sumo.dlr.de/pydoc/sumolib.net.html> , doc example
<https://sumo.dlr.de/docs/Tools/Sumolib.html#compute_the_length_of_the_selected_edges>
).
Best regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] What does 'pos' mean in statistics net dump?
Datum: 2023-11-27T15:37:54+0100
Von: "Camillo S via sumo-user" <[email protected]>
An: "Sumo project User discussions" <[email protected]>
Hi SUMO team,
I just want to make sure I understand the meaning of this in the statistics
net dump file.
<vehicle id="vehicle_1" pos="8970.47" speed="30.00" posLat="2.35"
speedLat="0.00"/>
does 'pos' mean the position in terms of meters from the starting position?
does this mean that this vehicle is at position 8970.47 meters from the
starting point?
Another question is, is it possible to use the statistic net dump file to
calculate traffic density at every timestep? How is this done?
Thanks,
Camillo
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user