honeybee-openstudio 2.28.4 → 2.28.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e2c8cdf1f3b9f5c3061efd38a875e2cc083f5cd61dad39ede8f8321c192b9f6
4
- data.tar.gz: 102068a6af1a9af44de034844a868553616c218e3e47ab71acca437df202b532
3
+ metadata.gz: e960e6401afeeae57ac10b6e7272bda25a3ddfe51df0437666157d57b832b95c
4
+ data.tar.gz: b55774ec65cd6ba948b3678788d683df86986493a07e392792096c094298c96f
5
5
  SHA512:
6
- metadata.gz: c5f84e83ec98e59742e7a54a3d435f21a06149589397399b0389cfea275ed5ffbbde311fd5861e1ffd7365a67a972e37fa7d4ee73b8ab3a2967c02388ce1ef7f
7
- data.tar.gz: 687fd381695962d34286a6e1751ebfe859141bd60c447bd8c70268046e407f09297c4c15932ed8df7e843222e558eedd722a9b470daaa8b449c784a983087b37
6
+ metadata.gz: 3ddd7be560c4de69adbc7c03edf449184b42c17410f945b75061bef4e37c5aaa05f61086384ed2a7548ab2b80ecd1e6a975a168ff6099200b35aebb0be28c66e
7
+ data.tar.gz: 7f476ac77307f6fba004251129f1b0c72e2de7a5b44925b16328dcead4bbdfe6d1b9d8b9e4214105dd8a78c911d5d31c1094c0f0511c91ebe883ad249c8a536b
@@ -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.4'
7
+ spec.version = '2.28.8'
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
 
@@ -9,7 +9,7 @@ if allow_local && File.exist?('../openstudio-common-measures-gem')
9
9
  elsif allow_local
10
10
  gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
11
11
  else
12
- gem 'openstudio-common-measures', '~> 0.4.0'
12
+ gem 'openstudio-common-measures', '~> 0.5.0'
13
13
  end
14
14
 
15
15
  if allow_local && File.exist?('../openstudio-model-articulation-gem')
@@ -17,7 +17,7 @@ if allow_local && File.exist?('../openstudio-model-articulation-gem')
17
17
  elsif allow_local
18
18
  gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
19
19
  else
20
- gem 'openstudio-model-articulation', '0.4.0'
20
+ gem 'openstudio-model-articulation', '0.5.0'
21
21
  end
22
22
 
23
23
  if allow_local && File.exist?('../urbanopt-geojson-gem')
@@ -25,7 +25,7 @@ if allow_local && File.exist?('../urbanopt-geojson-gem')
25
25
  elsif allow_local
26
26
  gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
27
27
  else
28
- gem 'urbanopt-geojson', '~> 0.6.1'
28
+ gem 'urbanopt-geojson', '~> 0.7.0'
29
29
  end
30
30
 
31
31
  if allow_local && File.exist?('../urbanopt-reporting-gem')
@@ -33,8 +33,8 @@ if allow_local && File.exist?('../urbanopt-reporting-gem')
33
33
  elsif allow_local
34
34
  gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
35
35
  else
36
- gem 'urbanopt-reporting', '~> 0.4.0'
36
+ gem 'urbanopt-reporting', '~> 0.5.0'
37
37
  end
38
38
 
39
39
  # include the honeybee-openstudio-gem
40
- gem 'honeybee-openstudio', '2.27.0'
40
+ gem 'honeybee-openstudio', '2.28.4'
@@ -135,7 +135,7 @@ module Honeybee
135
135
  hash[:construction_sets] = constructionsets_from_model(openstudio_model)
136
136
  hash[:schedule_type_limits] = schedtypelimits_from_model(openstudio_model)
137
137
  hash[:schedules] = scheduleruleset_from_model(openstudio_model)
138
- hash[:schedules] = schedulefixedinterval_from_model(openstudio_model)
138
+ hash[:schedules].push(*schedulefixedinterval_from_model(openstudio_model))
139
139
 
140
140
  hash
141
141
  end
@@ -226,8 +226,14 @@ module Honeybee
226
226
  else
227
227
  flow_sch_id = 'Always On'
228
228
  end
229
- adj_zone_id = face[:boundary_condition][:boundary_condition_objects][-1]
230
- $air_mxing_array << [os_thermal_zone, flow_rate, flow_sch_id, adj_zone_id]
229
+ begin
230
+ adj_zone_id = face[:boundary_condition][:boundary_condition_objects][-1]
231
+ rescue Exception
232
+ msg = 'ERROR: Air Boundary Faces must be adjacent to a neighboring Room and have a Surface boundary condition.'
233
+ puts msg
234
+ else
235
+ $air_mxing_array << [os_thermal_zone, flow_rate, flow_sch_id, adj_zone_id]
236
+ end
231
237
  end
232
238
  end
233
239
 
@@ -137,6 +137,7 @@ module Honeybee
137
137
  os_sizing_par.setCoolingSizingFactor(siz_defaults[:cooling_factor][:default])
138
138
 
139
139
  # override any SizingParameter defaults with lodaded JSON
140
+ db_temps = []
140
141
  if @hash[:sizing_parameter]
141
142
  if @hash[:sizing_parameter][:heating_factor]
142
143
  os_sizing_par.setHeatingSizingFactor(@hash[:sizing_parameter][:heating_factor])
@@ -145,7 +146,6 @@ module Honeybee
145
146
  os_sizing_par.setCoolingSizingFactor(@hash[:sizing_parameter][:cooling_factor])
146
147
  end
147
148
  # set any design days
148
- db_temps = []
149
149
  if @hash[:sizing_parameter][:design_days]
150
150
  @hash[:sizing_parameter][:design_days].each do |des_day|
151
151
  des_day_object = DesignDay.new(des_day)
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
4
+ version: 2.28.8
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-31 00:00:00.000000000 Z
14
+ date: 2022-01-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler