Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
8ee08bf
Merge pull request #5 from open-ideas/master
kldjonge Dec 11, 2020
489b0bb
Merge branch 'open-ideas:master' into master
kldjonge Jun 4, 2021
715724d
Merge branch 'open-ideas:master' into master
kldjonge Jun 10, 2021
60a2cda
Merge remote-tracking branch 'upstream/master'
kldjonge Sep 20, 2021
21a02cf
Merge remote-tracking branch 'upstream/master'
kldjonge Sep 28, 2021
9107868
Merge branch 'open-ideas:master' into master
kldjonge Dec 16, 2021
a38555d
Provide information of zone heights and zone absolute height at the z…
kldjonge Dec 16, 2021
386af27
Changes in propsbus and multiplicator
kldjonge Dec 21, 2021
754492f
Update PartialSurface.mo
kldjonge Dec 21, 2021
0a62abb
Update PartialZone.mo
kldjonge Dec 21, 2021
d4c7185
Update InternalWall.mo
kldjonge Dec 21, 2021
5074221
Update OuterWall.mo
kldjonge Dec 21, 2021
dcf9962
Update Window.mo
kldjonge Dec 21, 2021
79b184b
PartialSurface Debugging
kldjonge Dec 21, 2021
61af6e7
hfloor_a defined as parameter in initial equation
kldjonge Dec 21, 2021
5030954
Update PartialSurface.mo
kldjonge Dec 21, 2021
fe8c84d
Update InternalWall.mo
kldjonge Dec 21, 2021
7c4d256
Update BuildingO5_Exp1_2Port.mo
kldjonge Dec 21, 2021
95344a1
Merge branch 'open-ideas:master' into StackEffectAirflow
kldjonge Dec 21, 2021
96a4087
Update PartialSurface.mo
kldjonge Jan 10, 2022
d0f7ab6
Update PartialSurface.mo
kldjonge Jan 18, 2022
7795acd
Updated airflow part of PartialSurface
kldjonge Jan 19, 2022
c86cad2
Update InternalWall.mo
kldjonge Jan 19, 2022
1444989
Changed documentation of PowerLaw_q50_stack
kldjonge Jan 19, 2022
337f555
Assign height difference between meteorological pressure measurements…
kldjonge Jan 19, 2022
a9e4c01
Update PartialSurface.mo
kldjonge Jan 19, 2022
cb815c6
Internal references for Cs
kldjonge Jan 19, 2022
7797995
Update Window.mo
kldjonge Jan 19, 2022
40ed854
Check Ceiling vs Floor succesfull
kldjonge Jan 19, 2022
82c4b3d
Added replaceable records for wind pressur coefficient
kldjonge Jan 20, 2022
164357a
Fine-tuned default voor Cp_table
kldjonge Jan 20, 2022
82cfd9f
Update Lowrise_Square_Exposed.mo
kldjonge Jan 20, 2022
894876e
Simple zone template examples with 3 different airflow implementation…
kldjonge Jan 24, 2022
a316235
Merge branch 'open-ideas:master' into master
kldjonge Feb 18, 2022
62d413e
Merge branch 'master' into StackEffectAirflow
kldjonge Apr 20, 2022
af5a797
Merge branch 'open-ideas:master' into master
kldjonge Apr 20, 2022
e5da395
Merge branch 'master' into StackEffectAirflow
kldjonge Apr 20, 2022
f1d523d
Additional MSL4.0 updates
kldjonge Apr 21, 2022
3e68759
Replace Res to Airflow.Multizone.Point_m_flow model
kldjonge Apr 21, 2022
ec00e8b
Update ZoneInterface.mo
kldjonge Apr 21, 2022
93fbc64
Un-protect parameters
kldjonge Apr 21, 2022
d345e16
Update PartialZone.mo
kldjonge Apr 21, 2022
05f7859
Update PartialSurface.mo
kldjonge Apr 21, 2022
214bcc6
Update PartialSimInfoManager.mo
kldjonge Apr 21, 2022
71d0aef
Update PartialSurface.mo
kldjonge Apr 21, 2022
06aa135
Merge branch 'open-ideas:master' into master
kldjonge Aug 22, 2022
e6b7445
Merge branch 'master' into StackEffectAirflow
kldjonge Aug 22, 2022
d88a752
Added density columns for internal wall 1-port implementation
kldjonge Aug 22, 2022
7b59d9f
Clarifies convention for INC
kldjonge Aug 23, 2022
97789c2
Proposal: assert statement can check if floorheights and INC makes sense
kldjonge Aug 23, 2022
76b5b2a
Corrected propsbus_a <>b
kldjonge Aug 23, 2022
5f28c8c
Make correction for height when the opening is inclined/horizontal
kldjonge Aug 23, 2022
47f4b08
Simplify hRef input
kldjonge Aug 23, 2022
c56964c
Clean up implementation by making ReversibleDensityColumn a class
kldjonge Aug 23, 2022
c692dbc
Added Habs to surface
kldjonge Aug 25, 2022
4ada5dc
pi() -> constants.pi
kldjonge Aug 25, 2022
7523b76
Update PartialSurface.mo
kldjonge Aug 25, 2022
777d145
Airtight internal floors and ceilings
kldjonge Aug 26, 2022
39cea70
Added 2-port variation
kldjonge Aug 26, 2022
69e9b92
Extend instead of duplicate
kldjonge Aug 26, 2022
442b202
Proposal: hfloor1 >hfloor2
kldjonge Aug 26, 2022
728119e
final Habs_surf
kldjonge Aug 26, 2022
466e8de
Simplify horizontal openings
kldjonge Aug 26, 2022
e25590c
Assigned column heights for sloped roof
kldjonge Aug 26, 2022
121cb9c
Merge branch 'open-ideas:master' into master
kldjonge Aug 29, 2022
b87cb1c
Squashed commit of the following:
kldjonge Aug 29, 2022
b274c74
Uprotected A0, a and Hwin and moved it to Overwrite tab
kldjonge Aug 29, 2022
95e84bf
Fixed internal references
kldjonge Aug 29, 2022
c39e5cc
Update OutsideAir.mo
kldjonge Aug 29, 2022
a8f089b
Update Structure.mo
kldjonge Aug 29, 2022
39e8984
Merge branch 'master' into StackEffectAirflow
kldjonge Aug 29, 2022
55bf8c6
Merge branch 'master' into BeforeMergefault_210042022
kldjonge Aug 29, 2022
2d5604a
Merge fixes
kldjonge Aug 29, 2022
f61f67f
Merge branch 'BeforeMergefault_210042022' into StackEffectAirflow
kldjonge Aug 29, 2022
1a8139b
Update Window.mo
kldjonge Aug 29, 2022
678ef99
Merge pull request #1246 from kldjonge/StackEffectAirflow
Mathadon Aug 30, 2022
62a2a95
Simple TwoPort model that still works.
kldjonge Aug 31, 2022
45e58d9
Implementation using Multi-Port in partial surf
kldjonge Sep 7, 2022
1e4fd13
Deleted ScalingComponentsTwoPort
kldjonge Sep 7, 2022
7f4b7aa
Multiport at propsbus_b of internal wall.
kldjonge Sep 7, 2022
514718d
Use resDoo <> opeDoo when the opening is horizontal
kldjonge Sep 7, 2022
e212fca
Debug. ResDoor should not appear when interzonalairflow.non
kldjonge Sep 7, 2022
94fe7f4
Got rid of weird if statement
kldjonge Sep 7, 2022
586c7b9
Revert tricklevent implementation
kldjonge Sep 9, 2022
87faef9
Merge pull request #1297 from kldjonge/StackEffectAirflow
Mathadon Sep 18, 2022
52381f3
code cleanups
Mathadon Sep 21, 2022
ad7b6c9
revised cardinality
Mathadon Oct 12, 2022
cd1d89e
not adding cracks when there is an open door in IDEAS/Buildings/Compo…
Mathadon Oct 15, 2022
bb48952
parameter revisions for #1244
Mathadon Dec 18, 2022
4d596fb
comment indent
Mathadon Dec 18, 2022
83f1f21
fixed singular system error for #1244
Mathadon Dec 18, 2022
ff7a7de
Merge pull request #1310 from Mathadon/StackEffectAirflow
jelgerjansen Dec 20, 2022
0567df5
WallUnitTest update for interzonal airflow v2
Mathadon Dec 28, 2022
5a3ccad
newlines at the end of files
Mathadon Jan 2, 2023
b7c34aa
newline fix
Mathadon Jan 2, 2023
a11680f
revision history and code formatting
Mathadon Jan 2, 2023
65b5630
docs
Mathadon Jan 2, 2023
224f2c1
Merge pull request #1311 from Mathadon/StackEffectAirflow
jelgerjansen Jan 2, 2023
5be2d6d
extending ReversibleDensityColumn.mo from MediumColumn and moved from…
Mathadon Jun 22, 2023
0643e39
documentation and renamed Use_custom_Cs to use_custom_Cs
Mathadon Jun 22, 2023
5e4877a
refactoring in PartialSurface
Mathadon Jun 22, 2023
1eba0de
cleaned icon
Mathadon Jun 22, 2023
a302cfe
removed density columns from 1 port mode in internal wall
Mathadon Jun 22, 2023
cde76d4
HideResult annotation
Mathadon Jun 22, 2023
284d2d0
improved warning in MonoLayerAir
Mathadon Jun 24, 2023
93ea224
Merge branch 'master' into StackEffectAirflow
jelgerjansen Sep 1, 2023
4dd515e
Update reference results
jelgerjansen Sep 4, 2023
bfd9308
added 2port unit test for twinhouse
Mathadon Sep 7, 2023
373f853
added missing port connection
Mathadon Sep 7, 2023
34a2bec
Merge pull request #1326 from Mathadon/stackeffectfix
jelgerjansen Sep 7, 2023
d551b6b
Revert reference results of TwinHouses port 1 to te previous results.
jelgerjansen Sep 7, 2023
a455035
Update time-out times and remove density column of door for 1-port im…
jelgerjansen Sep 18, 2023
7c741ed
Add brackets in Cs computation
jelgerjansen Sep 20, 2023
132a1f2
Remove w40 from TwinHouses.Building05_Exp1_2Port.mo(s) and add refere…
jelgerjansen Sep 20, 2023
dc4adcb
Revert to 'original' reference results for all packages except IDEAS.…
jelgerjansen Sep 20, 2023
7eb16f8
Update and add reference results (correct Cs calculation)
jelgerjansen Sep 21, 2023
074def0
Merge branch 'StackEffectAirflow' (PR1296) into 'StackEffectAirflow' …
jelgerjansen Sep 21, 2023
c4420c1
Merge pull request #1322 from Mathadon/StackEffectAirflow
jelgerjansen Sep 22, 2023
b92f563
Merge branch 'master' into StackEffectAirflow (airflow unit tests)
jelgerjansen Oct 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions IDEAS/Airflow/Multizone/ReversibleDensityColumn.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
within IDEAS.Airflow.Multizone;
model ReversibleDensityColumn
"Vertical shaft with no friction and no storage of heat and mass, reversible because it can handle negative column heights"

extends IDEAS.Airflow.Multizone.MediumColumn(
h(min=-Modelica.Constants.inf),
final densitySelection = IDEAS.Airflow.Multizone.Types.densitySelection.fromBottom);
// by convention, port_b must be connected to a zone instead of a flow element
// h is allowed to be negative to accomodate for this convention

annotation (
Icon(graphics={
Line(
points={{0,100},{0,-100},{0,-98}}),
Text(origin = {-126, 2},lineColor = {0, 0, 127}, extent = {{24, -78}, {106, -100}}, textString = "Zone/Amb"),
Text(origin = {-130, 4}, lineColor = {0, 0, 127}, extent = {{32, 104}, {98, 70}}, textString = "FlowElem"),
Text(lineColor = {0, 0, 127}, extent = {{36, 26}, {88, -10}}, textString = "h=%h"),
Rectangle(fillColor = {255, 0, 0}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-16, 80}, {16, -80}}),
Rectangle(visible = false, fillColor = {85, 170, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-16, 80}, {16, 0}}),
Rectangle(visible = false, fillColor = {85, 170, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-16, 80}, {16, 54}}),
Rectangle(fillColor = {85, 170, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-16, 0}, {16, -82}}),
Rectangle(visible = false, fillColor = {85, 170, 255}, pattern = LinePattern.None, fillPattern = FillPattern.Solid, extent = {{-16, -55}, {16, -80}})}),
defaultComponentName="col",
Documentation(info="<html>
<p>
This model describes the pressure difference of a vertical medium
column. It can be used to model the pressure difference caused by
stack effect.

It is a variation on IDEAS.Airflow.Multizone.MediumColumn.

</p>
</html>",
revisions="<html>
<ul>
<li>
January 19, 2022, by Klaas De Jonge:<br/>
Adapted IDEAS.Airflow.Multizone.MediumColumn to obtain the current model where input of h can be negative and cleaned out the model as the density should always be set by port_b.
This makes port_a not nececarilly always the top port.

</li>
</ul>
</html>"));
end ReversibleDensityColumn;
1 change: 1 addition & 0 deletions IDEAS/Airflow/Multizone/package.order
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ MediumColumnDynamic
Orifice
Point_m_flow
Points_m_flow
ReversibleDensityColumn
Table_V_flow
Table_m_flow
ZonalFlow_ACS
Expand Down
18 changes: 12 additions & 6 deletions IDEAS/BoundaryConditions/Interfaces/PartialSimInfoManager.mo
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,21 @@ partial model PartialSimInfoManager

parameter Modelica.Units.SI.Length H=10 "Building or roof height"
annotation (Dialog(group="Wind"));
parameter Real A0=0.6 "Local terrain constant. 0.6 for Suburban,0.35 for Urban and 1 for Unshielded (Ashrae 1993) " annotation(Dialog(group="Wind"));
parameter Real A0=0.6 "Local terrain constant. 0.6 for Suburban,0.35 for Urban and 1 for Unshielded (Ashrae 1993) "
annotation(Dialog(group="Wind"));
parameter Real a=0.28 "Velocity profile exponent. 0.28 for Suburban, 0.4 for Urban and 0.15 for Unshielded (Ashrae 1993) "
annotation(Dialog(group="Wind"));
parameter Modelica.Units.SI.Length Hwin=10
annotation(Dialog(group="Wind"));
parameter Modelica.Units.SI.Length Hwind=10
"Height above ground of meteorological wind speed measurement"
annotation (Dialog(group="Wind"));

parameter Real Cs= (A0*A0)*((H/Hwin)^(2*a)) "Wind speed modifier"
annotation(Dialog(group="Wind"));
parameter Real Cs_coeff = (A0*A0)*((1/Hwind)^(2*a)) "Multiplication factor for Habs"
annotation(Dialog(group="Wind"));
parameter Modelica.Units.SI.Length Hpres=1 "Height above ground of meteorological ambient pressure measurement"
annotation(Dialog(group="Wind"));
constant Modelica.Units.SI.Density rho_default = 1.2 "Default air density"
annotation(Dialog(group="Wind"));

parameter Real Cs= Cs_coeff*(H^(2*a)) "Wind speed modifier" annotation(Dialog(group="Wind"));


final parameter Integer numIncAndAziInBus = size(incAndAziInBus,1)
Expand Down
2 changes: 1 addition & 1 deletion IDEAS/BoundaryConditions/Validation/BESTEST/WD100.mo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
within IDEAS.BoundaryConditions.Validation.BESTEST;
within IDEAS.BoundaryConditions.Validation.BESTEST;
model WD100
"Test model for BESTEST weather data: base case"
extends Modelica.Icons.Example;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ model MonoLayerAir
then 0.028154*Ra^0.41399
else 1+1.75967e-10*Ra^2.2984755)
else 1 "Correlations from Hollands et al. and Wright et al.";

Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a port_emb "Internal port"
annotation (Placement(transformation(extent={{-10,90},{10,110}})));

