honeybee-openstudio 2.31.12 → 2.31.13

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: ee8eec97c23c887d5b2dd7b58552f50263b297d8e742026ed6d1fc570ba62877
4
- data.tar.gz: 0d308433a4b52972492f5ad5681fd255244b029481eee40eafa219f9c1cf4402
3
+ metadata.gz: 0ddf0d339bd4d1157383d5d16269de92cdbcc9e9f4b2b18b766f07bef02f37cd
4
+ data.tar.gz: 401beed22c8c1097195c4e7312bd16eeb8e9e71233c4b4a13330c68670e64072
5
5
  SHA512:
6
- metadata.gz: b0cef0873f51d1f92b7c0051721552a0439581e266c2b2c11a7908effea697957136c1860a04d80e8d7a314d41757fae1ca490a20bfcc83f63b22b75c3af0efc
7
- data.tar.gz: 201801ee7a4ce00794c9358e879f5fdc0116e97d33181587e9f3e1bb1940d336ace21ef5253731e4caecf611f749a055aafdbb4433803cfdf3d9505252b8ff72
6
+ metadata.gz: 4660a81eeedc682ec9d04c2a29fb1ab38b68692c7dffb5133aeaed0464c9cf31f95de09b639b3f1eb9464972980215eae166e47dc806a2696d692d690e6c0675
7
+ data.tar.gz: 62284552e9a5e1d6c296e0ffab568511b308b91df53936315958665d093527345a312c880d688de23e8b3dc21fd133a999d0617b1864823d8b2655d053445a34
@@ -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.12'
7
+ spec.version = '2.31.13'
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
 
@@ -312,10 +312,12 @@ module Honeybee
312
312
 
313
313
  # assign service hot water if it exists
314
314
  if @hash[:properties][:energy][:service_hot_water]
315
- shw_space = ServiceHotWaterAbridged.new(@hash[:properties][:energy][:service_hot_water])
316
- os_shw_space = shw_space.to_openstudio(
317
- openstudio_model, os_space, @hash[:properties][:energy][:shw])
318
- $shw_for_plant = shw_space
315
+ if @hash[:properties][:energy][:service_hot_water][:flow_per_area].to_f != 0
316
+ shw_space = ServiceHotWaterAbridged.new(@hash[:properties][:energy][:service_hot_water])
317
+ os_shw_space = shw_space.to_openstudio(
318
+ openstudio_model, os_space, @hash[:properties][:energy][:shw])
319
+ $shw_for_plant = shw_space
320
+ end
319
321
  end
320
322
 
321
323
  # assign infiltration if it exists
@@ -454,10 +454,12 @@ module Honeybee
454
454
  program_type_id = room[:properties][:energy][:program_type]
455
455
  shw_hash = $programtype_shw_hash[program_type_id]
456
456
  unless shw_hash.nil?
457
- shw_object = ServiceHotWaterAbridged.new(shw_hash)
458
- openstudio_shw = shw_object.to_openstudio(
459
- @openstudio_model, openstudio_room, room[:properties][:energy][:shw])
460
- $shw_for_plant = shw_object
457
+ if shw_hash[:flow_per_area].to_f != 0
458
+ shw_object = ServiceHotWaterAbridged.new(shw_hash)
459
+ openstudio_shw = shw_object.to_openstudio(
460
+ @openstudio_model, openstudio_room, room[:properties][:energy][:shw])
461
+ $shw_for_plant = shw_object
462
+ end
461
463
  end
462
464
  end
463
465
 
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.12
4
+ version: 2.31.13
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-07-25 00:00:00.000000000 Z
14
+ date: 2022-08-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler