-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add config file functionality and capacity expansion calculations to develop branch #13
Conversation
Include the PyYAML library.
Read flags from a YAML input file.
Enable data filtering for states.
I tested commit 7150b06 on |
… file; not tested yet #1
TJ suggests the default value for |
[now implemented] Additional bit of functionality: Execute the input data filtering only when the filtering flag is |
update configs branch with capacity projections and step_costs generator
Update so that command line execution of `python -m celavi [data dir]` can find the transportation tracker.
Since we moved to a public repository, I recloned and created a fresh CELAVI environment. I had to make some changes to |
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.
I added some changes of my own (see my other comment in this PR). These changes work for me. Great work on the config!
@rjhanes Found how to create it... |
@rjhanes I found this file in the medium data branch of the data repo. But its only for IOWA. Can we generalize this? For example what if I want to run CO. |
@TJTapajyoti I'm assuming you're referring to the standard scenarios file. The full file is committed to the |
@rjhanes Will this file need filtering when working with individual states? |
@TJTapajyoti The way the state filtering is set up currently, it's applied to the input files (locations, turbines, and routes) after those files are generated rather than filtering the raw data used to generate the files. The standard scenarios file is used in generating both locations and turbines, so as long as the state filtering is applied after locations etc is generated, the standard scenarios file won't need to be filtered. I do think we'll need to relocate the filtering code to line I'll also check whether the step_costs file needs to be filtered - I think not, because
|
…= true ) Minor edits.
…g flush = true )" This reverts commit 98c3a17.
Added time statements for run routes and filtering Added flush = True to __routing_.py
Additional functionality to add: Add a second parser argument with the config file name |
Update main.py and routing.py print statements
Refine the filtering by state functionality for the locations and routes
This is a continuation of https://github.nrel.gov/aeberle/celavi/pull/202
This pull request isn't ready for review and merging yet; the functionality is still under development and needs to be tested.