protected
final parameter Boolean ceiling=
IDEAS.Utilities.Math.Functions.isAngle(inc,IDEAS.Types.Tilt.Ceiling)
Expand All @@ -83,16 +85,9 @@ protected
abs(port_a.T-port_b.T))*coeffRa);
Modelica.Units.SI.CoefficientOfHeatTransfer h=Nu*k/d;

public
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a port_emb "Internal port"
annotation (Placement(transformation(extent={{-10,90},{10,110}})));

equation
if not (ceiling or floor or vertical) then
assert(false, "Could not find suitable correlation for air cavity! Please
change the inclination to wall, ceiling or floor or remove the air layer.",
assert(ceiling or floor or vertical, "In " + getInstanceName() +": Could not find suitable correlation for air cavity in a wall. Results may be less accurate than expected.",
level=AssertionLevel.warning);
end if;

if checkCoating then
assert(abs(epsLw_a - IDEAS.Buildings.Data.Constants.epsLw_glass) > 1e-5
Expand Down
2 changes: 1 addition & 1 deletion IDEAS/Buildings/Components/BoundaryWall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ model BoundaryWall "Opaque wall with optional prescribed heat flow rate or tempe
Fluid.Sources.MassFlowSource_T boundary2(
redeclare package Medium = Medium,
nPorts=1,
final m_flow=0)
final m_flow=1e-10)
if sim.interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts
annotation (Placement(transformation(extent={{-28,-76},{-8,-56}})));
protected
Expand Down
62 changes: 62 additions & 0 deletions IDEAS/Buildings/Components/Examples/RectangularZoneTemplate.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
within IDEAS.Buildings.Components.Examples;
model RectangularZoneTemplate
"This example illustrates the use of the RectangularZoneTemplate to model a room or building"
extends Modelica.Icons.Example;
inner BoundaryConditions.SimInfoManager sim
"Simulation information manager for climate data"
annotation (Placement(transformation(extent={{-100,80},{-80,100}})));

IDEAS.Buildings.Components.RectangularZoneTemplate Zone(
h=2.7,
redeclare replaceable package Medium = IDEAS.Media.Air,
T_start=293.15,
bouTypA=IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall,
bouTypB=IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall,
bouTypC=IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall,
bouTypCei=IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall,
hasWinCei=false,
redeclare IDEAS.Buildings.Validation.Data.Constructions.LightRoof conTypCei,

bouTypFlo=IDEAS.Buildings.Components.Interfaces.BoundaryType.BoundaryWall,
redeclare IDEAS.Buildings.Validation.Data.Constructions.HeavyFloor
conTypFlo,
redeclare IDEAS.Buildings.Validation.Data.Constructions.HeavyWall conTypA,
redeclare IDEAS.Buildings.Validation.Data.Constructions.HeavyWall conTypB,
redeclare IDEAS.Buildings.Validation.Data.Constructions.HeavyWall conTypC,
redeclare IDEAS.Buildings.Validation.Data.Constructions.HeavyWall conTypD,
hasWinA=true,
fracA=0,
redeclare IDEAS.Buildings.Validation.Data.Glazing.GlaBesTest glazingA,
redeclare IDEAS.Buildings.Components.Shading.Interfaces.ShadingProperties
shaTypA,
hasWinB=false,
hasWinC=false,
hasWinD=false,
bouTypD=IDEAS.Buildings.Components.Interfaces.BoundaryType.OuterWall,
aziA=IDEAS.Types.Azimuth.S,
l=8,
w=6,
A_winA=12)
annotation (Placement(transformation(extent={{-10,-10},{10,10}})));

annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)),
experiment(
StopTime=604800,
Tolerance=1e-006,
__Dymola_Algorithm="Lsodar"),
Documentation(info="<html>
<p>
This example illustrates the use of the RectangularZoneTemplate to model a room or building.
</p>
</html>", revisions="<html>
<ul>
<li>
January 2022 by Klaas De Jonge:<br/>
First implementation
</li>
</ul>
</html>"),
__Dymola_Commands(file(inherit=true) = "Resources/Scripts/Dymola/Buildings/Components/Examples/RectangularZoneTemplate.mos"
"Simulate and Plot"));
end RectangularZoneTemplate;
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
within IDEAS.Buildings.Components.Examples;
model RectangularZoneTemplateOnePort
"Example that compares a zone with internal wall and without internal wall"
extends Modelica.Icons.Example;
extends IDEAS.Buildings.Components.Examples.RectangularZoneTemplate(sim(
interZonalAirFlowType=IDEAS.BoundaryConditions.Types.InterZonalAirFlow.OnePort));
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)),
experiment(
StopTime=604800,
Tolerance=1e-006,
__Dymola_Algorithm="Lsodar"),
Documentation(info="<html>
<p>
This example illustrates the use of the RectangularZoneTemplate to model a room or building with the OnePort interzonal airflow implementation activated
</p>
</html>", revisions="<html>
<ul>
<li>
2021 by Klaas de Jonge:<br/>
First implementation
</li>
</ul>
</html>"),
__Dymola_Commands(file(inherit=true) = "Resources/Scripts/Dymola/Buildings/Components/Examples/RectangularZoneTemplateOnePort.mos"
"Simulate and Plot"));
end RectangularZoneTemplateOnePort;
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
within IDEAS.Buildings.Components.Examples;
model RectangularZoneTemplateTwoPort
"Example that compares a zone with internal wall and without internal wall"
extends Modelica.Icons.Example;
extends IDEAS.Buildings.Components.Examples.RectangularZoneTemplate( sim(
interZonalAirFlowType=IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts));
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)),
experiment(
StopTime=604800,
Tolerance=1e-006,
__Dymola_Algorithm="Lsodar"),
Documentation(info="<html>
<p>
This example illustrates the use of the RectangularZoneTemplate to model a room or building with the TwoPort interzonal airflow implementation activated
</p>
</html>", revisions="<html>
<ul>
<li>
2021 by Klaas de Jonge:<br/>
First implementation
</li>
</ul>
</html>"),
__Dymola_Commands(file(inherit=true) = "Resources/Scripts/Dymola/Buildings/Components/Examples/RectangularZoneTemplateTwoPort.mos"
"Simulate and Plot"));
end RectangularZoneTemplateTwoPort;
25 changes: 16 additions & 9 deletions IDEAS/Buildings/Components/Examples/WallUnitTest.mo
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
within IDEAS.Buildings.Components.Examples;
model WallUnitTest "Unit test for verifying results for all wall components"
package Medium = IDEAS.Media.Air;
extends Modelica.Icons.Example;
BoundaryWall boundaryWall(
redeclare package Medium=Medium,
redeclare Data.Constructions.CavityWall constructionType,
inc=IDEAS.Types.Tilt.Wall,
azi=IDEAS.Types.Azimuth.S,
A=2,
use_T_in=true) "Boundary wall example"
annotation (Placement(transformation(extent={{-36,60},{-26,80}})));
InternalWall internalWall(
redeclare package Medium=Medium,
inc=IDEAS.Types.Tilt.Wall,
azi=IDEAS.Types.Azimuth.S,
A=2,
Expand All @@ -17,35 +20,35 @@ model WallUnitTest "Unit test for verifying results for all wall components"
"Internal wall example"
annotation (Placement(transformation(extent={{-36,20},{-24,40}})));
OuterWall outerWall(
redeclare package Medium=Medium,
inc=IDEAS.Types.Tilt.Wall,
azi=IDEAS.Types.Azimuth.S,
A=2,
redeclare Data.Constructions.CavityWallPartialFill constructionType)
"Outer wall example"
annotation (Placement(transformation(extent={{-36,-20},{-26,0}})));
SlabOnGround slabOnGround(
redeclare package Medium=Medium,
inc=IDEAS.Types.Tilt.Floor,
azi=IDEAS.Types.Azimuth.S,
A=2,
redeclare Validation.Data.Constructions.HeavyFloor constructionType)
"Slab on ground example"
annotation (Placement(transformation(extent={{-36,-60},{-26,-40}})));
public
inner BoundaryConditions.SimInfoManager sim
annotation (Placement(transformation(extent={{-100,80},{-80,100}})));
public
inner BoundaryConditions.SimInfoManager sim(interZonalAirFlowType = IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts) annotation(
Placement(transformation(extent = {{-100, 80}, {-80, 100}})));
Modelica.Blocks.Sources.Constant Tconst(k=300)
"Constant temperature boundary condition"
annotation (Placement(transformation(extent={{-80,60},{-60,80}})));
Interfaces.DummyConnection dummyConnection(isZone=true)
Interfaces.DummyConnection dummyConnection(redeclare package Medium=Medium, isZone=true)
annotation (Placement(transformation(extent={{20,60},{0,80}})));
Interfaces.DummyConnection dummyConnection1(isZone=true)
Interfaces.DummyConnection dummyConnection1(redeclare package Medium=Medium, isZone=true)
annotation (Placement(transformation(extent={{20,20},{0,40}})));
Interfaces.DummyConnection dummyConnection2(isZone=true)
Interfaces.DummyConnection dummyConnection2(redeclare package Medium=Medium, isZone=true)
annotation (Placement(transformation(extent={{20,-20},{0,0}})));
Interfaces.DummyConnection dummyConnection3(isZone=true)
Interfaces.DummyConnection dummyConnection3(redeclare package Medium=Medium, isZone=true)
annotation (Placement(transformation(extent={{20,-60},{0,-40}})));
Interfaces.DummyConnection dummyConnection4(isZone=true)
Interfaces.DummyConnection dummyConnection4(redeclare package Medium=Medium, isZone=true)
annotation (Placement(transformation(extent={{-80,20},{-60,40}})));
equation
connect(Tconst.y, boundaryWall.T) annotation (Line(points={{-59,70},{-48,70},
Expand Down Expand Up @@ -89,6 +92,10 @@ For windows see other examples.
</html>", revisions="<html>
<ul>
<li>
January 2, 2023, by Filip Jorissen:<br/>
Added support for stack effect airflow.
</li>
<li>
July 19, 2016, by Filip Jorissen:<br/>
Revised implementation that uses <code>DummyConnections</code>.
</li>
Expand Down
3 changes: 3 additions & 0 deletions IDEAS/Buildings/Components/Examples/package.order
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ RectangularZone
RectangularZoneEmbedded
RectangularZoneExternalSurfaces
RectangularZoneRedeclarationWindows
RectangularZoneTemplate
RectangularZoneTemplateOnePort
RectangularZoneTemplateTwoPort
ScalingWindow
WallUnitTest
WindowDynamics
Expand Down
Loading