Thank you Jacob.
I Hope this solution will not disappear persons from the simulation.
Best regards.

Le ven. 5 nov. 2021 à 10:47, Jakob Erdmann <[email protected]> a écrit :

> traci.person.setColor
> traci.person.removeStages
> followed by traci.person.appendWaitingStage
>
> Am Fr., 5. Nov. 2021 um 10:19 Uhr schrieb Arbi Alaouy <[email protected]
> >:
>
>> Hi sumo users,
>>
>> Im simulating individuals throught pedestrian models. The xml file
>> containing persons activities is
>> structured as folows :
>> <person id="" type="pedestrian" depart="">
>>     <walk .... />
>>     <ride ... />
>>     <walk .... />
>>     <stop .../>
>>     <walk .... />
>> </person>
>> ...
>> During the simulation, individuals execute their activities. However for
>> some reasons, I would like
>> to exclude some persons from exectuting their plans dynamically, without
>> droping their activity plans
>> from the XML file, they should be in the simulation, in their original
>> locations (e.g, homes), their
>> icon color should be different from the default one (red for excluded
>> persons, green for mobile persons).
>> So here I have two questions, what is the best way to disable activity
>> plan for a person (using traci
>> or may be throught XML insertion),  and how can I modify dynamically the
>> Icon color of
>> a person.
>> I Hope the questions are clarified, and thank you very much for answers
>> and time.
>>
>> Best regards
>> Dr Elarbi.
>>
>>
>> _______________________________________________
>> 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
>


-- 
El-arbi El-alaouy
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to