There is no direct way to manipulate flows. You can delete individual flow
vehicles to decrease the flow and you can add additional vehicles, using an
existing routeID to increase traffic using vehicle.remove and vehicle.add.
An alternative would be to define calibrators in xml and manpulate them via
TraCI:
https://sumo.dlr.de/docs/Simulation/Calibrator.html
https://sumo.dlr.de/pydoc/traci._calibrator.html#CalibratorDomain-setFlow

regards,
Jakob

Am Mo., 22. Nov. 2021 um 19:03 Uhr schrieb Hervé Diedie <
[email protected]>:

> Actually, I start the simulation campaign by loading  .rou.xml file
> containing all vehicle routes types  flows vtype distribution etc.
> and i want to change traffic or arrival rate  on the course of the latter
> simulation from Traci
> without adding new vehicles ; since a repeated vehicle emissions ("flow"s)
> is defined in the .rou.xml file.
> Any solution ?
>
> best regards.
>
> Le lun. 22 nov. 2021 à 12:56, Jakob Erdmann <[email protected]> a
> écrit :
>
>> Yes. By adding more vehicles using traci.vehicle.add:
>> https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#add_alias_addfull_0x85
>>
>> Am Mo., 22. Nov. 2021 um 11:25 Uhr schrieb Hervé Diedie <
>> [email protected]>:
>>
>>> Can vehicles' arrival rate on a lane be changed during a simulation from
>>> traci ?
>>>
>>> best regards.
>>> _______________________________________________
>>> 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