honeybee-openstudio 2.31.5 → 2.31.6
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/aperture.rb +10 -0
- data/lib/to_openstudio/geometry/door.rb +10 -0
- 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: 5b0a5a024724a6609081dcf05e2895f984636ed874dc2d0561fc99118ee5e776
|
4
|
+
data.tar.gz: fab2f18b5ab801debe5c5e673f68943897e938f6a9010c7bec5661b16c622f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52dd3f3163f2e2099fb58b1318b962b14224be9151929b7ad7dd5059982c8c8564fb4bbc885a556253b60b420d94bfb4bd1723385e3c48ff1079c75fa8c9532c
|
7
|
+
data.tar.gz: 18a8f4fb2f6f68f637f6969af5478ef22a96fe7c3328429833bec6b24739f57022e90920f5f17358ea2b84042c91d931b26eb7d43b653f81d2b28322a1052789
|
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.31.
|
7
|
+
spec.version = '2.31.6'
|
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
|
|
@@ -197,6 +197,16 @@ module Honeybee
|
|
197
197
|
end
|
198
198
|
end
|
199
199
|
|
200
|
+
# add a transmittance schedule if a value is found
|
201
|
+
if @hash[:transmit]
|
202
|
+
schedule_identifier = 'Constant ' + @hash[:transmit] + ' Transmittance'
|
203
|
+
schedule = openstudio_model.getScheduleByName(schedule_identifier)
|
204
|
+
unless schedule.empty?
|
205
|
+
os_schedule = schedule.get
|
206
|
+
os_shading_surface.setTransmittanceSchedule(os_schedule)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
200
210
|
# add the shade to the group
|
201
211
|
os_shading_surface.setShadingSurfaceGroup(shading_surface_group)
|
202
212
|
|
@@ -193,6 +193,16 @@ module Honeybee
|
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
196
|
+
# add a transmittance schedule if a value is found
|
197
|
+
if @hash[:transmit]
|
198
|
+
schedule_identifier = 'Constant ' + @hash[:transmit] + ' Transmittance'
|
199
|
+
schedule = openstudio_model.getScheduleByName(schedule_identifier)
|
200
|
+
unless schedule.empty?
|
201
|
+
os_schedule = schedule.get
|
202
|
+
os_shading_surface.setTransmittanceSchedule(os_schedule)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
196
206
|
# add the shade to the group
|
197
207
|
os_shading_surface.setShadingSurfaceGroup(shading_surface_group)
|
198
208
|
|
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.31.
|
4
|
+
version: 2.31.6
|
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: 2022-04-
|
14
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|