-
Notifications
You must be signed in to change notification settings - Fork 21
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 GHP to proforma metrics, add thermal BAU outputs #281
Conversation
test/test_with_xpress.jl
Outdated
calc_om_cost_after_tax = calculated_om_costs*(1-inputs.s.financial.owner_tax_rate_fraction) | ||
@test results["Financial"]["lifecycle_om_costs_after_tax"] = calc_om_cost_after_tax atol=0.1 | ||
|
||
@test r["lifecycle_capital_costs_plus_om_after_tax"] = results["Financial"]["initial_capital_costs"]*0.7 + calc_om_cost_after_tax atol=5 |
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.
For some reason, this and subsequent tests arent adding up. There is a difference of ~54,000 between the two numbers. Any idea what could be causing this?
This doesn't actually change behavior, but it describes better how this line in scenario.jl is coupled to the default can_serve_dhw (not ideal, they'd have to be changed together)
…into ghp_results_updates
@@ -359,6 +364,72 @@ function update_metrics(m::Metrics, p::REoptInputs, tech::AbstractTech, tech_nam | |||
nothing | |||
end | |||
|
|||
function update_ghp_metrics(m::REopt.Metrics, p::REoptInputs, tech::REopt.AbstractTech, tech_name::String, results::Dict, third_party::Bool) |
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.
@rathod-b I updated this to handle Central GHP "WWHP" with the two different heat pump sizes. I just made new_kw
== average of two sizes as a workaround even though they should be handled separately. Punt on that!
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.
Makes sense!
Add GHP to proforma metrics, add thermal BAU outputs
No description provided.