honeybee-openstudio 2.38.9 → 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/.github/workflows/ci.yaml +2 -2
- data/.releaserc.json +7 -1
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/to_openstudio/load/service_hot_water.rb +5 -3
- data/lib/to_openstudio/ventcool/fan.rb +1 -1
- metadata +2 -2
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/.github/workflows/ci.yaml
CHANGED
@@ -31,9 +31,9 @@ jobs:
|
|
31
31
|
steps:
|
32
32
|
- uses: actions/checkout@v3
|
33
33
|
- name: set up node # we need node for for semantic release
|
34
|
-
uses: actions/setup-node@
|
34
|
+
uses: actions/setup-node@v4
|
35
35
|
with:
|
36
|
-
node-version:
|
36
|
+
node-version: 22.2.0
|
37
37
|
- name: install semantic-release
|
38
38
|
run:
|
39
39
|
npm install @semantic-release/exec
|
data/.releaserc.json
CHANGED
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
|
@@ -105,7 +105,7 @@ module Honeybee
|
|
105
105
|
vent_sch = openstudio_model.getScheduleByName(vent_control_hash[:schedule])
|
106
106
|
unless vent_sch.empty?
|
107
107
|
vent_sch_object = vent_sch.get
|
108
|
-
os_zone_vent.
|
108
|
+
os_zone_vent.setSchedule(vent_sch_object)
|
109
109
|
end
|
110
110
|
end
|
111
111
|
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.
|
4
|
+
version: 2.38.11
|
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: 2024-
|
14
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json_pure
|