Skip to content

Commit

Permalink
corrected declarations #2555, #2556
Browse files Browse the repository at this point in the history
  • Loading branch information
JayHuLBL committed Jun 28, 2021
1 parent dbc2c36 commit fa54349
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ model ExteriorWallTwoWindows
"Heat transfer area of frame and window";
parameter Real fFra[:]={0.1, 0.1}
"Fraction of window frame divided by total window area";
final parameter Modelica.SIunits.Area AFra[:]= fFra .* AWin "Frame area";
final parameter Modelica.SIunits.Area AGla[:] = AWin .- AFra "Glass area";

parameter Boolean linearizeRadiation = false
"Set to true to linearize emissive power";
Expand Down Expand Up @@ -91,8 +93,7 @@ model ExteriorWallTwoWindows
annotation (Placement(transformation(extent={{-122,-58},{-102,-38}})));
Modelica.Blocks.Routing.Replicator replicator(nout=nCon)
annotation (Placement(transformation(extent={{-160,-42},{-140,-22}})));
Modelica.Thermal.HeatTransfer.Components.ThermalCollector theCol3(
m=2)
Modelica.Thermal.HeatTransfer.Components.ThermalCollector theCol3(m=2)
"Thermal collector to link a vector of models to a single model"
annotation (Placement(transformation(
extent={{-10,-10},{10,10}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ model ExteriorWallWithWindow "Test model for an exterior wall with a window"
"Heat transfer area of frame and window";
parameter Real fFra=0.1
"Fraction of window frame divided by total window area";
final parameter Modelica.SIunits.Area AFra = fFra * AWin "Frame area";
final parameter Modelica.SIunits.Area AGla = AWin-AFra "Glass area";
parameter Boolean linearizeRadiation = false
"Set to true to linearize emissive power";
parameter HeatTransfer.Data.GlazingSystems.DoubleClearAir13Clear glaSys(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ model Electrical "Model of the electrical room attached to test cell X3A"
til = {Buildings.Types.Tilt.Floor},
azi = {Buildings.Types.Azimuth.N},
stateAtSurface_a = {false}));
replaceable
replaceable parameter
Data.Constructions.OpaqueConstructions.ExteriorConstructions.Construction3
eleExt "Construction describing the exterior walls in the electrical room"
annotation (Placement(transformation(extent={{430,-210},{450,-190}})));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ model Case600FF
d=950,
nStaRef=nStaRef)}) "Roof"
annotation (Placement(transformation(extent={{60,84},{74,98}})));
Buildings.ThermalZones.Detailed.Validation.BESTEST.Data.Win600 window600(
parameter Buildings.ThermalZones.Detailed.Validation.BESTEST.Data.Win600 window600(
UFra=3,
haveExteriorShade=false,
haveInteriorShade=false) "Window"
Expand Down

0 comments on commit fa54349

Please sign in to comment.