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:
PREPROCESSOR (activitysim.core.configuration.base.PreprocessorSettings | None)
source_file_paths (list[pathlib.Path])
- field PREPROCESSOR: PreprocessorSettings | None = None#
Setting for the preprocessor.
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 #