-
Notifications
You must be signed in to change notification settings - Fork 181
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
Problem with introducing a new routed mode #1142
Comments
There should be something like You also need to make sure that your |
Dear Prof. @kainagel , Thank you for your response. Indeed, it helped me solve the issue. Now I have other issues:
I have attached an image of my network here. (I added a two-directional, triangle-shaped network (blue-colored) which is only allowed for bicycles (as a newly defined routed mode).) Link attributes are almost like below:
|
Hello, next time could you please open a new issue with a new question? From what you write, this is probably expected behavior:
|
A contributing factor can also be that the two links of a road (one in either direction) are seen as equally far away from the point. So, which one is the agent supposed to pick? Well, you and I have real intelligence and figure that out. But in artificial intelligence, you have to come up with your own heuristic or, as is the case in MATSim (I may be wrong, but that's my understanding), live with its implementation: pick one at random. That might be why you see an agent taking off in the opposite direction. |
Dear Prof. @kainagel @JWJoubert , Thank you for your responses. Indeed, I used the previously existing nodes for creating my new links. To illustrate the situation more clearly, I have included an image below: @kainagel , sorry for any confusion. I will make sure to follow your advice next time! Output events + network: |
Hi @ArezHK , I am also trying to add bicycle mode into my network and encountered this issue. Have you figured out how to add a new bicycle link? I think adding new bicycle link manually will be time consuming and I am also trying to simulate bicycle movement (instead of classic teleportation) in MATSim :) |
Hi @jingjunL instead of adding links manually, another possible approach is adjusting the OSM network file and then convert that to MATsim network. |
Hi,
I tried adding a new travel mode, named Bicycle, which is routed on the network. To explain further: I introduced a new mode called Bicycle, defined a new vehicle type for it, and added this mode to the allowed modes for some of my network links. I also implemented a strategy to allow agents to change modes.
However, I am encountering an issue. Although some agents choose Bicycle, they seem to get stuck and do not move. There is also no walking involved. Should I manually add the walking mode to the allowed modes so agents can walk to nearest link with alowed mode for Bicycle?
Could you please help me with this issue?
Thank you.
The text was updated successfully, but these errors were encountered: