Commit c700ed85 authored by Jesse VanderWees's avatar Jesse VanderWees 🐘

added new der goal

parent 64a8bec6
......@@ -46,6 +46,16 @@ class MinimizeQpumpGoal(Goal):
order = 1
class MinimizeChangeInQpumpGoal(Goal):
# To reduce pump power cycles, we add a third goal to minimize changes in
# Q_pump.
def function(self, optimization_problem, ensemble_member):
return optimization_problem.der('Q_pump')
function_range = (-100.0, 100.0)
priority = 3
order = 2
class Example(GoalProgrammingMixin, CSVMixin, ModelicaMixin,
CollocatedIntegratedOptimizationProblem):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment