faq 121634817 - matsim-org/matsim-code-examples GitHub Wiki
by Johannes Lieberherr on 2017-11-13 11:12:41
Even after some months working with MATSim I have a very basic question:
Does car routing consider the link loads of the last iteration?
If yes, how is it considered?
And is there a documentation about how it works?
PS. I didn't found explanation on that in the MATSim-book. Please excuse if I have overlooked something.
by Dominik Ziemke on 2017-11-14 19:00:48
Hi Johannes,
yes it does. Just image it did't: That would mean that irrespective of how much congestion (or load; i.e. something likely leading to increased travel times) there is on a link, the agents would not get knowledge of that and not adjust their routes (unless you introduce variability in another way, e.g. by using randomizing routing etc...).
There is a "travelTime" object that is informed by the travel times observed on each link of the network at a given time-of-day from the previous iteration. The time-of-day is resolved in 15min bins. When the router is applied, it looks up the travel times of the links of the route of the relevant 15-min time-of-day bin.
In the book I also only find chapter 4.7.1, which is super short, but I also did not really search extensively now... so, good question!
Cheers,
Dominik
by Johannes Lieberherr on 2017-11-16 22:03:26
Thanks a lot, Dominik, for your answer. I'm reassured. We were discussing on that and we couldn't imagine that it could work without. Your explanation is very helpful for us!