honeybee-openstudio 2.33.4 → 2.33.6

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: 450b27915cd3a6c85132220d29aa7a3289f7adcfd22d1917bb7ef77ca2813484
4
- data.tar.gz: 6c78e0191422c5931c9ae976c2151c9f8f7c15b2b67f761ddc6fca30822b03c6
3
+ metadata.gz: fb5fa50e1c896889d81a5addfacf5db33e384f9a9c40f32f09c5964e9da2de76
4
+ data.tar.gz: a6d221fad4de2c03ad3de093b8e430511744e1b5111e372ecf4ffea75d8b6851
5
5
  SHA512:
6
- metadata.gz: 27a76b0edd1eb349023133b5d9a59c3ab36ea223ac959c2e93bc7d34c1ebb32010a4bf6aa040787530e2606b2875697e93ddd86e23e6368c509864f3a14686a2
7
- data.tar.gz: ad155d83f8ffa75cd56a56c49b386b0f61efbeaeca1f0a445e9a8280547fac0a4dd873df556b968a6ab7fa62172ebe78d721e6f5d0f0fe334d3be878a07ed1f5
6
+ metadata.gz: 04a7362bdc83c91137e6cf6c7bd7f9a8c4d887f39b5b1f7a54d46e86e98fe4c52a1c3690d432fac3f3135c53a85de257885b567156febb88efc9a888669a87a8
7
+ data.tar.gz: 98e3efbfda5be87a15b3a8cd8f062e38cebc60e872d71439981fc5307df4b72bcd9adaa408d2c83357979f4301ff845930d185a51deb42c9edad831387660582
@@ -29,16 +29,16 @@ jobs:
29
29
  needs: test
30
30
  if: github.ref == 'refs/heads/master' && github.repository_owner == 'ladybug-tools'
31
31
  steps:
32
- - uses: actions/checkout@v2
32
+ - uses: actions/checkout@v3
33
33
  - name: set up node # we need node for for semantic release
34
- uses: actions/setup-node@v2.1.2
34
+ uses: actions/setup-node@v3.6.0
35
35
  with:
36
36
  node-version: 14.17.0
37
37
  - name: install semantic-release
38
38
  run:
39
39
  npm install @semantic-release/exec
40
40
  - name: run semantic release
41
- uses: cycjimmy/semantic-release-action@v2
41
+ uses: cycjimmy/semantic-release-action@v3
42
42
  id: semantic # Need an `id` for output variables
43
43
  env:
44
44
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -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.33.4'
7
+ spec.version = '2.33.6'
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.6.1'
12
+ gem 'openstudio-common-measures', '~> 0.7.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.6.1'
20
+ gem 'openstudio-model-articulation', '0.7.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.8.1'
28
+ gem 'urbanopt-geojson', '~> 0.9.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.6.1'
36
+ gem 'urbanopt-reporting', '~> 0.7.0'
37
37
  end
38
38
 
39
39
  # include the honeybee-openstudio-gem
40
- gem 'honeybee-openstudio', '2.31.7'
40
+ gem 'honeybee-openstudio', '2.33.4'
@@ -53,11 +53,29 @@ module Honeybee
53
53
  hash[:latent_heat_recovery] = hvac.latentHeatRecoveryEffectiveness
54
54
  hash[:heating_air_temperature] = hvac.maximumHeatingSupplyAirTemperature
55
55
  hash[:cooling_air_temperature] = hvac.minimumCoolingSupplyAirTemperature
56
- if hvac.heatingLimit == 'NoLimit'
57
- hash[:heating_limit] = hvac.heatingLimit
56
+ unless hvac.isHeatingLimitDefaulted
57
+ if hvac.heatingLimit == 'NoLimit'
58
+ hash[:heating_limit] = {type: 'NoLimit'}
59
+ elsif hvac.heatingLimit == 'LimitCapacity'
60
+ if hvac.isMaximumSensibleHeatingCapacityAutosized
61
+ hash[:heating_limit] = {type: 'Autosize'}
62
+ end
63
+ unless hvac.maximumSensibleHeatingCapacity.empty?
64
+ hash[:heating_limit] = hvac.maximumSensibleHeatingCapacity
65
+ end
66
+ end
58
67
  end
