Import of synthetic population data
The Synthetic population data import function allows you to import a synthetic population with its schedules. While a synthetic population is the basis of any ABM, corresponding schedules are needed primarily for ABMs where generation is data-based. Data-based generation means that the path chains of persons originate directly from a suitable survey. Thus, the import is customized for the ABM Nested Demand model type.
The import consists of two parts that can be used together or independently: One part (PopulationSim import) refers to a synthetic population in the form of households and persons generated using the PopulationSim software.1 The other part (importing trips and allocating persons) involves the import of schedules in the form of tours, trips, and activity executions. In the process, the schedules are attributed to one or more persons via household and person keys.
To be able to import trip data, it must be available in a simple list as a text file with the column or attribute names in the first row:
SurveyHHID;SurveyPID;StartTime;EndTime;FromActivity;ToActivity
200814;1;22200;23100;H;W 200814;1;41400;41700;;S
200814;1;42600;42900;;L
To ensure that the trips can be assigned to the correct persons, the household and person IDs that can be used to identify a person (from the persons already imported) are defined in the import window. The attribute names of the keys must be identical to the names of the corresponding attributes of the persons and households.
The code of the From-activity is only evaluated for the first trip of a person and must also be specified only for this trip. For all subsequent trips, the code of the To-activity of the previous trip is used instead. So a trip always starts where the previous one ends.
The trip import is always done in a person's schedule no. 1. If it already exists, the trip data is ignored and the schedule is not overwritten.

