Skip to content

Commit

Permalink
Fix ret_cap_charge in load_resources (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbonaldo authored Mar 12, 2024
1 parent 4c5e6d2 commit e9b142d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load_inputs/load_resources_data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ function add_resources_to_input_data!(inputs::Dict, setup::Dict, case_path::Abst
# Set of asymmetric charge/discharge storage resources eligible for new charge capacity
new_cap_charge = intersect(buildable, ids_with(gen, max_charge_cap_mw), inputs["STOR_ASYMMETRIC"])
# Set of asymmetric charge/discharge storage resources eligible for charge capacity retirements
ret_cap_charge = intersect(buildable, ids_with_nonneg(gen, existing_charge_cap_mw), inputs["STOR_ASYMMETRIC"])
ret_cap_charge = intersect(retirable, ids_with_nonneg(gen, existing_charge_cap_mw), inputs["STOR_ASYMMETRIC"])
end
inputs["NEW_CAP_CHARGE"] = new_cap_charge
inputs["RET_CAP_CHARGE"] = ret_cap_charge
Expand Down

0 comments on commit e9b142d

Please sign in to comment.