2). the meanData decleration must be defined in an additional file. It always measures all edges. The id is only used to destinguish multiple sets of meanData definitions that write to the same output file (so it can be anything you like).
see https://github.com/eclipse/sumo/blob/master/tests/sumo/output/meandata_edgebased/one_vehicle/interval60s/input_additional.add.xml (load this with option --additional-files) 2018-08-30 1:40 GMT+02:00 mohsen hs <[email protected]>: > Hello there, > > I would like to collect some stats about the edges such as length, mean > speed, mean density,....... > > I know a few approaches, and I think the second one is the > easiest/fastest approach but I have some difficulty to make it practical: > > 1-using inductive loop detectors-> use additional file and create a loop > for each lane-> time consuming, is there any existing script for this? > > 2- use MeanData-> I am not sure how I can instantiate this ( > http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_ > Edge-based_Traffic_Measures), shall it be done through additional file > (Is there any example for using this method)? what does id mean here? > *id* id (string) The id of this set of measurements. This user-defined id > is needed for differentiating between multiple sets of measurements in a > single output file.Wiki says the id of measurement, so what does this > actually mean? where and how shall I define the measurement formula? Is not > this the edge id? > How many output it generates? one for each id? I need to use > mpl_dump_onNet.py > <http://sumo.dlr.de/wiki/Tools/Visualization#mpl_dump_onNet.py> for > visulizing these outputs? Is there any existing script that can read these > output? > > 3. Use *--full-output -> *makes the simulation very slow > > 4. TracCI-> slow down the simulation, I may just use this to get the > length of all edges and save them in my database, if I cannot get the > length in any other way. > > I would be very grateful if you could advise. > > Many thanks > Mohsen > > > > > > > > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
