LBL logo

Buildings.Rooms.Constructions.BaseClasses

Package with base classes for Buildings.Rooms.Constructions

Information

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

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

Package Content

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

Buildings.Rooms.Constructions.BaseClasses.PartialConstruction Buildings.Rooms.Constructions.BaseClasses.PartialConstruction

Partial model for exterior construction that has no window

Buildings.Rooms.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]

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.SIunits.Area A "Heat transfer area"; parameter Modelica.SIunits.Area AOpa "Heat transfer area of opaque construction"; parameter Buildings.HeatTransfer.Data.OpaqueConstructions.Generic layers "Material properties of opaque construction"; parameter Modelica.SIunits.Angle til "Surface tilt"; final parameter Boolean isFloor=til > 2.74889125 and til < 3.53428875 "Flag, true if construction is a floor"; final parameter Boolean isCeiling=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.SIunits.Temperature T_a_start=293.15 "Initial temperature at port_a, used if steadyStateInitial = false"; parameter Modelica.SIunits.Temperature T_b_start=293.15 "Initial temperature at port_b, used if steadyStateInitial = false"; HeatTransfer.Conduction.MultiLayer opa( final A=AOpa, final layers=layers, final steadyStateInitial=steadyStateInitial, 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;

http://simulationresearch.lbl.gov/modelica