Closed kangqiu closed 1 year ago
Occurs when e.g. a hot utility stream is provided in the stream data but not used. Quick fix is not considering that utility stream.
CompHENS_interface_MWE.xlsx
@time using CompHENS using Plots using JuMP using HiGHS using Test
file_path_xlsx = joinpath(@DIR, "CompHENS_interface_MWE.xlsx") prob = ClassicHENSProblem(file_path_xlsx; ΔT_min = 45.0, verbose = true) @time solve_minimum_utilities_subproblem!(prob; verbose = true) model::AbstractModel, overall_network::Dict{String, AbstractSuperstructure}, file_name; digits = 1) @time solve_minimum_units_subproblem!(prob) EMAT = 2.5 prob.results_dict[:add_units] = 1 @time generate_stream_matches!(prob, EMAT; digits = 8, verbose = true)
Fixed by: #65
Occurs when e.g. a hot utility stream is provided in the stream data but not used. Quick fix is not considering that utility stream.
CompHENS_interface_MWE.xlsx
@time using CompHENS using Plots using JuMP using HiGHS using Test
file_path_xlsx = joinpath(@DIR, "CompHENS_interface_MWE.xlsx") prob = ClassicHENSProblem(file_path_xlsx; ΔT_min = 45.0, verbose = true) @time solve_minimum_utilities_subproblem!(prob; verbose = true) model::AbstractModel, overall_network::Dict{String, AbstractSuperstructure}, file_name; digits = 1) @time solve_minimum_units_subproblem!(prob) EMAT = 2.5 prob.results_dict[:add_units] = 1 @time generate_stream_matches!(prob, EMAT; digits = 8, verbose = true)