-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Hello all,
I am trying to run activitysim in estimation mode using my own seed data. I've successfully run previous models untill the mandatory_tour_scheduling model.
Now I'm stuck at the mandatory_tour_scheduling model and cannot proceed further.
Describe the bug
As shown below I got RuntimeError: couldn't get_survey_values for tdd in tours

Additional context
I’ve used a tracing feature to log values in get_survey_values method. I add logs to lines 591-593, 660-666, 674-677. Below is the screenshot from get_survey_values method that I add logs:


The problem looks related to line 668, “survey_values = reindex(survey_values, dest_index)”
After reindexing, model value tour ids and survey tour ids are not matching and tdd values are getting empty in survey_values variable. However model_values which is the input of get_survey_values has tour_id and tdd values. Moreover, survey_values has tour_id and tdd values before reindexing method called.
I'm also attaching the output logs here: https://drive.google.com/drive/folders/1S8s7fD9Vh51G8XkMwF_jdGrEVe4kWUtQ
Extra info: While creating the seed data, I use my own tour_ids, trip_ids etc. for the survey_tours.csv, survey_trips.csv, survey_joint_tour_participants.csv files and run activitysim infer.py to generate override_.csv.
Thank you for your support, if you have any further clarification let me know.