Buildings.ThermalZones.Detailed.Constructions

Package with models for constructions that are used in the room model

Information

This package contains models for constructions that are used in the room model.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

Name Description
Buildings.ThermalZones.Detailed.Constructions.Construction Construction Model for an opaque construction that has no window
Buildings.ThermalZones.Detailed.Constructions.ConstructionWithWindow ConstructionWithWindow Model for an opaque construction that has one window embedded in the construction
Buildings.ThermalZones.Detailed.Constructions.Examples Examples Collection of models that illustrate model use and test models
Buildings.ThermalZones.Detailed.Constructions.BaseClasses BaseClasses Package with base classes for Buildings.ThermalZones.Detailed.Constructions

Buildings.ThermalZones.Detailed.Constructions.Construction Buildings.ThermalZones.Detailed.Constructions.Construction

Model for an opaque construction that has no window

Buildings.ThermalZones.Detailed.Constructions.Construction

Information

This model is used to compute heat transfer through opaque constructions inside the room model. The model uses the record layers to access the material properties of the opaque construction. The heat transfer is computed in the instance opa, which uses the model Buildings.HeatTransfer.Conduction.MultiLayer.

Extends from Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction (Partial model for exterior construction that has no window).

Parameters

TypeNameDefaultDescription
AreaA Heat transfer area [m2]
Angletil Surface tilt [rad]
Opaque construction
AreaAOpaAHeat transfer area of opaque construction [m2]
Genericlayers Material properties of opaque construction
Initialization
BooleansteadyStateInitialfalse=true initializes dT(0)/dt=0, false initializes T(0) at fixed temperature using T_a_start and T_b_start
TemperatureT_a_start293.15Initial temperature at port_a, used if steadyStateInitial = false [K]
TemperatureT_b_start293.15Initial temperature at port_b, used if steadyStateInitial = false [K]
Dynamics
BooleanstateAtSurface_atrue=true, a state will be at the surface a
BooleanstateAtSurface_btrue=true, a state will be at the surface b

Connectors

TypeNameDescription
HeatPort_aopa_aHeat port at surface a of opaque construction
HeatPort_bopa_bHeat port at surface b of opaque construction

Modelica definition

model Construction "Model for an opaque construction that has no window" extends Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction ( final AOpa=A); end Construction;

Buildings.ThermalZones.Detailed.Constructions.ConstructionWithWindow Buildings.ThermalZones.Detailed.Constructions.ConstructionWithWindow

Model for an opaque construction that has one window embedded in the construction

Buildings.ThermalZones.Detailed.Constructions.ConstructionWithWindow

Information

This model is used to compute heat transfer through constructions with windows inside the room model.

The model consists of the following two main submodels:

The parameter A is the area of the opaque construction plus the window. The parameter AWin is the area of the glazing system, including the frame. The area of the opaque construction is assigned internally as AOpa=A-AWin.

Extends from Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction (Partial model for exterior construction that has no window).

Parameters

TypeNameDefaultDescription
AreaA Heat transfer area [m2]
Angletil Surface tilt [rad]
Opaque construction
AreaAOpaA - AWinHeat transfer area of opaque construction [m2]
Genericlayers Material properties of opaque construction
Initialization
BooleansteadyStateInitialfalse=true initializes dT(0)/dt=0, false initializes T(0) at fixed temperature using T_a_start and T_b_start
TemperatureT_a_start293.15Initial temperature at port_a, used if steadyStateInitial = false [K]
TemperatureT_b_start293.15Initial temperature at port_b, used if steadyStateInitial = false [K]
Glazing system
AreaAWin Heat transfer area of window [m2]
RealfFra0.1Fraction of window frame divided by total window area
BooleanlinearizeRadiationtrueSet to true to linearize emissive power
BooleansteadyStateWindowfalseSet to false to add thermal capacity at window, which generally leads to faster simulation
GenericglaSysredeclare parameter HeatTran...Material properties of glazing system
Dynamics
BooleanstateAtSurface_atrue=true, a state will be at the surface a
BooleanstateAtSurface_btrue=true, a state will be at the surface b

Connectors

TypeNameDescription
HeatPort_aopa_aHeat port at surface a of opaque construction
HeatPort_bopa_bHeat port at surface b of opaque construction
output RadiosityOutflowJOutUns_aOutgoing radiosity that connects to unshaded part of glass at exterior side [W]
input RadiosityInflowJInUns_aIncoming radiosity that connects to unshaded part of glass at exterior side [W]
output RadiosityOutflowJOutSha_aOutgoing radiosity that connects to shaded part of glass at exterior side [W]
input RadiosityInflowJInSha_aIncoming radiosity that connects to shaded part of glass at exterior side [W]
HeatPort_aglaUns_aHeat port at unshaded glass of exterior-facing surface
HeatPort_aglaSha_aHeat port at shaded glass of exterior-facing surface
HeatPort_afra_aHeat port at frame of exterior-facing surface
input RealInputuShaControl signal for the shading device, 0: unshaded; 1: fully shaded (removed if no shade is present)
output RadiosityOutflowJOutUns_bOutgoing radiosity that connects to unshaded part of glass at room-side [W]
input RadiosityInflowJInUns_bIncoming radiosity that connects to unshaded part of glass at room-side [W]
output RadiosityOutflowJOutSha_bOutgoing radiosity that connects to shaded part of glass at room-side [W]
input RadiosityInflowJInSha_bIncoming radiosity that connects to shaded part of glass at room-side [W]
HeatPort_bglaUns_bHeat port at unshaded glass of room-facing surface
HeatPort_bglaSha_bHeat port at shaded glass of room-facing surface
HeatPort_bfra_bHeat port at frame of room-facing surface
input RealInputQAbsUns_flow[size(glaSys.glass, 1)]Solar radiation absorbed by unshaded part of glass [W]
input RealInputQAbsSha_flow[size(glaSys.glass, 1)]Solar radiation absorbed by shaded part of glass [W]

