Skip to content

Commit

Permalink
bug fix to ensure existing_kw is correctly accounted
Browse files Browse the repository at this point in the history
  • Loading branch information
bpulluta committed Jan 22, 2025
1 parent fb8b7b8 commit 37d2dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 37d2dec

Please sign in to comment.