openstudio-calibration 0.1.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +7 -0
  4. data/CHANGELOG.md +40 -8
  5. data/Gemfile +6 -3
  6. data/Jenkinsfile +7 -2
  7. data/LICENSE.md +1 -1
  8. data/README.md +15 -4
  9. data/Rakefile +6 -6
  10. data/doc_templates/LICENSE.md +1 -1
  11. data/doc_templates/copyright_erb.txt +1 -1
  12. data/doc_templates/copyright_js.txt +1 -1
  13. data/doc_templates/copyright_ruby.txt +1 -1
  14. data/lib/measures/AddMonthlyJSONUtilityData/LICENSE.md +1 -1
  15. data/lib/measures/AddMonthlyJSONUtilityData/measure.rb +1 -1
  16. data/lib/measures/AddMonthlyJSONUtilityData/measure.xml +12 -11
  17. data/lib/measures/AddMonthlyUtilityData/LICENSE.md +1 -1
  18. data/lib/measures/AddMonthlyUtilityData/measure.rb +1 -1
  19. data/lib/measures/AddMonthlyUtilityData/measure.xml +13 -12
  20. data/lib/measures/CalibrationReports/LICENSE.md +1 -1
  21. data/lib/measures/CalibrationReports/README.md +2 -2
  22. data/lib/measures/CalibrationReports/measure.rb +1 -1
  23. data/lib/measures/CalibrationReports/measure.xml +11 -11
  24. data/lib/measures/CalibrationReportsEnhanced/LICENSE.md +1 -1
  25. data/lib/measures/CalibrationReportsEnhanced/measure.rb +2 -2
  26. data/lib/measures/CalibrationReportsEnhanced/measure.xml +18 -17
  27. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/LICENSE.md +1 -1
  28. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb +1 -1
  29. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml +14 -13
  30. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/LICENSE.md +1 -1
  31. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb +1 -1
  32. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml +14 -13
  33. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/LICENSE.md +1 -1
  34. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb +1 -1
  35. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml +14 -13
  36. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/LICENSE.md +1 -1
  37. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb +1 -1
  38. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml +14 -13
  39. data/lib/measures/CoilCoolingWaterMultiplier/LICENSE.md +1 -1
  40. data/lib/measures/CoilCoolingWaterMultiplier/measure.rb +1 -1
  41. data/lib/measures/CoilCoolingWaterMultiplier/measure.xml +14 -13
  42. data/lib/measures/CoilCoolingWaterPercentChange/LICENSE.md +1 -1
  43. data/lib/measures/CoilCoolingWaterPercentChange/measure.rb +1 -1
  44. data/lib/measures/CoilCoolingWaterPercentChange/measure.xml +14 -13
  45. data/lib/measures/CoilHeatingElectricMultiplier/LICENSE.md +1 -1
  46. data/lib/measures/CoilHeatingElectricMultiplier/measure.rb +1 -1
  47. data/lib/measures/CoilHeatingElectricMultiplier/measure.xml +14 -13
  48. data/lib/measures/CoilHeatingElectricPercentChange/LICENSE.md +1 -1
  49. data/lib/measures/CoilHeatingElectricPercentChange/measure.rb +1 -1
  50. data/lib/measures/CoilHeatingElectricPercentChange/measure.xml +14 -13
  51. data/lib/measures/CoilHeatingGasMultiplier/LICENSE.md +1 -1
  52. data/lib/measures/CoilHeatingGasMultiplier/measure.rb +1 -1
  53. data/lib/measures/CoilHeatingGasMultiplier/measure.xml +14 -13
  54. data/lib/measures/CoilHeatingGasPercentChange/LICENSE.md +1 -1
  55. data/lib/measures/CoilHeatingGasPercentChange/measure.rb +1 -1
  56. data/lib/measures/CoilHeatingGasPercentChange/measure.xml +14 -13
  57. data/lib/measures/CoilHeatingWaterMultiplier/LICENSE.md +1 -1
  58. data/lib/measures/CoilHeatingWaterMultiplier/measure.rb +1 -1
  59. data/lib/measures/CoilHeatingWaterMultiplier/measure.xml +14 -13
  60. data/lib/measures/CoilHeatingWaterPercentChange/LICENSE.md +1 -1
  61. data/lib/measures/CoilHeatingWaterPercentChange/measure.rb +1 -1
  62. data/lib/measures/CoilHeatingWaterPercentChange/measure.xml +14 -13
  63. data/lib/measures/ConstructionLayerZeroMaterialProperties/LICENSE.md +1 -1
  64. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb +1 -1
  65. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml +12 -11
  66. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/LICENSE.md +1 -1
  67. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.rb +1 -1
  68. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.xml +12 -11
  69. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/LICENSE.md +1 -1
  70. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb +3 -3
  71. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml +24 -11
  72. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/LICENSE.md +1 -1
  73. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb +3 -3
  74. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml +24 -11
  75. data/lib/measures/FansMultiplier/LICENSE.md +1 -1
  76. data/lib/measures/FansMultiplier/measure.rb +1 -1
  77. data/lib/measures/FansMultiplier/measure.xml +14 -13
  78. data/lib/measures/FansPercentChange/LICENSE.md +1 -1
  79. data/lib/measures/FansPercentChange/measure.rb +1 -1
  80. data/lib/measures/FansPercentChange/measure.xml +14 -13
  81. data/lib/measures/GeneralCalibrationMeasureMultiplier/LICENSE.md +1 -1
  82. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb +1 -1
  83. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml +16 -15
  84. data/lib/measures/GeneralCalibrationMeasurePercentChange/LICENSE.md +1 -1
  85. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb +1 -1
  86. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml +16 -15
  87. data/lib/measures/HardSizeHvac/LICENSE.md +1 -1
  88. data/lib/measures/HardSizeHvac/measure.rb +1 -1
  89. data/lib/measures/HardSizeHvac/measure.xml +13 -12
  90. data/lib/measures/RValueOfInsulationForConstructionMultiplier/LICENSE.md +1 -1
  91. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb +1 -1
  92. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml +12 -11
  93. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/LICENSE.md +1 -1
  94. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb +1 -1
  95. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml +12 -11
  96. data/lib/measures/RoofThermalPropertiesMultiplier/LICENSE.md +1 -1
  97. data/lib/measures/RoofThermalPropertiesMultiplier/measure.rb +3 -3
  98. data/lib/measures/RoofThermalPropertiesMultiplier/measure.xml +24 -11
  99. data/lib/measures/RoofThermalPropertiesPercentChange/LICENSE.md +1 -1
  100. data/lib/measures/RoofThermalPropertiesPercentChange/measure.rb +3 -3
  101. data/lib/measures/RoofThermalPropertiesPercentChange/measure.xml +24 -11
  102. data/lib/measures/TimeseriesObjectiveFunction/LICENSE.md +1 -1
  103. data/lib/measures/TimeseriesObjectiveFunction/README.md +5 -171
  104. data/lib/measures/TimeseriesObjectiveFunction/measure.rb +3 -7
  105. data/lib/measures/TimeseriesObjectiveFunction/measure.xml +84 -9
  106. data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +6 -1
  107. data/lib/measures/TimeseriesPlot/LICENSE.md +1 -1
  108. data/lib/measures/TimeseriesPlot/README.md +5 -35
  109. data/lib/measures/TimeseriesPlot/measure.rb +1 -1
  110. data/lib/measures/TimeseriesPlot/measure.xml +28 -13
  111. data/lib/measures/TimeseriesPlot/resources/report.html.erb +6 -1
  112. data/lib/measures/WaterHeaterMixedMultiplier/LICENSE.md +1 -1
  113. data/lib/measures/WaterHeaterMixedMultiplier/measure.rb +1 -1
  114. data/lib/measures/WaterHeaterMixedMultiplier/measure.xml +14 -13
  115. data/lib/measures/WaterHeaterMixedPercentChange/LICENSE.md +1 -1
  116. data/lib/measures/WaterHeaterMixedPercentChange/measure.rb +1 -1
  117. data/lib/measures/WaterHeaterMixedPercentChange/measure.xml +14 -13
  118. data/lib/measures/{CalibrationReportsEnhanced21 → inspect_and_edit_parametric_schedules}/LICENSE.md +1 -1
  119. data/lib/measures/inspect_and_edit_parametric_schedules/README.md +41 -0
  120. data/lib/measures/{zone_report → inspect_and_edit_parametric_schedules}/README.md.erb +12 -1
  121. data/lib/measures/inspect_and_edit_parametric_schedules/docs/.gitkeep +0 -0
  122. data/lib/measures/inspect_and_edit_parametric_schedules/docs/apply_measures_now.png +0 -0
  123. data/lib/measures/inspect_and_edit_parametric_schedules/measure.rb +224 -0
  124. data/lib/measures/inspect_and_edit_parametric_schedules/measure.xml +125 -0
  125. data/lib/measures/{zone_report → shift_hours_of_operation}/LICENSE.md +1 -1
  126. data/lib/measures/shift_hours_of_operation/README.md +147 -0
  127. data/lib/measures/{MaalkaMonthlyJSONUtilityData → shift_hours_of_operation}/README.md.erb +5 -0
  128. data/lib/measures/shift_hours_of_operation/docs/.gitkeep +0 -0
  129. data/lib/measures/shift_hours_of_operation/measure.rb +525 -0
  130. data/lib/measures/shift_hours_of_operation/measure.xml +280 -0
  131. data/lib/openstudio/{calibration_measures → calibration}/extension.rb +2 -2
  132. data/lib/openstudio/{calibration_measures → calibration}/version.rb +3 -3
  133. data/lib/openstudio/{calibration_measures.rb → calibration.rb} +3 -3
  134. data/lib/{openstudio-calibration-measures.rb → openstudio-calibration.rb} +2 -2
  135. data/openstudio-calibration.gemspec +38 -0
  136. metadata +50 -61
  137. data/lib/measures/AddMonthlyUtilityData/tests/AddMonthlyUtilityData_Test.rb +0 -88
  138. data/lib/measures/AddMonthlyUtilityData/tests/electric_billed_usages.json +0 -198
  139. data/lib/measures/AddMonthlyUtilityData/tests/gas_billed_usages.json +0 -198
  140. data/lib/measures/CalibrationReports/tests/CalibrationReports_Test.rb +0 -523
  141. data/lib/measures/CalibrationReports/tests/ExampleModel.osm +0 -10497
  142. data/lib/measures/CalibrationReports/tests/ExampleModelNoDemandInput.osm +0 -10560
  143. data/lib/measures/CalibrationReports/tests/ExampleModelNoGasInput.osm +0 -10456
  144. data/lib/measures/CalibrationReports/tests/USA_CO_Golden-NREL.724666_TMY3.epw +0 -8768
  145. data/lib/measures/CalibrationReportsEnhanced/tests/CalibrationReportsEnhanced_Test.rb +0 -734
  146. data/lib/measures/CalibrationReportsEnhanced/tests/ExampleModel.osm +0 -10497
  147. data/lib/measures/CalibrationReportsEnhanced/tests/ExampleModel_FuelOil.osm +0 -12740
  148. data/lib/measures/CalibrationReportsEnhanced/tests/USA_CO_Golden-NREL.724666_TMY3.epw +0 -8768
  149. data/lib/measures/CalibrationReportsEnhanced21/README.md +0 -109
  150. data/lib/measures/CalibrationReportsEnhanced21/README.md.erb +0 -42
  151. data/lib/measures/CalibrationReportsEnhanced21/measure.rb +0 -690
  152. data/lib/measures/CalibrationReportsEnhanced21/measure.xml +0 -269
  153. data/lib/measures/CalibrationReportsEnhanced21/resources/report.html.in +0 -380
  154. data/lib/measures/MaalkaMonthlyJSONUtilityData/LICENSE.md +0 -27
  155. data/lib/measures/MaalkaMonthlyJSONUtilityData/README.md +0 -104
  156. data/lib/measures/MaalkaMonthlyJSONUtilityData/measure.rb +0 -304
  157. data/lib/measures/MaalkaMonthlyJSONUtilityData/measure.xml +0 -216
  158. data/lib/measures/zone_report/README.md +0 -26
  159. data/lib/measures/zone_report/measure.rb +0 -706
  160. data/lib/measures/zone_report/measure.xml +0 -67
  161. data/lib/measures/zone_report/resources/report.html.in +0 -342
  162. data/openstudio-calibration-measures.gemspec +0 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c95423361383f17528b0313242f35e72c0c67207
