Skip to content

Commit 0ea61a3

Browse files
An PhamAn Pham
authored andcommitted
added warning messages and info
1 parent 3b1631a commit 0ea61a3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/core/scenario.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,8 +692,6 @@ function Scenario(d::Dict; flex_hvac_from_json=false)
692692
max_iter = 10
693693
for iter = 1:max_iter
694694
borehole_ratio = d["GHP"]["max_number_of_boreholes"]/optimal_number_of_boreholes
695-
println(borehole_ratio)
696-
697695
heating_load_mmbtu .*= borehole_ratio
698696
if haskey(ghpghx_inputs,"cooling_thermal_load_ton")
699697
cooling_load_ton .*= borehole_ratio
@@ -707,7 +705,6 @@ function Scenario(d::Dict; flex_hvac_from_json=false)
707705
optimal_number_of_boreholes = GhpGhx.get_results_for_reopt(results, inputs_params)["number_of_boreholes"]
708706
# Solution is found if the new optimal number of boreholes sized by GhpGhx.jl = user-specified max number of boreholes,
709707
# Otherwise, continue solving until reaching max iteration
710-
println(optimal_number_of_boreholes)
711708
if -0.5 < optimal_number_of_boreholes-d["GHP"]["max_number_of_boreholes"] < 0.5
712709
break
713710
else

0 commit comments

Comments
 (0)