Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathadon committed Aug 11, 2023
1 parent dfba25c commit e99c192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion IDEAS/Buildings/Components/Shading/Screen.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions IDEAS/Buildings/Components/Window.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e99c192

Please sign in to comment.