modelTwoElements

Thermal Zone with two elements for exterior and interior walls

Extends from OneElement (Thermal Zone with one element for exterior walls).

Information

This model distinguishes between internal thermal masses and exterior walls. While exterior walls contribute to heat transfer to the ambient, adiabatic conditions apply to internal masses. Parameters for the internal wall element are the length of the RC-chain nInt, the vector of the capacities CInt[nInt] and the vector of the resistances RInt[nInt]. This approach allows considering the dynamic behaviour induced by internal heat storage.

The image below shows the RC-network of this model.

image

Parameters

TypeNameDefaultDescription
Booleanuse_moisture_balance (from OneElement)falseIf true, input connector QLat_flow is enabled and room air computes moisture balance
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamics (from LumpedVolumeDeclarations)Modelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicssubstanceDynamics (from LumpedVolumeDeclarations)energyDynamicsType of independent mass fraction balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicstraceDynamics (from LumpedVolumeDeclarations)energyDynamicsType of trace substance balance: dynamic (3 initialization options) or steady state
Advanced › Dynamics
Modelica.Fluid.Types.DynamicsmassDynamics (from LumpedVolumeDeclarations)energyDynamicsType of mass balance: dynamic (3 initialization options) or steady state, must be steady state if energyDynamics is steady state
Initialization
Medium.AbsolutePressurep_start (from LumpedVolumeDeclarations)Medium.p_defaultStart value of pressure
Medium.TemperatureT_start (from LumpedVolumeDeclarations)Medium.T_defaultStart value of temperature
Medium.MassFraction[Medium.nX]X_start (from LumpedVolumeDeclarations)Medium.X_defaultStart value of mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_start (from LumpedVolumeDeclarations)fill(0, Medium.nC)Start value of trace substances
Medium.ExtraProperty[Medium.nC]C_nominal (from LumpedVolumeDeclarations)fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Dynamics
RealmSenFac (from LumpedVolumeDeclarations)1Factor for scaling the sensible thermal mass of the volume
Thermal zone
Modelica.Units.SI.VolumeVAir (from OneElement)Air volume of the zone
Modelica.Units.SI.CoefficientOfHeatTransferhRad (from OneElement)Coefficient of heat transfer for linearized radiation exchange between walls
IntegernOrientations (from OneElement)Number of orientations
General › Ports
IntegernPorts (from OneElement)0Number of fluid ports
Windows
Modelica.Units.SI.Area[nOrientations]AWin (from OneElement)Vector of areas of windows by orientations
Modelica.Units.SI.Area[nOrientations]ATransparent (from OneElement)Vector of areas of transparent (solar radiation transmittend) elements by orientations
Modelica.Units.SI.CoefficientOfHeatTransferhConWin (from OneElement)Convective coefficient of heat transfer of windows (indoor)
Modelica.Units.SI.ThermalResistanceRWin (from OneElement)Resistor for windows
Modelica.Units.SI.TransmissionCoefficientgWin (from OneElement)Total energy transmittance of windows
RealratioWinConRad (from OneElement)Ratio for windows between indoor convective and radiative heat emission
BooleanindoorPortWin (from OneElement)falseAdditional heat port at indoor surface of windows
Exterior walls
Modelica.Units.SI.Area[nOrientations]AExt (from OneElement)Vector of areas of exterior walls by orientations
Modelica.Units.SI.CoefficientOfHeatTransferhConExt (from OneElement)Convective coefficient of heat transfer of exterior walls (indoor)
IntegernExt (from OneElement)Number of RC-elements of exterior walls
Modelica.Units.SI.ThermalResistance[nExt]RExt (from OneElement)Vector of resistances of exterior walls, from inside to outside
Modelica.Units.SI.ThermalResistanceRExtRem (from OneElement)Resistance of remaining resistor RExtRem between capacity n and outside
Modelica.Units.SI.HeatCapacity[nExt]CExt (from OneElement)Vector of heat capacities of exterior walls, from inside to outside
BooleanindoorPortExtWalls (from OneElement)falseAdditional heat port at indoor surface of exterior walls
Advanced
Booleanuse_C_flow (from OneElement)falseSet to true to enable input connector for trace substance
Interior walls
Modelica.Units.SI.AreaAIntArea of interior walls
Modelica.Units.SI.CoefficientOfHeatTransferhConIntConvective coefficient of heat transfer of interior walls (indoor)
IntegernIntNumber of RC-elements of interior walls
Modelica.Units.SI.ThermalResistance[nInt]RIntVector of resistances of interior walls, from port to center
Modelica.Units.SI.HeatCapacity[nInt]CIntVector of heat capacities of interior walls, from port to center
BooleanindoorPortIntWallsfalseAdditional heat port at indoor surface of interior walls

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[nOrientations]solRad (from OneElement)Solar radiation transmitted through windows
Modelica.Blocks.Interfaces.RealInputQLat_flow (from OneElement)Latent heat gains for the room
Modelica.Blocks.Interfaces.RealOutputTAir (from OneElement)Indoor air temperature
Modelica.Blocks.Interfaces.RealOutputTRad (from OneElement)Mean indoor radiation temperature
Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nPorts]ports (from OneElement)Auxiliary fluid inlets and outlets to indoor air volume
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aextWall (from OneElement)Ambient port for exterior walls
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_awindow (from OneElement)Ambient port for windows
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aintGainsConv (from OneElement)Auxiliary port for sensible internal convective gains
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aintGainsRad (from OneElement)Auxiliary port for internal radiative gains
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_awindowIndoorSurface (from OneElement)Auxiliary port at indoor surface of windows
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aextWallIndoorSurface (from OneElement)Auxiliary port at indoor surface of exterior walls
Modelica.Blocks.Interfaces.RealInputC_flow (from OneElement)Trace substance mass flow rate added to the thermal zone
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aintWallIndoorSurfaceAuxiliary port at indoor surface of interior walls

Components

TypeNameDefaultDescription
Fluid.MixingVolumes.MixingVolumevolAir (from OneElement)Indoor air volume
Fluid.MixingVolumes.MixingVolumeMoistAirvolMoiAir (from OneElement)Indoor air volume
Modelica.Thermal.HeatTransfer.Components.ThermalResistorresWin (from OneElement)Resistor for windows
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowconvHeatSol (from OneElement)Solar heat considered as convection
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow[nOrientations]radHeatSol (from OneElement)Solar heat considered as radiation
BaseClasses.ThermSplitterthermSplitterIntGains (from OneElement)Splits incoming internal gains into separate gains for each wall element, weighted by their area
BaseClasses.ThermSplitterthermSplitterSolRad (from OneElement)Splits incoming solar radiation into separate gains for each wall element, weighted by their area
BaseClasses.ExteriorWallextWallRC (from OneElement)RC-element for exterior walls
BaseClasses.InteriorWallintWallRCRC-element for interior walls

Revisions

  • March 7, 2022, by Michael Wetter:
    Removed massDynamics.
    This is for #1542.
  • July 11, 2019, by Katharina Brinkmann:
    Renamed alphaInt to hConInt, alphaIntWall to hConIntWall
  • January 25, 2019, by Michael Wetter:
    Added start value to avoid warning in JModelica.
  • April 18, 2015, by Moritz Lauster:
    First implementation.