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

Redundant constraints in `storage_symmetric`

cfe316 opened this issue · comments

# Maximum charging rate (including virtual charging to move energy held in reserve back to available storage) must be less than symmetric power rating
[y in STOR_SYMMETRIC, t in 1:T], EP[:vCHARGE][y,t] + EP[:vCAPRES_charge][y,t] <= EP[:eTotalCap][y]

# Max simultaneous charge and discharge cannot be greater than capacity
[y in STOR_SYMMETRIC, t in 1:T], EP[:vP][y,t]+EP[:vCHARGE][y,t]+EP[:vCAPRES_discharge][y,t]+EP[:vCAPRES_charge][y,t] <= EP[:eTotalCap][y]
  • all these quantities are positive
  • the LHS of the second constraint equals the LHS of the first constraint plus some extra terms.
  • both RHS's are the same.
    Therefore the first constraint is redundant. Not sure if we want to remove it, or keep it for future expansion/didactic reasons.

This would be addressed by #562 .

The fix for this has been merged to develop.