honeybee-energy 1.116.20__py2.py3-none-any.whl → 1.116.21__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/result/colorobj.py +18 -5
- {honeybee_energy-1.116.20.dist-info → honeybee_energy-1.116.21.dist-info}/METADATA +1 -1
- {honeybee_energy-1.116.20.dist-info → honeybee_energy-1.116.21.dist-info}/RECORD +7 -7
- {honeybee_energy-1.116.20.dist-info → honeybee_energy-1.116.21.dist-info}/LICENSE +0 -0
- {honeybee_energy-1.116.20.dist-info → honeybee_energy-1.116.21.dist-info}/WHEEL +0 -0
- {honeybee_energy-1.116.20.dist-info → honeybee_energy-1.116.21.dist-info}/entry_points.txt +0 -0
- {honeybee_energy-1.116.20.dist-info → honeybee_energy-1.116.21.dist-info}/top_level.txt +0 -0
|
@@ -326,7 +326,8 @@ class ColorRoom(_ColorObject):
|
|
|
326
326
|
# match the rooms with the data collections
|
|
327
327
|
self._space_based = bool(space_based)
|
|
328
328
|
self._matched_objects = match_rooms_to_data(
|
|
329
|
-
data_collections, rooms, space_based=self._space_based
|
|
329
|
+
data_collections, rooms, space_based=self._space_based,
|
|
330
|
+
zone_correct_mult=False)
|
|
330
331
|
if len(self._matched_objects) == 0:
|
|
331
332
|
raise ValueError('None of the ColorRoom data collections could be '
|
|
332
333
|
'matched to the input rooms')
|
|
@@ -424,14 +425,26 @@ class ColorRoom(_ColorObject):
|
|
|
424
425
|
These floor areas will always be in either square meters or square feet
|
|
425
426
|
depending on whether the geo_unit is either SI or IP.
|
|
426
427
|
"""
|
|
428
|
+
# correct for more than one room in a zone
|
|
429
|
+
if not self.space_based:
|
|
430
|
+
zones = {}
|
|
431
|
+
for room in self.matched_rooms:
|
|
432
|
+
try:
|
|
433
|
+
zones[room.zone] += room.floor_area
|
|
434
|
+
except KeyError: # first room to be found in the zone
|
|
435
|
+
zones[room.zone] = room.floor_area
|
|
436
|
+
floor_areas = [zones[room.zone] for room in self.matched_rooms]
|
|
437
|
+
else:
|
|
438
|
+
floor_areas = [room.floor_area for room in self.matched_rooms]
|
|
439
|
+
# convert units if they are not conventional
|
|
427
440
|
if self._geo_unit in ('m', 'ft'): # no need to do unit conversions
|
|
428
|
-
return
|
|
441
|
+
return floor_areas
|
|
429
442
|
elif self._geo_unit == 'mm': # convert to meters
|
|
430
|
-
return [
|
|
443
|
+
return [ar / 1000000.0 for ar in floor_areas]
|
|
431
444
|
elif self._geo_unit == 'in': # convert to feet
|
|
432
|
-
return [
|
|
445
|
+
return [ar / 144.0 for ar in floor_areas]
|
|
433
446
|
else: # assume it's cm; convert to meters
|
|
434
|
-
return [
|
|
447
|
+
return [ar / 10000.0 for ar in floor_areas]
|
|
435
448
|
|
|
436
449
|
@property
|
|
437
450
|
def graphic_container(self):
|
|
@@ -120,7 +120,7 @@ honeybee_energy/properties/room.py,sha256=lCiw8wqRVOFgZc4FjXVjcrKk3hziZ9IvZ0CSEH
|
|
|
120
120
|
honeybee_energy/properties/shade.py,sha256=Aj1RZh2KSkVMn5VT_QUckF_5R3I0O3b35EabqaI2i5g,14107
|
|
121
121
|
honeybee_energy/properties/shademesh.py,sha256=ykbs4llT86C_U5BhQy2EbINewfg9eVxiPaq5yCRhud8,11486
|
|
122
122
|
honeybee_energy/result/__init__.py,sha256=U9VEpLsVJg2vHfFflTkmXxc4QUpkw1Phz2io8pYHbHs,43
|
|
123
|
-
honeybee_energy/result/colorobj.py,sha256=
|
|
123
|
+
honeybee_energy/result/colorobj.py,sha256=O2BN3je04LtIRxuVbD8gwDRbfSEKa8vXiyr5FtCkvkc,28553
|
|
124
124
|
honeybee_energy/result/emissions.py,sha256=ftb5ogxBhmZFLgwOaDkTwocfoQXQsf99jQlNUMlAzs4,12953
|
|
125
125
|
honeybee_energy/result/err.py,sha256=xdxtpZFMbX2_hoCSPFgmgiOZzhSX1NCLNj3PkC8xjHc,3312
|
|
126
126
|
honeybee_energy/result/eui.py,sha256=L3uWBoB6pE46seS9u6_791EhcZ7JGp2ZJgaXKM3kP5Y,4327
|
|
@@ -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.21.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
160
|
+
honeybee_energy-1.116.21.dist-info/METADATA,sha256=BTO6JVs1MYAPEKPOP95TVvLprfsIzhDwdvMAjT-rpG4,3575
|
|
161
|
+
honeybee_energy-1.116.21.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
162
|
+
honeybee_energy-1.116.21.dist-info/entry_points.txt,sha256=QOMJbH-StaxT4hCjskZtqetNCMNioP3ZiuhoLQ6MANc,63
|
|
163
|
+
honeybee_energy-1.116.21.dist-info/top_level.txt,sha256=V9Lz0281hfT83Fy0fSdn_6vwRK9vTQe1_LQXd0_-gAI,22
|
|
164
|
+
honeybee_energy-1.116.21.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|