From 37d2dec27b66d35e334e5bbb48fc6c4ac6ca1279 Mon Sep 17 00:00:00 2001 From: Byron Pullutasig <115118857+bpulluta@users.noreply.github.com> Date: Wed, 22 Jan 2025 11:13:51 -0700 Subject: [PATCH] bug fix to ensure existing_kw is correctly accounted --- src/core/pv.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/pv.jl b/src/core/pv.jl index 1ecc436ee..5bea72741 100644 --- a/src/core/pv.jl +++ b/src/core/pv.jl @@ -394,7 +394,7 @@ end function get_pv_size_class(avg_electric_load_kw::Real, tech_sizes_for_cost_curve::AbstractVector; min_kw::Real=0.0, max_kw::Real=1.0e9, existing_kw::Real=0.0) -@info "get_pv_size_class called with:" avg_electric_load_kw min_kw max_kw existing_kw +# @info "get_pv_size_class called with:" avg_electric_load_kw min_kw max_kw existing_kw effective_size = if max_kw != 1.0e9 min(avg_electric_load_kw, max_kw)