You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I tried to implement a new routed mode (e.g., Pedelec) in my simulation. I enabled this mode for most links but excluded it from certain specific links, such as highways. However, in some iterations, the simulation crashes, and I encounter an error message like the one below:
No route was found from node 2939973493 to node 7027271405.
My concern is: how can I resolve this issue by allowing agents to choose another mode that is compatible with the surrounding available links? For example, I would like agents to switch to "Car" mode when the surrounding links only permit "Car" instead of "Pedelec."
Additionally, I should mention that when I run the simulation with only the "Car" mode or a smaller number of agents in mixed modes, I do not encounter this error.
Edit: I found out some vehicles are teleported to nearest compatible allowed mode link (which in some cases does not seem realistic) but that does not happen to all similar cases and simulation crashes!
I appreciate your help in this matter.
The text was updated successfully, but these errors were encountered:
You have to make sure that your network is connected for all modes in the simulation. This happens easily, when you introduce a new mode, which is not permitted on all links of the network. Even though the overall network might be connected, you might have produced two pedelec "islands". Make sure, to not produce such islands. Once you have your network, you can ensure that it is connected by running the following for each mode in your model. The example below does this for car and pedelec. After running the cleaner, make sure to inspect whether your network contains the expected infrastructure, or if the cleaner has removed more than you expected.
new MultimodalNetworkCleaner(network).run(Set.of("car"));
new MultimodalNetworkCleaner(network).run(Set.of("pedelec"));
Hi,
Recently, I tried to implement a new routed mode (e.g., Pedelec) in my simulation. I enabled this mode for most links but excluded it from certain specific links, such as highways. However, in some iterations, the simulation crashes, and I encounter an error message like the one below:
No route was found from node 2939973493 to node 7027271405.
My concern is: how can I resolve this issue by allowing agents to choose another mode that is compatible with the surrounding available links? For example, I would like agents to switch to "Car" mode when the surrounding links only permit "Car" instead of "Pedelec."
Additionally, I should mention that when I run the simulation with only the "Car" mode or a smaller number of agents in mixed modes, I do not encounter this error.
Edit: I found out some vehicles are teleported to nearest compatible allowed mode link (which in some cases does not seem realistic) but that does not happen to all similar cases and simulation crashes!
I appreciate your help in this matter.
The text was updated successfully, but these errors were encountered: