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.51k stars 1.42k forks source link

feat: Add uncertainty/error sampling to routeSampler.py #14045

Open mschrader15 opened 11 months ago

mschrader15 commented 11 months ago

routeSampler.py considers the turn and edge counts to be certain. In practice, there is usually some uncertainty or error in detectors such as radar or induction loops.

It would be neat if we could pass this as a parameter to routeSampler.py, so that different runs with different random seeds resulted in slightly different traffic. Naturally, this could be done in the input file to routeSampler, but that requires more file io

namdre commented 4 months ago

the uncertainty could be modeled by giving bounds instead of exact counts (#6727) or do you mean something like adding random noise to the counts (which would be much simpler)?

At the moment it should already be the case that changing the random seeds changes results (unless you use optimize --full and this has a unique solution). If you use limited optimization then the random initial sampling should still fudge the results.