honeybee-openstudio 2.16.6 → 2.17.0
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/Gemfile +1 -1
- data/honeybee-openstudio.gemspec +5 -5
- data/lib/to_openstudio/construction/air.rb +0 -2
- data/lib/to_openstudio/schedule/fixed_interval.rb +1 -1
- metadata +95 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7763ae7887c7a6892971eb20201e8647ef17c9b22b80c49d7b1435c2aac0ff6b
|
4
|
+
data.tar.gz: 576732a27fe86e31e8a8b6d843bcf0b2f491004220c2197ab98e3537cbebffe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59d9b699742b416d5c7ed92662d78ba5cd0e8890d771eeac24bb9653fca20405321b99402f1b0f91263a2f04ec3a4acb63f3b4e0bc29ae2bbcb772479f8cf005
|
7
|
+
data.tar.gz: 7a0adabbda9462db16787842ca097b49235b08ed9dfaf3b1ec778242ab21cc6781cc10e7d8278c3e2c078ec64a66eb2cb34ce2ec47927a5b688072e7230d1ec8
|
data/.github/workflows/ci.yaml
CHANGED
@@ -15,8 +15,8 @@ jobs:
|
|
15
15
|
run: |
|
16
16
|
echo $(pwd)
|
17
17
|
echo $(ls)
|
18
|
-
docker pull nrel/openstudio:3.
|
19
|
-
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.
|
18
|
+
docker pull nrel/openstudio:3.2.0
|
19
|
+
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.2.0
|
20
20
|
docker exec -t test pwd
|
21
21
|
docker exec -t test ls
|
22
22
|
docker exec -t test bundle update
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gemspec
|
|
7
7
|
if File.exist?('../OpenStudio-extension-gem') # local development copy
|
8
8
|
gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
|
9
9
|
else # get it from rubygems.org
|
10
|
-
gem 'openstudio-extension', '0.
|
10
|
+
gem 'openstudio-extension', '0.4.2'
|
11
11
|
end
|
12
12
|
|
13
13
|
# coveralls gem is used to generate coverage reports through CI
|
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.
|
7
|
+
spec.version = '2.17.0'
|
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
|
|
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
if /^2.
|
25
|
-
spec.required_ruby_version = "~> 2.
|
24
|
+
if /^2.7/.match(RUBY_VERSION)
|
25
|
+
spec.required_ruby_version = "~> 2.7.0"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.1"
|
28
28
|
spec.add_development_dependency "public_suffix", "~> 3.1.1"
|
@@ -33,6 +33,6 @@ Gem::Specification.new do |spec|
|
|
33
33
|
end
|
34
34
|
|
35
35
|
spec.add_dependency 'json_pure'
|
36
|
-
spec.add_dependency 'openstudio-extension', '0.
|
37
|
-
spec.add_dependency 'openstudio-standards', '~> 0.2.
|
36
|
+
spec.add_dependency 'openstudio-extension', '0.4.2'
|
37
|
+
spec.add_dependency 'openstudio-standards', '~> 0.2.13'
|
38
38
|
end
|
@@ -45,8 +45,6 @@ module Honeybee
|
|
45
45
|
def to_openstudio(openstudio_model)
|
46
46
|
os_construction = OpenStudio::Model::ConstructionAirBoundary.new(openstudio_model)
|
47
47
|
os_construction.setName(@hash[:identifier])
|
48
|
-
os_construction.setSolarAndDaylightingMethod('GroupedZones')
|
49
|
-
os_construction.setRadiantExchangeMethod('GroupedZones')
|
50
48
|
os_construction.setAirExchangeMethod('None')
|
51
49
|
|
52
50
|
os_construction
|
@@ -203,7 +203,7 @@ module Honeybee
|
|
203
203
|
os_schedule_file = OpenStudio::Model::ScheduleFile.new(os_external_file, column, rowsToSkip)
|
204
204
|
os_schedule_file.setName(@hash[:identifier])
|
205
205
|
os_schedule_file.setInterpolatetoTimestep(interpolate)
|
206
|
-
os_schedule_file.setMinutesperItem(interval_length
|
206
|
+
os_schedule_file.setMinutesperItem(interval_length)
|
207
207
|
|
208
208
|
# assign the schedule type limit
|
209
209
|
if @hash[:schedule_type_limit]
|
metadata
CHANGED
@@ -1,18 +1,102 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybee-openstudio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanushree Charan
|
8
8
|
- Dan Macumber
|
9
9
|
- Chris Mackey
|
10
10
|
- Mostapha Sadeghipour Roudsari
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-05-
|
14
|
+
date: 2021-05-17 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: 0.54.0
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 0.54.0
|
16
100
|
- !ruby/object:Gem::Dependency
|
17
101
|
name: json_pure
|
18
102
|
requirement: !ruby/object:Gem::Requirement
|
@@ -33,28 +117,28 @@ dependencies:
|
|
33
117
|
requirements:
|
34
118
|
- - '='
|
35
119
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.
|
120
|
+
version: 0.4.2
|
37
121
|
type: :runtime
|
38
122
|
prerelease: false
|
39
123
|
version_requirements: !ruby/object:Gem::Requirement
|
40
124
|
requirements:
|
41
125
|
- - '='
|
42
126
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.
|
127
|
+
version: 0.4.2
|
44
128
|
- !ruby/object:Gem::Dependency
|
45
129
|
name: openstudio-standards
|
46
130
|
requirement: !ruby/object:Gem::Requirement
|
47
131
|
requirements:
|
48
132
|
- - "~>"
|
49
133
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.2.
|
134
|
+
version: 0.2.13
|
51
135
|
type: :runtime
|
52
136
|
prerelease: false
|
53
137
|
version_requirements: !ruby/object:Gem::Requirement
|
54
138
|
requirements:
|
55
139
|
- - "~>"
|
56
140
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.2.
|
141
|
+
version: 0.2.13
|
58
142
|
description: Library and measures for translating between Honeybee JSON schema and
|
59
143
|
OpenStudio Model schema (OSM).
|
60
144
|
email:
|
@@ -230,15 +314,15 @@ files:
|
|
230
314
|
homepage: https://github.com/ladybug-tools/honeybee-openstudio-gem
|
231
315
|
licenses: []
|
232
316
|
metadata: {}
|
233
|
-
post_install_message:
|
317
|
+
post_install_message:
|
234
318
|
rdoc_options: []
|
235
319
|
require_paths:
|
236
320
|
- lib
|
237
321
|
required_ruby_version: !ruby/object:Gem::Requirement
|
238
322
|
requirements:
|
239
|
-
- - "
|
323
|
+
- - "~>"
|
240
324
|
- !ruby/object:Gem::Version
|
241
|
-
version:
|
325
|
+
version: 2.7.0
|
242
326
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
327
|
requirements:
|
244
328
|
- - ">="
|
@@ -246,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
330
|
version: '0'
|
247
331
|
requirements: []
|
248
332
|
rubygems_version: 3.1.2
|
249
|
-
signing_key:
|
333
|
+
signing_key:
|
250
334
|
specification_version: 4
|
251
335
|
summary: Gem for translating between Honeybee JSON and OpenStudio Model.
|
252
336
|
test_files: []
|