Replies: 1 comment
|
Hi @anujn08, introducing a new mode sounds in principle like a feasible solution. Could you provide more information about the matsim version and provide at least the first error message? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I need some guidance on adding a leg between two activities without affecting the overall mode share (i.e., a dummy leg).
For example, an agent has the following plan:
home (end time: 08:00) → leg (car) → office (end time: 13:00).
Now, I want to include a lunch activity at the same office location. I would prefer introducing a separate lunch activity rather than simply extending the office activity. However, since the location remains the same, I’m unsure how to correctly insert a leg between these two activities. I tried using an existing mode like walking, but that increases mode share, which I want to avoid. I also attempted to define a dummy mode and set its parameters, but I encountered an injector error and couldn’t get it to work properly. Is there a recommended way in MATSim to handle this kind of situation without impacting mode share? Or would it be better to stick with extending the office activity duration instead?
Any suggestions or best practices would be greatly appreciated. Thanks in advance!
All reactions