Hello, traveltime is computed as length/averageSpeed If the average speed of all vehicles on the lane is 0 (i.e. a single stopped vehicle) than a large constant value is returned instead of dividing by 0 regards, Jakob
2016-02-28 4:00 GMT+01:00 洪 <[email protected]>: > Hi. > > I am an engineer in NEU China. > > First I thank your SUMO project. It’s a terrific simulation project. > > I am using SUMO to simulate traffic condition of ShenYangChina. > > Now I found some problems in SUMO. > > > > First, I found some problem in traci.lane.getTraveltime(‘0_1’) function > > For example > > traveltime = traci.lane.getTraveltime(‘0_1’) ; > > > > sometimes traveltime >100000, but there are a few vehicles in the lane ,so > I guess traveltime must be a small value. > > > > Second, traci.edge.getTraveltime(‘0’) > > > > traveltimeEdge= traci.edge.getTraveltime(‘0’) > > > > sometimes traveltimeEdge >100000, but there are a few vehicles in the edge > ,so I guess traveltimeEdge must be a small value. > > > > I am using sumo-win32-0.25.0. > > What’s wrong with me ? > > Can you help me this problem? > > Thank you. > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
