matsim-vsp / parallel_qsim_rust

Parallel and distributed implementation of the Qsim in Rust
8 stars 0 forks source link

Publish link enter event of split links at receiving partition #120

Closed paulheinr closed 7 months ago

paulheinr commented 7 months ago

The travel time calculator expects that both the link enter and link leave event are published at the same partition/process. In recent changes, link enter of all links (i.e. split links) was published before a vehicle was sent. Consequently, after it was sent, it was on another partition and the link leave was published there.

We now publish link enter events of split links at the receiving partition. Ad hoc routing works again. A small downside is, that the code gets a bit more clunky.