Trip Departure Choice#

Used in conjuction with Trip Scheduling Choice (Logit Choice), this model chooses departure time periods consistent with the time windows for the appropriate leg of the trip.

Structure#

  • Configuration File: trip_departure_choice.yaml

  • Core Table: trips

  • Result Field: depart

Configuration#

settings activitysim.abm.models.trip_departure_choice.TripDepartureChoiceSettings#

Bases: PydanticReadable

Settings for the trip_departure_choice component.

Fields:
field CONSTANTS: dict[str, Any] = {}#
field PREPROCESSOR: PreprocessorSettings | None = None#

Setting for the preprocessor.

field SPECIFICATION: str = 'trip_departure_choice.csv'#

Filename for the trip departure choice (.csv) file.

Examples#

Implementation#

activitysim.abm.models.trip_departure_choice.trip_departure_choice(state: State, trips: DataFrame, trips_merged: DataFrame, skim_dict: SkimDict | SkimDataset, model_settings: Optional[TripDepartureChoiceSettings] = None, model_settings_file_name: str = 'trip_departure_choice.yaml', trace_label: str = 'trip_departure_choice') None#