Skip to content

DaySim Models

Output file format models for the DaySim activity-based travel demand model.

Based on DaySim Input Data File Documentation

data_canon.models.daysim

Data models for DaySim file formats.

See Pipeline Steps > Format Output > DaySim Format

HouseholdDaysimModel pydantic-model

Household File Format for DaySim.

Fields:

  • hhno (int)
  • hhsize (int)
  • hhvehs (int)
  • hhwkrs (int)
  • hhftw (int)
  • hhptw (int)
  • hhret (int)
  • hhoad (int)
  • hhuni (int)
  • hhhsc (int)
  • hh515 (int)
  • hhcu5 (int)
  • hhincome (int)
  • hownrent (DaysimResidenceOwnership)
  • hrestype (DaysimResidenceType)
  • hhxco (float)
  • hhyco (float)
  • hhparcel (int)
  • hhtaz (int)
  • hhexpfac (float)
  • samptype (int)

hh515 pydantic-field

hh515: int

The number of HH members with person type=child age 5-15

hhcu5 pydantic-field

hhcu5: int

The number of HH members with person type=child age 0-4

PersonDaysimModel pydantic-model

Person File Format for DaySim.

Fields:

  • hhno (int)
  • pno (int)
  • pptyp (DaysimPersonType)
  • pagey (int)
  • pgend (DaysimGender)
  • pwtyp (DaysimWorkerType)
  • pwpcl (int)
  • pwtaz (int)
  • pwautime (float)
  • pwaudist (float)
  • pstyp (int)
  • pspcl (int)
  • pstaz (int)
  • psautime (float)
  • psaudist (float)
  • puwmode (DaysimMode)
  • puwarrp (int)
  • puwdepp (int)
  • ptpass (int)
  • ppaidprk (int)
  • pdiary (int)
  • pproxy (int)
  • psexpfac (float)

HouseholdDayDaysimModel pydantic-model

HouseholdDay File Format for DaySim.

Fields:

  • hhno (int)
  • day (int)
  • dow (int)
  • jttours (int)
  • phtours (int)
  • fhtours (int)
  • hdexpfac (float)

PersonDayDaysimModel pydantic-model

PersonDay File Format for DaySim.

Fields:

  • hhno (int)
  • pno (int)
  • day (int)
  • beghom (int)
  • endhom (int)
  • hbtours (int)
  • wbtours (int)
  • uwtours (int)
  • wktours (int)
  • sctours (int)
  • estours (int)
  • pbtours (int)
  • shtours (int)
  • mltours (int)
  • sotours (int)
  • retours (int)
  • metours (int)
  • wkstops (int)
  • scstops (int)
  • esstops (int)
  • pbstops (int)
  • shstops (int)
  • mlstops (int)
  • sostops (int)
  • restops (int)
  • mestops (int)
  • wkathome (int)
  • pwxco (float)
  • pwyco (float)
  • psxco (float)
  • psyco (float)
  • pdexpfac (float)

TourDaysimModel pydantic-model

Tour File Format for DaySim.

Fields:

  • hhno (int)
  • pno (int)
  • day (int)
  • tour (int)
  • jtindex (int)
  • parent (int)
  • subtrs (int)
  • pdpurp (DaysimPurpose)
  • tlvorig (int)
  • tardest (int)
  • tlvdest (int)
  • tarorig (int)
  • toadtyp (int)
  • tdadtyp (int)
  • topcl (int | None)
  • totaz (int | None)
  • tdpcl (int | None)
  • tdtaz (int | None)
  • tmodetp (DaysimMode)
  • tpathtp (DaysimPathType)
  • tautotime (float)
  • tautocost (float)
  • tautodist (float)
  • tripsh1 (int)
  • tripsh2 (int)
  • phtindx1 (int)
  • phtindx2 (int)
  • fhtindx1 (int)
  • fhtindx2 (int)
  • toexpfac (float)

tripsh1 pydantic-field

tripsh1: int

The number of trips segments on the half tour to the destination

tripsh2 pydantic-field

tripsh2: int

The number of trips segments on the half tour from the destination

phtindx1 pydantic-field

phtindx1: int

Links to the sequence number of the first half tour in partial half tour

phtindx2 pydantic-field

phtindx2: int

Links to the sequence number of the second half tour in partial half tour

fhtindx1 pydantic-field

fhtindx1: int

Links to the sequence number of the first half tour in full half tour

fhtindx2 pydantic-field

fhtindx2: int

Links to the sequence number of the second half tour in full half tour

LinkedTripDaysimModel pydantic-model

Trip File Format for DaySim.

Fields:

  • hhno (int)
  • pno (int)
  • day (int)
  • tour (int)
  • half (int)
  • tseg (int)
  • tsvid (int)
  • opurp (DaysimPurpose)
  • dpurp (DaysimPurpose)
  • oadtyp (int)
  • dadtyp (int)
  • opcl (int)
  • otaz (int)
  • oxco (float)
  • oyco (float)
  • dpcl (int)
  • dtaz (int)
  • dxco (float)
  • dyco (float)
  • mode (DaysimMode)
  • pathtype (DaysimPathType)
  • dorp (DaysimDriverPassenger)
  • deptm (int)
  • arrtm (int)
  • endacttm (int)
  • travtime (float)
  • travcost (float)
  • travdist (float)
  • trexpfac (float)