Skip to content
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

Merged
merged 16 commits into from
Oct 4, 2023

Conversation

rathod-b
Copy link
Collaborator

@rathod-b rathod-b commented Oct 2, 2023

No description provided.

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
Copy link
Collaborator Author

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?

@@ -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)
Copy link
Collaborator

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!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@Bill-Becker Bill-Becker changed the title Update financial.jl Add GHP to proforma metrics, add thermal BAU outputs Oct 4, 2023
@Bill-Becker Bill-Becker merged commit 86279b4 into develop Oct 4, 2023
5 checks passed
@Bill-Becker Bill-Becker deleted the ghp_results_updates branch October 4, 2023 14:56
rathod-b pushed a commit that referenced this pull request Mar 8, 2024
Add GHP to proforma metrics, add thermal BAU outputs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants