I'm sorry let me rephrase, how do I retrieve the loaded, departed and
arrived? Do you mean to use traci.simulation.get_load()?

On Thu, Feb 10, 2022, 9:48 PM Jakob Erdmann <[email protected]> wrote:

> it's the sum of the values retrieved in every simulation step.
>
>
> Am Do., 10. Feb. 2022 um 14:37 Uhr schrieb Nao Tomori <
> [email protected]>:
>
>> How to do I tally the departed loaded and arrived?
>>
>> On Thu, Feb 10, 2022, 9:28 PM Jakob Erdmann <[email protected]>
>> wrote:
>>
>>> insertion-backlogged: simulation.getPendingVehicles
>>> running: vehicle.getIDCount()
>>>
>>> for other counts, you can only retrieve the number of changes in the
>>> last step and must tally the sum yourself:
>>> simulation.getLoadedNumber
>>> simulation.getDepartedNumber
>>> simulation.getArrivedNumber
>>>
>>> you cannot retrieve discarded vehicles.
>>>
>>> Am Do., 10. Feb. 2022 um 13:08 Uhr schrieb Starlight Charlotte <
>>> [email protected]>:
>>>
>>>>
>>>>
>>>> How do I retrieve these numbers using traci?
>>>>
>>>>
>>>>
>>>> I’ve tried using traci.simulation.getLoadedNumber() it appeared as 4
>>>> then 0 after that
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>>> Windows
>>>>
>>>>
>>>>
>>>>
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>>  Virus-free.
>>>> www.avast.com
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>> <#m_-6267118590175302622_m_-3036645176796405775_m_8225963174092690313_m_125769198724385624_m_3621798713245601962_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>> _______________________________________________
>>>> sumo-user mailing list
>>>> [email protected]
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to