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:
PydanticCompute
Settings for the trip_departure_choice component.
- Config:
extra: str = forbid
- Fields:
- field PREPROCESSOR: PreprocessorSettings | None = None#
Setting for the preprocessor.
- field SPECIFICATION: str = 'trip_departure_choice.csv'#
Filename for the trip departure choice (.csv) file.
- field compute_settings: ComputeSettings = ComputeSettings(sharrow_skip=False, fastmath=True, use_bottleneck=None, use_numexpr=None, use_numba=None, drop_unused_columns=True, protect_columns=[])#
Sharrow settings for this component.
Examples#
Implementation#
- activitysim.abm.models.trip_departure_choice.trip_departure_choice(state: State, trips: DataFrame, trips_merged: DataFrame, skim_dict: SkimDict | SkimDataset, model_settings: TripDepartureChoiceSettings | None = None, model_settings_file_name: str = 'trip_departure_choice.yaml', trace_label: str = 'trip_departure_choice') None #