honeybee-openstudio 2.28.3 → 2.28.4
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.
- checksums.yaml +4 -4
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/to_openstudio/construction_set.rb +6 -2
- data/lib/to_openstudio/geometry/room.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e2c8cdf1f3b9f5c3061efd38a875e2cc083f5cd61dad39ede8f8321c192b9f6
|
4
|
+
data.tar.gz: 102068a6af1a9af44de034844a868553616c218e3e47ab71acca437df202b532
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5f84e83ec98e59742e7a54a3d435f21a06149589397399b0389cfea275ed5ffbbde311fd5861e1ffd7365a67a972e37fa7d4ee73b8ab3a2967c02388ce1ef7f
|
7
|
+
data.tar.gz: 687fd381695962d34286a6e1751ebfe859141bd60c447bd8c70268046e407f09297c4c15932ed8df7e843222e558eedd722a9b470daaa8b449c784a983087b37
|
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.4'
|
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
|
|
@@ -205,8 +205,12 @@ module Honeybee
|
|
205
205
|
|
206
206
|
# assign any air boundary constructions to construction set
|
207
207
|
if @hash[:air_boundary_construction]
|
208
|
-
air_ref = openstudio_model.getConstructionAirBoundaryByName(
|
209
|
-
|
208
|
+
air_ref = openstudio_model.getConstructionAirBoundaryByName(@hash[:air_boundary_construction])
|
209
|
+
unless air_ref.empty?
|
210
|
+
air_construction = air_ref.get
|
211
|
+
os_constr_set.setInteriorPartitionConstruction(air_construction)
|
212
|
+
end
|
213
|
+
air_ref = openstudio_model.getConstructionByName(@hash[:air_boundary_construction])
|
210
214
|
unless air_ref.empty?
|
211
215
|
air_construction = air_ref.get
|
212
216
|
os_constr_set.setInteriorPartitionConstruction(air_construction)
|
@@ -214,14 +214,18 @@ module Honeybee
|
|
214
214
|
# add air mixing properties to the global list that tracks them
|
215
215
|
if $use_simple_vent # only use air mixing objects when simple ventilation is requested
|
216
216
|
air_hash = $air_boundary_hash[air_construction.name.to_s]
|
217
|
-
if air_hash[:air_mixing_per_area]
|
217
|
+
if air_hash && air_hash[:air_mixing_per_area]
|
218
218
|
air_mix_area = air_hash[:air_mixing_per_area]
|
219
219
|
else
|
220
220
|
air_default = @@schema[:components][:schemas][:AirBoundaryConstructionAbridged]
|
221
221
|
air_mix_area = air_default[:properties][:air_mixing_per_area][:default]
|
222
222
|
end
|
223
223
|
flow_rate = os_surface.netArea * air_mix_area
|
224
|
-
|
224
|
+
if air_hash
|
225
|
+
flow_sch_id = air_hash[:air_mixing_schedule]
|
226
|
+
else
|
227
|
+
flow_sch_id = 'Always On'
|
228
|
+
end
|
225
229
|
adj_zone_id = face[:boundary_condition][:boundary_condition_objects][-1]
|
226
230
|
$air_mxing_array << [os_thermal_zone, flow_rate, flow_sch_id, adj_zone_id]
|
227
231
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybee-openstudio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.28.
|
4
|
+
version: 2.28.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanushree Charan
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-12-
|
14
|
+
date: 2021-12-31 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|