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

Person stops using pt under a mixed bus and rail network. #3555

Open
ryuseikakujo opened this issue Nov 11, 2024 · 0 comments
Open

Person stops using pt under a mixed bus and rail network. #3555

ryuseikakujo opened this issue Nov 11, 2024 · 0 comments

Comments

@ryuseikakujo
Copy link

ryuseikakujo commented Nov 11, 2024

Situation

I have extended the pt-tutorial network by adding a bus route. (pink line in the capture)

Screenshot 2024-11-11 at 10 34 21

Written in markdown, b1 through b4 are the newly added bus routes.

                                              (b4)
(14)==========(24)==========(34)==========(44) ||
 ||            ||            ||            ||  ||
 ||            ||            ||            ||  ||
 ||            ||            ||            ||  ||
 ||            ||            ||            ||  ||
 ||            ||            ||            ||  ||
 ||            ||            ||            ||  ||
 ||   (b1)=====++====(b2)====++====(b3)====++==++
(13)==========(23)==========(33)==========(43)
 ||            ||  (2)       ||            ||
 ||            || //   \\    ||            ||
 ||           /||/        \\ ||            ||
 ||         // ||           \||\           ||
 ||        //  ||            ||\\          ||
 ||       //   ||            || \\         ||
(12)==========(22)==========(32)==========(42)
 ||     //     ||            ||   \\       ||
 ||    //      ||            ||    \\      ||
 ||   //       ||            ||     \\     ||
 ||  //        ||            ||      \\    ||
 || //         ||            ||       \\   ||
 ||(1)         ||            ||        (3) ||
(11)==========(21)==========(31)==========(41)

Data

Data I am using is as follows:

MATSim version

MATSim 2024.0

Problem

The person 2 in population.xml moves from near the lower left corner to near the upper right corner on the network. Rationally, person 2 should take the train first and then the bus as shown in the orange line in the capture below, but person 2 walks at whole travel.

Screenshot 2024-11-11 at 10 34 21

In schedule.xml, commenting out the train transitLine tag will cause person 2 to travel by bus and walk, and commenting out the bus transitLine tag will cause person 2 to travel by train and walk.

However, in schedule.xml where bus and train exist at the same time, person 2 will no longer use pt and will walk.

What changes to the data would make person 2 travel by both train and bus?

I would appreciate it if you could reply this.

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

1 participant