You could try either - post-process the netstate dump with a tool like 'grep' or - create a smaller scenario with (almost) the same traffic. see http://sumo.dlr.de/wiki/Tools/Routes#cutRoutes.py regards, Jakob
2015-07-23 3:48 GMT+02:00 王司宇 <[email protected]>: > Hi, Michael > > > Thanks for your information. Indeed I need individual speeds for vehicles > which travel along a specific road consisted of several edges. > > > > I checked the usage of traci and found that I can get vehicle_ids and mean > speed by TraCI/Lane Area Detector Value Retrieval. But I still need further > information of each vehicle of them. TraCI/Vehicle Value Retrieval with > vehicle_ids above may contribute to this but still, there are too many > vehicles to count, which makes it a inefficient solution. > > > > Is there some ways to directly obtain every vehicle’s speed and position > along with a specific road? > > > > Best, > > > > Sean > > > > > > > > > 发自 Windows 邮件 > > > > > > 发件人: Michael Behrisch > 发送时间: 2015年7月9日, 星期四 16:47 > 收件人: [email protected] > > > > > Hi, > > Am 2015-07-09 09:22, schrieb Jetze Baumfalk: > > You can use TraCI and lane detectors for this. See > > http://sumo.dlr.de/wiki/TraCI/Lane_Area_Detector_Value_Retrieval and > > http://sumo.dlr.de/wiki/Simulation/Output/Lanearea_Detectors_(E2). > > > > Maybe this can also be done with just Lane Detectors and without TraCI, > > but > > I'm not sure about that. > > It depends on whether you need individual speeds for all vehicles or the > aggregated value. > For the former you will need traci or filter the netstate dump or the > fcd output. > There is also the traceExporter which can filter by time and region. > http://sumo.dlr.de/wiki/Tools/TraceExporter#Processing_Options > > Regards, > Michael > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
