modelOneElement
Thermal Zone with one element for exterior walls
Extends from Buildings.Fluid.Interfaces.LumpedVolumeDeclarations (Declarations for lumped volumes).
Information
This model merges all thermal masses into one
element, parameterized by the length of the RC-chain
nExt, the vector of the capacities CExt[nExt] that is
connected via the vector of resistances RExt[nExt] and
RExtRem to the ambient and indoor air.
By default, the model neglects all
internal thermal masses that are not directly connected to the ambient.
However, the thermal capacity of the room air can be increased by
using the parameter mSenFac.
The image below shows the RC-network of this model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_moisture_balance | false | If true, input connector QLat_flow is enabled and room air computes moisture balance |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics (from LumpedVolumeDeclarations) | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Modelica.Fluid.Types.Dynamics | substanceDynamics (from LumpedVolumeDeclarations) | energyDynamics | Type of independent mass fraction balance: dynamic (3 initialization options) or steady state |
| Modelica.Fluid.Types.Dynamics | traceDynamics (from LumpedVolumeDeclarations) | energyDynamics | Type of trace substance balance: dynamic (3 initialization options) or steady state |
| Advanced › Dynamics | |||
| Modelica.Fluid.Types.Dynamics | massDynamics (from LumpedVolumeDeclarations) | energyDynamics | Type of mass balance: dynamic (3 initialization options) or steady state, must be steady state if energyDynamics is steady state |
| Initialization | |||
| Medium.AbsolutePressure | p_start (from LumpedVolumeDeclarations) | Medium.p_default | Start value of pressure |
| Medium.Temperature | T_start (from LumpedVolumeDeclarations) | Medium.T_default | Start value of temperature |
| Medium.MassFraction[Medium.nX] | X_start (from LumpedVolumeDeclarations) | Medium.X_default | Start 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 | |||
| Real | mSenFac (from LumpedVolumeDeclarations) | 1 | Factor for scaling the sensible thermal mass of the volume |
| Thermal zone | |||
| Modelica.Units.SI.Volume | VAir | Air volume of the zone | |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hRad | Coefficient of heat transfer for linearized radiation exchange between walls | |
| Integer | nOrientations | Number of orientations | |
| General › Ports | |||
| Integer | nPorts | 0 | Number of fluid ports |
| Windows | |||
| Modelica.Units.SI.Area[nOrientations] | AWin | Vector of areas of windows by orientations | |
| Modelica.Units.SI.Area[nOrientations] | ATransparent | Vector of areas of transparent (solar radiation transmittend) elements by orientations | |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConWin | Convective coefficient of heat transfer of windows (indoor) | |
| Modelica.Units.SI.ThermalResistance | RWin | Resistor for windows | |
| Modelica.Units.SI.TransmissionCoefficient | gWin | Total energy transmittance of windows | |
| Real | ratioWinConRad | Ratio for windows between indoor convective and radiative heat emission | |
| Boolean | indoorPortWin | false | Additional heat port at indoor surface of windows |
| Exterior walls | |||
| Modelica.Units.SI.Area[nOrientations] | AExt | Vector of areas of exterior walls by orientations | |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConExt | Convective coefficient of heat transfer of exterior walls (indoor) | |
| Integer | nExt | Number of RC-elements of exterior walls | |
| Modelica.Units.SI.ThermalResistance[nExt] | RExt | Vector of resistances of exterior walls, from inside to outside | |
| Modelica.Units.SI.ThermalResistance | RExtRem | Resistance of remaining resistor RExtRem between capacity n and outside | |
| Modelica.Units.SI.HeatCapacity[nExt] | CExt | Vector of heat capacities of exterior walls, from inside to outside | |
| Boolean | indoorPortExtWalls | false | Additional heat port at indoor surface of exterior walls |
| Advanced | |||
| Boolean | use_C_flow | false | Set to true to enable input connector for trace substance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[nOrientations] | solRad | Solar radiation transmitted through windows | |
| Modelica.Blocks.Interfaces.RealInput | QLat_flow | Latent heat gains for the room | |
| Modelica.Blocks.Interfaces.RealOutput | TAir | Indoor air temperature | |
| Modelica.Blocks.Interfaces.RealOutput | TRad | Mean indoor radiation temperature | |
| Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nPorts] | ports | Auxiliary fluid inlets and outlets to indoor air volume | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | extWall | Ambient port for exterior walls | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | window | Ambient port for windows | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | intGainsConv | Auxiliary port for sensible internal convective gains | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | intGainsRad | Auxiliary port for internal radiative gains | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | windowIndoorSurface | Auxiliary port at indoor surface of windows | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | extWallIndoorSurface | Auxiliary port at indoor surface of exterior walls | |
| Modelica.Blocks.Interfaces.RealInput | C_flow | Trace substance mass flow rate added to the thermal zone |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Fluid.MixingVolumes.MixingVolume | volAir | Indoor air volume | |
| Fluid.MixingVolumes.MixingVolumeMoistAir | volMoiAir | Indoor air volume | |
| Modelica.Thermal.HeatTransfer.Components.ThermalResistor | resWin | Resistor for windows | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow | convHeatSol | Solar heat considered as convection | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow[nOrientations] | radHeatSol | Solar heat considered as radiation | |
| BaseClasses.ThermSplitter | thermSplitterIntGains | Splits incoming internal gains into separate gains for each wall element, weighted by their area | |
| BaseClasses.ThermSplitter | thermSplitterSolRad | Splits incoming solar radiation into separate gains for each wall element, weighted by their area | |
| BaseClasses.ExteriorWall | extWallRC | RC-element for exterior walls |
Revisions
-
March 7, 2022, by Michael Wetter:
RemovedmassDynamics.
This is for #1542. -
October 9, 2019, by Michael Wetter:
Refactored addition of moisture to also account for the energy content of the water vapor.
This is for IBPSA, issue 1209. -
September 24, 2019, by Martin Kremer:
Added possibility to consider moisture balance.
DefinedvolAirconditional. Added conditionalvolMoistAirand corresponding in- and output connectors. -
July 11, 2019, by Katharina Brinkmann:
RenamedalphaRadtohRad,alphaWintohConWin,alphaExttohConExt,alphaExtWallConsttohConExtWall_const,alphaWinConsttohConWin_const -
January 25, 2019, by Michael Wetter:
Added start value to avoid warning in JModelica. -
September 26, 2016, by Moritz Lauster:
Added conditional statements to solar radiation part.
Deleted conditional statements ofsplitFactorandsplitFactorSolRad. -
April 17, 2015, by Moritz Lauster:
First implementation.