Buildings.ThermalZones.Detailed.Constructions.BaseClasses

Package with base classes for Buildings.ThermalZones.Detailed.Constructions

Information

This package contains base classes that are used to construct the models in Buildings.ThermalZones.Detailed.Constructions.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction PartialConstruction Partial model for exterior construction that has no window

Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction

Partial model for exterior construction that has no window

Buildings.ThermalZones.Detailed.Constructions.BaseClasses.PartialConstruction

Information

This is the base class that is used to model opaque constructions in the room model.

The surface azimuth is defined in Buildings.Types.Azimuth and the surface tilt is defined in Buildings.Types.Tilt

Parameters

TypeNameDefaultDescription
AreaA Heat transfer area [m2]
Angletil Surface tilt [rad]
Opaque construction
AreaAOpa Heat 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

partial model PartialConstruction "Partial model for exterior construction that has no window" parameter Modelica.Units.SI.Area A "Heat transfer area"; parameter Modelica.Units.SI.Area AOpa "Heat transfer area of opaque construction"; parameter Buildings.HeatTransfer.Data.OpaqueConstructions.Generic layers "Material properties of opaque construction"; parameter Modelica.Units.SI.Angle til "Surface tilt"; final parameter Boolean is_floor=til > 2.74889125 and til < 3.53428875 "Flag, true if construction is a floor"; final parameter Boolean is_ceiling=til > -0.392699 and til < 0.392699 "Flag, true if construction is a floor"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a opa_a "Heat port at surface a of opaque construction"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b opa_b "Heat port at surface b of opaque construction"; final parameter Integer nLay(min=1, fixed=true) = size(layers.material, 1) "Number of layers"; final parameter Integer nSta[nLay](each min=1)= {layers.material[i].nSta for i in 1:nLay} "Number of states"; parameter Boolean steadyStateInitial=false "=true initializes dT(0)/dt=0, false initializes T(0) at fixed temperature using T_a_start and T_b_start"; parameter Modelica.Units.SI.Temperature T_a_start=293.15 "Initial temperature at port_a, used if steadyStateInitial = false"; parameter Modelica.Units.SI.Temperature T_b_start=293.15 "Initial temperature at port_b, used if steadyStateInitial = false"; parameter Boolean stateAtSurface_a=true "=true, a state will be at the surface a"; parameter Boolean stateAtSurface_b=true "=true, a state will be at the surface b"; HeatTransfer.Conduction.MultiLayer opa( final A=AOpa, final layers=layers, final steadyStateInitial=steadyStateInitial, final stateAtSurface_a = stateAtSurface_a, final stateAtSurface_b = stateAtSurface_b, final T_a_start=T_a_start, final T_b_start=T_b_start) "Model for heat transfer through opaque construction"; equation connect(opa.port_a, opa_a); connect(opa.port_b, opa_b); end PartialConstruction;