You can remove vehicles by giving their ID. See http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State
2017-02-16 9:55 GMT+01:00 Abdul Salam Shaikh <abd.salam.sha...@gmail.com>: > Thanks for responding, is there any way provision to delete the vehicles > from SUMO via TRACI ? > > On Feb 16, 2017 8:29 AM, "Jakob Erdmann" <namdre.s...@googlemail.com> > wrote: > >> Hello, >> there is no direct way to control a <flow> via TraCI. >> What you can do is insert additional vehicles using the same parameters. >> Alternatively, you could delete vehicles from the flow after they have >> departed in order to reduce traffic. >> regards, >> Jakob >> >> 2017-02-15 22:45 GMT+01:00 Abdul Salam Shaikh <abd.salam.sha...@gmail.com >> >: >> >>> Hi, >>> >>> I am trying to simulate a traffic situation where I want to change the >>> flow >>> of vehicles at different steps. >>> >>> I am defining the flow using: >>> <flow id="normal" type="normal car" begin="0" end="5000" number="100" >>> from="entry" to="exit" departPos="last" departLane="best" /> >>> >>> Is there any way I can control the vehicle number at different points in >>> my >>> execution via Traci. >>> >>> Thanks! >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> sumo-user mailing list >>> sumo-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/sumo-user >>> >> >> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user