-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BayDAG All Contributions #834
Conversation
commit 90b0b8c Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 14:05:43 2024 -0800 Only want joint tours for joint tour dest model -- got dropped in rebase
commit 807b0af Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 16:40:26 2023 -0800 Alt name for jtfc estimation mode
commit 5518ca4 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 16:41:59 2023 -0800 error out of infinite loop
commit 0e6919b Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 13:23:13 2024 -0800 blacken commit 8071068 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 16:59:32 2023 -0800 sampling in EDB for location choice commit 150d593 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 16:59:32 2023 -0800 sampling in EDB for location choice
commit 48be6f4 Author: David Hensle <hensle93@gmail.com> Date: Thu Mar 7 13:56:38 2024 -0800 replace orca inject with state object commit 4201d36 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:44:06 2023 -0800 landuse available in trip destination commit 0630659 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:02:59 2023 -0800 landuse and reindex in loc choice
commit d1f4db8 Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 15:09:38 2024 -0800 call ALT_DEST_COL_NAME as attribute commit fe0c284 Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 14:11:35 2024 -0800 fix Nones to None typo commit b955295 Author: David Hensle <hensle93@gmail.com> Date: Mon Dec 18 11:56:54 2023 -0800 blacken commit cdcca91 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:12:02 2023 -0800 mode choice logsum extraction
commit 504b974 Merge: ac69af8 a40fa16 Author: David Hensle <hensle93@gmail.com> Date: Mon Mar 18 09:21:05 2024 -0700 Merge branch 'BayDAG_cont10_nmtf_avail_time_windows' of https://github.com/SANDAG/activitysim into BayDAG_cont10_nmtf_avail_time_windows commit ac69af8 Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 14:15:31 2024 -0800 remove bad path to annotate.py commit a40fa16 Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 14:15:31 2024 -0800 remove bad path to annotate.py commit 5a54dc5 Merge: 481238b 79980b8 Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 13:38:45 2024 -0800 Merge branch 'BayDAG_cont10_nmtf_avail_time_windows' of https://github.com/SANDAG/activitysim into BayDAG_cont10_nmtf_avail_time_windows commit 481238b Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 13:37:37 2024 -0800 blacken commit 3aa3f46 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:16:51 2023 -0800 NMTF person available periods commit 79980b8 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:16:51 2023 -0800 NMTF person available periods
commit c439405 Author: David Hensle <hensle93@gmail.com> Date: Mon Mar 18 10:05:23 2024 -0700 blacken commit d9392f3 Author: David Hensle <hensle93@gmail.com> Date: Mon Mar 18 09:33:09 2024 -0700 adding missed columns necessary for no school escorting commit 4470dd4 Author: David Hensle <hensle93@gmail.com> Date: Mon Mar 11 14:10:42 2024 -0700 updating to work with Pydantic and State object commit cf0a663 Author: David Hensle <hensle93@gmail.com> Date: Fri Mar 8 13:48:42 2024 -0800 blacken commit 5c1524f Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:42:15 2023 -0800 School escorting estimation updates Most changes are needed to avoid crash if estimation run actually had no school escorting in the input data
commit f30a9ea Author: David Hensle <hensle93@gmail.com> Date: Tue Mar 12 10:28:11 2024 -0700 settings in write_omnibus_table commit e8144af Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:59:19 2023 -0800 comments allowed in stop freq spec commit ece02a8 Author: David Hensle <hensle93@gmail.com> Date: Fri Dec 15 17:53:12 2023 -0800 estimation mode usability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one minor change (and updating to clear the very simple conflicts against now-current main), then this looks clear to merge.
@@ -36,6 +36,7 @@ def auto_ownership_simulate( | |||
state: workflow.State, | |||
households: pd.DataFrame, | |||
households_merged: pd.DataFrame, | |||
persons_merged: pd.DataFrame, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like persons_merged
isn't used in auto ownership, why are we adding it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is actually used in the preprocessor settings in SANDAG's ABM3 here. The issue is that the persons_merged table needs to include the disaggregate accessibility outputs. Including the persons_merged table here in the call forces the person_merged table to be re-merged to include the disaggregate accessibility columns. This wouldn't ordinarily be needed, but for ABM3 the auto_ownership model is the first model in the list so the persons_merged table wasn't yet updated.
I am open to a different solution here if you have a better way to handle this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just add a comment in the code next to it that it's needed in the args list for the side effects?
I'm not a fan of the whole side effects system, but I don't have a better solution here that's easy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made issue #853 and referenced it in the code comment.
One master PR that merges in the other BayDAG pull requests. Used to test the SANDAG ABM3 example.