by setting --scale 0.5 every 2nd vehicle is discarded from the simulation (regardless of ID) Alternatively you could use traci.simulation.getDepartedIDList() and use traci.vehicle.remove() based on the ids.
2016-11-03 10:11 GMT+01:00 Rohit Tapikar <[email protected]>: > Hello , > I Tried to simulate Traffic conditions for a city whose Map I downloaded > from open street map and I was successful in obtaining the traffic > parameters. > Now I want to improve the average speed by employing different techniques. > One of the techniques is to use Odd-Even traffic simulation i.e. I only > want to allow Vehicles having odd traffic id to run so that the average > speed will increase due to less number of vehicles. > I am facing problem in implementing the odd-even scenario using Traci. > > > > *Rohit Tapikar* > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
