From 4fdd8d3ed39db3ca1c31919eca9169fe841bffd0 Mon Sep 17 00:00:00 2001 From: FWuellhorst Date: Sat, 3 Feb 2024 15:05:13 +0100 Subject: [PATCH] fix wrong cp in table data --- .../ModularReversible/RefrigerantCycle/TableData2D.mo | 4 ++-- .../ModularReversible/RefrigerantCycle/TableData2D.mo | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/TableData2D.mo b/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/TableData2D.mo index f47c7028ca..42a276f7e8 100644 --- a/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/TableData2D.mo +++ b/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/TableData2D.mo @@ -28,8 +28,8 @@ model TableData2D final mEva_flow_nominal_internal=mEva_flow_nominal, final mCon_flow_max=max(valTabQCon_flow) * scaFac / cpCon / dTMin, final mCon_flow_min=min(valTabQCon_flow) * scaFac / cpCon / dTMax, - final mEva_flow_min=min(valTabQEva_flow) * scaFac / cpCon / dTMax, - final mEva_flow_max=max(valTabQEva_flow) * scaFac / cpCon / dTMin, + final mEva_flow_min=min(valTabQEva_flow) * scaFac / cpEva / dTMax, + final mEva_flow_max=max(valTabQEva_flow) * scaFac / cpEva / dTMin, constScaFac(final k=scaFac)); replaceable parameter IBPSA.Fluid.Chillers.ModularReversible.Data.TableData2D.Generic datTab "Data Table of Chiller" annotation (choicesAllMatching=true); diff --git a/IBPSA/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/TableData2D.mo b/IBPSA/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/TableData2D.mo index 2fe71374f0..15d0c95e9a 100644 --- a/IBPSA/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/TableData2D.mo +++ b/IBPSA/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/TableData2D.mo @@ -23,8 +23,8 @@ model TableData2D "Performance data based on condenser outlet and evaporator inl final mEva_flow_nominal_internal=mEva_flow_nominal, final mCon_flow_max=max(valTabQCon_flow) * scaFac / cpCon / dTMin, final mCon_flow_min=min(valTabQCon_flow) * scaFac / cpCon / dTMax, - final mEva_flow_min=min(valTabQEva_flow) * scaFac / cpCon / dTMax, - final mEva_flow_max=max(valTabQEva_flow) * scaFac / cpCon / dTMin, + final mEva_flow_min=min(valTabQEva_flow) * scaFac / cpEva / dTMax, + final mEva_flow_max=max(valTabQEva_flow) * scaFac / cpEva / dTMin, final use_TConOutForTab=datTab.use_TConOutForTab, final use_TEvaOutForTab=datTab.use_TEvaOutForTab, constScaFac(final k=scaFac),