Buildings.ThermalZones.Detailed
Package with models for rooms
Information
This package contains models for the heat transfer in rooms and through the building envelope.
Extends from Modelica.Icons.Package (Icon for standard packages).
Package Content
Name | Description |
---|---|
UsersGuide | User's Guide |
CFD | Model of a room in which the air is computed using Computational Fluid Dynamics (CFD) |
MixedAir | Model of a room in which the air is completely mixed |
Constructions | Package with models for constructions that are used in the room model |
FLEXLAB | Models that can be used to model the FLEXLAB |
Types | Package with type definitions |
Examples | Collection of models that illustrate model use and test models |
Validation | Collection of validation models |
BaseClasses | Package with base classes for Buildings.ThermalZones.Detailed |
Buildings.ThermalZones.Detailed.CFD
Model of a room in which the air is computed using Computational Fluid Dynamics (CFD)
Information
Room model that computes the room air flow using computational fluid dynamics (CFD). The CFD simulation is coupled to the thermal simulation of the room and, through the fluid port, to the air conditioning system.
Currently, the supported CFD program is the Fast Fluid Dynamics (FFD) program (Zuo 2010). See Buildings.ThermalZones.Detailed.UsersGuide for detailed explanations.
References
Wangda Zuo. Advanced simulations of air distributions in buildings. Ph.D. Thesis, School of Mechanical Engineering, Purdue University, 2010.
Extends from Buildings.ThermalZones.Detailed.BaseClasses.RoomHeatMassBalance (Base model for a room).
Parameters
Type | Name | Default | Description |
---|---|---|---|
ParameterConstruction | datConExt[NConExt] | Data for exterior construction | |
ParameterConstructionWithWindow | datConExtWin[NConExtWin] | Data for exterior construction with window | |
ParameterConstruction | datConPar[NConPar] | Data for partition construction | |
ParameterConstruction | datConBou[NConBou] | Data for construction boundary | |
OpaqueSurface | surBou[NSurBou] | Record for data of surfaces whose heat conduction is modeled outside of this room | |
Brick120 | dummyCon | Dummy construction to assign a parameter to the instance | |
SingleClear3 | dummyGlaSys | Dummy construction to assign a parameter to the instance | |
replaceable package Medium | PartialMedium | Medium in the component | |
Angle | lat | Latitude [rad] | |
Area | AFlo | Floor area [m2] | |
Length | hRoo | Average room height [m] | |
Boolean | linearizeRadiation | true | Set to true to linearize emissive power |
Real | uSha_fixed[nConExtWin] | zeros(nConExtWin) | Constant control signal for the shading device (0: unshaded; 1: fully shaded) |
Exterior constructions | |||
Integer | nConExt | Number of exterior constructions | |
Integer | nConExtWin | Number of window constructions | |
Partition constructions | |||
Integer | nConPar | Number of partition constructions | |
Boundary constructions | |||
Integer | nConBou | Number of constructions that have their outside surface exposed to the boundary of this room | |
Integer | nSurBou | Number of surface heat transfer models that connect to constructions that are modeled outside of this room | |
Convective heat transfer | |||
InteriorConvection | intConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for room-facing surfaces of opaque constructions |
CoefficientOfHeatTransfer | hIntFixed | 3.0 | Constant convection coefficient for room-facing surfaces of opaque constructions [W/(m2.K)] |
ExteriorConvection | extConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for exterior facing surfaces of opaque constructions |
CoefficientOfHeatTransfer | hExtFixed | 10.0 | Constant convection coefficient for exterior facing surfaces of opaque constructions [W/(m2.K)] |
Nominal condition | |||
MassFlowRate | m_flow_nominal | V*1.2/3600 | Nominal mass flow rate [kg/s] |
CFD | |||
Boolean | useCFD | true | Set to false to deactivate the CFD computation and use instead yFixed as output |
String | sensorName[:] | Names of sensors as declared in the CFD input file | |
String | portName[nPorts] | {"port_" + String(i) for i i... | Names of fluid ports as declared in the CFD input file |
String | cfdFilNam | CFD input file name | |
Sampling | |||
Time | samplePeriod | samplePeriod( ... | Sample period of component [s] |
Dynamics | |||
Glazing system | |||
Boolean | steadyStateWindow | false | Set to false to add thermal capacity at window, which generally leads to faster simulation |
Equations | |||
Dynamics | massDynamics | Modelica.Fluid.Types.Dynamic... | Formulation of mass balance |
Advanced | |||
Boolean | homotopyInitialization | true | = true, use homotopy method |
Experimental (may be changed in future releases) | |||
Boolean | sampleModel | false | Set to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model |
Initialization | |||
AbsolutePressure | p_start | Medium.p_default | Start value of pressure [Pa] |
Connectors
Type | Name | Description |
---|---|---|
VesselFluidPorts_b | ports[nPorts] | Fluid inlets and outlets |
HeatPort_a | heaPorAir | Heat port to air volume |
HeatPort_a | heaPorRad | Heat port for radiative heat gain and radiative temperature |
input RealInput | uWin[nConExtWin] | Control signal for window state (used for electrochromic windows, removed otherwise) [1] |
HeatPort_a | surf_conBou[nConBou] | Heat port at surface b of construction conBou |
HeatPort_a | surf_surBou[nSurBou] | Heat port of surface that is connected to the room air |
input RealInput | qGai_flow[3] | Radiant, convective and latent heat input into room (positive if heat gain) [W/m2] |
Bus | weaBus | Weather data |
output RealOutput | yCFD[nSen] | Sensor for output from CFD |
Modelica definition
Buildings.ThermalZones.Detailed.MixedAir
Model of a room in which the air is completely mixed
Information
Room model that assumes the air to be completely mixed.
See Buildings.ThermalZones.Detailed.UsersGuide for detailed explanations.
Extends from Buildings.ThermalZones.Detailed.BaseClasses.RoomHeatMassBalance (Base model for a room).
Parameters
Type | Name | Default | Description |
---|---|---|---|
OpaqueSurface | surBou[NSurBou] | Record for data of surfaces whose heat conduction is modeled outside of this room | |
Brick120 | dummyCon | Dummy construction to assign a parameter to the instance | |
SingleClear3 | dummyGlaSys | Dummy construction to assign a parameter to the instance | |
replaceable package Medium | PartialMedium | Medium in the component | |
Angle | lat | Latitude [rad] | |
Area | AFlo | Floor area [m2] | |
Length | hRoo | Average room height [m] | |
Boolean | linearizeRadiation | true | Set to true to linearize emissive power |
Exterior constructions | |||
Integer | nConExt | Number of exterior constructions | |
Integer | nConExtWin | Number of window constructions | |
Partition constructions | |||
Integer | nConPar | Number of partition constructions | |
Boundary constructions | |||
Integer | nConBou | Number of constructions that have their outside surface exposed to the boundary of this room | |
Integer | nSurBou | Number of surface heat transfer models that connect to constructions that are modeled outside of this room | |
Convective heat transfer | |||
InteriorConvection | intConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for room-facing surfaces of opaque constructions |
CoefficientOfHeatTransfer | hIntFixed | 3.0 | Constant convection coefficient for room-facing surfaces of opaque constructions [W/(m2.K)] |
ExteriorConvection | extConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for exterior facing surfaces of opaque constructions |
CoefficientOfHeatTransfer | hExtFixed | 10.0 | Constant convection coefficient for exterior facing surfaces of opaque constructions [W/(m2.K)] |
Nominal condition | |||
MassFlowRate | m_flow_nominal | V*1.2/3600 | Nominal mass flow rate [kg/s] |
Ports | |||
Boolean | use_C_flow | false | Set to true to enable input connector for trace substance that is connected to room air |
Dynamics | |||
Glazing system | |||
Boolean | steadyStateWindow | false | Set to false to add thermal capacity at window, which generally leads to faster simulation |
Zone air | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance for zone air: dynamic (3 initialization options) or steady state |
Dynamics | massDynamics | energyDynamics | Type of mass balance for zone air: dynamic (3 initialization options) or steady state |
Real | mSenFac | 1 | Factor for scaling the sensible thermal mass of the zone air volume |
Advanced | |||
Boolean | homotopyInitialization | true | = true, use homotopy method |
Experimental (may be changed in future releases) | |||
Boolean | sampleModel | false | Set to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model |
Initialization | |||
AbsolutePressure | p_start | Medium.p_default | Start value of zone air pressure [Pa] |
Temperature | T_start | Medium.T_default | Start value of zone air temperature [K] |
MassFraction | X_start[Medium.nX] | Medium.X_default | Start value of zone air mass fractions m_i/m [kg/kg] |
ExtraProperty | C_start[Medium.nC] | fill(0, Medium.nC) | Start value of zone air trace substances |
ExtraProperty | C_nominal[Medium.nC] | fill(1E-2, Medium.nC) | Nominal value of zone air trace substances. (Set to typical order of magnitude.) |
Connectors
Type | Name | Description |
---|---|---|
VesselFluidPorts_b | ports[nPorts] | Fluid inlets and outlets |
HeatPort_a | heaPorAir | Heat port to air volume |
HeatPort_a | heaPorRad | Heat port for radiative heat gain and radiative temperature |
input RealInput | uWin[nConExtWin] | Control signal for window state (used for electrochromic windows, removed otherwise) [1] |
HeatPort_a | surf_conBou[nConBou] | Heat port at surface b of construction conBou |
HeatPort_a | surf_surBou[nSurBou] | Heat port of surface that is connected to the room air |
input RealInput | qGai_flow[3] | Radiant, convective and latent heat input into room (positive if heat gain) [W/m2] |
Bus | weaBus | Weather data |
replaceable package Medium | Medium in the component | |
input RealInput | uSha[nConExtWin] | Control signal for the shading device (removed if no shade is present) |
input RealInput | C_flow[Medium.nC] | Trace substance mass flow rate added to the room air. Enable if use_C_flow = true |