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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58dd2e87b690f4b71e259cf22dce6a44030c3b57a9142c6a361d6cfe68ae4260
4
- data.tar.gz: 8d4e56c13e0892e3b7d4468e05e07cbe3720802d82bbc102385dfe71f0a99867
3
+ metadata.gz: 5b0a5a024724a6609081dcf05e2895f984636ed874dc2d0561fc99118ee5e776
4
+ data.tar.gz: fab2f18b5ab801debe5c5e673f68943897e938f6a9010c7bec5661b16c622f22
5
5
  SHA512:
6
- metadata.gz: dabe27301e879bb2bd595a929f4f829f578063acaee934ae94dfd25c0c491ff64eb76092fe380225a64b4c489a4ada2b2f5fcd21b8cd48832873611ae9d1a26d
7
- data.tar.gz: 708afc3119a473bbbe3a2f9acc3e3a6674140014dddefbbaae0b6b9b45f2bc9f893f08f1f06caa2471e85df38bc52d1fdaf85249f7295787e1414430aeb21b2c
6
+ metadata.gz: 52dd3f3163f2e2099fb58b1318b962b14224be9151929b7ad7dd5059982c8c8564fb4bbc885a556253b60b420d94bfb4bd1723385e3c48ff1079c75fa8c9532c
7
+ data.tar.gz: 18a8f4fb2f6f68f637f6969af5478ef22a96fe7c3328429833bec6b24739f57022e90920f5f17358ea2b84042c91d931b26eb7d43b653f81d2b28322a1052789
@@ -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.5'
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.5
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-22 00:00:00.000000000 Z
14
+ date: 2022-04-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler