-
Notifications
You must be signed in to change notification settings - Fork 2
Capital costs #520
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
Capital costs #520
Conversation
lib/uo_cli/post_process.rb
Outdated
| if feature[:properties][:capital_costs_per_square_foot] == true | ||
| building_capital_cost = feature[:properties][:capital_costs] * feature[:properties][:floor_area] | ||
| elsif feature[:properties][:capital_costs_per_square_foot] == false | ||
| building_capital_cost = feature[:properties][:capital_costs] |
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.
@vtnate there might be cases when neither capital_costs or capital_costs_per_square_foot are added so we should capture that
lib/uo_cli.rb
Outdated
|
|
||
| opt :capital_costs, "\nCalculate simplate payback from user-provided capital costs and year-one operating costs.\n" \ | ||
| 'Requires REopt post-processing to have been completed first.', short: :c | ||
|
|
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.
This will not be a separate post process call but part of existing REopt scenario post processing
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.
If the REopt scenario file has capital cost columns, then we will run REopt optimization with capital costs.
…anopt-cli into capital-costs-os310
|
Hi @kflemin , @tanushree04 , this PR is ready for review. Let me know if you have any questions. Thanks! |
Resolves #[issue number here]
Pull Request Description
[description here]
Checklist (Delete lines that don't apply)