modelClosetFullBed

Model of the closet connected to test cell X3A intended to be connected to ThermalZones.Detailed.FLEXLAB.Rooms.X3B.Closet

Extends from Buildings.ThermalZones.Detailed.MixedAir (Model of a room in which the air is completely mixed).

Information

This is a duplicate model of Buildings.ThermalZones.Detailed.FLEXLAB.Rooms.X3A.Closet with the wall separating this model and Buildings.ThermalZones.Detailed.FLEXLAB.Rooms.X3B.Closet removed. It is intended for use in simulations which include both room models to simulate the whole test bed. If the regular models are used the wall separating the closets will be modeled twice, so one model must have the wall removed. This documentation only describes the walls and connections which are different from Buildings.ThermalZones.Detailed.FLEXLAB.Rooms.X3A.Closet. For information on the rest of the walls and connections see that documentation.

There are four different wall sections connected to the closet modeled here. They are shown in the figure below. Only wall section 2 is described in this documentation.

Wall sections in Closet model

The different wall sections are represented in the model according to the following table.

Wall Section Number Description Location in Model Corresponding Layer
2 Dividing wall modeled in ThermalZones.Detailed.FLEXLAB.Rooms.X3B.Closet surBou[3]

As a result of removing the dividing wall construction, the location of the construction of the floor has changed. The following table shows the old and new location of this wall construction.

Physical Description Location in Closet Location in ClosetNoCelDiv
Construction modeling the floor datConBou[3] datConBou[2]

Several of the connections in this model are intended to be connected to specific surfaces in other room models. The following table describes the connections to models outside of the X3A package. The connections in datConExt are not described in the table because they are connected to the external environment, and no additional heat port connections are necessary. A rationale for why the model is created this way is also provided if it is considered necessary.

Location in Closet Description of External Connection Location in External Model Rationale
surf_surBou[3] X3B.Closet X3B.Closet.surf_conBou[2] X3B.Closet.surf_conBou[2] is the location of the cell dividing wall in the neighboring closet. Connecting X3A.ClosetNoCelDiv.surf_surBou[3] to this port models heat transfer from the wall in ThermalZones.Detailed.FLEXLAB.Rooms.X3B.Closet to the air in this space.

Parameters

