This module contains the Base class for all building elements.
class teaser.logic.buildingobjects.buildingphysics.buildingelement.BuildingElement(parent=None)¶
Bases: object
Building element class.
This is the base class for all building elements.
Parameters:
parent : ThermalZone()
The parent class of this object, the ThermalZone the BE belongs to.
Allows for better control of hierarchical structures.
Default is None.
Raises:
None
Attributes
internal_id
(float) Random id for the destinction between different elements
name
(str) Individual name
construction_type
(str) Type of construction (“heavy” or “light”)
year_of_refurbishment
(int) Year of refurbishment
year_of_construction
(int) Year of first construction
area
(float) Area of building element
tilt
(float) Tilt against horizontal
orientation
(float) Compass direction of building element (0 : north, 90: est, 180: south, 270: west)
inner_convection
(float) Constant heat transfer coefficient of convection inner side
inner_radiation
(float) Constant heat transfer coefficient of radiation inner side
outer_convection
(float) Constant heat transfer coefficient of convection outer side for inner walls and ground floor zero
outer_radiation
(float) Constant heat transfer coefficient of radiation outer side for inner walls and ground floor zero
layer
(list) List of all layers of a building element (to be filled with Layer objects). Use element.layer = None to delete all layers of the building element
Deletes typical building elements according to their construction
year and their construction type in the the XML file for type buidling
elements. If the Project parent is set, it automatically saves it to
the file given in Project.data. Alternatively you can specify a path to
a file of TypeBuildingElements. If this file does not exist,
a new file is created.
Parameters:
data_class : DataClass()
DataClass containing the bindings for TypeBuildingElement and
Material (typically this is the data class stored in prj.data,
but the user can individually change that. Default is
self.parent.parent.parent.data (which is data_class in current
project)
Gathers all material properties of the building element and returns
them as a np.array. Needed for the calculation of the matrix in
equivalent_res(t_bt) especially for walls.
Loads typical building elements according to their construction
year and their construction type from a XML.
This function will only work if the parents to Building are set.
Parameters:
year : int
Year of construction
construction : str
Construction type, code list (‘heavy’, ‘light’)
data_class : DataClass()
DataClass containing the bindings for TypeBuildingElement and
Material (typically this is the data class stored in prj.data,
but the user can individually change that. Default is
self.parent.parent.parent.data (which is data_class in current
project)
Saves typical building elements according to their construction
year and their construction type in the the XML file for type buidling
elements. If the Project parent is set, it automatically saves it to
the file given in Project.data. Alternatively you can specify a path to
a file of TypeBuildingElements. If this file does not exist,
a new file is created.
Parameters:
data_class : DataClass()
DataClass containing the bindings for TypeBuildingElement and
Material (typically this is the data class stored in prj.data,
but the user can individually change that. Default is
self.parent.parent.parent.data (which is data_class in current
project)
class teaser.logic.buildingobjects.buildingphysics.material.Material(parent=None)¶
Bases: object
This class represents a Material.
Parameters:
parent : Layer
The parent class of this object, the layer the material
belongs to. Allows for better control of hierarchical structures.
Default is None
Attributes
name
(str) Individual name
density
(float) Density of material in kg/m^3
thermal_conduc
(float) Thermal conductivity of material in W/(m*K)
heat_capac
(float) Specific heat capacity of material in kJ/(kg*K)
solar_absorp
(float) Coefficient of absorption of solar short wave
ir_emissivity
(float) Coefficient of longwave emissivity of material
transmittance
(float) Coefficient of transmittanve of material
material_id
(str(uuid)) UUID of material, this is used to have similar behaviour like foreign key in SQL data bases for use in TypeBuildingElements and Material xml
DataClass containing the bindings for TypeBuildingElement and
Material (typically this is the data class stored in prj.data,
but the user can individually change that. Default is
self.parent.parent.parent.parent.data which is data in project
DataClass containing the bindings for TypeBuildingElement and
Material (typically this is the data class stored in prj.data,
but the user can individually change that. Default is
self.parent.parent.parent.parent.data which is data in project
This function adds an additional layer of insulation and sets the
thickness of the layer according to the retrofit standard in the
year of refurbishment. Refurbishment year must be newer then 1995
Note: To Calculate thickness and U-Value, the standard TEASER
coefficients for outer and inner heat transfer are used.