Modelica definition

model ConstructionWithWindow "Model for an opaque construction that has one window embedded in the construction" extends Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction ( final AOpa=A-AWin); constant Boolean homotopyInitialization = true "= true, use homotopy method"; parameter Modelica.Units.SI.Area AWin "Heat transfer area of window"; parameter Real fFra( min=0, max=1) = 0.1 "Fraction of window frame divided by total window area"; final parameter Modelica.Units.SI.Area AFra=fFra*AWin "Frame area"; final parameter Modelica.Units.SI.Area AGla=AWin - AFra "Glass area"; parameter Boolean linearizeRadiation = true "Set to true to linearize emissive power"; parameter Boolean steadyStateWindow = false "Set to false to add thermal capacity at window, which generally leads to faster simulation"; replaceable parameter HeatTransfer.Data.GlazingSystems.Generic glaSys "Material properties of glazing system"; HeatTransfer.Windows.Window win( final glaSys=glaSys, final A=AWin, final fFra=fFra, final linearize = linearizeRadiation, final steadyState = steadyStateWindow, final til=til, final homotopyInitialization=homotopyInitialization) "Window model"; HeatTransfer.Interfaces.RadiosityOutflow JOutUns_a "Outgoing radiosity that connects to unshaded part of glass at exterior side"; HeatTransfer.Interfaces.RadiosityInflow JInUns_a "Incoming radiosity that connects to unshaded part of glass at exterior side"; HeatTransfer.Interfaces.RadiosityOutflow JOutSha_a if haveShade "Outgoing radiosity that connects to shaded part of glass at exterior side"; HeatTransfer.Interfaces.RadiosityInflow JInSha_a if haveShade "Incoming radiosity that connects to shaded part of glass at exterior side"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a glaUns_a "Heat port at unshaded glass of exterior-facing surface"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a glaSha_a if haveShade "Heat port at shaded glass of exterior-facing surface"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a fra_a "Heat port at frame of exterior-facing surface"; Modelica.Blocks.Interfaces.RealInput uSha(min=0, max=1) if haveShade "Control signal for the shading device, 0: unshaded; 1: fully shaded (removed if no shade is present)"; HeatTransfer.Interfaces.RadiosityOutflow JOutUns_b "Outgoing radiosity that connects to unshaded part of glass at room-side"; HeatTransfer.Interfaces.RadiosityInflow JInUns_b "Incoming radiosity that connects to unshaded part of glass at room-side"; HeatTransfer.Interfaces.RadiosityOutflow JOutSha_b if haveShade "Outgoing radiosity that connects to shaded part of glass at room-side"; HeatTransfer.Interfaces.RadiosityInflow JInSha_b if haveShade "Incoming radiosity that connects to shaded part of glass at room-side"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b glaUns_b "Heat port at unshaded glass of room-facing surface"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b glaSha_b if haveShade "Heat port at shaded glass of room-facing surface"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b fra_b "Heat port at frame of room-facing surface"; Modelica.Blocks.Interfaces.RealInput QAbsUns_flow[size(glaSys.glass, 1)]( each unit="W", each quantity="Power") "Solar radiation absorbed by unshaded part of glass"; Modelica.Blocks.Interfaces.RealInput QAbsSha_flow[size(glaSys.glass, 1)]( each unit="W", each quantity="Power") if haveShade "Solar radiation absorbed by shaded part of glass"; protected final parameter Boolean haveShade = glaSys.haveExteriorShade or glaSys.haveInteriorShade "Parameter, equal to true if the window has a shade"; initial equation assert(homotopyInitialization, "In " + getInstanceName() + ": The constant homotopyInitialization has been modified from its default value. This constant will be removed in future releases.", level = AssertionLevel.warning); equation connect(win.uSha, uSha); connect(JInUns_a, win.JInUns_a); connect(JOutUns_a, win.JOutUns_a); connect(win.glaUns_a, glaUns_a); connect(win.glaSha_a, glaSha_a); connect(win.JInSha_a, JInSha_a); connect(win.JOutSha_a, JOutSha_a); connect(win.fra_a, fra_a); connect(win.JOutUns_b, JOutUns_b); connect(win.JInUns_b, JInUns_b); connect(win.glaUns_b, glaUns_b); connect(win.glaSha_b, glaSha_b); connect(win.JOutSha_b, JOutSha_b); connect(win.JInSha_b, JInSha_b); connect(win.fra_b, fra_b); connect(opa.port_a, opa_a); connect(opa.port_b, opa_b); connect(win.QAbsUns_flow, QAbsUns_flow); connect(win.QAbsSha_flow, QAbsSha_flow); end ConstructionWithWindow;