modelPartialZone
Building zone model
Extends from IDEAS.Buildings.Components.Interfaces.ZoneInterface (Partial model for thermal building zones).
Information
Partial model that defines the main variables and connectors of a zone model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nSurf (from ZoneInterface) | Number of surfaces adjacent to and heat exchanging with the zone | |
| Integer | nPorts (from ZoneInterface) | 2 | Number of ports for ventilation connections |
| Real | n50_computed | n50_int | Computed n50 value |
| Modelica.Fluid.Types.Dynamics | energyDynamicsAir | Modelica.Fluid.Types.Dynamics.FixedInitial | Type of energy balance for air model: dynamic (3 initialization options) or steady state |
| Modelica.Units.SI.Power | QInf_design | 1012*1.204*V/3600*n50_int/n50toAch*(TZon_design - sim.Tdes) | Design heat losses from infiltration at reference outdoor temperature |
| Modelica.Units.SI.Power | QRH_design | A*fRH | Additional power required to compensate for the effects of intermittent heating |
| Modelica.Units.SI.Power | Q_design | Total design heat losses for the zone (including transmission, infiltration, and reheating; excluding ventilation) | |
| IDEAS.Buildings.Components.OccupancyType.OfficeWork | occTyp | ||
| IDEAS.Buildings.Components.RoomType.Generic | rooTyp | ||
| IDEAS.Buildings.Components.LightingType.None | ligTyp | ||
| Building physics | |||
| Modelica.Units.SI.Volume | V (from ZoneInterface) | Total zone air volume | |
| Modelica.Units.SI.Length | hZone (from ZoneInterface) | 2.8 | Zone height: distance between floor and ceiling |
| Modelica.Units.SI.Length | hFloor (from ZoneInterface) | 0 | Absolute height of zone floor |
| Modelica.Units.SI.Area | A (from ZoneInterface) | V/hZone | Total conditioned floor area |
| Advanced › Occupants | |||
| Boolean | useOccNumInput (from ZoneInterface) | =false, to remove icon of yOcc | |
| Advanced › Sources | |||
| Boolean | useWatFlowInput (from ZoneInterface) | false | =true, to enable an input for injecting water vapor into a zone |
| Boolean | useCFlowInput (from ZoneInterface) | false | =true, to enable an input for injecting CO2 into a zone |
| Advanced › Lighting | |||
| Boolean | useLigCtrInput (from ZoneInterface) | =false, to remove icon of lightCtrl | |
| Airflow › Air model | |||
| Modelica.Units.SI.MassFlowRate | m_flow_nominal (from ZoneInterface) | V*1.2*2/3600 | Nominal flow rate of the air flow system fluid ports |
| Boolean | allowFlowReversal | true | = true to allow flow reversal in zone, false restricts to design direction (port_a -> port_b). |
| Airflow › Airtightness | |||
| Boolean | use_custom_n50 | sim.interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.None and not sim.unify_n50 | if true, a custom n50 value is used instead of a globally computed n50 value |
| Real | n50 | sim.n50 | n50 value for this zone |
| Real | n50toAch | 20 | Conversion fractor from n50 to Air Change Rate |
| Advanced › Air model | |||
| Real | mSenFac | 5 | Correction factor for thermal capacity of zone air. |
| Advanced › Radiative heat exchange | |||
| Boolean | linIntRad | sim.linIntRad | Linearized computation of long wave radiation |
| Boolean | calculateViewFactor | false | Explicit calculation of view factors: works well only for rectangular zones! |
| Modelica.Units.SI.Temperature | Tzone_nom | 295.15 | Nominal zone temperature, used for linearising radiative heat exchange |
| Modelica.Units.SI.TemperatureDifference | dT_nom | -2 | Nominal temperature difference between zone walls, used for linearising radiative heat exchange |
| Boolean | simVieFac | false | Simplify view factor computation |
| Boolean | ignAss | false | Ignore asserts to simulate non-physical unit test models |
| Advanced › Design heat load | |||
| Modelica.Units.SI.Temperature | TZon_design | 294.15 | Reference zone temperature for calculation of design heat load |
| Real | fRH | 11 | Reheat factor for calculation of design heat load, (EN 12831, table D.10 Annex D) |
| Initialization | |||
| Medium.Temperature | T_start | Medium.T_default | Start value of temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b | gainRad (from ZoneInterface) | Internal zone node for radiative heat gains | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | gainCon (from ZoneInterface) | Internal zone node for convective heat gains | |
| Modelica.Blocks.Interfaces.RealOutput | TSensor (from ZoneInterface) | Sensor temperature of the zone, i.e. operative temeprature | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b (from ZoneInterface) | Port for ventilation connections, deprecated, use 'ports' instead | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from ZoneInterface) | Port for ventilation connections, deprecated, use 'ports' instead | |
| Modelica.Blocks.Interfaces.RealInput | yOcc (from ZoneInterface) | Control input for number of occupants, used by Occupants.Input and Occupants.AreaWeightedInput | |
| Modelica.Blocks.Interfaces.RealInput | mWat_flow (from ZoneInterface) | Input for injecting water vapor into a zone | |
| Modelica.Blocks.Interfaces.RealInput | C_flow (from ZoneInterface) | Input for injecting CO2 into a zone | |
| Modelica.Blocks.Interfaces.RealInput | uLig (from ZoneInterface) | Lighting control input (1 corresponds to 100%), only used when using LightingControl.Input | |
| Modelica.Blocks.Interfaces.RealOutput | ppm (from ZoneInterface) | CO2 concentration in the zone | |
| Modelica.Blocks.Interfaces.RealOutput | phi (from ZoneInterface) | Relative humidity in the zone [0-1] | |
| Modelica.Fluid.Interfaces.FluidPorts_a[nPorts] | ports (from ZoneInterface) | Ports for ventilation connetions | |
| Modelica.Blocks.Interfaces.RealOutput | TAir | airModel.TAir | |
| Modelica.Blocks.Interfaces.RealOutput | TRad | radDistr.TRad |
Components
Contents
| Name | Description |
|---|---|
| q50 computation for zones |
Revisions
-
August 18, 2025, by Klaas De Jonge:
Simplifiedn50_computedton50_intsince the if statement was a duplicate. -
November 11, 2024 by Lucas Verleyen:
Change Medium to IDEAS.Media.Air and use 'constrainedby' for Modelica.Media.Interfaces.PartialMedium. This is for #1375. -
November 7, 2024, by Anna Dell'Isola and Jelger Jansen:
Add parameterTZon_designto be used when calculatingQ_design. See #1337 -
October 30, 2024, by Klaas De Jonge:
Modifications for interzonal airflow and stack-effect input. -
April 26, 2024 by Jelger Jansen:
Added parameterignAssto ignore view factor asserts for non-physical unit test models. This is for #1272. -
Februari 18, 2024, by Filip Jorissen:
Modifications for supporting trickle vents and interzonal airflow. -
January 8, 2024, by Jelger Jansen:
Added min attribute tomSenFac. See #1343 -
July 25, 2023, by Filip Jorissen:
Added conditional inputs for injecting water or CO2. Added output phi for the relative humidity. -
May 29, 2022, by Filip Jorissen:
Unprotected component for OM compatibility. See #1254 -
August 10, 2020, by Filip Jorissen:
Modifications for supporting interzonal airflow. See #1066 -
November 18, 2020, Filip Jorissen:
Changed default n50 value from 0.4 to 3 and added documentation for n50toAch. See #1181. -
September 17, 2020, Filip Jorissen:
Removed Medium declaration. See #1169. -
July 29, 2020, by Filip Jorissen:
Removed duplicate definition ofhZoneandA. See #1158 -
March 17, 2020, Filip Jorissen:
Added support for vector fluidport. See #1029. -
April 26, 2020, by Filip Jorissen:
RefactoredSolBusto avoid many instances inPropsBus. See #1131 -
April 26, 2019 by Filip Jorissen:
SetmassDynamics=if interzonalAirFlow.prescribesPressure then Modelica.Fluid.Types.Dynamics.SteadyStatesuch that the state is removed when the pressure is prescribed. See #1021. -
April 11, 2019 by Filip Jorissen:
Revised implementation such that default value of relative humidity is used when using a dry air medium. See #1011. -
January 25, 2019 by Filip Jorissen:
Avoided redundant consistent initial equation for pressure inairModel. See #971. -
November 5, 2018 by Filip Jorissen:
PropagatedT_startintoradDistr. -
September 26, 2018 by Iago Cupeiro:
Implementation of the lighting model See #879. -
September 24, 2018 by Filip Jorissen:
Fixed duplicate declaration ofV. See #917. -
July 27, 2018 by Filip Jorissen:
Added output for the CO2 concentration. See #868. -
July 11, 2018, Filip Jorissen:
Propagatedm_flow_nominalfor setting nominal values ofh_outflowandm_flowinFluidPorts. See #859. -
May 29, 2018, Filip Jorissen:
Removed conditional fluid ports for JModelica compatibility. See #834. -
April 27, 2018 by Filip Jorissen:
Modified interfaces for supporting new interzonal air flow models. See #796. -
April 12, 2018 by Filip Jorissen:
PropagatedenergyDynamicsAir. See issue #800. -
March 29, 2018 by Filip Jorissen:
PropagatedmSenFactoairModel. See #792. -
March 28, 2018 by Filip Jorissen:
Added option for introducing state for radiative temperature. -
July 26, 2018 by Filip Jorissen:
Added replaceable block that allows to define the number of occupants. See #760. -
March 21, 2017, by Filip Jorissen:
Changed linearisation and conservation of energy implementations for JModelica compatibility. See issue #559. -
February 1, 2017 by Filip Jorissen:
Added option for disabling new view factor computation. See issue #663. -
January 24, 2017 by Filip Jorissen:
MaderadDistrreplaceable such that it can be redeclared in experimental models. -
January 19, 2017 by Filip Jorissen:
Propagated linearisation parameters for interior radiative heat exchange. -
August 26, 2016 by Filip Jorissen:
Added support for conservation of energy of air model. -
April 30, 2016, by Filip Jorissen:
Added replaceable air model implementation. -
March, 2015, by Filip Jorissen:
Added view factor implementation.