4
- data.tar.gz: 4c38a8d7c9d052ff18167e6bd8cac75b6e07b0d2
2
+ SHA256:
3
+ metadata.gz: eac9bb4d41324eb6e242acc9992c8537d6e04c0e5070f0f05295b629c3042174
4
+ data.tar.gz: 5a35325a01b65f110289464da004c64d50643442171d50d4c3123ba38afe9f45
5
5
  SHA512:
6
- metadata.gz: d1d76351d2e6ae6b14fbe6319f69d4607aa81a0d7f579d2f12fb8563d46776c99eab45affc7ae7a458a8fdf0964cf68865a4afacca95f0c6aafa4bdeaabc99f7
7
- data.tar.gz: 02b461db974b10181895c288e6d2d8985141a56453011f1fd3baa385957a4498d2c347486363914bcb21662904739b27faf3eee804a20b99b77fcd040bb60373
6
+ metadata.gz: 653b1de03b3e0487e3f4bad95b259f4408da04b7d24387cbed05cdcf1755821111ce4939735521de243bf83248c2df429bcb731cade49a99c056999985ca86f2
7
+ data.tar.gz: fbca18aea610444d1fcc04437ea33b12f8ef17849008d0f9b0d555ae434f1f163746d528fb38f7c35638649523c8c31811310d102a74d52f4c3689fcda2754d7
data/.gitignore CHANGED
@@ -27,3 +27,4 @@
27
27
  # ignore files made when run openstudio measure -r locally for testing
28
28
  lib/measures/.rubocop.yml
29
29
  lib/test/*
30
+ test_results/
data/.rubocop.yml ADDED
@@ -0,0 +1,7 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'spec/test_measures/**/*'
4
+
5
+ require: rubocop-performance
6
+ inherit_from:
7
+ - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v4.yml
data/CHANGELOG.md CHANGED
@@ -1,18 +1,50 @@
1
- # OpenStudio Calibration Gem
1
+ # OpenStudio Calibration Measures Gem
2
2
 
3
- ## Version 0.1.3
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 [#35]( https://github.com/NREL/openstudio-calibration-gem/pull/35 ), adding compatibility matrix and contribution policy
6
+ - Fixed [#38]( https://github.com/NREL/openstudio-calibration-gem/pull/38 ), Add hoo var method argment to change hours of operation measure
4
7
 
5
- * Require as openstudio-calibration-measures (not openstudio-calibration)
8
+ ## Version 0.4.0
6
9
 
7
- ## Version 0.1.2
10
+ * Support Ruby ~> 2.7
11
+ * Support for OpenStudio 3.2 (upgrade to extension gem 0.4.2 and standards gem 0.2.13)
12
+ * Fixed [#11]( https://github.com/NREL/openstudio-calibration-gem/issues/11 ), Error in Exterior Wall Thermal Percent Change , getSolarAbsorptance
13
+ * add shift_hours_of_operation measure using parametric schedules from standards gem
14
+ * added inspect_and_edit_parametric_schedules measure to inspect and edit parametric schedule including profile formulas
15
+
16
+ ## Version 0.3.1
8
17
 
9
- * Fix name of gem in gemspec!
18
+ * Bump openstudio-extension-gem version to 0.3.2 to support updated workflow-gem
10
19
 
11
- ## Version 0.1.1
20
+ ## Version 0.3.0
12
21
 
13
- * Fix name of gem
22
+ * There project was misnamed. Moved to be called `openstudio-calibration`.
23
+ * Support for OpenStudio 3.1
24
+ * Update OpenStudio Standards to 0.2.12
25
+ * Update OpenStudio Extension gem to 0.3.1
14
26
 
15
- ## Version 0.1.0
27
+ ## Version 0.2.0
28
+
29
+ * Note that this version was never released to RubyGems
30
+ * Support for OpenStudio 3.0
31
+ * Upgrade Bundler to 2.1.x
32
+ * Restrict to Ruby ~> 2.5.0
33
+ * Removed simplecov forked dependency
34
+ * Upgraded openstudio-extension to 0.2.3
35
+ * Updated measure tester to 0.2.0 (removes need for github gem in downstream projects)
36
+ * Upgraded openstudio-standards to 0.2.11
37
+ * Exclude measure tests from being released with the gem (reduces the size of the installed gem significantly)
38
+
39
+ ## Version 0.1.3
40
+
41
+ * Require as openstudio-calibration-measures (not openstudio-calibration)
42
+
43
+ ## Version 0.1.2
16
44
 
17
45
  * Initial release of the calibration measures gem.
18
46
  * Supports OpenStudio 2.9.x series.
47
+
48
+ ## Version 0.1.1 (yanked)
49
+ ## Version 0.1.0 (yanked)
50
+
data/Gemfile CHANGED
@@ -10,11 +10,14 @@ gemspec
10
10
  # checkout the latest version (develop) from github.
11
11
  allow_local = ENV['FAVOR_LOCAL_GEMS']
12
12
 
13
+ # uncomment when you want CI to use develop branch of extension gem
14
+ # gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
15
+
16
+ # uncomment when you want CI to use develop branch of openstudio-standards gem
17
+ # gem 'openstudio-standards', github: 'NREL/OpenStudio-standards', branch: 'master'
18
+
13
19
  if allow_local && File.exist?('../OpenStudio-extension-gem')
14
20
  gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
15
21
  elsif allow_local
16
22
  gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
17
23
  end
18
-
19
- # simplecov has an unneccesary dependency on native json gem, use fork that does not require this
20
- gem 'simplecov', github: 'NREL/simplecov'
data/Jenkinsfile CHANGED
@@ -1,6 +1,11 @@
1
1
  //Jenkins pipelines are stored in shared libraries. Please see: https://github.com/NREL/cbci_jenkins_libs
2
+
3
+ @Library('cbci_shared_libs') _
2
4
 
5
+ // Build for PR to develop branch only.
6
+ if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
3
7
 
4
- @Library('cbci_shared_libs@develop') _
8
+ openstudio_extension_gems()
9
+
10
+ }
5
11
 
6
- openstudio_measures()
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
data/README.md CHANGED
@@ -9,7 +9,7 @@ Add this line to your application's Gemfile:
9
9
  ```ruby
10
10
  gem 'openstudio-calibration'
11
11
 
12
- require 'openstudio-calibration-measures'
12
+ require 'openstudio-calibration'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,11 +18,22 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- $ gem install 'openstudio-calibration-measures'
21
+ $ gem install 'openstudio-calibration'
22
22
 
23
- ## Usage
23
+ # Compatibility Matrix
24
+
25
+ |OpenStudio Calibration Gem|OpenStudio|Ruby|
26
+ |:--------------:|:----------:|:--------:|
27
+ | 0.5.0 | 3.3 | 2.7 |
28
+ | 0.4.0 - 0.4.2 | 3.2 | 2.7 |
29
+ | 0.3.0 - 0.3.1 | 3.1 | 2.5 |
30
+ | 0.2.0 | 3.0 | 2.5 |
31
+ | 0.1.4 and below | 2.9 and below | 2.2.4 |
32
+
33
+ # Contributing
34
+
35
+ Please review the [OpenStudio Contribution Policy](https://openstudio.net/openstudio-contribution-policy) if you would like to contribute code to this gem.
24
36
 
25
- To be filled out later.
26
37
 
27
38
  # Releasing
28
39
 
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -38,13 +38,13 @@ require 'rspec/core/rake_task'
38
38
 
39
39
  RSpec::Core::RakeTask.new(:spec)
40
40
 
41
- require 'rubocop/rake_task'
42
- RuboCop::RakeTask.new
43
-
44
41
  # Load in the rake tasks from the base extension gem
45
42
  require 'openstudio/extension/rake_task'
46
- require 'openstudio/calibration_measures'
43
+ require 'openstudio/calibration'
47
44
  rake_task = OpenStudio::Extension::RakeTask.new
48
- rake_task.set_extension_class(OpenStudio::CalibrationMeasures::Extension)
45
+ rake_task.set_extension_class(OpenStudio::Calibration::Extension, 'nrel/openstudio-calibration-gem')
46
+
47
+ require 'openstudio_measure_tester/rake_task'
48
+ OpenStudioMeasureTester::RakeTask.new
49
49
 
50
50
  task default: :spec
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *******************************************************************************
3
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
3
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
4
4
  # All rights reserved.
5
5
  # Redistribution and use in source and binary forms, with or without
6
6
  # modification, are permitted provided that the following conditions are met:
@@ -1,4 +1,4 @@
1
1
  /* @preserve
2
- * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
2
+ * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
3
3
  * Use of this source code is governed by a BSD-style license that can be found at openstudio.net/license.
4
4
  */
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -1,9 +1,10 @@
1
+ <?xml version="1.0"?>
1
2
  <measure>
2
3
  <schema_version>3.0</schema_version>
3
4
  <name>add_monthly_json_utility_data</name>
4
5
  <uid>6da969e0-4256-49bf-9607-26504cc3d423</uid>
5
- <version_id>76086831-7c43-49f5-a576-0249e6fec5ac</version_id>
6
- <version_modified>20200325T030943Z</version_modified>
6
+ <version_id>48f42dbe-b5ca-4e20-a3ea-73348f118371</version_id>
7
+ <version_modified>20210304T152732Z</version_modified>
7
8
  <xml_checksum>057E8D9D</xml_checksum>
8
9
  <class_name>AddMonthlyJSONUtilityData</class_name>
9
10
  <display_name>Add Monthly JSON Utility Data</display_name>
@@ -112,8 +113,8 @@
112
113
  </choices>
113
114
  </argument>
114
115
  </arguments>
115
- <outputs/>
116
- <provenances/>
116
+ <outputs />
117
+ <provenances />
117
118
  <tags>
118
119
  <tag>Whole Building.Space Types</tag>
119
120
  </tags>
@@ -130,12 +131,6 @@
130
131
  </attribute>
131
132
  </attributes>
132
133
  <files>
133
- <file>
134
- <filename>LICENSE.md</filename>
135
- <filetype>md</filetype>
136
- <usage_type>license</usage_type>
137
- <checksum>E0468DD6</checksum>
138
- </file>
139
134
  <file>
140
135
  <filename>README.md.erb</filename>
141
136
  <filetype>erb</filetype>
@@ -148,6 +143,12 @@
148
143
  <usage_type>readme</usage_type>
149
144
  <checksum>9A5C0ABF</checksum>
150
145
  </file>
146
+ <file>
147
+ <filename>LICENSE.md</filename>
148
+ <filetype>md</filetype>
149
+ <usage_type>license</usage_type>
150
+ <checksum>A21A3ED2</checksum>
151
+ </file>
151
152
  <file>
152
153
  <version>
153
154
  <software_program>OpenStudio</software_program>
@@ -157,7 +158,7 @@
157
158
  <filename>measure.rb</filename>
158
159
  <filetype>rb</filetype>
159
160
  <usage_type>script</usage_type>
160
- <checksum>79D46EF0</checksum>
161
+ <checksum>7B1E00EA</checksum>
161
162
  </file>
162
163
  </files>
163
164
  </measure>
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -1,9 +1,10 @@
1
+ <?xml version="1.0"?>
1
2
  <measure>
2
3
  <schema_version>3.0</schema_version>
3
4
  <name>add_monthly_utility_data</name>
4
5
  <uid>6da969e0-4256-49bf-9607-26504cc3d421</uid>
5
- <version_id>20a22623-b2ff-4b69-b182-2dea1bf995b3</version_id>
6
- <version_modified>20200325T030944Z</version_modified>
6
+ <version_id>b37794e0-1d11-446a-be95-e565bdcc6e3f</version_id>
7
+ <version_modified>20210304T152732Z</version_modified>
7
8
  <xml_checksum>9064277D</xml_checksum>
8
9
  <class_name>AddMonthlyUtilityData</class_name>
9
10
  <display_name>AddMonthlyUtilityData</display_name>
@@ -46,8 +47,8 @@
46
47
  <model_dependent>false</model_dependent>
47
48
  </argument>
48
49
  </arguments>
49
- <outputs/>
50
- <provenances/>
50
+ <outputs />
51
+ <provenances />
51
52
  <tags>
52
53
  <tag>Economics.Life Cycle Cost Analysis</tag>
53
54
  </tags>
@@ -76,12 +77,6 @@
76
77
  <usage_type>test</usage_type>
77
78
  <checksum>379ABCEE</checksum>
78
79
  </file>
79
- <file>
80
- <filename>LICENSE.md</filename>
81
- <filetype>md</filetype>
82
- <usage_type>license</usage_type>
83
- <checksum>E0468DD6</checksum>
84
- </file>
85
80
  <file>
86
81
  <filename>README.md.erb</filename>
87
82
  <filetype>erb</filetype>
@@ -94,6 +89,12 @@
94
89
  <usage_type>readme</usage_type>
95
90
  <checksum>A8846AF4</checksum>
96
91
  </file>
92
+ <file>
93
+ <filename>LICENSE.md</filename>
94
+ <filetype>md</filetype>
95
+ <usage_type>license</usage_type>
96
+ <checksum>A21A3ED2</checksum>
97
+ </file>
97
98
  <file>
98
99
  <version>
99
100
  <software_program>OpenStudio</software_program>
@@ -103,13 +104,13 @@
103
104
  <filename>measure.rb</filename>
104
105
  <filetype>rb</filetype>
105
106
  <usage_type>script</usage_type>
106
- <checksum>CC58EE3A</checksum>
107
+ <checksum>15DA7891</checksum>
107
108
  </file>
108
109
  <file>
109
110
  <filename>AddMonthlyUtilityData_Test.rb</filename>
110
111
  <filetype>rb</filetype>
111
112
  <usage_type>test</usage_type>
112
- <checksum>977DB51C</checksum>
113
+ <checksum>656036ED</checksum>
113
114
  </file>
114
115
  </files>
115
116
  </measure>
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
@@ -2,7 +2,7 @@
2
2
 
3
3
  ###### (Automatically generated documentation)
4
4
 
5
- # Calibration Reports
5
+ #
6
6
 
7
7
  ## Description
8
8
 
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
  ## Measure Type
14
- ReportingMeasure
14
+ ModelMeasure
15
15
 
16
16
  ## Taxonomy
17
17
 
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>calibration_reports</name>
5
5
  <uid>2baede0a-65f3-47ec-b5f6-9c21d0f91aff</uid>
6
- <version_id>4ddc39ac-978c-4808-a018-cc0bc716a56c</version_id>
7
- <version_modified>20200316T215432Z</version_modified>
6
+ <version_id>63aaeb4e-fd54-483b-92f4-7a5d893986bd</version_id>
7
+ <version_modified>20210304T152733Z</version_modified>
8
8
  <xml_checksum>2C8A3EEF</xml_checksum>
9
9
  <class_name>CalibrationReports</class_name>
10
10
  <display_name>Calibration Reports</display_name>
@@ -53,12 +53,6 @@
53
53
  <usage_type>readmeerb</usage_type>
54
54
  <checksum>703C9964</checksum>
55
55
  </file>
56
- <file>
57
- <filename>README.md</filename>
58
- <filetype>md</filetype>
59
- <usage_type>readme</usage_type>
60
- <checksum>32E77F5D</checksum>
61
- </file>
62
56
  <file>
63
57
  <filename>ExampleModelNoGasInput.osm</filename>
64
58
  <filetype>osm</filetype>
@@ -75,7 +69,7 @@
75
69
  <filename>LICENSE.md</filename>
76
70
  <filetype>md</filetype>
77
71
  <usage_type>license</usage_type>
78
- <checksum>E0468DD6</checksum>
72
+ <checksum>A21A3ED2</checksum>
79
73
  </file>
80
74
  <file>
81
75
  <version>
@@ -86,13 +80,19 @@
86
80
  <filename>measure.rb</filename>
87
81
  <filetype>rb</filetype>
88
82
  <usage_type>script</usage_type>
89
- <checksum>78D676CD</checksum>
83
+ <checksum>EAEA784A</checksum>
90
84
  </file>
91
85
  <file>
92
86
  <filename>CalibrationReports_Test.rb</filename>
93
87
  <filetype>rb</filetype>
94
88
  <usage_type>test</usage_type>
95
- <checksum>4C23E80C</checksum>
89
+ <checksum>C4F25697</checksum>
90
+ </file>
91
+ <file>
92
+ <filename>README.md</filename>
93
+ <filetype>md</filetype>
94
+ <usage_type>readme</usage_type>
95
+ <checksum>0B68E96D</checksum>
96
96
  </file>
97
97
  </files>
98
98
  </measure>
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -55,7 +55,7 @@ class CalibrationReportsEnhanced < OpenStudio::Measure::ReportingMeasure
55
55
  end
56
56
 
57
57
  # define the arguments that the user will input
58
- def arguments
58
+ def arguments(model = nil)
59
59
  args = OpenStudio::Measure::OSArgumentVector.new
60
60
 
61
61
  # Electric NMBE limit
@@ -1,9 +1,10 @@
1
+ <?xml version="1.0"?>
1
2
  <measure>
2
3
  <schema_version>3.0</schema_version>
3
4
  <name>calibration_reports_enhanced</name>
4
5
  <uid>e6642d40-7366-4647-8724-53a37991d668</uid>
5
- <version_id>b3ad0dfa-5173-4df2-8f42-41b0cce011f4</version_id>
6
- <version_modified>20200325T030943Z</version_modified>
6
+ <version_id>598e91d5-6305-4fdf-a9c8-68ceb47daab0</version_id>
7
+ <version_modified>20210305T012911Z</version_modified>
7
8
  <xml_checksum>2C8A3EEF</xml_checksum>
8
9
  <class_name>CalibrationReportsEnhanced</class_name>
9
10
  <display_name>Calibration Reports Enhanced</display_name>
@@ -292,7 +293,7 @@
292
293
  <model_dependent>false</model_dependent>
293
294
  </output>
294
295
  </outputs>
295
- <provenances/>
296
+ <provenances />
296
297
  <tags>
297
298
  <tag>Reporting.QAQC</tag>
298
299
  </tags>
@@ -333,12 +334,6 @@
333
334
  <usage_type>test</usage_type>
334
335
  <checksum>4FC9D41F</checksum>
335
336
  </file>
336
- <file>
337
- <filename>LICENSE.md</filename>
338
- <filetype>md</filetype>
339
- <usage_type>license</usage_type>
340
- <checksum>E0468DD6</checksum>
341
- </file>
342
337
  <file>
343
338
  <filename>README.md.erb</filename>
344
339
  <filetype>erb</filetype>
@@ -346,10 +341,16 @@
346
341
  <checksum>703C9964</checksum>
347
342
  </file>
348
343
  <file>
349
- <filename>README.md</filename>
344
+ <filename>LICENSE.md</filename>
350
345
  <filetype>md</filetype>
351
- <usage_type>readme</usage_type>
352
- <checksum>9073A0CD</checksum>
346
+ <usage_type>license</usage_type>
347
+ <checksum>A21A3ED2</checksum>
348
+ </file>
349
+ <file>
350
+ <filename>CalibrationReportsEnhanced_Test.rb</filename>
351
+ <filetype>rb</filetype>
352
+ <usage_type>test</usage_type>
353
+ <checksum>600F96BA</checksum>
353
354
  </file>
354
355
  <file>
355
356
  <version>
@@ -360,13 +361,13 @@
360
361
  <filename>measure.rb</filename>
361
362
  <filetype>rb</filetype>
362
363
  <usage_type>script</usage_type>
363
- <checksum>ACA4EC77</checksum>
364
+ <checksum>5EC0C6F3</checksum>
364
365
  </file>
365
366
  <file>
366
- <filename>CalibrationReportsEnhanced_Test.rb</filename>
367
- <filetype>rb</filetype>
368
- <usage_type>test</usage_type>
369
- <checksum>98659D83</checksum>
367
+ <filename>README.md</filename>
368
+ <filetype>md</filetype>
369
+ <usage_type>readme</usage_type>
370
+ <checksum>9073A0CD</checksum>
370
371
  </file>
371
372
  </files>
372
373
  </measure>
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted
4
4
  provided that the following conditions are met:
@@ -1,5 +1,5 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
3
  # All rights reserved.
4
4
  # Redistribution and use in source and binary forms, with or without
5
5
  # modification, are permitted provided that the following conditions are met:
@@ -1,9 +1,10 @@
1
+ <?xml version="1.0"?>
1
2
  <measure>
2
3
  <schema_version>3.0</schema_version>
3
4
  <name>coil_cooling_dx_single_speed_multiplier</name>
4
5
  <uid>97d0dbdf-6245-4cfd-8dfc-a6a5eb853b16</uid>
5
- <version_id>aeea742c-e0da-4330-a1e2-1a0071cde7fb</version_id>
6
- <version_modified>20200325T030945Z</version_modified>
6
+ <version_id>4a428d9f-5f11-4a16-96ea-13d037c7a008</version_id>
7
+ <version_modified>20210304T152733Z</version_modified>
7
8
  <xml_checksum>8CBDDA1B</xml_checksum>
8
9
  <class_name>CoilCoolingDXSingleSpeedMultiplier</class_name>
9
10
  <display_name>Cooling Coils DX Single Speed Multiplier</display_name>
@@ -16,10 +17,10 @@
16
17
  <type>Choice</type>
17
18
  <required>true</required>
18
19
  <model_dependent>false</model_dependent>
19
- <default_value>*All DX Cooling Coils*</default_value>
20
+ <default_value>{97f0a390-16f6-42d5-a754-4e43e3640cbf}</default_value>
20
21
  <choices>
21
22
  <choice>
22
- <value>{660e38c6-1ea1-4276-a6d7-514e9eb17fae}</value>
23
+ <value>{97f0a390-16f6-42d5-a754-4e43e3640cbf}</value>
23
24
  <display_name>*All DX Cooling Coils*</display_name>
24
25
  </choice>
25
26
  <choice>
@@ -47,8 +48,8 @@
47
48
  <default_value>1</default_value>
48
49
  </argument>
49
50
  </arguments>
50
- <outputs/>
51
- <provenances/>
51
+ <outputs />
52
+ <provenances />
52
53
  <tags>
53
54
  <tag>HVAC.Cooling</tag>
54
55
  </tags>
@@ -60,12 +61,6 @@
60
61
  </attribute>
61
62
  </attributes>
62
63
  <files>
63
- <file>
64
- <filename>LICENSE.md</filename>
65
- <filetype>md</filetype>
66
- <usage_type>license</usage_type>
67
- <checksum>E0468DD6</checksum>
68
- </file>
69
64
  <file>
70
65
  <filename>README.md.erb</filename>
71
66
  <filetype>erb</filetype>
@@ -78,6 +73,12 @@
78
73
  <usage_type>readme</usage_type>
79
74
  <checksum>09247749</checksum>
80
75
  </file>
76
+ <file>
77
+ <filename>LICENSE.md</filename>
78
+ <filetype>md</filetype>
79
+ <usage_type>license</usage_type>
80
+ <checksum>A21A3ED2</checksum>
81
+ </file>
81
82
  <file>
82
83
  <version>
83
84
  <software_program>OpenStudio</software_program>
@@ -87,7 +88,7 @@
87
88
  <filename>measure.rb</filename>
88
89
  <filetype>rb</filetype>
89
90
  <usage_type>script</usage_type>
90
- <checksum>9BEC1CC5</checksum>
91
+ <checksum>86AB2AD3</checksum>
91
92
  </file>
92
93
  </files>
93
94
  </measure>