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] https://lists.sourceforge.net/lists/listinfo/sumo-user
