diff --git a/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo b/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo index 4484aac126..03974c2e94 100644 --- a/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo +++ b/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo @@ -48,18 +48,18 @@ protected Real C "TARP coeff"; Modelica.Units.SI.TemperatureDifference dT - "Surface temperature minus outdoor air temperature" annotation (); + "Surface temperature minus outdoor air temperature"; equation // Assign empirical coefficient according to flow regime. if isCeiling then - if dT > 0 then + if noEvent(dT > 0) then C = C_horz_buoyant; else C = C_horz_stable; end if; elseif isFloor then - if dT < 0 then + if noEvent(dT < 0) then C = C_horz_buoyant; else C = C_horz_stable; @@ -136,6 +136,11 @@ than 1 are discouraged as there appears to be little physical basis for this fac ", revisions="