Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using Nagel-Schreckenberg model in SUMO
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Thu, 7 Nov 2019 16:26:19 +0100
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

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
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top