-
Struggling to pin this down. I'm using v2024.0 with a java launcher. Context is I have created a network of two grids connected by three bridges, and have transit lines running east to west and north south. I remove 10% of internal lines but should have full access to each node for all vehicles and have two links one-way links connecting each node. Every stop facility gets its link set for each direction, so inbound stops use the incoming link, outbound stops the outgoing one I am trying to run a simulation of a multi-fleet taxi through multiModeTaxi which competes with cars and public transit. My QSim crashes early in iteration 0 with:
I build my departures with this in the same script that builds the network:
Transit stops:
Inbound route for line NS_H_26
And my config is as follows:
Please, any help would be so appreciated. Can share more context or code if needed! Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
See reply above |
Beta Was this translation helpful? Give feedback.
-
glad to hear that. best wishes ... |
Beta Was this translation helpful? Give feedback.
Hi kainagel, thank you using the validator sped things up significantly isolating the issue.
I had built my transit stops using one shared facility ID per node, so both the outbound and inbound directions all pointed at “stop_H_2_0”, “stop_H_2_1”, etc. That meant that when I generated the inbound route, every TransitStopFacility object got its linkRefId overwritten to the inbound link. The stops were sitting on the last link of the inbound diredction and the outbound stops were lost.
I fixed it by creating two seperate facilities for each stop node: one for outbound, one for inbound. The key change was going from something like: