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

Unmet reserves are not output correctly

cfe316 opened this issue · comments

write_rsv.jl has unmet_vec[RSV] = value.(EP[:vUNMET_RSV][RSV])
where RSV = inputs["RSV"]
but vUNMET_RSV is a 1D array indexed by time, not generator / R_ID.

This is now fixed on develop with this code modification

rsv[RSV, :] = value.(EP[:vRSV][RSV, :]) * scale_factor
unmet_vec = value.(EP[:vUNMET_RSV]) * scale_factor

@cfe316 Jacob and @JesseJenkins ... I think this issue is good to be closed now?

Yes, we can close it.