59
- if hvac.coolingLimit == 'NoLimit'
60
- hash[:cooling_limit] = hvac.coolingLimit
68
+ unless hvac.isCoolingLimitDefaulted
69
+ if hvac.coolingLimit == 'NoLimit'
70
+ hash[:cooling_limit] = {type: 'NoLimit'}
71
+ elsif hvac.coolingLimit == 'LimitCapacity'
72
+ if hvac.isMaximumTotalCoolingCapacityAutosized
73
+ hash[:cooling_limit] = {type: 'Autosize'}
74
+ end
75
+ unless hvac.maximumTotalCoolingCapacity.empty?
76
+ hash[:cooling_limit] = hvac.maximumTotalCoolingCapacity
77
+ end
78
+ end
61
79
  end
62
80
  unless hvac.heatingAvailabilitySchedule.empty?
63
81
  schedule = hvac.heatingAvailabilitySchedule.get
@@ -65,7 +83,7 @@ module Honeybee
65
83
  end
66
84
  unless hvac.coolingAvailabilitySchedule.empty?
67
85
  schedule = hvac.coolingAvailabilitySchedule.get
68
- hash[:coolingAvailabilitySchedule]
86
+ hash[:cooling_availability] = schedule.nameString
69
87
  end
70
88
 
71
89
  hash
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.33.4
4
+ version: 2.33.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,92 +11,8 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2022-11-27 00:00:00.000000000 Z
14
+ date: 2023-01-18 00:00:00.000000000 Z
15
15
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: bundler
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '2.1'
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '2.1'
30
- - !ruby/object:Gem::Dependency
31
- name: public_suffix
32
- requirement: !ruby/object:Gem::Requirement
33
- requirements:
34
- - - "~>"
35
- - !ruby/object:Gem::Version
36
- version: 3.1.1
37
- type: :development
38
- prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: 3.1.1
44
- - !ruby/object:Gem::Dependency
45
- name: json-schema
46
- requirement: !ruby/object:Gem::Requirement
47
- requirements:
48
- - - "~>"
49
- - !ruby/object:Gem::Version
50
- version: 2.8.1
51
- type: :development
52
- prerelease: false
53
- version_requirements: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - "~>"
56
- - !ruby/object:Gem::Version
57
- version: 2.8.1
58
- - !ruby/object:Gem::Dependency
59
- name: rake
60
- requirement: !ruby/object:Gem::Requirement
61
- requirements:
62
- - - "~>"
63
- - !ruby/object:Gem::Version
64
- version: '13.0'
65
- type: :development
66
- prerelease: false
67
- version_requirements: !ruby/object:Gem::Requirement
68
- requirements:
69
- - - "~>"
70
- - !ruby/object:Gem::Version
71
- version: '13.0'
72
- - !ruby/object:Gem::Dependency
73
- name: rspec
74
- requirement: !ruby/object:Gem::Requirement
75
- requirements:
76
- - - "~>"
77
- - !ruby/object:Gem::Version
78
- version: '3.9'
79
- type: :development
80
- prerelease: false
81
- version_requirements: !ruby/object:Gem::Requirement
82
- requirements:
83
- - - "~>"
84
- - !ruby/object:Gem::Version
85
- version: '3.9'
86
- - !ruby/object:Gem::Dependency
87
- name: rubocop
88
- requirement: !ruby/object:Gem::Requirement
89
- requirements:
90
- - - "~>"
91
- - !ruby/object:Gem::Version
92
- version: 1.15.0
93
- type: :development
94
- prerelease: false
95
- version_requirements: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: 1.15.0
100
16
  - !ruby/object:Gem::Dependency
101
17
  name: json_pure
102
18
  requirement: !ruby/object:Gem::Requirement
@@ -350,16 +266,16 @@ require_paths:
350
266
  - lib
351
267
  required_ruby_version: !ruby/object:Gem::Requirement
352
268
  requirements:
353
- - - "~>"
269
+ - - ">="
354
270
  - !ruby/object:Gem::Version
355
- version: 2.7.0
271
+ version: '0'
356
272
  required_rubygems_version: !ruby/object:Gem::Requirement
357
273
  requirements:
358
274
  - - ">="
359
275
  - !ruby/object:Gem::Version
360
276
  version: '0'
361
277
  requirements: []
362
- rubygems_version: 3.1.2
278
+ rubygems_version: 3.3.5
363
279
  signing_key:
364
280
  specification_version: 4
365
281
  summary: Gem for translating between Honeybee JSON and OpenStudio Model.