Skip to content

DaySim Formatting

Format canonical survey data to DaySim model specification.

Converts canonical survey tables to DaySim activity-based travel demand model format. See module docstring for complete component descriptions.

Example

result = format_daysim(
    persons=canonical_persons,
    households=canonical_households,
    unlinked_trips=canonical_unlinked_trips,
    linked_trips=canonical_linked_trips,
    tours=canonical_tours,
    days=canonical_days,
    usability_profile="daysim",
)
households_daysim = result["households_daysim"]
persons_daysim = result["persons_daysim"]

Example

Example
- name: format_daysim
  params:
    usability_profile: daysim  # the records kept, and the weights read

Settings

Key Type Default Meaning
usability_profile text required Which usability profile decides the record universe. Required: with several profiles stamped there is no defensible default, and naming a different one from the CT-RAMP formatter or the weighting means those outputs describe different universes.

Code: processing.formatting.daysim