From 42e6491e10d24e724e896a60dda6adcec0d9fb9f Mon Sep 17 00:00:00 2001 From: zacharybinger Date: Mon, 9 Dec 2024 16:55:17 -0700 Subject: [PATCH] fix: correct flow heat constraint expression in REFLOSystemCostingData --- .../reflo/costing/watertap_reflo_costing_package.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/watertap_contrib/reflo/costing/watertap_reflo_costing_package.py b/src/watertap_contrib/reflo/costing/watertap_reflo_costing_package.py index fcf6e9ba..06bb6469 100644 --- a/src/watertap_contrib/reflo/costing/watertap_reflo_costing_package.py +++ b/src/watertap_contrib/reflo/costing/watertap_reflo_costing_package.py @@ -761,8 +761,7 @@ def build_integrated_costs(self): # == self.aggregate_flow_heat_purchased - self.aggregate_flow_heat_sold # ) self.aggregate_flow_heat_constraint = pyo.Constraint( - expr=self.aggregate_flow_heat - == self.aggregate_flow_heat_purchased + expr=self.aggregate_flow_heat == self.aggregate_flow_heat_purchased ) def initialize_build(self):