openstudio-calibration 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +29 -0
  3. data/CHANGELOG.md +14 -0
  4. data/Gemfile +20 -0
  5. data/Jenkinsfile +6 -0
  6. data/LICENSE.md +27 -0
  7. data/README.md +33 -0
  8. data/Rakefile +50 -0
  9. data/doc_templates/LICENSE.md +27 -0
  10. data/doc_templates/README.md.erb +42 -0
  11. data/doc_templates/copyright_erb.txt +36 -0
  12. data/doc_templates/copyright_js.txt +4 -0
  13. data/doc_templates/copyright_ruby.txt +34 -0
  14. data/lib/files/.gitkeep +0 -0
  15. data/lib/measures/AddMonthlyJSONUtilityData/LICENSE.md +27 -0
  16. data/lib/measures/AddMonthlyJSONUtilityData/README.md +96 -0
  17. data/lib/measures/AddMonthlyJSONUtilityData/README.md.erb +42 -0
  18. data/lib/measures/AddMonthlyJSONUtilityData/measure.rb +280 -0
  19. data/lib/measures/AddMonthlyJSONUtilityData/measure.xml +163 -0
  20. data/lib/measures/AddMonthlyUtilityData/LICENSE.md +27 -0
  21. data/lib/measures/AddMonthlyUtilityData/README.md +64 -0
  22. data/lib/measures/AddMonthlyUtilityData/README.md.erb +42 -0
  23. data/lib/measures/AddMonthlyUtilityData/measure.rb +312 -0
  24. data/lib/measures/AddMonthlyUtilityData/measure.xml +115 -0
  25. data/lib/measures/AddMonthlyUtilityData/tests/AddMonthlyUtilityData_Test.rb +88 -0
  26. data/lib/measures/AddMonthlyUtilityData/tests/electric_billed_usages.json +198 -0
  27. data/lib/measures/AddMonthlyUtilityData/tests/gas_billed_usages.json +198 -0
  28. data/lib/measures/CalibrationReports/LICENSE.md +27 -0
  29. data/lib/measures/CalibrationReports/README.md +26 -0
  30. data/lib/measures/CalibrationReports/README.md.erb +42 -0
  31. data/lib/measures/CalibrationReports/measure.rb +511 -0
  32. data/lib/measures/CalibrationReports/measure.xml +98 -0
  33. data/lib/measures/CalibrationReports/resources/report.html.in +379 -0
  34. data/lib/measures/CalibrationReports/tests/CalibrationReports_Test.rb +523 -0
  35. data/lib/measures/CalibrationReports/tests/ExampleModel.osm +10497 -0
  36. data/lib/measures/CalibrationReports/tests/ExampleModelNoDemandInput.osm +10560 -0
  37. data/lib/measures/CalibrationReports/tests/ExampleModelNoGasInput.osm +10456 -0
  38. data/lib/measures/CalibrationReports/tests/USA_CO_Golden-NREL.724666_TMY3.epw +8768 -0
  39. data/lib/measures/CalibrationReportsEnhanced/LICENSE.md +27 -0
  40. data/lib/measures/CalibrationReportsEnhanced/README.md +143 -0
  41. data/lib/measures/CalibrationReportsEnhanced/README.md.erb +42 -0
  42. data/lib/measures/CalibrationReportsEnhanced/measure.rb +798 -0
  43. data/lib/measures/CalibrationReportsEnhanced/measure.xml +372 -0
  44. data/lib/measures/CalibrationReportsEnhanced/resources/report.html.in +380 -0
  45. data/lib/measures/CalibrationReportsEnhanced/tests/CalibrationReportsEnhanced_Test.rb +734 -0
  46. data/lib/measures/CalibrationReportsEnhanced/tests/ExampleModel.osm +10497 -0
  47. data/lib/measures/CalibrationReportsEnhanced/tests/ExampleModel_FuelOil.osm +12740 -0
  48. data/lib/measures/CalibrationReportsEnhanced/tests/USA_CO_Golden-NREL.724666_TMY3.epw +8768 -0
  49. data/lib/measures/CalibrationReportsEnhanced21/LICENSE.md +27 -0
  50. data/lib/measures/CalibrationReportsEnhanced21/README.md +109 -0
  51. data/lib/measures/CalibrationReportsEnhanced21/README.md.erb +42 -0
  52. data/lib/measures/CalibrationReportsEnhanced21/measure.rb +690 -0
  53. data/lib/measures/CalibrationReportsEnhanced21/measure.xml +269 -0
  54. data/lib/measures/CalibrationReportsEnhanced21/resources/report.html.in +380 -0
  55. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/LICENSE.md +27 -0
  56. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/README.md +48 -0
  57. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/README.md.erb +42 -0
  58. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb +237 -0
  59. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml +93 -0
  60. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/LICENSE.md +27 -0
  61. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/README.md +48 -0
  62. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/README.md.erb +42 -0
  63. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb +228 -0
  64. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml +93 -0
  65. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/LICENSE.md +27 -0
  66. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/README.md +64 -0
  67. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/README.md.erb +42 -0
  68. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb +280 -0
  69. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml +111 -0
  70. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/LICENSE.md +27 -0
  71. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/README.md +64 -0
  72. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/README.md.erb +42 -0
  73. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb +270 -0
  74. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml +111 -0
  75. data/lib/measures/CoilCoolingWaterMultiplier/LICENSE.md +27 -0
  76. data/lib/measures/CoilCoolingWaterMultiplier/README.md +80 -0
  77. data/lib/measures/CoilCoolingWaterMultiplier/README.md.erb +42 -0
  78. data/lib/measures/CoilCoolingWaterMultiplier/measure.rb +324 -0
  79. data/lib/measures/CoilCoolingWaterMultiplier/measure.xml +129 -0
  80. data/lib/measures/CoilCoolingWaterPercentChange/LICENSE.md +27 -0
  81. data/lib/measures/CoilCoolingWaterPercentChange/README.md +80 -0
  82. data/lib/measures/CoilCoolingWaterPercentChange/README.md.erb +42 -0
  83. data/lib/measures/CoilCoolingWaterPercentChange/measure.rb +311 -0
  84. data/lib/measures/CoilCoolingWaterPercentChange/measure.xml +129 -0
  85. data/lib/measures/CoilHeatingElectricMultiplier/LICENSE.md +27 -0
  86. data/lib/measures/CoilHeatingElectricMultiplier/README.md +48 -0
  87. data/lib/measures/CoilHeatingElectricMultiplier/README.md.erb +42 -0
  88. data/lib/measures/CoilHeatingElectricMultiplier/measure.rb +240 -0
  89. data/lib/measures/CoilHeatingElectricMultiplier/measure.xml +93 -0
  90. data/lib/measures/CoilHeatingElectricPercentChange/LICENSE.md +27 -0
  91. data/lib/measures/CoilHeatingElectricPercentChange/README.md +48 -0
  92. data/lib/measures/CoilHeatingElectricPercentChange/README.md.erb +42 -0
  93. data/lib/measures/CoilHeatingElectricPercentChange/measure.rb +231 -0
  94. data/lib/measures/CoilHeatingElectricPercentChange/measure.xml +93 -0
  95. data/lib/measures/CoilHeatingGasMultiplier/LICENSE.md +27 -0
  96. data/lib/measures/CoilHeatingGasMultiplier/README.md +64 -0
  97. data/lib/measures/CoilHeatingGasMultiplier/README.md.erb +42 -0
  98. data/lib/measures/CoilHeatingGasMultiplier/measure.rb +282 -0
  99. data/lib/measures/CoilHeatingGasMultiplier/measure.xml +111 -0
  100. data/lib/measures/CoilHeatingGasPercentChange/LICENSE.md +27 -0
  101. data/lib/measures/CoilHeatingGasPercentChange/README.md +64 -0
  102. data/lib/measures/CoilHeatingGasPercentChange/README.md.erb +42 -0
  103. data/lib/measures/CoilHeatingGasPercentChange/measure.rb +271 -0
  104. data/lib/measures/CoilHeatingGasPercentChange/measure.xml +111 -0
  105. data/lib/measures/CoilHeatingWaterMultiplier/LICENSE.md +27 -0
  106. data/lib/measures/CoilHeatingWaterMultiplier/README.md +48 -0
  107. data/lib/measures/CoilHeatingWaterMultiplier/README.md.erb +42 -0
  108. data/lib/measures/CoilHeatingWaterMultiplier/measure.rb +235 -0
  109. data/lib/measures/CoilHeatingWaterMultiplier/measure.xml +93 -0
  110. data/lib/measures/CoilHeatingWaterPercentChange/LICENSE.md +27 -0
  111. data/lib/measures/CoilHeatingWaterPercentChange/README.md +48 -0
  112. data/lib/measures/CoilHeatingWaterPercentChange/README.md.erb +42 -0
  113. data/lib/measures/CoilHeatingWaterPercentChange/measure.rb +226 -0
  114. data/lib/measures/CoilHeatingWaterPercentChange/measure.xml +93 -0
  115. data/lib/measures/ConstructionLayerZeroMaterialProperties/LICENSE.md +27 -0
  116. data/lib/measures/ConstructionLayerZeroMaterialProperties/README.md +88 -0
  117. data/lib/measures/ConstructionLayerZeroMaterialProperties/README.md.erb +42 -0
  118. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb +221 -0
  119. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml +194 -0
  120. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/LICENSE.md +27 -0
  121. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/README.md +40 -0
  122. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/README.md.erb +42 -0
  123. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.rb +102 -0
  124. data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.xml +78 -0
  125. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/LICENSE.md +27 -0
  126. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/README.md +48 -0
  127. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/README.md.erb +42 -0
  128. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb +263 -0
  129. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml +97 -0
  130. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/LICENSE.md +27 -0
  131. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/README.md +48 -0
  132. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/README.md.erb +42 -0
  133. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb +253 -0
  134. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml +97 -0
  135. data/lib/measures/FansMultiplier/LICENSE.md +27 -0
  136. data/lib/measures/FansMultiplier/README.md +64 -0
  137. data/lib/measures/FansMultiplier/README.md.erb +42 -0
  138. data/lib/measures/FansMultiplier/measure.rb +297 -0
  139. data/lib/measures/FansMultiplier/measure.xml +166 -0
  140. data/lib/measures/FansPercentChange/LICENSE.md +27 -0
  141. data/lib/measures/FansPercentChange/README.md +64 -0
  142. data/lib/measures/FansPercentChange/README.md.erb +42 -0
  143. data/lib/measures/FansPercentChange/measure.rb +286 -0
  144. data/lib/measures/FansPercentChange/measure.xml +166 -0
  145. data/lib/measures/GeneralCalibrationMeasureMultiplier/LICENSE.md +27 -0
  146. data/lib/measures/GeneralCalibrationMeasureMultiplier/README.md +112 -0
  147. data/lib/measures/GeneralCalibrationMeasureMultiplier/README.md.erb +42 -0
  148. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb +639 -0
  149. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml +229 -0
  150. data/lib/measures/GeneralCalibrationMeasurePercentChange/LICENSE.md +27 -0
  151. data/lib/measures/GeneralCalibrationMeasurePercentChange/README.md +112 -0
  152. data/lib/measures/GeneralCalibrationMeasurePercentChange/README.md.erb +42 -0
  153. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb +756 -0
  154. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml +229 -0
  155. data/lib/measures/HardSizeHvac/LICENSE.md +27 -0
  156. data/lib/measures/HardSizeHvac/README.md +26 -0
  157. data/lib/measures/HardSizeHvac/README.md.erb +42 -0
  158. data/lib/measures/HardSizeHvac/measure.rb +88 -0
  159. data/lib/measures/HardSizeHvac/measure.xml +81 -0
  160. data/lib/measures/MaalkaMonthlyJSONUtilityData/LICENSE.md +27 -0
  161. data/lib/measures/MaalkaMonthlyJSONUtilityData/README.md +104 -0
  162. data/lib/measures/MaalkaMonthlyJSONUtilityData/README.md.erb +42 -0
  163. data/lib/measures/MaalkaMonthlyJSONUtilityData/measure.rb +304 -0
  164. data/lib/measures/MaalkaMonthlyJSONUtilityData/measure.xml +216 -0
  165. data/lib/measures/RValueOfInsulationForConstructionMultiplier/LICENSE.md +27 -0
  166. data/lib/measures/RValueOfInsulationForConstructionMultiplier/README.md +40 -0
  167. data/lib/measures/RValueOfInsulationForConstructionMultiplier/README.md.erb +42 -0
  168. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb +196 -0
  169. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml +132 -0
  170. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/LICENSE.md +27 -0
  171. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/README.md +40 -0
  172. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/README.md.erb +42 -0
  173. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb +189 -0
  174. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml +132 -0
  175. data/lib/measures/RoofThermalPropertiesMultiplier/LICENSE.md +27 -0
  176. data/lib/measures/RoofThermalPropertiesMultiplier/README.md +48 -0
  177. data/lib/measures/RoofThermalPropertiesMultiplier/README.md.erb +42 -0
  178. data/lib/measures/RoofThermalPropertiesMultiplier/measure.rb +263 -0
  179. data/lib/measures/RoofThermalPropertiesMultiplier/measure.xml +97 -0
  180. data/lib/measures/RoofThermalPropertiesPercentChange/LICENSE.md +27 -0
  181. data/lib/measures/RoofThermalPropertiesPercentChange/README.md +48 -0
  182. data/lib/measures/RoofThermalPropertiesPercentChange/README.md.erb +42 -0
  183. data/lib/measures/RoofThermalPropertiesPercentChange/measure.rb +253 -0
  184. data/lib/measures/RoofThermalPropertiesPercentChange/measure.xml +97 -0
  185. data/lib/measures/TimeseriesObjectiveFunction/LICENSE.md +27 -0
  186. data/lib/measures/TimeseriesObjectiveFunction/README.md +207 -0
  187. data/lib/measures/TimeseriesObjectiveFunction/README.md.erb +42 -0
  188. data/lib/measures/TimeseriesObjectiveFunction/measure.rb +748 -0
  189. data/lib/measures/TimeseriesObjectiveFunction/measure.xml +435 -0
  190. data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +288 -0
  191. data/lib/measures/TimeseriesPlot/LICENSE.md +27 -0
  192. data/lib/measures/TimeseriesPlot/README.md +56 -0
  193. data/lib/measures/TimeseriesPlot/README.md.erb +42 -0
  194. data/lib/measures/TimeseriesPlot/measure.rb +302 -0
  195. data/lib/measures/TimeseriesPlot/measure.xml +137 -0
  196. data/lib/measures/TimeseriesPlot/resources/report.html.erb +270 -0
  197. data/lib/measures/WaterHeaterMixedMultiplier/LICENSE.md +27 -0
  198. data/lib/measures/WaterHeaterMixedMultiplier/README.md +64 -0
  199. data/lib/measures/WaterHeaterMixedMultiplier/README.md.erb +42 -0
  200. data/lib/measures/WaterHeaterMixedMultiplier/measure.rb +255 -0
  201. data/lib/measures/WaterHeaterMixedMultiplier/measure.xml +180 -0
  202. data/lib/measures/WaterHeaterMixedPercentChange/LICENSE.md +27 -0
  203. data/lib/measures/WaterHeaterMixedPercentChange/README.md +64 -0
  204. data/lib/measures/WaterHeaterMixedPercentChange/README.md.erb +42 -0
  205. data/lib/measures/WaterHeaterMixedPercentChange/measure.rb +245 -0
  206. data/lib/measures/WaterHeaterMixedPercentChange/measure.xml +180 -0
  207. data/lib/measures/zone_report/LICENSE.md +27 -0
  208. data/lib/measures/zone_report/README.md +26 -0
  209. data/lib/measures/zone_report/README.md.erb +42 -0
  210. data/lib/measures/zone_report/measure.rb +706 -0
  211. data/lib/measures/zone_report/measure.xml +67 -0
  212. data/lib/measures/zone_report/resources/report.html.in +342 -0
  213. data/lib/openstudio-calibration-measures.rb +36 -0
  214. data/lib/openstudio/calibration_measures.rb +37 -0
  215. data/lib/openstudio/calibration_measures/extension.rb +49 -0
  216. data/lib/openstudio/calibration_measures/version.rb +40 -0
  217. data/openstudio-calibration.gemspec +30 -0
  218. metadata +331 -0
