Closed l-welder closed 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
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