Skip to content

Unable to change default parameters In location choice estimation component models. #538

@stefancoe

Description

@stefancoe

@jpn-- In the auto ownership component model, I can pass in parameters like the edb_directory like so:
model, data = component_model(modelname, return_data=True, edb_directory = 'C:\output3\estimation_data_bundle\auto_ownership')

But I don't think this is possible for the location choice models like school location because the parameters are not exposed in the component model functions:
https://github.com/ActivitySim/activitysim/blob/master/activitysim/estimation/larch/location_choice.py#L297

They are available in the location_choice_model function, so could be made available to each component model:
https://github.com/ActivitySim/activitysim/blob/master/activitysim/estimation/larch/location_choice.py#L35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions