openstudio-ee 0.4.0 → 0.5.0

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: 98a46013b19d63a5bc5c5c89ac878f77b4853d9a2043344f0602c9c4336cb9ac
4
- data.tar.gz: 48ea9e2b2481387b883f06e603b006bb00887e35b62296b1e05def12625dc0d8
3
+ metadata.gz: 7407ae2231a6e5d56bb226b723c34cfb3beb61ea89d84d56635292b0469daa3a
4
+ data.tar.gz: e0a2bd6e59dace1b8743e42255f7514e3d5550018e65da7a58df2e5b3173b61d
5
5
  SHA512:
6
- metadata.gz: b259722759d3cdbcf8487b316b402b90717daba134f7175b87139f2011cb5a29c15b96e8566424e9e20acd32ce59e39bad7b5ad7d88e74ccc5f65a5a788df6bc
7
- data.tar.gz: 9e029c60a9d21d69b6eb371d20aee56425c9526dba33a173e947d0eb013e7803da97fa36f2a75199a2d25bb9a0fecf1e844d63e27209ca25e952ea41c8c89ef6
6
+ metadata.gz: 746aed6a93bdf1fb399b02bcac08dd45dcb0ddfeb70bdbac2671baeda91b059cfa7cc3d1d34da055d88db6e5b932e4a16cb705ab2a4b3beb6003ea9fc1168058
7
+ data.tar.gz: da4b21824b3f45e5a364155052c12e2d55ee38ea5f256a9822d6afb31771c570186f6c926060e87695413bb31c0295fcd8c9e12d43840eedda16aa9c0bdac1b1
data/.rubocop.yml CHANGED
@@ -1,5 +1,7 @@
1
1
  AllCops:
2
2
  Exclude:
3
3
  - 'spec/test_measures/**/*'
4
+
5
+ require: rubocop-performance
4
6
  inherit_from:
5
- - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml
7
+ - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v4.yml
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # OpenStudio EE Gem
2
2
 
3
+ ## Version 0.5.0
4
+ * Support for OpenStudio 3.3 (upgrade to extension gem 0.5.1 and standards gem 0.2.15)
5
+ * Fixed [#9]( https://github.com/NREL/openstudio-ee-gem/issues/9 ), nze_hvac is failing in 3.1
6
+ * Fixed [#32]( https://github.com/NREL/openstudio-ee-gem/pull/32 ), adding compatibility matrix and contribution policy
7
+
3
8
  ## Version 0.4.0
4
9
 
5
10
  * Support Ruby ~> 2.7
data/Jenkinsfile CHANGED
@@ -1,10 +1,11 @@
1
- //Jenkins pipelines are stored in shared libaries. Please see: https://github.com/tijcolem/nrel_cbci_jenkins_libs
2
-
1
+ //Jenkins pipelines are stored in shared libraries. Please see: https://github.com/NREL/cbci_jenkins_libs
2
+
3
3
  @Library('cbci_shared_libs') _
4
4
 
5
- // Build for PR to develop branch only.
5
+ // Build for PR to develop branch only.
6
6
  if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
7
7
 
8
8
  openstudio_extension_gems()
9
+
10
+ }
9
11
 
10
- }
data/README.md CHANGED
@@ -19,13 +19,20 @@ Or install it yourself as:
19
19
 
20
20
  $ gem install 'openstudio-ee-measures'
21
21
 
22
- ## Usage
22
+ # Compatibility Matrix
23
23
 
24
- To be filled out later.
24
+ |OpenStudio EE Gem|OpenStudio|Ruby|
25
+ |:--------------:|:----------:|:--------:|
26
+ | 0.5.0 | 3.3 | 2.7 |
27
+ | 0.4.0 | 3.2 | 2.7 |
28
+ | 0.3.0 - 0.3.2 | 3.1 | 2.5 |
29
+ | 0.2.0 - 0.2.1 | 3.0 | 2.5 |
30
+ | 0.1.0 | 2.9 | 2.2.4 |
25
31
 
