Buildings.RoomsBeta.Examples.TestConditionalConstructions.BaseClasses

Package with base classes for Buildings.RoomsBeta.Examples.TestConditionalConstructions

Information


This package contains base classes that are used to construct the models in Buildings.RoomsBeta.Examples.TestConditionalConstructions.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

NameDescription
PartialTestModel Partial model that is used to build the test cases


Buildings.RoomsBeta.Examples.TestConditionalConstructions.BaseClasses.PartialTestModel

Partial model that is used to build the test cases

Buildings.RoomsBeta.Examples.TestConditionalConstructions.BaseClasses.PartialTestModel

Parameters

TypeNameDefaultDescription
IntegernConExt Number of exterior constructions that do not have a window
IntegernConExtWin Number of exterior constructions that do have a window
IntegernConPar Number of partition constructions
IntegernConBou Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou Number of surface that are connected to the room air volume

Modelica definition

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;
  HeatTransfer.Data.OpaqueConstructions.Insulation100Concrete200 matLayExt 
    "Construction material for exterior walls";
  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");
  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;

Automatically generated Fri May 06 14:14:14 2011.