Skip to content

Commit

Permalink
Corrected formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Sep 23, 2024
1 parent 5cd1ac6 commit 2ffe01c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions IBPSA/Fluid/Movers/FlowControlled_dp.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ffe01c

Please sign in to comment.