 
This package contains base classes that are used to construct the models in Buildings.Rooms.Examples.TestConditionalConstructions.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
| Name | Description | 
|---|---|
| PartialTestModel | Partial model that is used to build the test cases | 
 
| Type | Name | Default | Description | 
|---|---|---|---|
| Integer | nConExt | Number of exterior constructions that do not have a window | |
| Integer | nConExtWin | Number of exterior constructions that do have a window | |
| Integer | nConPar | Number of partition constructions | |
| Integer | nConBou | Number of surface that are connected to constructions that are modeled inside the room | |
| Integer | nSurBou | Number of surface that are connected to the room air volume | |
| Insulation100Concrete200 | matLayExt | Construction material for exterior walls | |
| Brick120 | matLayPar | Construction material for partition walls | |
| DoubleClearAir13Clear | glaSys | Data record for the glazing system | 
partial model PartialTestModel 
  "Partial model that is used to build the test cases"
  package MediumA = Buildings.Media.GasesPTDecoupled.MoistAirUnsaturated 
    "Medium model";
  parameter Integer nConExt 
    "Number of exterior constructions that do not have a window";
  parameter Integer nConExtWin 
    "Number of exterior constructions that do have a window";
  parameter Integer nConPar "Number of partition constructions";
  parameter Integer nConBou 
    "Number of surface that are connected to constructions that are modeled inside the room";
  parameter Integer nSurBou 
    "Number of surface that are connected to the room air volume";
  MixedAir roo(
    redeclare package Medium = MediumA,
    final nConExt=nConExt,
    final nConExtWin=nConExtWin,
    final nConPar=nConPar,
    final nConBou=nConBou,
    final nSurBou=nSurBou,
    AFlo=20,
    hRoo=2.7,
    linearizeRadiation = true,
    lat=0.73268921998722) "Room model"; 
  inner Modelica.Fluid.System system;
  parameter HeatTransfer.Data.OpaqueConstructions.Insulation100Concrete200 matLayExt 
    "Construction material for exterior walls";
  parameter HeatTransfer.Data.OpaqueConstructions.Brick120 matLayPar 
    "Construction material for partition walls";
  Modelica.Blocks.Sources.Constant qConGai_flow(k=0) "Convective heat gain";
  Modelica.Blocks.Sources.Constant qRadGai_flow(k=0) "Radiative heat gain";
  Modelica.Blocks.Routing.Multiplex3 multiplex3_1;
  Modelica.Blocks.Sources.Constant qLatGai_flow(k=0) "Latent heat gain";
  BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos");
  parameter HeatTransfer.Data.GlazingSystems.DoubleClearAir13Clear glaSys(UFra=2,
    shade=Buildings.HeatTransfer.Data.Shades.Gray(),
    haveExteriorShade=false,
    haveInteriorShade=false) "Data record for the glazing system"; 
equation 
  connect(qRadGai_flow.y, multiplex3_1.u1[1]);
  connect(qConGai_flow.y, multiplex3_1.u2[1]); 
  connect(qLatGai_flow.y, multiplex3_1.u3[1]);
  connect(multiplex3_1.y, roo.qGai_flow); 
  connect(weaDat.weaBus, roo.weaBus); 
end PartialTestModel;