26
- ## TODO
32
+ # Contributing
33
+
34
+ Please review the [OpenStudio Contribution Policy](https://openstudio.net/openstudio-contribution-policy) if you would like to contribute code to this gem.
27
35
 
28
- - [x] Remove measures from OpenStudio-Measures to standardize on this location
29
36
 
30
37
  # Releasing
31
38
 
@@ -369,7 +369,7 @@ class NzeHvac < OpenStudio::Measure::ModelMeasure
369
369
  # remove existing hvac system from model
370
370
  if remove_existing_hvac
371
371
  runner.registerInfo('Removing existing HVAC systems from the model')
372
- std.remove_HVAC(model)
372
+ std.remove_hvac(model)
373
373
  end
374
374
 
375
375
  # exclude plenum zones, zones without thermostats, and zones with no floor area
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>nze_hvac</name>
5
5
  <uid>f060dff2-b28d-4194-a6af-e66d88ddb33c</uid>
6
- <version_id>7697ad4e-7392-40cd-aa0d-ba4163efd1c3</version_id>
7
- <version_modified>20210423T162015Z</version_modified>
6
+ <version_id>d3dd0dce-6bc5-4626-9665-ff612d3a1e26</version_id>
7
+ <version_modified>20211104T165713Z</version_modified>
8
8
  <xml_checksum>0E5E4776</xml_checksum>
9
9
  <class_name>NzeHvac</class_name>
10
10
  <display_name>NZEHVAC</display_name>
@@ -319,12 +319,12 @@
319
319
  <version>
320
320
  <software_program>OpenStudio</software_program>
321
321
  <identifier>2.9.0</identifier>
322
- <min_compatible>2.9.0</min_compatible>
322
+ <min_compatible>3.3.0</min_compatible>
323
323
  </version>
324
324
  <filename>measure.rb</filename>
325
325
  <filetype>rb</filetype>
326
326
  <usage_type>script</usage_type>
327
- <checksum>59C3DBB0</checksum>
327
+ <checksum>EE9C669A</checksum>
328
328
  </file>
329
329
  </files>
330
330
  </measure>
@@ -37,6 +37,6 @@
37
37
 
38
38
  module OpenStudio
39
39
  module EeMeasures
40
- VERSION = '0.4.0'
40
+ VERSION = '0.5.0'
41
41
  end
42
42
  end
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
28
28
  spec.required_ruby_version = '~> 2.7.0'
29
29
 
30
30
  spec.add_dependency 'bundler', '~> 2.1'
31
- spec.add_dependency 'openstudio-extension', '~> 0.4.2'
32
- spec.add_dependency 'openstudio-standards', '~> 0.2.13'
31
+ spec.add_dependency 'openstudio-extension', '~> 0.5.1'
32
+ spec.add_dependency 'openstudio-standards', '~> 0.2.15'
33
33
 
34
34
  spec.add_development_dependency 'rake', '~> 13.0'
35
35
  spec.add_development_dependency 'rspec', '~> 3.9'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-ee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Goldwasser
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-04-23 00:00:00.000000000 Z
12
+ date: 2021-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -31,28 +31,28 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.4.2
34
+ version: 0.5.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.4.2
41
+ version: 0.5.1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: openstudio-standards
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 0.2.13
48
+ version: 0.2.15
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 0.2.13
55
+ version: 0.2.15
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -249,7 +249,7 @@ licenses: []
249
249
  metadata:
250
250
  bug_tracker_uri: https://github.com/NREL/openstudio-ee-gem/issues
251
251
  changelog_uri: https://github.com/NREL/openstudio-ee-gem/blob/develop/CHANGELOG.md
252
- source_code_uri: https://github.com/NREL/openstudio-ee-gem/tree/v0.4.0
252
+ source_code_uri: https://github.com/NREL/openstudio-ee-gem/tree/v0.5.0
253
253
  post_install_message:
254
254
  rdoc_options: []
255
255
  require_paths: