Person stops using pt under a mixed bus and rail network.
Opened this issue · 0 comments
Situation
I have extended the pt-tutorial network by adding a bus route. (pink line in the capture)
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.
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.