diff --git a/IDEAS/Buildings/Components/Shading/Screen.mo b/IDEAS/Buildings/Components/Shading/Screen.mo index 358e854c3..cf4a0b796 100644 --- a/IDEAS/Buildings/Components/Shading/Screen.mo +++ b/IDEAS/Buildings/Components/Shading/Screen.mo @@ -22,7 +22,7 @@ protected Modelica.Units.SI.Temperature TShaScreen = Te_internal + (HSha*(1-g_glazing) + (H - HSha) * epsSw_shading) /hSha "Modified shading device heat balance"; initial equation - assert( abs(shaCorr + refSw_shading + epsSw_shading - 1) > 1e-3, "In " + getInstanceName() + + assert( abs(shaCorr + refSw_shading + epsSw_shading - 1) < 1e-3, "In " + getInstanceName() + ": The sum of the screen transmittance 'shaCorr', reflectance 'refSw_shading' and absorptance 'epsSw_shading' does not equal one. This is non-physical."); equation HShaDirTil = HDirTil*((1 - limiter.y) + limiter.y*shaCorr); diff --git a/IDEAS/Buildings/Components/Window.mo b/IDEAS/Buildings/Components/Window.mo index 447aa9568..49a9087ef 100644 --- a/IDEAS/Buildings/Components/Window.mo +++ b/IDEAS/Buildings/Components/Window.mo @@ -142,6 +142,8 @@ model Window "Multipane window" IDEAS.Airflow.Multizone.TrickleVent trickleVent( redeclare package Medium = Medium, allowFlowReversal = true, + dp_nominal=dp_nominal, + m_flow_nominal=m_flow_nominal, use_y = use_trickle_vent_control) if use_trickle_vent and sim.interZonalAirFlowType <> IDEAS.BoundaryConditions.Types.InterZonalAirFlow.None "Trickle vent"