TypeNameDefaultDescription
IntegerNConExt (from ConstructionNumbers)max(1, nConExt)Number of elements for exterior constructions
IntegerNConExtWin (from ConstructionNumbers)max(1, nConExtWin)Number of elements for exterior constructions with windows
IntegerNConPar (from ConstructionNumbers)max(1, nConPar)Number of elements for partition constructions
IntegerNConBou (from ConstructionNumbers)max(1, nConBou)Number of elements for constructions that have their outside surface exposed to the boundary of this room
IntegerNSurBou (from ConstructionNumbers)max(1, nSurBou)Number of elements for surface heat transfer models that connect to constructions that are modeled outside of this room
BooleanhaveConExt (from ConstructionNumbers)nConExt > 0Flag to conditionally remove components
BooleanhaveConExtWin (from ConstructionNumbers)nConExtWin > 0Flag to conditionally remove components
BooleanhaveConPar (from ConstructionNumbers)nConPar > 0Flag to conditionally remove components
BooleanhaveConBou (from ConstructionNumbers)nConBou > 0Flag to conditionally remove components
BooleanhaveSurBou (from ConstructionNumbers)nSurBou > 0Flag to conditionally remove components
ParameterConstruction[NConExt]datConExt (from ConstructionRecords)Data for exterior construction
Buildings.ThermalZones.Detailed.BaseClasses.ParameterConstructionWithWindow[NConExtWin]datConExtWin (from ConstructionRecords)Data for exterior construction with window
Buildings.ThermalZones.Detailed.BaseClasses.ParameterConstruction[NConPar]datConPar (from ConstructionRecords)Data for partition construction
Buildings.ThermalZones.Detailed.BaseClasses.ParameterConstruction[NConBou]datConBou (from ConstructionRecords)Data for construction boundary
Buildings.ThermalZones.Detailed.BaseClasses.OpaqueSurface[NSurBou]surBou (from ConstructionRecords)Record for data of surfaces whose heat conduction is modeled outside of this room
HeatTransfer.Data.OpaqueConstructions.Brick120dummyCon (from ConstructionRecords)Dummy construction to assign a parameter to the instance
Buildings.HeatTransfer.Data.GlazingSystems.SingleClear3dummyGlaSys (from ConstructionRecords)Dummy construction to assign a parameter to the instance
BooleanhomotopyInitialization (from RoomHeatMassBalance)true= true, use homotopy method
Modelica.Units.SI.VolumeV (from RoomHeatMassBalance)AFlo*hRooVolume
Modelica.Units.SI.AreaAFlo (from RoomHeatMassBalance)Floor area
Modelica.Units.SI.LengthhRoo (from RoomHeatMassBalance)Average room height
BooleanlinearizeRadiation (from RoomHeatMassBalance)trueSet to true to linearize emissive power
Data.Constructions.OpaqueConstructions.DividingWalls.CellAndElectricalDividingWallhigInsHigh insulation wall. Between X3A closet and exterior, X3A closet and electrical room
Data.Constructions.OpaqueConstructions.DividingWalls.TestCellDividngWallcelDivWall dividing the X3A closet and the X3B closet
Data.Constructions.OpaqueConstructions.Roofs.ASHRAE_901_2010RoofrooConstruction of the roof of the closet in X3A
HeatTransfer.Data.OpaqueConstructions.GenericslaConConstruction of the slab
Exterior constructions
IntegernConExt (from ConstructionNumbers)Number of exterior constructions
IntegernConExtWin (from ConstructionNumbers)Number of window constructions
Partition constructions
IntegernConPar (from ConstructionNumbers)Number of partition constructions
Boundary constructions
IntegernConBou (from ConstructionNumbers)Number of constructions that have their outside surface exposed to the boundary of this room
IntegernSurBou (from ConstructionNumbers)Number of surface heat transfer models that connect to constructions that are modeled outside of this room
General › Ports
IntegernPorts (from RoomHeatMassBalance)0Number of ports
Dynamics › Glazing system
BooleansteadyStateWindow (from RoomHeatMassBalance)falseSet to false to add thermal capacity at window, which generally leads to faster simulation
Convective heat transfer
Buildings.HeatTransfer.Types.InteriorConvectionintConMod (from RoomHeatMassBalance)Buildings.HeatTransfer.Types.InteriorConvection.TemperatureConvective heat transfer model for room-facing surfaces of opaque constructions
Modelica.Units.SI.CoefficientOfHeatTransferhIntFixed (from RoomHeatMassBalance)3.0Constant convection coefficient for room-facing surfaces of opaque constructions
Buildings.HeatTransfer.Types.ExteriorConvectionextConMod (from RoomHeatMassBalance)Buildings.HeatTransfer.Types.ExteriorConvection.TemperatureWindConvective heat transfer model for exterior facing surfaces of opaque constructions
Modelica.Units.SI.CoefficientOfHeatTransferhExtFixed (from RoomHeatMassBalance)10.0Constant convection coefficient for exterior facing surfaces of opaque constructions
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominal (from RoomHeatMassBalance)V*1.2/3600Nominal mass flow rate
Experimental (may be changed in future releases)
BooleansampleModel (from RoomHeatMassBalance)falseSet to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model
Ports
Booleanuse_C_flow (from MixedAir)falseSet to true to enable input connector for trace substance that is connected to room air
Dynamics › Zone air
Modelica.Fluid.Types.DynamicsenergyDynamics (from MixedAir)Modelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance for zone air: dynamic (3 initialization options) or steady state
RealmSenFac (from MixedAir)1Factor for scaling the sensible thermal mass of the zone air volume
Initialization
Medium.AbsolutePressurep_start (from MixedAir)Medium.p_defaultStart value of zone air pressure
Medium.TemperatureT_start (from MixedAir)Medium.T_defaultStart value of zone air temperature
Medium.MassFraction[Medium.nX]X_start (from MixedAir)Medium.X_defaultStart value of zone air mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_start (from MixedAir)fill(0, Medium.nC)Start value of zone air trace substances
Medium.ExtraProperty[Medium.nC]C_nominal (from MixedAir)fill(1E-2, Medium.nC)Nominal value of zone air trace substances. (Set to typical order of magnitude.)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nPorts]ports (from RoomHeatMassBalance)Fluid inlets and outlets
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheaPorAir (from RoomHeatMassBalance)Heat port to air volume
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheaPorRad (from RoomHeatMassBalance)Heat port for radiative heat gain and radiative temperature
Modelica.Blocks.Interfaces.RealInput[nConExtWin]uWin (from RoomHeatMassBalance)Control signal for window state (used for electrochromic windows, removed otherwise)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[nConBou]surf_conBou (from RoomHeatMassBalance)Heat port at surface b of construction conBou
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[nSurBou]surf_surBou (from RoomHeatMassBalance)Heat port of surface that is connected to the room air
Modelica.Blocks.Interfaces.RealInput[3]qGai_flow (from RoomHeatMassBalance)Radiant, convective and latent heat input into room (positive if heat gain)
BoundaryConditions.WeatherData.BusweaBus (from RoomHeatMassBalance)Weather data
Modelica.Blocks.Interfaces.RealInput[nConExtWin]uSha (from MixedAir)Control signal for the shading device (removed if no shade is present)
Modelica.Blocks.Interfaces.RealInput[Medium.nC]C_flow (from MixedAir)Trace substance mass flow rate added to the room air. Enable if use_C_flow = true
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[NConExtWin]HGlo (from MixedAir)Global solar irradiance
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[NConExtWin]QTraGlo (from MixedAir)Transmitted global solar radiation

