honeybee-grasshopper-radiance 1.35.1__py3-none-any.whl → 1.35.2__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.
- honeybee_grasshopper_radiance/src/HB Spatial Daylight Autonomy.py +3 -3
- honeybee_grasshopper_radiance/user_objects/HB Spatial Daylight Autonomy.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.1.dist-info → honeybee_grasshopper_radiance-1.35.2.dist-info}/METADATA +1 -1
- {honeybee_grasshopper_radiance-1.35.1.dist-info → honeybee_grasshopper_radiance-1.35.2.dist-info}/RECORD +7 -7
- {honeybee_grasshopper_radiance-1.35.1.dist-info → honeybee_grasshopper_radiance-1.35.2.dist-info}/WHEEL +0 -0
- {honeybee_grasshopper_radiance-1.35.1.dist-info → honeybee_grasshopper_radiance-1.35.2.dist-info}/licenses/LICENSE +0 -0
- {honeybee_grasshopper_radiance-1.35.1.dist-info → honeybee_grasshopper_radiance-1.35.2.dist-info}/top_level.txt +0 -0
|
@@ -47,7 +47,7 @@ compliant.
|
|
|
47
47
|
|
|
48
48
|
ghenv.Component.Name = 'HB Spatial Daylight Autonomy'
|
|
49
49
|
ghenv.Component.NickName = 'sDA'
|
|
50
|
-
ghenv.Component.Message = '1.9.
|
|
50
|
+
ghenv.Component.Message = '1.9.1'
|
|
51
51
|
ghenv.Component.Category = 'HB-Radiance'
|
|
52
52
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
53
53
|
ghenv.Component.AdditionalHelpFromDocStrings = '1'
|
|
@@ -75,12 +75,12 @@ if all_required_inputs(ghenv.Component):
|
|
|
75
75
|
|
|
76
76
|
# compute spatial daylight autonomy from the pass/fail results
|
|
77
77
|
if len(lb_meshes) == 0: # all sensors represent the same area
|
|
78
|
-
sDA = [sum(pf_list) / len(pf_list) for pf_list in pass_fail]
|
|
78
|
+
sDA = [round(sum(pf_list) / len(pf_list) * 100, 2) for pf_list in pass_fail]
|
|
79
79
|
else: # weight the sensors based on the area of mesh faces
|
|
80
80
|
sDA = []
|
|
81
81
|
for i, mesh in enumerate(lb_meshes):
|
|
82
82
|
m_area = mesh.area
|
|
83
83
|
weights = [fa / m_area for fa in mesh.face_areas]
|
|
84
|
-
sDA.append(sum(v * w for v, w in zip(pass_fail[i], weights)))
|
|
84
|
+
sDA.append(round(sum(v * w for v, w in zip(pass_fail[i], weights)) * 100, 2))
|
|
85
85
|
|
|
86
86
|
pass_fail = list_to_data_tree(pass_fail) # convert matrix to data tree
|
|
Binary file
|
|
@@ -68,7 +68,7 @@ honeybee_grasshopper_radiance/src/HB Sensor Grid from Rooms.py,sha256=he2oyS-30Z
|
|
|
68
68
|
honeybee_grasshopper_radiance/src/HB Sensor Grid.py,sha256=VSMyAyHtSdCfHMKxedxsDOOramROzGm5D54Pnd-iGLs,3595
|
|
69
69
|
honeybee_grasshopper_radiance/src/HB Shade Modifier Subset.py,sha256=Nd0GhA_a9kzwD_zdKlE-OfFdqOOu8czWnpVmgto5Atw,2253
|
|
70
70
|
honeybee_grasshopper_radiance/src/HB Sky View.py,sha256=XkABHrKuD1u94rirfaTGBNv7t2Tuggk56mYtpYZztnk,3832
|
|
71
|
-
honeybee_grasshopper_radiance/src/HB Spatial Daylight Autonomy.py,sha256=
|
|
71
|
+
honeybee_grasshopper_radiance/src/HB Spatial Daylight Autonomy.py,sha256=PMAu1r9abhXMvl1RdFcy_-sy-vnQLbb0xQTdSKoH-G0,4017
|
|
72
72
|
honeybee_grasshopper_radiance/src/HB Subface Modifier Subset.py,sha256=XZ7aNh5KnmMeohQqRe9Sjxg2tJ-0PDuGWKJNXqEwSdM,3837
|
|
73
73
|
honeybee_grasshopper_radiance/src/HB Translucent Modifier 3.py,sha256=XR-dTuNmv6mfmjqTDPR-4xgb4-paX9oqZ_mlY7nYyZI,3460
|
|
74
74
|
honeybee_grasshopper_radiance/src/HB Translucent Modifier.py,sha256=Sq3PTHjaYXKTlJvrrq9b-HI5cirrVW-jnuWDITVNSyU,3389
|
|
@@ -151,7 +151,7 @@ honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Rooms.ghuser,sha2
|
|
|
151
151
|
honeybee_grasshopper_radiance/user_objects/HB Sensor Grid.ghuser,sha256=JkUlxudZScZ-nwaAlwaOGuRqlDpopQgFWy2xXrNfRKE,5630
|
|
152
152
|
honeybee_grasshopper_radiance/user_objects/HB Shade Modifier Subset.ghuser,sha256=kq72225e76XlNb7oqrpAenBlOnxFFiMm-1jUPc8wDVc,4478
|
|
153
153
|
honeybee_grasshopper_radiance/user_objects/HB Sky View.ghuser,sha256=eJX4GUVIRFTMEmyLikooCbmoy32N9NZcjDkenHKvkQQ,6009
|
|
154
|
-
honeybee_grasshopper_radiance/user_objects/HB Spatial Daylight Autonomy.ghuser,sha256=
|
|
154
|
+
honeybee_grasshopper_radiance/user_objects/HB Spatial Daylight Autonomy.ghuser,sha256=_Bw5jUjKKcdEEozVXUVL45yZB6F4BqIwzmRU_jSwbBA,6011
|
|
155
155
|
honeybee_grasshopper_radiance/user_objects/HB Subface Modifier Subset.ghuser,sha256=e0BN1wVqK-1v1vd1BMDIMC9hwb6QQ4Uy2Gm_6gq3g98,4894
|
|
156
156
|
honeybee_grasshopper_radiance/user_objects/HB Translucent Modifier 3.ghuser,sha256=wO6GWYRsHQVoQUW7bF1ws01kiUDsaimUCWrinaj-TOw,5552
|
|
157
157
|
honeybee_grasshopper_radiance/user_objects/HB Translucent Modifier.ghuser,sha256=TMgFn8NMjq6LkLDKzoUA5W4CCk2LAWsr4iHgod09FLs,5161
|
|
@@ -163,8 +163,8 @@ honeybee_grasshopper_radiance/user_objects/HB Wea From EPW.ghuser,sha256=PcjwWzO
|
|
|
163
163
|
honeybee_grasshopper_radiance/user_objects/HB Wea From Tau Clear Sky.ghuser,sha256=du9nzM95d3uL2-1sf1fFll_QfRloVaL4Q_JGd7Nb5NI,5367
|
|
164
164
|
honeybee_grasshopper_radiance/user_objects/HB Wea from Zhang-Huang.ghuser,sha256=9KMXIDn5sfhk0h4QfZoKfFuHvI6x0bXVDJ3Ozd2CWNg,4678
|
|
165
165
|
honeybee_grasshopper_radiance/user_objects/__init__.py,sha256=7BOscRVupILqwFUBWP6nAsMNgNN8lXQPsQ_zYUvGEr8,50
|
|
166
|
-
honeybee_grasshopper_radiance-1.35.
|
|
167
|
-
honeybee_grasshopper_radiance-1.35.
|
|
168
|
-
honeybee_grasshopper_radiance-1.35.
|
|
169
|
-
honeybee_grasshopper_radiance-1.35.
|
|
170
|
-
honeybee_grasshopper_radiance-1.35.
|
|
166
|
+
honeybee_grasshopper_radiance-1.35.2.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
167
|
+
honeybee_grasshopper_radiance-1.35.2.dist-info/METADATA,sha256=8TYb6KCe8f2gnDYLNMyXCk-9Ve745Ka3iVCJJ6BuzIk,2879
|
|
168
|
+
honeybee_grasshopper_radiance-1.35.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
169
|
+
honeybee_grasshopper_radiance-1.35.2.dist-info/top_level.txt,sha256=BBzJ4nJKMDfzWMqymIH91kdsQlHSptnGHSk8i6_KZ_4,30
|
|
170
|
+
honeybee_grasshopper_radiance-1.35.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|