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 +4 -4
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/to_openstudio/load/service_hot_water.rb +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b69248c9b67508ffd7d9c499d98a0165b2257bb463c1966aa91581ba811e02c
|
4
|
+
data.tar.gz: cabde69403755a50ac598c0cae2c7e5978fef001add4b606a7e4b66d09a6ce4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf9e067fb6e40fe5ec1ec04d062759116ee6cfd927c22ad2b0f8f38a11b731421ffb23e54d3773d2cf9b4612cb897075e1946e1469caab49452e7f4fe5082a3d
|
7
|
+
data.tar.gz: 34c1b468a61d6411cf414ba30d5299f312b09c1503a59fd01df89e47848d1e5f0bc5fedf86ca1959e1c11c10a60f69666b4cc8ab5130a5756fb7a3d45841e33b
|
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.38.
|
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
|