Hello, the maximum speed of a vehicle is defined in its vType. Each car may have its own vType so it's fairly simpled to customize maximum speeds and nothing in the car-following models needs to be changed for this. See http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Types Since heterogeneous speeds are an important aspect of traffic, speed distributions are supported even without defining multiple types: http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Speed_Distributions regards, Jakob
2017-08-20 9:57 GMT+02:00 Jonas Oltrogge via sumo-devel < sumo-devel@lists.sourceforge.net>: > Hello guys, > > if have a problem with the car following models in sumo and their methods. > I want to expand an existing model by the functionality that the leading > car has a slower speed max than the following. > The implementation of an extra parameter for the CFM I managed, also > rewriting the method: maxNextSpeed of the CFM and changed the max Speed to > my parameter. > > With that change it is possible that the following car drives with a slower > speed if it is the following vehicle, but if I try that the following car > should drive faster than the leading (if the gap and save speed allow > this), it would drive just the original max speed and not the speed from my > parameter. > > Do someone have an idea where also a check for the vehicle max speed is > done or how I can solve this issue? > > Best and many thanks, > > Jonas > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-devel mailing list > sumo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-devel mailing list sumo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-devel