honeybee-openstudio 2.38.10 → 2.38.11

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: 6227c1a6ed5833d8ae6c79e2f3f731fe9acfc3e261ba4b7210dec5bbb62dddb5
4
- data.tar.gz: 47d6531e7a1ac914bd493b4abb3156a973a91b11ca0c000fd342e08475a053ad
3
+ metadata.gz: 0b69248c9b67508ffd7d9c499d98a0165b2257bb463c1966aa91581ba811e02c
4
+ data.tar.gz: cabde69403755a50ac598c0cae2c7e5978fef001add4b606a7e4b66d09a6ce4f
5
5
  SHA512:
6
- metadata.gz: 49700087c9f33145ae5e7b76da4941616d541a8093709554811022509b4be67b415f6f70238fdb63e04047d79051de3a37e3bd6427b413281cbd49a1ac1062d7
7
- data.tar.gz: c4a05e60d0ebb58688afb70f418c6d34fedfdf5ff2c0371a977c952256c9f372f5868de98bdce51c14a12a618bf1e7922941bae9e1f87cb16a6de095f32b48ec
6
+ metadata.gz: bf9e067fb6e40fe5ec1ec04d062759116ee6cfd927c22ad2b0f8f38a11b731421ffb23e54d3773d2cf9b4612cb897075e1946e1469caab49452e7f4fe5082a3d
7
+ data.tar.gz: 34c1b468a61d6411cf414ba30d5299f312b09c1503a59fd01df89e47848d1e5f0bc5fedf86ca1959e1c11c10a60f69666b4cc8ab5130a5756fb7a3d45841e33b
@@ -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.38.10'
7
+ spec.version = '2.38.11'
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
 
@@ -233,6 +233,11 @@ module Honeybee
233
233
  end
234
234
 
235
235
  def to_openstudio(openstudio_model, os_space, shw_name)
236
+ # if there's no name, assume that we're using the default district water heater
237
+ if shw_name.nil?
238
+ shw_name = 'default_district_shw'
239
+ end
240
+
236
241
  # create water use equipment + connection and set identifier
237
242
  os_shw_def = OpenStudio::Model::WaterUseEquipmentDefinition.new(openstudio_model)
238
243
  os_shw = OpenStudio::Model::WaterUseEquipment.new(os_shw_def)
@@ -273,9 +278,6 @@ module Honeybee
273
278
  @@max_target_temp = target_temp
274
279
  @@max_temp_schedule = target_water_sch
275
280
  end
276
- if shw_name.nil?
277
- shw_name = 'default_district_shw'
278
- end
279
281
  if @@shw_connections[shw_name].nil?
280
282
  @@shw_connections[shw_name] = []
281
283
  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.38.10
4
+ version: 2.38.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan