diff --git a/src/SubProblems/Network_generation/starting_point_generator.jl b/src/SubProblems/Network_generation/starting_point_generator.jl index 73d9ef9..8808819 100644 --- a/src/SubProblems/Network_generation/starting_point_generator.jl +++ b/src/SubProblems/Network_generation/starting_point_generator.jl @@ -112,7 +112,7 @@ hot_utilities = filter(working_HX_list) do (k,v) end hot_util = only(keys(hot_utilities)) -cold_stream = only(working_HX_list[hot_util]) +cold_stream = only(working_HX_list[hot_util]) # Not gen. #for hot_util in hot_utilities for cold_stream in working_HX_list[hot_util] @show cold_stream diff --git a/src/Superstructures/FloudasCiricGrossmann.jl b/src/Superstructures/FloudasCiricGrossmann.jl index 5c9aa5b..4d42eb3 100644 --- a/src/Superstructures/FloudasCiricGrossmann.jl +++ b/src/Superstructures/FloudasCiricGrossmann.jl @@ -26,12 +26,13 @@ Naming convention for `nodes`. Type of the node (see below) `_ edge.in == mixer, edges)) == 1 || error("Each mixer only has a single outgoing edge") end - return FloudasCiricGrossmann(nodes, edges) + return FloudasCiricGrossmann(nodes, edges, Dict{Symbol, Any}()) end function construct_superstructure(stream::String, superstructure::FloudasCiricGrossmann, prob::ClassicHENSProblem; verbose = true)