Skip to content

Commit

Permalink
Allow GHP installed cost calc for just GHX
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Becker committed Jul 27, 2024
1 parent 02252c2 commit bf6711e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/core/ghp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,15 @@ function setup_installed_cost_curve!(ghp::GHP, response::Dict)
# and then use the value above for heat pump capacity to calculate the final absolute cost for GHP

if ghp.heat_pump_configuration == "WSHP"
ghp.installed_cost_per_kw = [0, (ghp.ghx_only_capital_cost + hydronic_loop_cost + aux_cooler_cost + aux_heater_cost) /
ghp.heatpump_capacity_ton + ghp.installed_cost_heatpump_per_ton]
if !(ghp.heatpump_capacity_ton == 0)
ghp.installed_cost_per_kw = [0, (ghp.ghx_only_capital_cost + hydronic_loop_cost + aux_cooler_cost + aux_heater_cost) /
ghp.heatpump_capacity_ton + ghp.installed_cost_heatpump_per_ton]
else # For just costing ground heat exchanger for URBANopt
# Approximate investment-based incentive (ibi) stacking, ignores max incentive for state and utility
base_cost = ghp.ghx_only_capital_cost + hydronic_loop_cost + aux_cooler_cost + aux_heater_cost
ibi_net_fraction = (1 - ghp.federal_itc_fraction) * (1 - ghp.state_ibi_fraction) * (1 - ghp.utility_ibi_fraction)
ghp.installed_cost_per_kw = [base_cost * ibi_net_fraction, 0.0]
end
elseif ghp.heat_pump_configuration == "WWHP"
# Divide by two to avoid double counting non-heatpump costs
ghp.wwhp_heating_pump_installed_cost_curve = [0, (ghp.ghx_only_capital_cost + aux_cooler_cost + aux_heater_cost) / 2 /
Expand Down

0 comments on commit bf6711e

Please sign in to comment.