GenXProject / GenX.jl

GenX: a configurable power system capacity expansion model for studying low-carbon energy futures. More details at : https://genx.mit.edu
https://genxproject.github.io/GenX.jl/
GNU General Public License v2.0
262 stars 105 forks source link

Fix ret_cap_charge in load_resources #646

Closed lbonaldo closed 4 months ago

lbonaldo commented 4 months ago

This fixes the set ret_cap_charge (or inputs["RET_CAP_CHARGE"]), which consists of the indices of resources with Can_Retire = 1 and existing_charge_cap_mw >= 0