@@ -0,0 +1,49 @@
1
+ # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
3
+ # All rights reserved.
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # (1) Redistributions of source code must retain the above copyright notice,
8
+ # this list of conditions and the following disclaimer.
9
+ #
10
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
11
+ # this list of conditions and the following disclaimer in the documentation
12
+ # and/or other materials provided with the distribution.
13
+ #
14
+ # (3) Neither the name of the copyright holder nor the names of any contributors
15
+ # may be used to endorse or promote products derived from this software without
16
+ # specific prior written permission from the respective party.
17
+ #
18
+ # (4) Other than as required in clauses (1) and (2), distributions in any form
19
+ # of modifications or other derivative works may not use the "OpenStudio"
20
+ # trademark, "OS", "os", or any other confusingly similar designation without
21
+ # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
+ #
23
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
24
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
25
+ # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
27
+ # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
28
+ # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
+ # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30
+ # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32
+ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33
+ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ # *******************************************************************************
35
+
36
+ require 'openstudio/extension'
37
+
38
+ module OpenStudio
39
+ module CalibrationMeasures
40
+ class Extension < OpenStudio::Extension::Extension
41
+ # Override parent class
42
+ def initialize
43
+ super
44
+
45
+ @root_dir = File.absolute_path(File.join(File.dirname(__FILE__), '..', '..', '..'))
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,40 @@
1
+ # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
3
+ # All rights reserved.
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # (1) Redistributions of source code must retain the above copyright notice,
8
+ # this list of conditions and the following disclaimer.
9
+ #
10
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
11
+ # this list of conditions and the following disclaimer in the documentation
12
+ # and/or other materials provided with the distribution.
13
+ #
14
+ # (3) Neither the name of the copyright holder nor the names of any contributors
15
+ # may be used to endorse or promote products derived from this software without
16
+ # specific prior written permission from the respective party.
17
+ #
18
+ # (4) Other than as required in clauses (1) and (2), distributions in any form
19
+ # of modifications or other derivative works may not use the "OpenStudio"
20
+ # trademark, "OS", "os", or any other confusingly similar designation without
21
+ # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
+ #
23
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
24
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
25
+ # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
27
+ # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
28
+ # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
+ # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30
+ # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32
+ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33
+ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ # *******************************************************************************
35
+
36
+ module OpenStudio
37
+ module CalibrationMeasures
38
+ VERSION = '0.1.2'.freeze
39
+ end
40
+ end
@@ -0,0 +1,30 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'openstudio/calibration_measures/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'openstudio-calibration'
7
+ spec.version = OpenStudio::CalibrationMeasures::VERSION
8
+ spec.authors = ['Brian Ball', 'Nicholas Long']
9
+ spec.email = ['brian.ball@nrel.gov', 'nicholas.long@nrel.gov']
10
+
11
+ spec.summary = 'Library and measures for OpenStudio Calibration'
12
+ spec.description = 'Library and measures for OpenStudio Calibration'
13
+ spec.homepage = 'https://openstudio.net'
14
+
15
+ # Specify which files should be added to the gem when it is released.
16
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
17
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
18
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
+ end
20
+ spec.bindir = 'exe'
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ['lib']
23
+
24
+ spec.add_dependency 'openstudio-extension', '~> 0.1.6'
25
+ spec.add_dependency 'openstudio-standards', '~> 0.2.10'
26
+
27
+ spec.add_development_dependency 'bundler', '~> 1.14'
28
+ spec.add_development_dependency 'rake', '12.3.1'
29
+ spec.add_development_dependency 'rspec', '3.7.0'
30
+ end
metadata ADDED
@@ -0,0 +1,331 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: openstudio-calibration
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Brian Ball
8
+ - Nicholas Long
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2020-04-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: openstudio-extension
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 0.1.6
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 0.1.6
28
+ - !ruby/object:Gem::Dependency
29
+ name: openstudio-standards
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 0.2.10
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 0.2.10
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.14'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.14'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '='
61
+ - !ruby/object:Gem::Version
62
+ version: 12.3.1
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 12.3.1
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 3.7.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 3.7.0
84
+ description: Library and measures for OpenStudio Calibration
85
+ email:
86
+ - brian.ball@nrel.gov
87
+ - nicholas.long@nrel.gov
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - CHANGELOG.md
94
+ - Gemfile
95
+ - Jenkinsfile
96
+ - LICENSE.md
97
+ - README.md
98
+ - Rakefile
99
+ - doc_templates/LICENSE.md
100
+ - doc_templates/README.md.erb
101
+ - doc_templates/copyright_erb.txt
102
+ - doc_templates/copyright_js.txt
103
+ - doc_templates/copyright_ruby.txt
104
+ - lib/files/.gitkeep
105
+ - lib/measures/AddMonthlyJSONUtilityData/LICENSE.md
106
+ - lib/measures/AddMonthlyJSONUtilityData/README.md
107
+ - lib/measures/AddMonthlyJSONUtilityData/README.md.erb
108
+ - lib/measures/AddMonthlyJSONUtilityData/measure.rb
109
+ - lib/measures/AddMonthlyJSONUtilityData/measure.xml
110
+ - lib/measures/AddMonthlyUtilityData/LICENSE.md
111
+ - lib/measures/AddMonthlyUtilityData/README.md
112
+ - lib/measures/AddMonthlyUtilityData/README.md.erb
113
+ - lib/measures/AddMonthlyUtilityData/measure.rb
114
+ - lib/measures/AddMonthlyUtilityData/measure.xml
115
+ - lib/measures/AddMonthlyUtilityData/tests/AddMonthlyUtilityData_Test.rb
116
+ - lib/measures/AddMonthlyUtilityData/tests/electric_billed_usages.json
117
+ - lib/measures/AddMonthlyUtilityData/tests/gas_billed_usages.json
118
+ - lib/measures/CalibrationReports/LICENSE.md
119
+ - lib/measures/CalibrationReports/README.md
120
+ - lib/measures/CalibrationReports/README.md.erb
121
+ - lib/measures/CalibrationReports/measure.rb
122
+ - lib/measures/CalibrationReports/measure.xml
123
+ - lib/measures/CalibrationReports/resources/report.html.in
124
+ - lib/measures/CalibrationReports/tests/CalibrationReports_Test.rb
125
+ - lib/measures/CalibrationReports/tests/ExampleModel.osm
126
+ - lib/measures/CalibrationReports/tests/ExampleModelNoDemandInput.osm
127
+ - lib/measures/CalibrationReports/tests/ExampleModelNoGasInput.osm
128
+ - lib/measures/CalibrationReports/tests/USA_CO_Golden-NREL.724666_TMY3.epw
129
+ - lib/measures/CalibrationReportsEnhanced/LICENSE.md
130
+ - lib/measures/CalibrationReportsEnhanced/README.md
131
+ - lib/measures/CalibrationReportsEnhanced/README.md.erb
132
+ - lib/measures/CalibrationReportsEnhanced/measure.rb
133
+ - lib/measures/CalibrationReportsEnhanced/measure.xml
134
+ - lib/measures/CalibrationReportsEnhanced/resources/report.html.in
135
+ - lib/measures/CalibrationReportsEnhanced/tests/CalibrationReportsEnhanced_Test.rb
136
+ - lib/measures/CalibrationReportsEnhanced/tests/ExampleModel.osm
137
+ - lib/measures/CalibrationReportsEnhanced/tests/ExampleModel_FuelOil.osm
138
+ - lib/measures/CalibrationReportsEnhanced/tests/USA_CO_Golden-NREL.724666_TMY3.epw
139
+ - lib/measures/CalibrationReportsEnhanced21/LICENSE.md
140
+ - lib/measures/CalibrationReportsEnhanced21/README.md
141
+ - lib/measures/CalibrationReportsEnhanced21/README.md.erb
142
+ - lib/measures/CalibrationReportsEnhanced21/measure.rb
143
+ - lib/measures/CalibrationReportsEnhanced21/measure.xml
144
+ - lib/measures/CalibrationReportsEnhanced21/resources/report.html.in
145
+ - lib/measures/CoilCoolingDXSingleSpeedMultiplier/LICENSE.md
146
+ - lib/measures/CoilCoolingDXSingleSpeedMultiplier/README.md
147
+ - lib/measures/CoilCoolingDXSingleSpeedMultiplier/README.md.erb
148
+ - lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb
149
+ - lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml
150
+ - lib/measures/CoilCoolingDXSingleSpeedPercentChange/LICENSE.md
151
+ - lib/measures/CoilCoolingDXSingleSpeedPercentChange/README.md
152
+ - lib/measures/CoilCoolingDXSingleSpeedPercentChange/README.md.erb
153
+ - lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb
154
+ - lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml
155
+ - lib/measures/CoilCoolingDXTwoSpeedMultiplier/LICENSE.md
156
+ - lib/measures/CoilCoolingDXTwoSpeedMultiplier/README.md
157
+ - lib/measures/CoilCoolingDXTwoSpeedMultiplier/README.md.erb
158
+ - lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb
159
+ - lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml
160
+ - lib/measures/CoilCoolingDXTwoSpeedPercentChange/LICENSE.md
161
+ - lib/measures/CoilCoolingDXTwoSpeedPercentChange/README.md
162
+ - lib/measures/CoilCoolingDXTwoSpeedPercentChange/README.md.erb
163
+ - lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb
164
+ - lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml
165
+ - lib/measures/CoilCoolingWaterMultiplier/LICENSE.md
166
+ - lib/measures/CoilCoolingWaterMultiplier/README.md
167
+ - lib/measures/CoilCoolingWaterMultiplier/README.md.erb
168
+ - lib/measures/CoilCoolingWaterMultiplier/measure.rb
169
+ - lib/measures/CoilCoolingWaterMultiplier/measure.xml
170
+ - lib/measures/CoilCoolingWaterPercentChange/LICENSE.md
171
+ - lib/measures/CoilCoolingWaterPercentChange/README.md
172
+ - lib/measures/CoilCoolingWaterPercentChange/README.md.erb
173
+ - lib/measures/CoilCoolingWaterPercentChange/measure.rb
174
+ - lib/measures/CoilCoolingWaterPercentChange/measure.xml
175
+ - lib/measures/CoilHeatingElectricMultiplier/LICENSE.md
176
+ - lib/measures/CoilHeatingElectricMultiplier/README.md
177
+ - lib/measures/CoilHeatingElectricMultiplier/README.md.erb
178
+ - lib/measures/CoilHeatingElectricMultiplier/measure.rb
179
+ - lib/measures/CoilHeatingElectricMultiplier/measure.xml
180
+ - lib/measures/CoilHeatingElectricPercentChange/LICENSE.md
181
+ - lib/measures/CoilHeatingElectricPercentChange/README.md
182
+ - lib/measures/CoilHeatingElectricPercentChange/README.md.erb
183
+ - lib/measures/CoilHeatingElectricPercentChange/measure.rb
184
+ - lib/measures/CoilHeatingElectricPercentChange/measure.xml
185
+ - lib/measures/CoilHeatingGasMultiplier/LICENSE.md
186
+ - lib/measures/CoilHeatingGasMultiplier/README.md
187
+ - lib/measures/CoilHeatingGasMultiplier/README.md.erb
188
+ - lib/measures/CoilHeatingGasMultiplier/measure.rb
189
+ - lib/measures/CoilHeatingGasMultiplier/measure.xml
190
+ - lib/measures/CoilHeatingGasPercentChange/LICENSE.md
191
+ - lib/measures/CoilHeatingGasPercentChange/README.md
192
+ - lib/measures/CoilHeatingGasPercentChange/README.md.erb
193
+ - lib/measures/CoilHeatingGasPercentChange/measure.rb
194
+ - lib/measures/CoilHeatingGasPercentChange/measure.xml
195
+ - lib/measures/CoilHeatingWaterMultiplier/LICENSE.md
196
+ - lib/measures/CoilHeatingWaterMultiplier/README.md
197
+ - lib/measures/CoilHeatingWaterMultiplier/README.md.erb
198
+ - lib/measures/CoilHeatingWaterMultiplier/measure.rb
199
+ - lib/measures/CoilHeatingWaterMultiplier/measure.xml
200
+ - lib/measures/CoilHeatingWaterPercentChange/LICENSE.md
201
+ - lib/measures/CoilHeatingWaterPercentChange/README.md
202
+ - lib/measures/CoilHeatingWaterPercentChange/README.md.erb
203
+ - lib/measures/CoilHeatingWaterPercentChange/measure.rb
204
+ - lib/measures/CoilHeatingWaterPercentChange/measure.xml
205
+ - lib/measures/ConstructionLayerZeroMaterialProperties/LICENSE.md
206
+ - lib/measures/ConstructionLayerZeroMaterialProperties/README.md
207
+ - lib/measures/ConstructionLayerZeroMaterialProperties/README.md.erb
208
+ - lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb
209
+ - lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml
210
+ - lib/measures/ElectricBaseboardEfficiencyAndCapacity/LICENSE.md
211
+ - lib/measures/ElectricBaseboardEfficiencyAndCapacity/README.md
212
+ - lib/measures/ElectricBaseboardEfficiencyAndCapacity/README.md.erb
213
+ - lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.rb
214
+ - lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.xml
215
+ - lib/measures/ExteriorWallThermalPropertiesMultiplier/LICENSE.md
216
+ - lib/measures/ExteriorWallThermalPropertiesMultiplier/README.md
217
+ - lib/measures/ExteriorWallThermalPropertiesMultiplier/README.md.erb
218
+ - lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb
219
+ - lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml
220
+ - lib/measures/ExteriorWallThermalPropertiesPercentChange/LICENSE.md
221
+ - lib/measures/ExteriorWallThermalPropertiesPercentChange/README.md
222
+ - lib/measures/ExteriorWallThermalPropertiesPercentChange/README.md.erb
223
+ - lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb
224
+ - lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml
225
+ - lib/measures/FansMultiplier/LICENSE.md
226
+ - lib/measures/FansMultiplier/README.md
227
+ - lib/measures/FansMultiplier/README.md.erb
228
+ - lib/measures/FansMultiplier/measure.rb
229
+ - lib/measures/FansMultiplier/measure.xml
230
+ - lib/measures/FansPercentChange/LICENSE.md
231
+ - lib/measures/FansPercentChange/README.md
232
+ - lib/measures/FansPercentChange/README.md.erb
233
+ - lib/measures/FansPercentChange/measure.rb
234
+ - lib/measures/FansPercentChange/measure.xml
235
+ - lib/measures/GeneralCalibrationMeasureMultiplier/LICENSE.md
236
+ - lib/measures/GeneralCalibrationMeasureMultiplier/README.md
237
+ - lib/measures/GeneralCalibrationMeasureMultiplier/README.md.erb
238
+ - lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb
239
+ - lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml
240
+ - lib/measures/GeneralCalibrationMeasurePercentChange/LICENSE.md
241
+ - lib/measures/GeneralCalibrationMeasurePercentChange/README.md
242
+ - lib/measures/GeneralCalibrationMeasurePercentChange/README.md.erb
243
+ - lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb
244
+ - lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml
245
+ - lib/measures/HardSizeHvac/LICENSE.md
246
+ - lib/measures/HardSizeHvac/README.md
247
+ - lib/measures/HardSizeHvac/README.md.erb
248
+ - lib/measures/HardSizeHvac/measure.rb
249
+ - lib/measures/HardSizeHvac/measure.xml
250
+ - lib/measures/MaalkaMonthlyJSONUtilityData/LICENSE.md
251
+ - lib/measures/MaalkaMonthlyJSONUtilityData/README.md
252
+ - lib/measures/MaalkaMonthlyJSONUtilityData/README.md.erb
253
+ - lib/measures/MaalkaMonthlyJSONUtilityData/measure.rb
254
+ - lib/measures/MaalkaMonthlyJSONUtilityData/measure.xml
255
+ - lib/measures/RValueOfInsulationForConstructionMultiplier/LICENSE.md
256
+ - lib/measures/RValueOfInsulationForConstructionMultiplier/README.md
257
+ - lib/measures/RValueOfInsulationForConstructionMultiplier/README.md.erb
258
+ - lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb
259
+ - lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml
260
+ - lib/measures/RValueOfInsulationForConstructionPercentageChange/LICENSE.md
261
+ - lib/measures/RValueOfInsulationForConstructionPercentageChange/README.md
262
+ - lib/measures/RValueOfInsulationForConstructionPercentageChange/README.md.erb
263
+ - lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb
264
+ - lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml
265
+ - lib/measures/RoofThermalPropertiesMultiplier/LICENSE.md
266
+ - lib/measures/RoofThermalPropertiesMultiplier/README.md
267
+ - lib/measures/RoofThermalPropertiesMultiplier/README.md.erb
268
+ - lib/measures/RoofThermalPropertiesMultiplier/measure.rb
269
+ - lib/measures/RoofThermalPropertiesMultiplier/measure.xml
270
+ - lib/measures/RoofThermalPropertiesPercentChange/LICENSE.md
271
+ - lib/measures/RoofThermalPropertiesPercentChange/README.md
272
+ - lib/measures/RoofThermalPropertiesPercentChange/README.md.erb
273
+ - lib/measures/RoofThermalPropertiesPercentChange/measure.rb
274
+ - lib/measures/RoofThermalPropertiesPercentChange/measure.xml
275
+ - lib/measures/TimeseriesObjectiveFunction/LICENSE.md
276
+ - lib/measures/TimeseriesObjectiveFunction/README.md
277
+ - lib/measures/TimeseriesObjectiveFunction/README.md.erb
278
+ - lib/measures/TimeseriesObjectiveFunction/measure.rb
279
+ - lib/measures/TimeseriesObjectiveFunction/measure.xml
280
+ - lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb
281
+ - lib/measures/TimeseriesPlot/LICENSE.md
282
+ - lib/measures/TimeseriesPlot/README.md
283
+ - lib/measures/TimeseriesPlot/README.md.erb
284
+ - lib/measures/TimeseriesPlot/measure.rb
285
+ - lib/measures/TimeseriesPlot/measure.xml
286
+ - lib/measures/TimeseriesPlot/resources/report.html.erb
287
+ - lib/measures/WaterHeaterMixedMultiplier/LICENSE.md
288
+ - lib/measures/WaterHeaterMixedMultiplier/README.md
289
+ - lib/measures/WaterHeaterMixedMultiplier/README.md.erb
290
+ - lib/measures/WaterHeaterMixedMultiplier/measure.rb
291
+ - lib/measures/WaterHeaterMixedMultiplier/measure.xml
292
+ - lib/measures/WaterHeaterMixedPercentChange/LICENSE.md
293
+ - lib/measures/WaterHeaterMixedPercentChange/README.md
294
+ - lib/measures/WaterHeaterMixedPercentChange/README.md.erb
295
+ - lib/measures/WaterHeaterMixedPercentChange/measure.rb
296
+ - lib/measures/WaterHeaterMixedPercentChange/measure.xml
297
+ - lib/measures/zone_report/LICENSE.md
298
+ - lib/measures/zone_report/README.md
299
+ - lib/measures/zone_report/README.md.erb
300
+ - lib/measures/zone_report/measure.rb
301
+ - lib/measures/zone_report/measure.xml
302
+ - lib/measures/zone_report/resources/report.html.in
303
+ - lib/openstudio-calibration-measures.rb
304
+ - lib/openstudio/calibration_measures.rb
305
+ - lib/openstudio/calibration_measures/extension.rb
306
+ - lib/openstudio/calibration_measures/version.rb
307
+ - openstudio-calibration.gemspec
308
+ homepage: https://openstudio.net
309
+ licenses: []
310
+ metadata: {}
311
+ post_install_message:
312
+ rdoc_options: []
313
+ require_paths:
314
+ - lib
315
+ required_ruby_version: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: '0'
320
+ required_rubygems_version: !ruby/object:Gem::Requirement
321
+ requirements:
322
+ - - ">="
323
+ - !ruby/object:Gem::Version
324
+ version: '0'
325
+ requirements: []
326
+ rubyforge_project:
327
+ rubygems_version: 2.4.5.1
328
+ signing_key:
329
+ specification_version: 4
330
+ summary: Library and measures for OpenStudio Calibration
331
+ test_files: []