FZJ-IEK3-VSA / FINE

The FINE python package provides a framework for modeling, optimizing and assessing energy systems
https://vsa-fine.readthedocs.io
Other
68 stars 39 forks source link

Storage operation rate settings #20

Closed l-welder closed 5 years ago

l-welder commented 5 years ago

Update constraint formulation for a more generic fixed and maximum operation rate, for example with:

if opRateName is None: rate = getattr(compDict[compName], 'operationRateFix') else: rate = getattr(compDict[compName], opRateName) return opVar[loc, compName, p, t] == capVar[loc, compName] rate[loc][p, t] factor