Components

TypeNameDefaultDescription
Constructions.Construction[NConExt]conExt (from RoomHeatMassBalance)Heat conduction through exterior construction that have no window
Constructions.ConstructionWithWindow[NConExtWin]conExtWin (from RoomHeatMassBalance)Heat conduction through exterior construction that have a window
Constructions.Construction[NConPar]conPar (from RoomHeatMassBalance)Heat conduction through partitions that have both sides inside the thermal zone
Constructions.Construction[NConBou]conBou (from RoomHeatMassBalance)Heat conduction through opaque constructions that have the boundary conditions of the other side exposed
BaseClasses.ExteriorBoundaryConditionsbouConExt (from RoomHeatMassBalance)Exterior boundary conditions for constructions without a window
BaseClasses.ExteriorBoundaryConditionsWithWindowbouConExtWin (from RoomHeatMassBalance)Exterior boundary conditions for constructions with a window
HeatTransfer.Windows.BaseClasses.WindowRadiation[NConExtWin]conExtWinRad (from RoomHeatMassBalance)Model for solar radiation through shades and window
BaseClasses.PartialAirHeatMassBalanceair (from RoomHeatMassBalance)
Buildings.ThermalZones.Detailed.BaseClasses.SolarRadiationExchangesolRadExc (from RoomHeatMassBalance)Solar radiative heat exchange
Buildings.ThermalZones.Detailed.BaseClasses.InfraredRadiationGainDistributionirRadGai (from RoomHeatMassBalance)Distribution for infrared radiative heat gains (e.g., due to equipment and people)
Buildings.ThermalZones.Detailed.BaseClasses.InfraredRadiationExchangeirRadExc (from RoomHeatMassBalance)Infrared radiative heat exchange
Buildings.ThermalZones.Detailed.BaseClasses.RadiationTemperatureradTem (from RoomHeatMassBalance)Radiative temperature of the room
HeatTransfer.Windows.BaseClasses.ShadeRadiation[NConExtWin]shaRad (from RoomHeatMassBalance)Radiation model for room-side window shade
Buildings.Controls.OBC.CDL.Reals.Add[NConExtWin]gloSol (from MixedAir)Global solar irradiance
Buildings.Controls.OBC.CDL.Reals.Add[NConExtWin]traSol (from MixedAir)Transmitted solar radiation
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[NConExtWin]con (from MixedAir)Constant zero
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[NConExtWin]con1 (from MixedAir)Constant zero

Revisions

  • Sep 18, 2013 by Peter Grant:
    First implementation.