honeybee-openstudio 2.28.2 → 2.28.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/to_openstudio/geometry/room.rb +23 -16
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53c3d385d80c233e1b9f69f9391be9fd50af80d09cad0e1651b12857a7b88e3c
|
4
|
+
data.tar.gz: 3fdbe6500fcd586709bea31286c761e9412c9e45458698ee337aaaadc79bbf78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7fb7d3c64ed249eabbba8609ac45e5fbb54c406ce3064aa7b4bf534c9af7a2c2b57bd61dab1ec8ae2826ee9e433d7282810ae1fd7d05a5db31ebe8133e88b3
|
7
|
+
data.tar.gz: 38ba645339bb374f8b5c20e5c1cc1f77253ae4a2b8eb23c167ec5449b154faf0d391bb3fa902bcbcb099d3614efaf588fc70d56204de294fb4c2108465f7ca45
|
data/honeybee-openstudio.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'honeybee-openstudio'
|
7
|
-
spec.version = '2.28.
|
7
|
+
spec.version = '2.28.3'
|
8
8
|
spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
|
9
9
|
spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
|
10
10
|
|
@@ -189,6 +189,7 @@ module Honeybee
|
|
189
189
|
end
|
190
190
|
end
|
191
191
|
|
192
|
+
# assign interior constructions for adiabatic Faces
|
192
193
|
if !face[:properties][:energy][:construction]
|
193
194
|
if face[:boundary_condition][:type] == 'Adiabatic'
|
194
195
|
# assign default interior construction for Adiabatic Faces
|
@@ -198,28 +199,34 @@ module Honeybee
|
|
198
199
|
os_surface.setConstruction(interior_construction)
|
199
200
|
end
|
200
201
|
end
|
201
|
-
|
202
|
-
|
203
|
-
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# assign air boundaries
|
206
|
+
if face[:face_type] == 'AirBoundary'
|
207
|
+
# assign default air boundary construction for AirBoundary face types
|
208
|
+
air_construction = closest_air_construction(openstudio_model, os_space)
|
209
|
+
if !face[:properties][:energy][:construction]
|
204
210
|
unless air_construction.nil?
|
205
211
|
os_surface.setConstruction(air_construction)
|
206
212
|
end
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
flow_rate = os_surface.netArea * air_mix_area
|
217
|
-
flow_sch_id = air_hash[:air_mixing_schedule]
|
218
|
-
adj_zone_id = face[:boundary_condition][:boundary_condition_objects][-1]
|
219
|
-
$air_mxing_array << [os_thermal_zone, flow_rate, flow_sch_id, adj_zone_id]
|
213
|
+
end
|
214
|
+
# add air mixing properties to the global list that tracks them
|
215
|
+
if $use_simple_vent # only use air mixing objects when simple ventilation is requested
|
216
|
+
air_hash = $air_boundary_hash[air_construction.name.to_s]
|
217
|
+
if air_hash[:air_mixing_per_area]
|
218
|
+
air_mix_area = air_hash[:air_mixing_per_area]
|
219
|
+
else
|
220
|
+
air_default = @@schema[:components][:schemas][:AirBoundaryConstructionAbridged]
|
221
|
+
air_mix_area = air_default[:properties][:air_mixing_per_area][:default]
|
220
222
|
end
|
223
|
+
flow_rate = os_surface.netArea * air_mix_area
|
224
|
+
flow_sch_id = air_hash[:air_mixing_schedule]
|
225
|
+
adj_zone_id = face[:boundary_condition][:boundary_condition_objects][-1]
|
226
|
+
$air_mxing_array << [os_thermal_zone, flow_rate, flow_sch_id, adj_zone_id]
|
221
227
|
end
|
222
228
|
end
|
229
|
+
|
223
230
|
end
|
224
231
|
|
225
232
|
# assign any room-level outdoor shades if they exist
|