Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.BaseClasses

Package with base classes for Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions

Information

This package contains base classes that are used to construct the models in Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.

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

Package Content

Name Description
Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.BaseClasses.PartialTestModel PartialTestModel Partial model that is used to build the test cases

Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.BaseClasses.PartialTestModel

Partial model that is used to build the test cases

Buildings.ThermalZones.Detailed.Validation.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
Insulation100Concrete200matLayExt Construction material for exterior walls
Brick120matLayPar Construction material for partition walls
DoubleClearAir13ClearglaSysglaSys( ...Data record for the glazing system

Modelica definition

partial model PartialTestModel "Partial model that is used to build the test cases" package MediumA = Buildings.Media.Air "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, energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, lat=0.73268921998722) "Room model"; 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=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"), computeWetBulbTemperature=false); 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;