From 5e487ddbcc5ad6755a280c8de0556bac0beb9a65 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Tue, 12 Dec 2023 09:11:11 -0800 Subject: [PATCH] Added units to EER_nominal --- .../RefrigerantCycle/ConstantQualityGrade.mo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/ConstantQualityGrade.mo b/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/ConstantQualityGrade.mo index e13dbacc48..9541da5a86 100644 --- a/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/ConstantQualityGrade.mo +++ b/IBPSA/Fluid/Chillers/ModularReversible/RefrigerantCycle/ConstantQualityGrade.mo @@ -12,7 +12,9 @@ model ConstantQualityGrade "Carnot EER with a constant quality grade" final QEva_flow_nominal=QUse_flow_nominal, final QCon_flow_nominal=QUse_flow_nominal+PEle_nominal, constPEle(final k=PEle_nominal)); - parameter Real EER_nominal = quaGra * + parameter Real EER_nominal( + min=0, + final unit="1") = quaGra * (TEva_nominal - TAppEva_nominal) / (TCon_nominal + TAppCon_nominal - (TEva_nominal - TAppEva_nominal)) "Nominal EER";