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.48k stars 1.4k forks source link

Trips #15198

Open Nifemi954 opened 1 month ago

Nifemi954 commented 1 month ago

I know SUMO provides a way to obtain routes from the detector and turn count data. Is there a way to obtain trips that satisfy the detector counts within SUMO?

m-kro commented 1 month ago

See the documentation pages about generating traffic from observations. Trips are by definition incomplete routes (unknown route between two points) and thus not appropriated for this kind of question. Full vehicle definitions or flows with route definitions can be obtained, though.

Nifemi954 commented 1 month ago

Thanks for the reply, will take a look at the documentation

namdre commented 1 month ago

You can convert vehicles with complete routes back into trips using duarouter option --write-trips.