GenXProject / GenX.jl

GenX: a configurable power system capacity expansion model for studying low-carbon energy futures. More details at : https://genx.mit.edu

Home Page:https://genxproject.github.io/GenX.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Reserves`and VREs with `Num_VRE_Bins > 1` allows unconstrained `vREG`, `vRSV`

cfe316 opened this issue · comments

The "VRE bins" feature seems potentially very useful, but right now it's not compatible with Reserves.

As currently formulated, vREG and vRSV are constrained for the top-level VRE_POWER_OUT resources (those with Num_VRE_Bins >= 0) but not the binned resources (which would need Num_VRE_Bins = 0).

This could be fixed by something like

for y in VRE_NO_POWER_OUT
    if y in REG
        fix.(EP[:vREG][y,:], 0.0, force=true)
    end
    if y in RSV
        fix.(EP[:vRSV][y,:], 0.0, force=true)
    end
end

The fix for this has been merged to develop.