Skip to content

Commit

Permalink
Update scenario.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
atpham88 committed Feb 21, 2025
1 parent d217757 commit ac450d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/scenario.jl
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ function Scenario(d::Dict; flex_hvac_from_json=false)
max_iter = 10
for iter = 1:max_iter
borehole_ratio = d["GHP"]["max_number_of_boreholes"]/optimal_number_of_boreholes
new_load_peak = heating_load_mmbtu*borehole_ratio
new_load_peak = maximum(heating_load_mmbtu)*borehole_ratio
heating_load_mmbtu[heating_load_mmbtu .>=new_load_peak] .= new_load_peak
ghpghx_inputs["heating_thermal_load_mmbtu_per_hr"] = heating_load_mmbtu
if get(ghpghx_inputs, "cooling_thermal_load_ton", []) in [nothing, []]
Expand Down

0 comments on commit ac450d3

Please sign in to comment.