modelPartialMultizone

Partial model for multizone models

Extends from AixLib.Fluid.Interfaces.LumpedVolumeDeclarations (Declarations for lumped volumes).

Information

Partial for AixLib.ThermalZones.ReducedOrder.Multizone models. It defines connectors and a replaceable vector of AixLib.ThermalZones.ReducedOrder.ThermalZone models. Most connectors are conditional to allow conditional modifications according to parameters or to pass-through conditional removements in AixLib.ThermalZones.ReducedOrder.ThermalZone and subsequently in AixLib.ThermalZones.ReducedOrder.RC.FourElements.

Typical use and important parameters

The model needs parameters describing general properties of the building (indoor air volume, net floor area, overall surface area) and a vector with length of number of zones containing AixLib.DataBase.ThermalZones.ZoneBaseRecord records to define zone properties. The user can redeclare the thermal zone model choosing from AixLib.ThermalZones.ReducedOrder.ThermalZone. Further parameters for medium, initialization and dynamics originate from AixLib.Fluid.Interfaces.LumpedVolumeDeclarations.

Parameters

TypeNameDefaultDescription
IntegerbuildingIDUnique identifier of the building
Modelica.Units.SI.VolumeVAirIndoor air volume of building
Modelica.Units.SI.AreaABuildingNet floor area of building
Modelica.Units.SI.AreaASurTotTotal surface area of building walls and windows (including interior walls)
IntegernumZonesNumber of zones
IntegernZonCon1Actual number of adjacent zone connectors
Integer[max(nZonCon, 1),2]zonConPaiArrfill(1, max(nZonCon, 1), 2)List of pairs of interzonal element indices to connect, each index pointing to a concatenated array of all ThermalZones' interzonal element ports
AixLib.DataBase.ThermalZones.ZoneBaseRecord[numZones]zoneParamSetup for zones
Booleanuse_izeConfalseConsider heat flow connection between interzonal elements of thermal zones by setting true
Booleanuse_MechanicalAirExchangetrueConsider mechanical ventilation by setting true
Booleanuse_NaturalAirExchangeuse_MechanicalAirExchangeConsider natural ventilation and infiltration by setting true
IntegerinternalGainsModeDecides which internal gains model for persons is used
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
General › Ports
IntegernPorts0Number of fluid ports
CO2
Booleanuse_C_flowfalseSet to true to enable input connector for trace substance
Modelica.Units.SI.MassFractionXCO2_amb6.12157E-4Massfraction of CO2 in atmosphere (equals 403ppm)
Modelica.Units.SI.AreaareaBod1.8Body surface area source SIA 2024:2015
Modelica.Units.SI.DensityOfHeatFlowRatemetOnePerSit58Metabolic rate of a relaxed seated person [1 Met = 58 W/m^2]
Moisture
Booleanuse_moisture_balancefalseIf true, input connector QLat_flow is enabled and room air computes moisture balance
IdealHeaterCooler › Modes
BooleanrecOrSeptrueUse record or seperate parameters
IdealHeaterCooler › Heater
BooleanHeater_ontrueActivates the heater
Realh_heater0Upper limit controller output of the heater
Reall_heater0Lower limit controller output of the heater
RealKR_heater1000Gain of the heating controller
Modelica.Units.SI.TimeTN_heater1Time constant of the heating controller
IdealHeaterCooler › Cooler
BooleanCooler_ontrueActivates the cooler
Realh_cooler0Upper limit controller output of the cooler
Reall_cooler0Lower limit controller output of the cooler
RealKR_cooler1000Gain of the cooling controller
Modelica.Units.SI.TimeTN_cooler1Time constant of the cooling controller
Moisture › Pools
Booleanuse_pools_totfalseuse swimming pools within at least one zone of the multizone

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[3*numZones]intGainsInput profiles for internal gains persons, machines, light
Modelica.Blocks.Interfaces.RealOutput[numZones]TAirIndoor air temperature
Modelica.Blocks.Interfaces.RealOutput[numZones]TRadMean indoor radiation temperature
BoundaryConditions.WeatherData.BusweaBusWeather data bus
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[size(zone, 1)]intGainsConvConvective internal gains
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[size(zone, 1)]intGainsRadRadiative internal gains
Modelica.Blocks.Interfaces.RealInput[numZones]TSetHeatSet point for heater - used only if zoneParam[i].HeaterOn is true
Modelica.Blocks.Interfaces.RealInput[numZones]TSetCoolSet point for cooler - used only if zoneParam[i].CoolerOn is true
Modelica.Blocks.Interfaces.RealOutput[numZones]PHeaterPower for heating
Modelica.Blocks.Interfaces.RealOutput[numZones]PCoolerPower for cooling
Modelica.Blocks.Interfaces.RealOutput[numZones,3]QIntGains_flowHeat flow based on internal gains for each zone from lights[1], machines[2], and persons[3]
Modelica.Blocks.Interfaces.RealInputtimeOpeInput profiles for opening hours for pools

Components

TypeNameDefaultDescription
AixLib.ThermalZones.ReducedOrder.ThermalZone.ThermalZone[numZones]zoneThermal zone model
AixLib.ThermalZones.ReducedOrder.Multizone.BaseClasses.FlowArrayRearrangingizeArrConDistributor for connection between adjacent zones

Contents

NameDescription
corG
MediumPoolWater

Revisions

  • November 3, 2024, by Philip Groesdonk:
    Added interzonal connections. This is for issue 1080.
  • September 27, 2016, by Moritz Lauster:
    Reimplementation based on Annex60 and AixLib models.
  • June 22, 2015, by Moritz Lauster:
    Changed building physics to AixLib.
  • April 25, 2014, by Ole Odendahl:
    Implemented.