Skip to content
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

Configuring Walk mode on network instead of teleportation. #1188

Open
cnabu opened this issue Dec 4, 2024 · 10 comments
Open

Configuring Walk mode on network instead of teleportation. #1188

cnabu opened this issue Dec 4, 2024 · 10 comments

Comments

@cnabu
Copy link

cnabu commented Dec 4, 2024

Hello All,

In my project, I am working to determine the probability of each agent being involved in a fatal accident based on their mode of transport. To achieve this, I need to include all transport modes (walk,bike,car,ride,pt) in the network to track the exact paths each agent takes, their travel distances (in kilometers), and the time spent on the road (in seconds or hours).

I have successfully added bike mode to the network and configured it properly. However, I’ve encountered persistent errors while trying to add walking as a network-based mode. Someone suggested introducing a new mode of transport similar to walking but configured to operate on the network instead of using teleportation. Following this advice, I created a new transport mode called walker and configured it to run on the network.

Despite several simulation attempts with different mode parameters, I’m facing an issue: no matter what alternative specific constant parameter value I use for the walk mode (negative, zero, or positive) to limit agents' use of it, a significant number of agents still use the walk mode instead of walker.

Could someone kindly explain why this is happening and suggest a solution? Ideally, I want all agents to use walker instead of walk. I understand it may not be entirely possible since the walk mode is necessary for agents to leave their homes and enter their workplaces due to simulation rules. However, I aim to minimize its usage as much as possible.

I’ve attached
walk_mode_on_network.pdf
file showing the simulation output from SimWrapper along with the output_config.xml as pdf file
config.pdf
for reference.

@CianGraham
Copy link

Hi @cnabu , can you please give me some advice on how you add bike as network mode :( I am also having difficulty configuring that.

For your question, it is probably because walk is used more for teleportation during MATSim run... I am not sure

@cnabu
Copy link
Author

cnabu commented Dec 13, 2024

Hi @CianGraham, Can you access the course materials and video on Isis?

@CianGraham
Copy link

Hi @cnabu , unfortunately not as I am not a student at TUB :( Can you maybe share your config and run file?

@cnabu
Copy link
Author

cnabu commented Dec 13, 2024

You can still access it as a guest. Please have a go!

@CianGraham
Copy link

Is it MATSim Basic for this year? Can you share the link and the date? (as I clicked your link but didnt see the course). Probably you need a password to sign in as guest....

@cnabu
Copy link
Author

cnabu commented Dec 13, 2024

@CianGraham
Copy link

Here's the link: https://isis.tu-berlin.de/enrol/index.php?id=37499

It asks for a password for guest sign-in... Can you please share your config? If not possible, thanks very much for your reply!

@cnabu
Copy link
Author

cnabu commented Dec 13, 2024

The config file for my scenario is huge and complicated, I'm afraid it will only add on to your confusion. The only advise I can offer you right now is to refer to the MATSim book written by Andreas Horni.

@CianGraham
Copy link

The config file for my scenario is huge and complicated, I'm afraid it will only add on to your confusion. The only advise I can offer you right now is to refer to the MATSim book written by Andreas Horni.

Actually I don't mind it is huge haha. But if it is not convenient, no worries, fully understand :) Thanks!

@cnabu
Copy link
Author

cnabu commented Dec 13, 2024

By the way the config file is already attached with the original post :) Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants