modelPartialRoomFourWalls
Extends from AixLib.ThermalZones.HighOrder.Rooms.BaseClasses.PartialRoom (Partial model with base component that are necessary for all HOM rooms).
Information
This model provides common interfaces for the most frequently used room in a building, one with four walls, a floor and a ceiling.
To build up your own room, just extend this model and specify if the walls are inner or outer walls, have windows etc. Connect the heat ports to e.g. thermOuter for outside walls and add new heat ports to exchange heat with other sources, such as anothers room inner wall.
See the various examples in RoomEmpiricalValidation or ASHRAE140 to see how to use this model.
Note that all default values are by design not final. This means you have full control over the parametrization of your high-order room model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| AixLib.DataBase.Walls.Collections.BaseDataMultiWalls | wallTypes (from PartialRoomParams) | ||
| ThermalZones.HighOrder.Components.Types.CoeffTableEastWestWindow | coeffTableSolDistrFractions | ||
| Air volume of room | |||
| Modelica.Units.SI.Density | denAir (from PartialRoomParams) | 1.19 | Density of air |
| Modelica.Units.SI.SpecificHeatCapacity | cAir (from PartialRoomParams) | 1007 | Specific heat capacity of air |
| Modelica.Units.SI.Volume | room_V (from PartialRoom) | ||
| Dynamics | |||
| Modelica.Fluid.Types.Dynamics | energyDynamicsWalls (from PartialRoomParams) | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Type of energy balance for wall capacities: dynamic (3 initialization options) or steady state |
| Real | mSenFac (from LumpedVolumeDeclarations) | 1 | Factor for scaling the sensible thermal mass of the volume |
| Initialization › Air volume of room | |||
| Modelica.Units.SI.Temperature | T0_air (from PartialRoomParams) | 295.11 | Air |
| Initialization › Walls | |||
| Modelica.Units.SI.Temperature | TWalls_start (from PartialRoomParams) | Modelica.Units.Conversions.from_degC(16) | Initial temperature of all walls |
| Inner walls › Heat convection | |||
| AixLib.ThermalZones.HighOrder.Components.Types.CalcMethodConvectiveHeatTransferInsideSurface | calcMethodIn (from PartialRoomParams) | AixLib.ThermalZones.HighOrder.Components.Types.CalcMethodConvectiveHeatTransferInsideSurface.EN_ISO_6946_Appendix_A | Calculation method of convective heat transfer coefficient at inside surface |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConIn_const (from PartialRoomParams) | 2.5 | Custom convective heat transfer coefficient (just for manual selection, not recommended) |
| Inner walls › Longwave radiation | |||
| AixLib.ThermalZones.HighOrder.Components.Types.CalcMethodRadiativeHeatTransfer | radLongCalcMethod (from PartialRoomParams) | AixLib.ThermalZones.HighOrder.Components.Types.CalcMethodRadiativeHeatTransfer.No_approx | Calculation method for longwave radiation heat transfer |
| Modelica.Units.SI.Temperature | T_ref (from PartialRoomParams) | Modelica.Units.Conversions.from_degC(16) | Reference temperature for optional linearization of longwave radiation |
| Outer walls › Windows | |||
| DataBase.WindowsDoors.Simple.OWBaseDataDefinition_Simple | Type_Win (from PartialRoomParams) | Window parametrization | |
| Outer walls › Solar absorptance | |||
| Real | solar_absorptance_OW (from PartialRoomParams) | 0.6 | Solar absoptance outer walls |
| Outer walls › Heat convection | |||
| AixLib.ThermalZones.HighOrder.Components.Types.CalcMethodConvectiveHeatTransfer | calcMethodOut (from PartialRoomParams) | AixLib.ThermalZones.HighOrder.Components.Types.CalcMethodConvectiveHeatTransfer.DIN_6946 | Calculation method for convective heat transfer coefficient |
| DataBase.Surfaces.RoughnessForHT.PolynomialCoefficients_ASHRAEHandbook | surfaceType (from PartialRoomParams) | DataBase.Surfaces.RoughnessForHT.Brick_RoughPlaster() | Surface type of outside wall |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConOut_const (from PartialRoomParams) | 25 | Custom convective heat transfer coefficient (just for manual selection, not recommended) |
| Outer walls › Sunblind | |||
| Boolean | use_sunblind (from PartialRoomParams) | false | Will sunblind become active automatically? |
| Real | ratioSunblind (from PartialRoomParams) | 0.8 | Sunblind factor. 1 means total blocking of irradiation, 0 no sunblind |
| Modelica.Units.SI.Irradiance | solIrrThreshold (from PartialRoomParams) | 350 | Threshold for global solar irradiation on this surface to enable sunblinding (see also TOutAirLimit) |
| Modelica.Units.SI.Temperature | TOutAirLimit (from PartialRoomParams) | 293.15 | Temperature at which sunblind closes (see also solIrrThreshold) |
| Infiltration acc. to EN 12831 (airtightness) | |||
| Boolean | use_infiltEN12831 (from PartialRoomParams) | false | Use model to exchange room air with outdoor air acc. to standard |
| Real | n50 (from PartialRoomParams) | 4 | Air exchange rate at 50 Pa pressure difference |
| Real | e (from PartialRoomParams) | 0.03 | Coefficient of windshield |
| Real | eps (from PartialRoomParams) | 1.0 | Coefficient of height |
| Dynamic ventilation | |||
| Boolean | withDynamicVentilation (from PartialRoomParams) | false | Dynamic ventilation |
| Modelica.Units.SI.Temperature | HeatingLimit (from PartialRoomParams) | 288.15 | Outside temperature at which the heating activates |
| Real | Max_VR (from PartialRoomParams) | 10 | Maximal ventilation rate |
| Modelica.Units.SI.TemperatureDifference | Diff_toTempset (from PartialRoomParams) | 2 | Difference to set temperature |
| Modelica.Units.SI.Temperature | Tset (from PartialRoomParams) | 295.15 | Tset |
| 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.) |
| General › Ports | |||
| Integer | nPorts (from PartialRoom) | 0 | Number of fluid ports |
| Trace Substances | |||
| Boolean | use_C_flow (from PartialRoom) | false | Set to true to enable trace substances in the rooms air |
| Boolean | use_C_flow_input (from PartialRoom) | true | Set to true to use an input connector for the trace substances. False indicates internal calculation |
| Moist Air | |||
| Boolean | use_moisture_balance (from PartialRoom) | false | Set to true to enable moisture gain balance in the rooms air |
| Dimensions | |||
| Modelica.Units.SI.Length | room_length | 6 | length |
| Modelica.Units.SI.Height | room_height | 2.7 | height |
| Modelica.Units.SI.Length | room_width | 8 | width |
| Windows | |||
| Modelica.Units.SI.Area | Win_Area | 12 | Window area |
| Inner walls › Shortwave Radiation | |||
| Boolean | use_shortWaveRadIn | true | Use bus connector for incoming shortwave radiation |
| Boolean | use_shortWaveRadOut | true | Use bus connector for outgoing shortwave radiation |
| Boolean | use_dynamicShortWaveRadMethod | false | True = dynamic as holistic approach, false = static approach to obtain the same values as provided in tables of the ASHREA |
| Components.Types.selectorCoefficients | absInnerWallSurf | AixLib.ThermalZones.HighOrder.Components.Types.selectorCoefficients.abs06 | Coefficients for interior solar absorptance of wall surface abs={0.6, 0.9, 0.1} |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | thermRoom (from PartialRoom) | ||
| Utilities.Interfaces.RadPort | starRoom (from PartialRoom) | ||
| Modelica.Blocks.Interfaces.RealInput | AirExchangePort (from PartialRoom) | ||
| Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nPorts] | ports (from PartialRoom) | Auxiliary fluid inlets and outlets to indoor air volume | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_flow (from PartialRoom) | Trace substance mass flow rate added to the medium | |
| Modelica.Blocks.Interfaces.RealInput | ventHum (from PartialRoom) | absolute humidity of ventilation air | |
| Modelica.Blocks.Interfaces.RealInput | QLat_flow (from PartialRoom) | Latent heat gains for the room | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | thermOutside (from PartialRoom) | ||
| Utilities.Interfaces.SolarRad_in[5] | SolarRadiationPort | N,E,S,W,Hor | |
| Modelica.Blocks.Interfaces.RealInput | WindSpeedPort | ||
| Modelica.Blocks.Interfaces.RealOutput | transShoWaveRadWin |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Components.DryAir.InfiltrationRate_DIN12831 | infiltrationRate (from PartialRoom) | ||
| Utilities.Interfaces.Adaptors.ConvRadToCombPort | thermStar_Demux (from PartialRoom) | ||
| Components.MoistAir.VarMoistAirExchange | NaturalVentilation (from PartialRoom) | ||
| Components.DryAir.DynamicVentilation | dynamicVentilation (from PartialRoom) | ||
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | Tair (from PartialRoom) | ||
| Fluid.MixingVolumes.MixingVolumeMoistAir | airload (from PartialRoom) | Indoor air volume | |
| AixLib.ThermalZones.HighOrder.Components.Walls.Wall | wallSouth | ||
| AixLib.ThermalZones.HighOrder.Components.Walls.Wall | wallWest | ||
| AixLib.ThermalZones.HighOrder.Components.Walls.Wall | wallEast | ||
| AixLib.ThermalZones.HighOrder.Components.Walls.Wall | wallNorth | ||
| AixLib.ThermalZones.HighOrder.Components.Walls.Wall | ceiling | ||
| AixLib.ThermalZones.HighOrder.Components.Walls.Wall | floor | ||
| Utilities.HeatTransfer.SolarRadInRoom | solarRadInRoom | ||
| Modelica.Blocks.Math.MultiSum | multiSum |
Revisions
- February, 2022 by Fabian Wüllhorst:
First implementation (see issue #1123)