Coverage for teaser/logic/buildingobjects/buildingphysics/ceiling.py: 100%
6 statements
« prev ^ index » next coverage.py v7.4.4, created at 2025-04-29 16:01 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2025-04-29 16:01 +0000
1# created June 2015
2# by TEASER4 Development Team
5from teaser.logic.buildingobjects.buildingphysics.innerwall import InnerWall
8class Ceiling(InnerWall):
9 """Ceiling (InnerWall)
11 This class represents a ceiling and is a child of InnerWall()
13 Parameters
14 ----------
16 parent : ThermalZone()
17 The parent class of this object, the ThermalZone the BE belongs to.
18 Allows for better control of hierarchical structures. If not None it
19 adds this Ceiling to ThermalZone.ceilings.
20 Default is None.
22 Attributes
23 ----------
25 internal_id : float
26 Random id for the distinction between different elements.
27 name : str
28 Individual name
29 construction_data : str
30 Type of construction (e.g. "heavy" or "light"). Needed for
31 distinction between different constructions types in the same
32 building age period.
33 year_of_retrofit : int
34 Year of last retrofit
35 year_of_construction : int
36 Year of first construction
37 building_age_group : list
38 Determines the building age period that this building
39 element belongs to [begin, end], e.g. [1984, 1994]
40 area : float [m2]
41 Area of building element
42 tilt : float [degree]
43 Tilt against horizontal, default is 0.0
44 orientation : float [degree]
45 Azimuth direction of building element (0 : north, 90: east, 180: south,
46 270: west), default is -1, for horizontal ceiling
47 inner_convection : float [W/(m2*K)]
48 Constant heat transfer coefficient of convection inner side (facing
49 the zone), default is 1.7
50 inner_radiation : float [W/(m2*K)]
51 Constant heat transfer coefficient of radiation inner side (facing
52 the zone), default is 5.0
53 outer_convection : float [W/(m2*K)]
54 Constant heat transfer coefficient of convection outer side (facing
55 the ambient or adjacent zone). Currently for all InnerWalls and
56 GroundFloors this value is set to 0.0
57 outer_radiation : float [W/(m2*K)]
58 Constant heat transfer coefficient of radiation outer side (facing
59 the ambient or adjacent zone). Currently for all InnerWalls and
60 GroundFloors this value is set to 0.0
61 layer : list
62 List of all layers of a building element (to be filled with Layer
63 objects). Use element.layer = None to delete all layers of the building
64 element
65 other_side : ThermalZone()
66 the thermal zone on the other side of the building element (only for
67 interzonal elements)
68 interzonal_type_material : str
69 one of (None (default), 'inner', 'outer_ordered', 'outer_reversed')
70 describes as which kind of element the element is treated when loading
71 type elements. Caution: Make sure that the complimentary element of
72 the other zone is also changed accordingly if this is adapted manually
73 None: treatment based on project.method_interzonal_export_enrichment
74 'inner': InterzonalWall treated as InnerWall,
75 InterzonalFloor treated as Floor,
76 InterzonalCeiling treated as Ceiling
77 'outer_ordered': InterzonalWall treated as Wall,
78 InterzonalFloor treated as GroundFloor,
79 InterzonalCeiling treated as Rooftop
80 'outer_reversed': InterzonalWall treated as Wall,
81 InterzonalFloor treated as Rooftop,
82 InterzonalCeiling treated as GroundFloor, but with
83 reversed layers, resulting in the reversed
84 sequence of layers as for the complimentary
85 element declared as 'outer_ordered'
86 interzonal_type_export : str
87 one of (None (default), 'inner', 'outer_ordered', 'outer_reversed')
88 describes as which kind of element the element is treated when exporting
89 to Modelica. Caution: Make sure that the complimentary element of
90 the other zone is also changed accordingly if this is adapted manually
91 'inner': element will be lumped with InnerWall. No heat flow to the
92 zone on the other side will be modelled.
93 'outer_ordered': element will be lumped with OuterWall (OneElement
94 to FourElement export) or treated as border to an
95 adjacent zone (FiveElement export). Borders to the
96 same adjacent zone will be lumped.
97 'outer_reversed': like 'outer_ordered', but the lumping follows
98 VDI 6007-1 in reversed order, resulting in the
99 reversed order of resistances and capacitors as
100 for the complimentary element declared as
101 'outer_ordered'
103 Calculated Attributes
105 r1 : float [K/W]
106 equivalent resistance R1 of the analogous model given in VDI 6007
107 r2 : float [K/W]
108 equivalent resistance R2 of the analogous model given in VDI 6007
109 r3 : float [K/W]
110 equivalent resistance R3 of the analogous model given in VDI 6007
111 c1 : float [J/K]
112 equivalent capacity C1 of the analogous model given in VDI 6007
113 c2 : float [J/K]
114 equivalent capacity C2 of the analogous model given in VDI 6007
115 c1_korr : float [J/K]
116 corrected capacity C1,korr for building elements in the case of
117 asymmetrical thermal load given in VDI 6007
118 ua_value : float [W/K]
119 UA-Value of building element (Area times U-Value)
120 r_inner_conv : float [K/W]
121 Convective resistance of building element on inner side (facing the
122 zone)
123 r_inner_rad : float [K/W]
124 Radiative resistance of building element on inner side (facing the
125 zone)
126 r_inner_conv : float [K/W]
127 Combined convective and radiative resistance of building element on
128 inner side (facing the zone)
129 r_outer_conv : float [K/W]
130 Convective resistance of building element on outer side (facing
131 the ambient or adjacent zone). Currently for all InnerWalls and
132 GroundFloors this value is set to 0.0
133 r_outer_rad : float [K/W]
134 Radiative resistance of building element on outer side (facing
135 the ambient or adjacent zone). Currently for all InnerWalls and
136 GroundFloors this value is set to 0.0
137 r_outer_comb : float [K/W]
138 Combined convective and radiative resistance of building element on
139 outer side (facing the ambient or adjacent zone). Currently for all
140 InnerWalls and GroundFloors this value is set to 0.0
141 wf_out : float
142 Weightfactor of building element ua_value/ua_value_zone
143 """
145 def __init__(self, parent=None):
146 """Constructor Ceiling (InnerWall)
148 """
149 super(Ceiling, self).__init__(parent)
151 self._tilt = 0.0
152 self._orientation = -1.0