From 29c4a88556bd574b7e957dae427f694f170189a3 Mon Sep 17 00:00:00 2001 From: Doug A Date: Mon, 22 Apr 2024 11:31:12 -0400 Subject: [PATCH] no more values --- .../unit_models/cross_flow_heat_exchanger_1D.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idaes/models_extra/power_generation/unit_models/cross_flow_heat_exchanger_1D.py b/idaes/models_extra/power_generation/unit_models/cross_flow_heat_exchanger_1D.py index 963a186cb3..d4615698d5 100644 --- a/idaes/models_extra/power_generation/unit_models/cross_flow_heat_exchanger_1D.py +++ b/idaes/models_extra/power_generation/unit_models/cross_flow_heat_exchanger_1D.py @@ -140,8 +140,8 @@ def initialize_main_model( # Important to do before initializing property packages in # case it is implemented as Var-Constraint pair instead of # an Expression - value(hot_side.properties[t0, 0].cp_mol) - value(cold_side.properties[t0, 0].cp_mol) + hot_side.properties[t0, 0].cp_mol # pylint: disable=pointless-statement + cold_side.properties[t0, 0].cp_mol # pylint: disable=pointless-statement # --------------------------------------------------------------------- # Initialize shell block