honeybee-energy 1.116.26__py2.py3-none-any.whl → 1.116.27__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of honeybee-energy might be problematic. Click here for more details.
- honeybee_energy/constructionset.py +47 -0
- {honeybee_energy-1.116.26.dist-info → honeybee_energy-1.116.27.dist-info}/METADATA +1 -1
- {honeybee_energy-1.116.26.dist-info → honeybee_energy-1.116.27.dist-info}/RECORD +7 -7
- {honeybee_energy-1.116.26.dist-info → honeybee_energy-1.116.27.dist-info}/LICENSE +0 -0
- {honeybee_energy-1.116.26.dist-info → honeybee_energy-1.116.27.dist-info}/WHEEL +0 -0
- {honeybee_energy-1.116.26.dist-info → honeybee_energy-1.116.27.dist-info}/entry_points.txt +0 -0
- {honeybee_energy-1.116.26.dist-info → honeybee_energy-1.116.27.dist-info}/top_level.txt +0 -0
|
@@ -59,6 +59,8 @@ class ConstructionSet(object):
|
|
|
59
59
|
* modified_constructions_unique
|
|
60
60
|
* materials_unique
|
|
61
61
|
* modified_materials_unique
|
|
62
|
+
* is_interior_defaulted
|
|
63
|
+
* is_interior_symmetric
|
|
62
64
|
* user_data
|
|
63
65
|
"""
|
|
64
66
|
__slots__ = ('_identifier', '_display_name', '_wall_set', '_floor_set',
|
|
@@ -271,6 +273,51 @@ class ConstructionSet(object):
|
|
|
271
273
|
pass # ShadeConstruction or AirBoundaryConstruction
|
|
272
274
|
return list(set(materials))
|
|
273
275
|
|
|
276
|
+
@property
|
|
277
|
+
def is_interior_defaulted(self):
|
|
278
|
+
"""Get a boolean for whether all interior constructions of the set are defaulted.
|
|
279
|
+
|
|
280
|
+
If all construction sets in a model use the same default interior constructions,
|
|
281
|
+
it meas that the construction sets won't create any conflicts between adjacent
|
|
282
|
+
interior Faces.
|
|
283
|
+
"""
|
|
284
|
+
return self.wall_set._interior_construction is None and \
|
|
285
|
+
self.aperture_set._interior_construction is None and \
|
|
286
|
+
self.door_set._interior_construction is None and \
|
|
287
|
+
self.floor_set._interior_construction is None and \
|
|
288
|
+
self.roof_ceiling_set._interior_construction is None
|
|
289
|
+
|
|
290
|
+
@property
|
|
291
|
+
def is_interior_symmetric(self):
|
|
292
|
+
"""Get a boolean for whether all interior constructions of the set are symmetric.
|
|
293
|
+
|
|
294
|
+
This will only be true if the interior wall, window and door constructions
|
|
295
|
+
are symmetric and the material layers of the interior floor construction
|
|
296
|
+
is a reversed version of the ceiling construction. When these criteria
|
|
297
|
+
are met, it meas that the construction set can be applied to all rooms
|
|
298
|
+
of a Model without concern for it creating conflicts between adjacent
|
|
299
|
+
interior Faces.
|
|
300
|
+
"""
|
|
301
|
+
# check the constructions that are supposed to be symmetric
|
|
302
|
+
wall_con = self.wall_set._interior_construction
|
|
303
|
+
if wall_con is not None and not wall_con.is_symmetric:
|
|
304
|
+
return False
|
|
305
|
+
win_con = self.aperture_set._interior_construction
|
|
306
|
+
if win_con is not None and not win_con.is_symmetric:
|
|
307
|
+
return False
|
|
308
|
+
door_con = self.door_set._interior_construction
|
|
309
|
+
if door_con is not None and not door_con.is_symmetric:
|
|
310
|
+
return False
|
|
311
|
+
glz_dr_con = self.door_set._interior_glass_construction
|
|
312
|
+
if glz_dr_con is not None and not glz_dr_con.is_symmetric:
|
|
313
|
+
return False
|
|
314
|
+
# check that the floor is the reverse of the floor
|
|
315
|
+
floor_con = self.floor_set.interior_construction
|
|
316
|
+
ceil_con = self.roof_ceiling_set.interior_construction
|
|
317
|
+
if floor_con.materials != tuple(reversed(ceil_con.materials)):
|
|
318
|
+
return False
|
|
319
|
+
return True
|
|
320
|
+
|
|
274
321
|
@property
|
|
275
322
|
def user_data(self):
|
|
276
323
|
"""Get or set an optional dictionary for additional meta data for this object.
|
|
@@ -5,7 +5,7 @@ honeybee_energy/altnumber.py,sha256=_B5DcoyV1_D8tSKFoo-jjh5Xo1Yy4TTuHB7frDNKxLg,
|
|
|
5
5
|
honeybee_energy/boundarycondition.py,sha256=7zPGwJVRC56jC75fVwRVQgew0RtPDID4YGVQzglcIVE,5740
|
|
6
6
|
honeybee_energy/config.json,sha256=r1y_CZbDeYJu3HIAOHMzn3NJ_IHld0nejzHeLMDlDFs,344
|
|
7
7
|
honeybee_energy/config.py,sha256=Wv-JIv5j-Z97_DC7FLnd49tbv53nfNoFcsvjXEeIaRk,35899
|
|
8
|
-
honeybee_energy/constructionset.py,sha256=
|
|
8
|
+
honeybee_energy/constructionset.py,sha256=cG7NY834qOj-hB_JFE5-Ksh5u8Vagk41cmS_NP1uv44,73739
|
|
9
9
|
honeybee_energy/dictutil.py,sha256=fW7zqf2uxl9fdCOOo2ltOx-CuAP9HyYs-fX1WvAcFfg,2457
|
|
10
10
|
honeybee_energy/internalmass.py,sha256=8b4NuQpi5jBue31Q56YvMTx1iXPEEKmKe9-J9aLh5Ys,12464
|
|
11
11
|
honeybee_energy/measure.py,sha256=S4MBqC8eLWzqCLFeTa0uQQgWE6-NOPcmUU0wlu9uXB0,17403
|
|
@@ -156,9 +156,9 @@ honeybee_energy/ventcool/opening.py,sha256=ZywoADlNQ6_8OfjV71ZUpbCAetQrRVj7aprBj
|
|
|
156
156
|
honeybee_energy/ventcool/simulation.py,sha256=gMF4sgCQ5R4iFWPnvvB3wxgeP_zEwnWl71ObIIe4XGU,14423
|
|
157
157
|
tests/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
158
158
|
tests/fixtures/userdata_fixtures.py,sha256=yDvBR6nsltel_U8hUoUsJ6yufPKTR7Wnsgxe68HtswQ,313
|
|
159
|
-
honeybee_energy-1.116.
|
|
160
|
-
honeybee_energy-1.116.
|
|
161
|
-
honeybee_energy-1.116.
|
|
162
|
-
honeybee_energy-1.116.
|
|
163
|
-
honeybee_energy-1.116.
|
|
164
|
-
honeybee_energy-1.116.
|
|
159
|
+
honeybee_energy-1.116.27.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
160
|
+
honeybee_energy-1.116.27.dist-info/METADATA,sha256=-3G-Rz-JN-OD01bZsoWshz2k6OMOz2OXudiZVDJOQ5Q,3575
|
|
161
|
+
honeybee_energy-1.116.27.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
162
|
+
honeybee_energy-1.116.27.dist-info/entry_points.txt,sha256=QOMJbH-StaxT4hCjskZtqetNCMNioP3ZiuhoLQ6MANc,63
|
|
163
|
+
honeybee_energy-1.116.27.dist-info/top_level.txt,sha256=V9Lz0281hfT83Fy0fSdn_6vwRK9vTQe1_LQXd0_-gAI,22
|
|
164
|
+
honeybee_energy-1.116.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|