yes 2015-06-13 20:25 GMT+02:00 François Vaudrin <[email protected]>:
> Danke Jakob, > > I think that should be fine for me so far. To generate the output file > do I have only to add a line in the additionnal-file? > > Like this ? > > <edgeData id="mesure_1" file="result_edge.xml"/> > > Regards > > François > > > ---------------------------------------------------------------------------- > > An edge-based state dump is defined within an additional-file as following: > <edgeData id="<MEASUREMENT_ID>" file="<OUTPUT_FILE>"/> > > _______________________________ > De : Jakob Erdmann [[email protected]] > Date d'envoi : 13 juin 2015 11:54 > À : François Vaudrin > Cc : sumo-user > Objet : Re: [sumo-user] Overall performance of a scenario (waiting time) > > Hello, > the easiest way to measure performance is via the aggregated waitingTime > of the edgeData output ( > http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures) > or the timeLoss for each vehicle in the tripinfo output ( > http://sumo.dlr.de/wiki/Simulation/Output/TripInfo) > > However, if you need these values at runtime I'm afraid you will have to > aggregate the values manually by checking the speed of all running vehicles. > > regards, > Jakob > > 2015-06-13 17:21 GMT+02:00 François Vaudrin <[email protected] > <mailto:[email protected]>>: > Hi, > > I try to find a way to calculate the overall performance of a scenario of > traffic lights based on waiting time but I do not see which function to > use. I thought to use the function getWaitingTime(edgeID) > but I understand that this function adds the waiting time of each vehicle > every second until it move. The number not only contains the waiting time > of this step but also for previous steps. So I can not add these waiting > times at every step to calculate the total waiting time of the simulation. > Maybe I do not see the problem, did anyone have an idea? > > getWaitingTime(vehID) > > The waiting time of a vehicle is defined as the time (in seconds) spent > with a > speed below 0.1m/s since the last time it was faster than 0.1m/s. > (basically, the waiting time of a vehicle is reset to 0 every time it > moves). > > > Thank you > > François > > > ---------------------------------------------------------------------------------------------------------------------------- > > Maybe I can use getCO2Emission(edgeID) to have a measurement of the > effectiveness of a scenario. I guess that more CO2 Emission mean more > waiting time. > > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected]<mailto:[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
