Buildings.RoomsBeta.Examples.TestConditionalConstructions

Package that tests if constructions can be conditionally removed

Information


The thermal zone model 
Buildings.RoomsBeta.MixedAir
allows the conditional declaration of constructions for
exterior walls without windows, for exterior walls with windows,
for partition walls, for interior surfaces,
and for interior surfaces.
The models in this package test if the model is well-defined
if such constructions are removed.
The models in this package do not represent realistic buildings, but
are rather designed to test the thermal zone model.

Package Content

NameDescription
Buildings.RoomsBeta.Examples.TestConditionalConstructions.BaseClasses BaseClasses Package with base classes for room test models
OnlyExteriorWallNoWindow Test model for room model
OnlyExteriorWallWithWindow Test model for room model
OnlyExteriorWallWithWindowExteriorShade Test model for room model
OnlyExteriorWallWithWindowInteriorShade Test model for room model
OnlyPartition Test model for room model
OnlyConstructionBoundary Test model for room model
OnlySurfaceBoundary Test model for room model


Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallNoWindow

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallNoWindow

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt1Number of exterior constructions that do not have a window
IntegernConExtWin0Number of exterior constructions that do have a window
IntegernConPar0Number of partition constructions
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume

Modelica definition

model OnlyExteriorWallNoWindow "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=1,
   nConExtWin=0,
   nConPar=0,
   nConBou=0,
   nSurBou=0,
   roo(
    datConExt(layers={matLayExt}, each A=10,
           each til=Types.Tilt.Floor, each azi=Types.Azimuth.W)),
    weaDat(lon=-1.4421267797069, timZon=-21600));
end OnlyExteriorWallNoWindow;

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallWithWindow

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallWithWindow

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt0Number of exterior constructions that do not have a window
IntegernConExtWin2Number of exterior constructions that do have a window
IntegernConPar0Number of partition constructions
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume

Modelica definition

model OnlyExteriorWallWithWindow "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=0,
   nConExtWin=2,
   nConPar=0,
   nConBou=0,
   nSurBou=0,
   roo(
    datConExtWin(layers={matLayExt, matLayExt}, each A=10,
                 glaSys={glaSys, glaSys},
                 each AWin=4, each fFra=0.1,
                 til={Types.Tilt.Floor, Types.Tilt.Ceiling},
                 each azi=Types.Azimuth.W)));
end OnlyExteriorWallWithWindow;

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallWithWindowExteriorShade

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallWithWindowExteriorShade

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt0Number of exterior constructions that do not have a window
IntegernConExtWin2Number of exterior constructions that do have a window
IntegernConPar0Number of partition constructions
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume

Modelica definition

model OnlyExteriorWallWithWindowExteriorShade 
  "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=0,
   nConExtWin=2,
   nConPar=0,
   nConBou=0,
   nSurBou=0,
   roo(
    datConExtWin(layers={matLayExt, matLayExt}, each A=10,
                 glaSys={glaSys, glaSys},
                 each AWin=4, each fFra=0.1,
                 til={Types.Tilt.Floor, Types.Tilt.Ceiling},
                 each azi=Types.Azimuth.W)),
    glaSys(haveExteriorShade=true));
  Modelica.Blocks.Sources.Constant uSha(k=0.5) 
    "Control signal for the shading device";
  Modelica.Blocks.Routing.Replicator replicator(nout=max(1,nConExtWin));
equation 
  connect(uSha.y,replicator. u);
  connect(roo.uSha,replicator. y);
end OnlyExteriorWallWithWindowExteriorShade;

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallWithWindowInteriorShade

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyExteriorWallWithWindowInteriorShade

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt0Number of exterior constructions that do not have a window
IntegernConExtWin2Number of exterior constructions that do have a window
IntegernConPar0Number of partition constructions
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume

Modelica definition

model OnlyExteriorWallWithWindowInteriorShade 
  "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=0,
   nConExtWin=2,
   nConPar=0,
   nConBou=0,
   nSurBou=0,
   roo(
    datConExtWin(layers={matLayExt, matLayExt}, each A=10,
                 glaSys={glaSys, glaSys},
                 each AWin=4, each fFra=0.1,
                 til={Types.Tilt.Floor, Types.Tilt.Ceiling},
                 each azi=Types.Azimuth.W)),
    glaSys(haveInteriorShade=true));
  Modelica.Blocks.Sources.Constant uSha(k=0.5) 
    "Control signal for the shading device";
  Modelica.Blocks.Routing.Replicator replicator(nout=max(1,nConExtWin));
equation 
  connect(uSha.y,replicator. u);
  connect(roo.uSha,replicator. y);
end OnlyExteriorWallWithWindowInteriorShade;

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyPartition

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyPartition

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt0Number of exterior constructions that do not have a window
IntegernConExtWin0Number of exterior constructions that do have a window
IntegernConPar1Number of partition constructions
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume

Modelica definition

model OnlyPartition "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=0,
   nConExtWin=0,
   nConPar=1,
   nConBou=0,
   nSurBou=0,
   roo(
    datConPar(layers={matLayPar}, each A=10,
    each til=Types.Tilt.Floor,
    each azi=Types.Azimuth.W)));

end OnlyPartition;

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyConstructionBoundary

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlyConstructionBoundary

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt0Number of exterior constructions that do not have a window
IntegernConExtWin0Number of exterior constructions that do have a window
IntegernConPar0Number of partition constructions
IntegernConBou1Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume

Modelica definition

model OnlyConstructionBoundary "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=0,
   nConExtWin=0,
   nConPar=0,
   nConBou=1,
   nSurBou=0,
   roo(
    datConBou(layers={matLayPar}, each A=12, each til=Types.Tilt.Floor,
    each azi=Types.Azimuth.W)));
  Modelica.Thermal.HeatTransfer.Sources.FixedTemperature TBou1[nConBou](each T=288.15) 
    "Boundary condition for construction";
equation 
  connect(TBou1.port, roo.surf_conBou);
end OnlyConstructionBoundary;

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlySurfaceBoundary

Test model for room model

Buildings.RoomsBeta.Examples.TestConditionalConstructions.OnlySurfaceBoundary

Information

Extends from BaseClasses.PartialTestModel (Partial model that is used to build the test cases).

Parameters

TypeNameDefaultDescription
IntegernConExt0Number of exterior constructions that do not have a window
IntegernConExtWin0Number of exterior constructions that do have a window
IntegernConPar0Number of partition constructions
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou1Number of surface that are connected to the room air volume

Modelica definition

model OnlySurfaceBoundary "Test model for room model"
  extends BaseClasses.PartialTestModel(
   nConExt=0,
   nConExtWin=0,
   nConPar=0,
   nConBou=0,
   nSurBou=1,
   roo(
    surBou(each A=15, each epsLW=0.9, each epsSW=0.9, each til=Types.Tilt.Floor)));
  Modelica.Thermal.HeatTransfer.Sources.FixedTemperature TBou[nSurBou](each T=288.15) 
    "Boundary condition for construction";
  HeatTransfer.ConductorMultiLayer conOut[nSurBou](each A=15, redeclare Buildings.HeatTransfer.Data.OpaqueConstructions.Brick120
      layers) "Construction that is modeled outside of room";
equation 
  connect(TBou.port, conOut.port_b);
  connect(roo.surf_surBou, conOut.port_a);
end OnlySurfaceBoundary;

HTML-documentation generated by Dymola Thu Mar 17 10:16:40 2011.