From 10145a4b50eea68b64efdfe943dbbab8af2ba525 Mon Sep 17 00:00:00 2001 From: Filip Jorissen Date: Wed, 12 Oct 2022 11:43:24 +0200 Subject: [PATCH 01/97] Revised default connections between shading components when using DoubleShading. for #1299 --- .../Components/Shading/BoxAndScreen.mo | 18 +++-------- .../Shading/Interfaces/DoubleShading.mo | 31 +++++++++++++++++++ .../Shading/OverhangAndHorizontalFins.mo | 12 +++---- 3 files changed, 42 insertions(+), 19 deletions(-) diff --git a/IDEAS/Buildings/Components/Shading/BoxAndScreen.mo b/IDEAS/Buildings/Components/Shading/BoxAndScreen.mo index 5cce5e6421..bb354e0622 100644 --- a/IDEAS/Buildings/Components/Shading/BoxAndScreen.mo +++ b/IDEAS/Buildings/Components/Shading/BoxAndScreen.mo @@ -54,24 +54,16 @@ initial equation assert(ovDep > 0, "The depth of the overhang must be larger than zero, if this is not the case: just use Shading.Screen."); assert(finDep > 0, "The depth of the side fins must be larger than zero, if this is not the case: just use Shading.OverhangAndScreen."); -equation - connect(stateShading2.port_frame, port_frame) annotation( - Line(points = {{4, 0}, {4, 160}, {100, 160}}, color = {191, 0, 0})); - connect(stateShading2.port_glazing, port_glazing) annotation( - Line(points = {{4, -4}, {6, -4}, {6, 120}, {100, 120}}, color = {191, 0, 0})); - connect(stateShading2.TDryBul, TDryBul) annotation( - Line(points = {{4, -12}, {40, -12}, {40, -10}}, color = {0, 0, 127})); - connect(Te, stateShading2.Te) annotation (Line(points={{-60,130},{-6,130},{-6, - -2},{-1.5,-2}}, color={0,0,127})); - connect(hForcedConExt, stateShading2.hForcedConExt) annotation (Line(points={ - {-60,110},{-8,110},{-8,-3.33333},{-1.5,-3.33333}}, color={0,0,127})); - connect(TEnv, stateShading2.TEnv) annotation (Line(points={{-60,90},{-10,90}, - {-10,-4.66667},{-1.5,-4.66667}}, color={0,0,127})); annotation (Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 200}})), Documentation(info="

This model describes the transient behaviour of solar irradiance on a window below a non-fixed horizontal or vertical overhang combined with a controllable screen.

", revisions="