eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.57k stars 1.43k forks source link

routeSampler.py: allow additional route restriction #6727

Open namdre opened 4 years ago

namdre commented 4 years ago

Additional hard counts

Maximum counts: In contrast to the hard counts, there is no penalty for staying below the maximum but the value may not be exceeded. (useful for avoiding jams due to infeasible volume on edges without measurements). It should possible to set a default maximum flow per lane via options.

Minimum counts: In contrast to the hard counts, there is no penalty for going above the minimum but the value must be reached.

namdre commented 2 years ago

idea: we could permit python range notation in the data attributes:

this would avoid the need for a lot of extra attributes and should be quite readable