Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUMO: Problem while using flowrouter.py and similar ones to simulate ferry arrival #16074

Open
ioannamalli-hub opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels

Comments

@ioannamalli-hub
Copy link

Hello,

I have tried using flowroute.py or similar as suggested to set sink and source points in my island simulation. However, when I ran the simulation with just one entry/exit point I only get one route created. I want to be able to get many random routes and on top of that to have the set x and y counts satisfied on the entry and exit points. I am trying to simulate the traffic when a ferry is arriving on the dock and that is why I am only using one exit and entry points. I have attached what I am running in the terminal, note that detectors.xml has only the two points and the respective data are on data.csv.

Image

Any clarification/tips much much appreciated!

@m-kro m-kro added the question label Jan 23, 2025
@namdre namdre self-assigned this Jan 23, 2025
@namdre
Copy link
Contributor

namdre commented Jan 23, 2025

flowrouter does not give good control over the set of routes that are created.
I recommend that you use routeSampler instead. It can use random routes of your choosing as input.
See https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants