diff --git a/src/core/reopt.jl b/src/core/reopt.jl index 962999655..6ad9c76cc 100644 --- a/src/core/reopt.jl +++ b/src/core/reopt.jl @@ -146,7 +146,7 @@ function run_reopt(ms::AbstractArray{T, 1}, p::REoptInputs) where T <: JuMP.Abst end if typeof(rs[1]) <: Dict && typeof(rs[2]) <: Dict && rs[1]["status"] != "error" && rs[2]["status"] != "error" # TODO when a model is infeasible the JuMP.Model is returned from run_reopt (and not the results Dict) - results_dict = combine_results(p, rs[1], rs[2], bau_inputs.s) + results_dict = combine_results(p, rs[1], rs[2], bau_inputs.s) results_dict["Financial"] = merge(results_dict["Financial"], proforma_results(p, results_dict)) if !isempty(p.techs.pv) organize_multiple_pv_results(p, results_dict)