Hi Pranjal, to the best of my knowledge there was no SUMO in 1998 and there never was a Nagel-Schreckenberg model implemented in SUMO. This is because the NaSch model is a cellular automaton and as such a space discrete model while SUMO uses a space continuous model. So while in principle you could implement it, a lot of SUMO's functionality relies on the fact that a vehicle is able to stop on a defined position and that a road does not need to have a length which is a multiple of the vehicle length. Also the discretized speeds (resulting from the discretized space) do not allow for the modelling of junction interaction, lane changing etc. SUMO relies on. So briefly: You could implement it as another CFModel, see https://sumo.dlr.de/docs/Developer/How_To/Car-Following_Model.html but please think twice. If you just want to compare some macroscopic parameters you are probably much faster doing a NaSch implementation outside of SUMO.
Best regards, Michael Am 01.11.19 um 12:53 schrieb Pranjal Dhole: > Hi, > > I would like to use Nagel-Schreckenberg (Nasch) model for some > fundamental traffic theory experiments. I found some literature on SUMO > publications from 1998 that uses Nasch model. > > But, so far, my looking at the code suggests that SUMO uses more > complicated rules for vehicle state updates. So my questions are: > > [Q.1] Is it possible for me to use /only/ Nasch model for vehicle state > updates in SUMO and no other modified rules for state updates? > [Q. 2] Could someone point to where I need to write, if it doesn't > already exist, my model and make sumo use it? > [Q.3] Is it possible for me to write my model in python (via some API > like TraCI) since I am not well versed in C++? > > Thanks a lot, > Pranjal > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
