Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Arrived Vahicles Number different in SUMO-GUI and Traci

Hello,
the GUI wording is somewhat misleading. The GUI counts vehicles that were discarded due to max-depart-delay as 'arrived' even though they never departed in the first place. TraCI only counts vehicles that actually arrived at their destination.
regards,
Jakob

2017-12-18 2:53 GMT+01:00 Pedro Matuck <pjmatuck@xxxxxxxxx>:
Hi,

I'm facing a curious problem which the number of Arrived Vehicles in SUMO-GUI is different from Traci.

For example:
In network: Parameters interface, the number displayed is: 1235

Imagem inline 3

In Traci, I'm using a variable 'arrived_vehicles' and aggregating the value returned from 'traci.simulation.getArrivedVehicle()' and the result is: 748

Imagem inline 2

I'm using the attributes max-num-vehicles and max-depart-delay. Not sure if it should influence.

Thank you.

--
Pedro J. Matuck

"The hardest battle lies within."

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top