Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Filtered visualisation of single flows (after simulation)

1. see https://github.com/eclipse/sumo/issues/10404
2. This is a feature. Other outputs (i.e. https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html) may contain multiple data time intervals and the gui will always show the data that matches the current simulation time. Hence, if you want to visualize data beginning at time=3000, set sumo option --begin=3000 (or set a breakpoint at that time with option -B 3000 and fast forward).

regards,
Jakob

Am Di., 22. März 2022 um 17:46 Uhr schrieb Rob Maris <rob@xxxxxxxxxxx>:
Using vehroutes.xml (generated during simulation) and postprocessing countEdgeUsage.py (--intermediate) it is possible to visualize edge usage within the network, and to analyze parts of the network occupance if an edge or *consecutive* edges are specified as --subpart filters.
What I want to do is the following: not to be bound to specifying consecutive edges but instead the starting edge (or Taz) and final edge (or Taz). It is my purpose to show the degree of deviation of the shortest route of a predefined flow from/to edge/taz in a simulation under heavy traffic, where rat-run traffic may occur.

A method would be to filter vehroutes.xml through a text filter that leaves only <vehicle .... > entries that contain specified from(Taz) and to(Taz) strings, and then apply countEdgeUsage.py without --subpart (if countEdgeUsage.py has limitations).

BTW: A bug seems present when a begin time is set, e.g. -b 3000.
The output file then starts with begin="3000", but the viewport with byEdgedata, attribute intermediate does not show colored edges. Only after manualle editing the output file such that begin="0", then the color representation is present and plausible. It seems that the bug is in parsing the output file by the visualisation.

The begin time from creating countEdgeUsage-output is interesting, because one can focus the graphical representation to near-to-congestion time intervals.

Regards,
Rob
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top