matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
84 stars 179 forks source link

Simulate Detailed Bicycle Trajectory for Teleportation Mode #1167

Open jingjunL opened 1 month ago

jingjunL commented 1 month ago

I want to simulate bicycle trajectory (which links the bike has passed) in one MATSim simulation. Basically, for the mode bike, I would first like the router to calculate the shortest links that need to be used from origin to destination. Then, based on a pre-fixed speed (e.g. 5km/h), the agent will be teleported to the destination without influencing traffic congestion. (In other words, I want to simulate the bike mode and get the detailed links used for the trip in the event output). This is a little bit similar to the ride mode but still different (as I do not need the congested travel time).

I remember this is easily configurable in the config... Or am I wrong, I rather need to write my new router for the bike mode?

Thanks :)