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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2f2bfb60c9779aff40ac4d86c6d2d3416fd1c34722b5378874b6b85cceaf8cd
4
- data.tar.gz: e1638526a3701c0035efdb8695fdbb026364ecc85c42a38e262de43e9beb729f
3
+ metadata.gz: 0b69248c9b67508ffd7d9c499d98a0165b2257bb463c1966aa91581ba811e02c
4
+ data.tar.gz: cabde69403755a50ac598c0cae2c7e5978fef001add4b606a7e4b66d09a6ce4f
5
5
  SHA512:
6
- metadata.gz: 619bfa717c81e91aea5f481a6f86f538fb7c1cb4a508b4e8fa1695826096bde37e892de9fae98b3df71036c295b1ba2aed9f5f008a154e8ecfee2b6643e8b9e8
7
- data.tar.gz: 22b5002543933e86a89192ae2fb6e0780306ca94308fd808651c93135f0f9f67145894e04f6188ac330d4345fb13ea49c8709dff26869af4eb6ea08548d77267
6
+ metadata.gz: bf9e067fb6e40fe5ec1ec04d062759116ee6cfd927c22ad2b0f8f38a11b731421ffb23e54d3773d2cf9b4612cb897075e1946e1469caab49452e7f4fe5082a3d
7
+ data.tar.gz: 34c1b468a61d6411cf414ba30d5299f312b09c1503a59fd01df89e47848d1e5f0bc5fedf86ca1959e1c11c10a60f69666b4cc8ab5130a5756fb7a3d45841e33b
@@ -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@v3.6.0
34
+ uses: actions/setup-node@v4
35
35
  with:
36
- node-version: 14.17.0
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
@@ -2,6 +2,12 @@
2
2
  "plugins": [
3
3
  "@semantic-release/commit-analyzer",
4
4
  "@semantic-release/release-notes-generator",
5
- "@semantic-release/github"
5
+ [
6
+ "@semantic-release/github",
7
+ {
8
+ "successComment": false,
9
+ "failTitle": false
10
+ }
11
+ ]
6
12
  ]
7
13
  }
@@ -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.9'
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.setOpeningAreaFractionSchedule(vent_sch_object)
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.9
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-05-24 00:00:00.000000000 Z
14
+ date: 2024-06-03 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure