eqasim-org / ile-de-france

An open synthetic population of Île-de-France for agent-based transport simulation
GNU General Public License v2.0
51 stars 71 forks source link

fix: repair completely overlapping trips in ENTD #247

Closed sebhoerl closed 4 months ago

sebhoerl commented 4 months ago

The cleaning logic for ENTD covered trips that are entirely contained in another trip along the chain of a person. Those trips (actually, there is only one in the whole data set) were deleted so far. However, this causes a problem when checking for the consistency of activity types along the chain later on. So far, we didn't notice this, because we never used the entire ENTD, but only filtered data sets for individual sets of departments. The problem is now fixed by squeezing the first trip to duration zero and setting departure time and arrival time to the departure time of the following trip.

image