From 96cabd404cffc80bbc68dcff2935c7578fe2586f Mon Sep 17 00:00:00 2001 From: jelgerjansen Date: Fri, 19 Sep 2025 10:55:37 +0200 Subject: [PATCH 1/7] Add noEvent for dT in ExteriorConvection --- .../ConvectiveHeatTransfer/ExteriorConvection.mo | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo b/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo index 4484aac126..37559910ef 100644 --- a/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo +++ b/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo @@ -53,13 +53,13 @@ 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="