From 2ffe01c651a072dea237343353317e4a4f04fee8 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Mon, 23 Sep 2024 10:45:23 -0700 Subject: [PATCH] Corrected formatting --- IBPSA/Fluid/Movers/FlowControlled_dp.mo | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/IBPSA/Fluid/Movers/FlowControlled_dp.mo b/IBPSA/Fluid/Movers/FlowControlled_dp.mo index 1036978b79..a28486f188 100644 --- a/IBPSA/Fluid/Movers/FlowControlled_dp.mo +++ b/IBPSA/Fluid/Movers/FlowControlled_dp.mo @@ -23,13 +23,16 @@ model FlowControlled_dp or per.etaHydMet == IBPSA.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.EulerNumber) and not per.havePressureCurve then IBPSA.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.NotProvided - else per.etaHydMet, + else + per.etaHydMet, final etaMotMet=if (per.etaMotMet == IBPSA.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.Efficiency_MotorPartLoadRatio or per.etaMotMet == IBPSA.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.GenericCurve) and (not per.haveWMot_nominal and not per.havePressureCurve) then IBPSA.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.NotProvided else per.etaMotMet), r_N(start=if abs(dp_nominal) > 1E-8 then - dp_start/dp_nominal else 0))); + dp_start/dp_nominal + else + 0))); parameter Modelica.Units.SI.PressureDifference dp_start( min=0,