Warm Up
Warm Up
FEATHERS-tazToAddrDisaggr-MATSim chain
Contents
1 Intro 1
2 Getting started 1
2.1 Data describing FEATHERS schedules . . . . . . . . . . . . . . . . . . 2
2.1.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.1.2 Encoding - Metadata . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Warm up tasks 4
4.1 Compute overall aggregations . . . . . . . . . . . . . . . . . . . . . . . 4
4.2 Compute personal classifications and aggregations . . . . . . . . . . . 5
1 Intro
1. This text presents some non-trivial (but also not too difficult) tasks that can be
used as a warm up for the research portfolio. The tasks well be useful for the
project and are supplied as an opportunity to learn Python3.
2 Getting started
1. All warm up tasks are similar. From the second task on, each task is a (small)
extension of the predecessor.
2. The warm up tasks are common to all sub-projects.
1
Research Portfolio 2023-2024: FEATHERS-tazToAddrDisaggr-MATSim chain
Note that many fields are not relevant for the Research Portfolio 2023 project.
4 Warm up tasks
4.1 Compute overall aggregations
1. Extract the total distance driven on the day for which the prediction holds.
Thereto
(a) read the episodes
(b) extract the trip travel distance
(c) accumulate the travel distances
2. Extract for each mode the total distance driven on the day for which the pre-
diction holds. Thereto
2. Extract the average daily travel time per person from the FEATHERS schedules
file. Thereto
(a) read the episodes
(b) extract the person identifier and the trip travel time. Hint: each time the
person id differs from the previous one, you found an episode to the next
person.
(c) accumulate the travel times for the person (this is the daily travel time)
(d) sum all personal daily travel times
(e) divide by the number of persons
References
Knapen, L., Adnan, M., Bellemans, T., 2023. Location disaggregation for zone based
travel plans. Procedia Computer Science 220, 283–290. URL: https://www.
sciencedirect.com/science/article/pii/S1877050923005720, doi:https://
doi.org/10.1016/j.procs.2023.03.037.