Repository navigation
Explicit Telecommute: new telework_arrangement and telework_duration components - #1126
Open
i-am-sijia wants to merge 9 commits into
Open
i-am-sijia wants to merge 9 commits into
i-am-sijia wants to merge 9 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds two new model components to the ActivitySim ABM:
telework_arrangementandtelework_duration. These components enable the simulation of whether a worker has in-home work activity (telework) on a given day and, if so, the duration of their telework. The changes include new model step implementations, settings classes, unit tests, and integration into the settings checker and model initialization.New telework modeling components:
telework_arrangementmodel step and its settings class (TeleworkArrangementSettings), which predicts whether workers have in-home telework activity on the simulation day. This includes a new implementation filetelework_arrangement.py.telework_durationmodel step and its settings class (TeleworkDurationSettings), which assigns a duration to in-home work activities using either a probabilistic or MNL choice model. This includes a new implementation filetelework_duration.py.Integration with ActivitySim ABM framework:
telework_arrangementandtelework_durationcomponents in the ABM model's initialization (__init__.py).Unit test
telework_duration, unit tests for both MNL and probabilistic options are available.