-
Notifications
You must be signed in to change notification settings - Fork 8
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
Setup Model #168
Merged
Merged
Setup Model #168
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3d1d09b
setup model code
AshishKuls f6c2740
add example setup config file
AshishKuls de4472f
blacken
AshishKuls a3f664a
Merge branch 'develop' into setup_model
AshishKuls 7074e1d
method to copy auto maz demand generated by Java
AshishKuls ec03332
run uncongested transit assignment in iteration 1 for warmstart using…
AshishKuls 44c03f8
bug fix to use the right format token
AshishKuls 795297a
code changes to allow relative gaps length in the config to be greate…
AshishKuls 9cb4b69
use iteration to read the correct trip tables.
AshishKuls b8e32d5
remove temp notebook
AshishKuls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
####################### | ||
# Setup Model Configs # | ||
####################### | ||
|
||
# this is where user want to create the MTC model | ||
ROOT_DIR = "V:/projects/MTC/US0024934.9168/setup_model" | ||
|
||
# user-defined model folder name (naming convention: ModelYear_ModelVersion_Project_Scenario) | ||
MODEL_FOLDER_NAME = "2023_TM22_Demo" | ||
|
||
# location of the networks | ||
# this includes file such as tolls, transit fares etc. | ||
INPUT_NETWORK_DIR = "V:/projects/MTC/US0024934.9168/setup_model/model_inputs/2015-tm22-dev-sprint-02" | ||
|
||
# this is location/folder for Emme Netorks (built from Lasso) | ||
INPUT_EMME_NETWORK_DIR = "V:/projects/MTC/US0024934.9168/setup_model/emme_network" | ||
|
||
# location of the populationsim and land use inputs | ||
INPUT_POPLU_DIR = "V:/projects/MTC/US0024934.9168/setup_model/model_inputs/2015-tm22-dev-sprint-02" | ||
|
||
# location of nonres inputs | ||
INPUT_NONRES_DIR = "V:/projects/MTC/US0024934.9168/setup_model/model_inputs/2015-tm22-dev-sprint-02" | ||
|
||
# this is location of demand matrices for warm start | ||
WARMSTART_DEMAND_DIR = "V:/projects/MTC/transit_path_builder_calib/TM2.2.1.2/warmstart" | ||
|
||
# this is location/folder for Emme Netorks | ||
EMME_TEMPLATE_PROJECT_DIR = "V:/projects/MTC/US0024934.9168/setup_model/emme_23_project_template" | ||
|
||
# github raw link for toml config files | ||
CONFIGS_GITHUB_PATH = "https://raw.githubusercontent.com/BayAreaMetro/travel-model-two-config/sprint_02/2015-tm22-dev-sprint-02" | ||
|
||
# travel model two release tag to fetch | ||
TRAVEL_MODEL_TWO_RELEASE_TAG = "TM2.2.2" |
This file contains 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
This file contains 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
This file contains 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
Empty file.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Why so? is it to compromise for the fact that no warmstart transit assignment was run in global iteration 0, or is it to save run time?
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.
Yes, because when using the warm start with the skim option, we skip the transit skim and assignment in the global iteration 0. In iteration 1, the generated transit demand for an OD pair could be non-zero, even if the skim for that OD pair is zero in the warm start skim file (making it inconsistent), and thereby crashing in the congested transit assignment.
I ran into this above issue before making the code change.