honeybee-radiance-postprocess 0.4.383__py2.py3-none-any.whl → 0.4.384__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.
- honeybee_radiance_postprocess/cli/abnt.py +18 -0
- {honeybee_radiance_postprocess-0.4.383.dist-info → honeybee_radiance_postprocess-0.4.384.dist-info}/METADATA +1 -1
- {honeybee_radiance_postprocess-0.4.383.dist-info → honeybee_radiance_postprocess-0.4.384.dist-info}/RECORD +7 -7
- {honeybee_radiance_postprocess-0.4.383.dist-info → honeybee_radiance_postprocess-0.4.384.dist-info}/LICENSE +0 -0
- {honeybee_radiance_postprocess-0.4.383.dist-info → honeybee_radiance_postprocess-0.4.384.dist-info}/WHEEL +0 -0
- {honeybee_radiance_postprocess-0.4.383.dist-info → honeybee_radiance_postprocess-0.4.384.dist-info}/entry_points.txt +0 -0
- {honeybee_radiance_postprocess-0.4.383.dist-info → honeybee_radiance_postprocess-0.4.384.dist-info}/top_level.txt +0 -0
@@ -105,10 +105,12 @@ def abnt_nbr_15575(
|
|
105
105
|
illuminance_levels_folder.mkdir(parents=True, exist_ok=True)
|
106
106
|
|
107
107
|
summary_file = sub_folder.joinpath('abnt_nbr_15575.json')
|
108
|
+
summary_rooms_file = sub_folder.joinpath('abnt_nbr_15575_rooms.json')
|
108
109
|
folder_names = ['4_930AM', '4_330PM', '10_930AM', '10_330PM']
|
109
110
|
|
110
111
|
metric_info_dict = _abnt_nbr_15575_daylight_levels_vis_metadata()
|
111
112
|
summary_output = {}
|
113
|
+
summary_rooms_output = {}
|
112
114
|
for _subfolder in folder_names:
|
113
115
|
res_folder = folder.joinpath(_subfolder, 'results')
|
114
116
|
with open(res_folder.joinpath('grids_info.json')) as data_f:
|
@@ -135,6 +137,19 @@ def abnt_nbr_15575(
|
|
135
137
|
else:
|
136
138
|
level = 'Não atende'
|
137
139
|
|
140
|
+
room_summary = \
|
141
|
+
summary_rooms_output.get(grid_info['full_id'], None)
|
142
|
+
if room_summary is None:
|
143
|
+
summary_rooms_output[grid_info['full_id']] = {
|
144
|
+
'nível': level,
|
145
|
+
'iluminância': f_xy,
|
146
|
+
'grids_info': grid_info
|
147
|
+
}
|
148
|
+
else:
|
149
|
+
if f_xy < room_summary['iluminância']:
|
150
|
+
room_summary['nível'] = level
|
151
|
+
room_summary['iluminância'] = f_xy
|
152
|
+
|
138
153
|
sub_output.append(
|
139
154
|
{
|
140
155
|
'nível': level,
|
@@ -166,6 +181,9 @@ def abnt_nbr_15575(
|
|
166
181
|
with summary_file.open(mode='w', encoding='utf-8') as output_file:
|
167
182
|
json.dump(summary_output, output_file, indent=4, ensure_ascii=False)
|
168
183
|
|
184
|
+
with summary_rooms_file.open(mode='w', encoding='utf-8') as output_file:
|
185
|
+
json.dump(summary_rooms_output, output_file, indent=4, ensure_ascii=False)
|
186
|
+
|
169
187
|
except Exception:
|
170
188
|
_logger.exception('Failed to calculate ABNT NBR 15575 metrics.')
|
171
189
|
sys.exit(1)
|
@@ -14,7 +14,7 @@ honeybee_radiance_postprocess/type_hints.py,sha256=4R0kZgacQrqzoh8Tq7f8MVzUDzynV
|
|
14
14
|
honeybee_radiance_postprocess/util.py,sha256=-J5k1dhvyYJkb42jvTS_xxtokfGbmcucVPXdMWU1jUk,5098
|
15
15
|
honeybee_radiance_postprocess/vis_metadata.py,sha256=darKbj987NXW72GNcTdKQmgqSTpeG39OBwEgbJGEgPw,1820
|
16
16
|
honeybee_radiance_postprocess/cli/__init__.py,sha256=4RkpR91GPXWatDE4I_27ce-N4FwolQoO6WO7H24DMXE,777
|
17
|
-
honeybee_radiance_postprocess/cli/abnt.py,sha256=
|
17
|
+
honeybee_radiance_postprocess/cli/abnt.py,sha256=nE2QGZWigUwqn0PqIDyrzoNy1PZju8rTnV6p5HOi8Gg,8053
|
18
18
|
honeybee_radiance_postprocess/cli/grid.py,sha256=6peLEAPVe-iw05_wdRpFruZLqO8myvC-_QT5W1q5sk8,10677
|
19
19
|
honeybee_radiance_postprocess/cli/leed.py,sha256=QBR6AMJJWuZ0TevyMi2tXCWMLdS-ZSqtVTZDgqxwa7M,3112
|
20
20
|
honeybee_radiance_postprocess/cli/mtxop.py,sha256=UZJnjNpPjDmShy1-Mxos4H2vTUqk_yP3ZyaC1_LLFeI,5015
|
@@ -27,9 +27,9 @@ honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8
|
|
27
27
|
honeybee_radiance_postprocess/results/annual_daylight.py,sha256=o4Y5kbD3a4X4KRfsbOlWzgrnNKU365GcivM6qQGUGXU,31605
|
28
28
|
honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=5zwrr4MNeHUebbSRpSBbscPOZUs2AHmYCQfIIbdYImY,8298
|
29
29
|
honeybee_radiance_postprocess/results/results.py,sha256=jkjsxTuvVfBus6tM2UjQE3ZKPooLInWEd2guqO61v9E,53600
|
30
|
-
honeybee_radiance_postprocess-0.4.
|
31
|
-
honeybee_radiance_postprocess-0.4.
|
32
|
-
honeybee_radiance_postprocess-0.4.
|
33
|
-
honeybee_radiance_postprocess-0.4.
|
34
|
-
honeybee_radiance_postprocess-0.4.
|
35
|
-
honeybee_radiance_postprocess-0.4.
|
30
|
+
honeybee_radiance_postprocess-0.4.384.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
31
|
+
honeybee_radiance_postprocess-0.4.384.dist-info/METADATA,sha256=x2GGYFPYOUJojgCqrcPmFHYRMdhOIL5TNLM0yCcvjmQ,2245
|
32
|
+
honeybee_radiance_postprocess-0.4.384.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
|
33
|
+
honeybee_radiance_postprocess-0.4.384.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
|
34
|
+
honeybee_radiance_postprocess-0.4.384.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
|
35
|
+
honeybee_radiance_postprocess-0.4.384.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|