openstudio-calibration 0.3.1 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +3 -1
  4. data/CHANGELOG.md +18 -0
  5. data/Gemfile +6 -0
  6. data/Jenkinsfile +4 -3
  7. data/LICENSE.md +1 -1
  8. data/README.md +13 -2
  9. data/Rakefile +1 -1
  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 +25 -13
  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 +25 -13
  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 +9 -7
  89. data/lib/measures/HardSizeHvac/measure.xml +26 -13
  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 +25 -13
  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 +25 -13
  102. data/lib/measures/TimeseriesObjectiveFunction/LICENSE.md +1 -1
  103. data/lib/measures/TimeseriesObjectiveFunction/README.md +171 -5
  104. data/lib/measures/TimeseriesObjectiveFunction/measure.rb +2 -2
  105. data/lib/measures/TimeseriesObjectiveFunction/measure.xml +6 -81
  106. data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +4 -1
  107. data/lib/measures/TimeseriesPlot/LICENSE.md +1 -1
  108. data/lib/measures/TimeseriesPlot/README.md +35 -5
  109. data/lib/measures/TimeseriesPlot/measure.rb +2 -2
  110. data/lib/measures/TimeseriesPlot/measure.xml +11 -26
  111. data/lib/measures/TimeseriesPlot/resources/report.html.erb +4 -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/{zone_report → 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/inspect_and_edit_parametric_schedules/README.md.erb +53 -0
  121. data/lib/measures/inspect_and_edit_parametric_schedules/docs/apply_measures_now.png +0 -0
  122. data/lib/measures/inspect_and_edit_parametric_schedules/measure.rb +224 -0
  123. data/lib/measures/inspect_and_edit_parametric_schedules/measure.xml +125 -0
  124. data/lib/measures/shift_hours_of_operation/LICENSE.md +27 -0
  125. data/lib/measures/shift_hours_of_operation/README.md +147 -0
  126. data/lib/measures/{zone_report → shift_hours_of_operation}/README.md.erb +5 -0
  127. data/lib/measures/shift_hours_of_operation/docs/.gitkeep +0 -0
  128. data/lib/measures/shift_hours_of_operation/measure.rb +525 -0
  129. data/lib/measures/shift_hours_of_operation/measure.xml +280 -0
  130. data/lib/openstudio/calibration/extension.rb +1 -1
  131. data/lib/openstudio/calibration/version.rb +2 -2
  132. data/lib/openstudio/calibration.rb +1 -1
  133. data/lib/openstudio-calibration.rb +1 -1
  134. data/openstudio-calibration.gemspec +3 -3
  135. metadata +23 -17
  136. data/lib/measures/zone_report/README.md +0 -26
  137. data/lib/measures/zone_report/measure.rb +0 -706
  138. data/lib/measures/zone_report/measure.xml +0 -69
  139. data/lib/measures/zone_report/resources/report.html.in +0 -342
@@ -1,10 +1,11 @@
1
+ <?xml version="1.0"?>
1
2
  <measure>
2
3
  <schema_version>3.0</schema_version>
3
4
  <name>exterior_wall_thermal_properties_percent_change</name>
4
5
  <uid>6ab39cf2-1f9e-4570-a797-360a814aaa64</uid>
5
- <version_id>db187239-4ef6-4732-8ec4-8de547d1b205</version_id>
6
- <version_modified>20200325T030944Z</version_modified>
7
- <xml_checksum>31085437</xml_checksum>
6
+ <version_id>900fc466-62cd-4726-8917-164d0e5c670f</version_id>
7
+ <version_modified>20220223T012552Z</version_modified>
8
+ <xml_checksum>EB1A0C08</xml_checksum>
8
9
  <class_name>ExteriorWallThermalPropertiesPercentChange</class_name>
9
10
  <display_name>Exterior Wall Thermal Percent Change</display_name>
10
11
  <description>Change exterior walls by altering the thermal resistance, density, and solar absorptance of the wall constructions by a Percent Change</description>
@@ -35,11 +36,10 @@
35
36
  <default_value>0</default_value>
36
37
  </argument>
37
38
  </arguments>
38
- <outputs/>
39
- <provenances/>
39
+ <outputs />
40
+ <provenances />
40
41
  <tags>
41
42
  <tag>Envelope.Opaque</tag>
42
- <tag>Calibration</tag>
43
43
  </tags>
44
44
  <attributes>
45
45
  <attribute>
@@ -64,12 +64,6 @@
64
64
  </attribute>
65
65
  </attributes>
66
66
  <files>
67
- <file>
68
- <filename>LICENSE.md</filename>
69
- <filetype>md</filetype>
70
- <usage_type>license</usage_type>
71
- <checksum>E0468DD6</checksum>
72
- </file>
73
67
  <file>
74
68
  <filename>README.md.erb</filename>
75
69
  <filetype>erb</filetype>
@@ -82,6 +76,18 @@
82
76
  <usage_type>readme</usage_type>
83
77
  <checksum>84E8A9AC</checksum>
84
78
  </file>
79
+ <file>
80
+ <filename>example_model.osm</filename>
81
+ <filetype>osm</filetype>
82
+ <usage_type>test</usage_type>
83
+ <checksum>53D14E69</checksum>
84
+ </file>
85
+ <file>
86
+ <filename>LICENSE.md</filename>
87
+ <filetype>md</filetype>
88
+ <usage_type>license</usage_type>
89
+ <checksum>A21A3ED2</checksum>
90
+ </file>
85
91
  <file>
86
92
  <version>
87
93
  <software_program>OpenStudio</software_program>
@@ -91,7 +97,13 @@
91
97
  <filename>measure.rb</filename>
92
98
  <filetype>rb</filetype>
93
99
  <usage_type>script</usage_type>
94
- <checksum>860DE2A9</checksum>
100
+ <checksum>05A39B0F</checksum>
101
+ </file>
102
+ <file>
103
+ <filename>ExteriorWallThermalPropertiesMultiplier_test.rb</filename>
104
+ <filetype>rb</filetype>
105
+ <usage_type>test</usage_type>
106
+ <checksum>2C234E74</checksum>
95
107
  </file>
96
108
  </files>
97
109
  </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>fans_multiplier</name>
4
5
  <uid>af156383-cfe2-4798-b581-08a4cccb8877</uid>
5
- <version_id>4fb32abb-5e11-479a-ba02-c2809774c9ce</version_id>
6
- <version_modified>20200325T030943Z</version_modified>
6
+ <version_id>5fa46bca-1373-43bb-a6a2-f8639d9d1b03</version_id>
7
+ <version_modified>20210304T152734Z</version_modified>
7
8
  <xml_checksum>3C1DA54F</xml_checksum>
8
9
  <class_name>FansMultiplier</class_name>
9
10
  <display_name>Fans 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 Fans*</default_value>
20
+ <default_value>{b48061ed-58fa-4a2d-9d42-3758edb78dd4}</default_value>
20
21
  <choices>
21
22
  <choice>
22
- <value>{849f9542-7baa-4ad1-bf2b-a446311c32cc}</value>
23
+ <value>{b48061ed-58fa-4a2d-9d42-3758edb78dd4}</value>
23
24
  <display_name>*All Fans*</display_name>
24
25
  </choice>
25
26
  <choice>
@@ -65,8 +66,8 @@
65
66
  <default_value>1</default_value>
66
67
  </argument>
67
68
  </arguments>
68
- <outputs/>
69
- <provenances/>
69
+ <outputs />
70
+ <provenances />
70
71
  <tags>
71
72
  <tag>HVAC.Whole System</tag>
72
73
  </tags>
@@ -133,12 +134,6 @@
133
134
  </attribute>
134
135
  </attributes>
135
136
  <files>
136
- <file>
137
- <filename>LICENSE.md</filename>
138
- <filetype>md</filetype>
139
- <usage_type>license</usage_type>
140
- <checksum>E0468DD6</checksum>
141
- </file>
142
137
  <file>
143
138
  <filename>README.md.erb</filename>
144
139
  <filetype>erb</filetype>
@@ -151,6 +146,12 @@
151
146
  <usage_type>readme</usage_type>
152
147
  <checksum>E54F87D8</checksum>
153
148
  </file>
149
+ <file>
150
+ <filename>LICENSE.md</filename>
151
+ <filetype>md</filetype>
152
+ <usage_type>license</usage_type>
153
+ <checksum>A21A3ED2</checksum>
154
+ </file>
154
155
  <file>
155
156
  <version>
156
157
  <software_program>OpenStudio</software_program>
@@ -160,7 +161,7 @@
160
161
  <filename>measure.rb</filename>
161
162
  <filetype>rb</filetype>
162
163
  <usage_type>script</usage_type>
163
- <checksum>81E35908</checksum>
164
+ <checksum>E2203C33</checksum>
164
165
  </file>
165
166
  </files>
166
167
  </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>fans_percent_change</name>
4
5
  <uid>4c13a935-976b-4d54-bf7f-a4064fb6e11d</uid>
5
- <version_id>434ac5d5-e956-4423-a83d-bb742e15f67a</version_id>
6
- <version_modified>20200325T030944Z</version_modified>
6
+ <version_id>113daa87-c44a-40ec-856a-d76ef0a06d4a</version_id>
7
+ <version_modified>20210304T152734Z</version_modified>
7
8
  <xml_checksum>3C1DA54F</xml_checksum>
8
9
  <class_name>FansPercentChange</class_name>
9
10
  <display_name>Fans Percent Change</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 Fans*</default_value>
20
+ <default_value>{3e561ebb-aed6-4717-a673-cdaf4beacf16}</default_value>
20
21
  <choices>
21
22
  <choice>
22
- <value>{41c1feeb-9382-4b35-a8b9-6f0ed3955191}</value>
23
+ <value>{3e561ebb-aed6-4717-a673-cdaf4beacf16}</value>
23
24
  <display_name>*All Fans*</display_name>
24
25
  </choice>
25
26
  <choice>
@@ -65,8 +66,8 @@
65
66
  <default_value>0</default_value>
66
67
  </argument>
67
68
  </arguments>
68
- <outputs/>
69
- <provenances/>
69
+ <outputs />
70
+ <provenances />
70
71
  <tags>
71
72
  <tag>HVAC.Whole System</tag>
72
73
  </tags>
@@ -133,12 +134,6 @@
133
134
  </attribute>
134
135
  </attributes>
135
136
  <files>
136
- <file>
137
- <filename>LICENSE.md</filename>
138
- <filetype>md</filetype>
139
- <usage_type>license</usage_type>
140
- <checksum>E0468DD6</checksum>
141
- </file>
142
137
  <file>
143
138
  <filename>README.md.erb</filename>
144
139
  <filetype>erb</filetype>
@@ -151,6 +146,12 @@
151
146
  <usage_type>readme</usage_type>
152
147
  <checksum>B44AC277</checksum>
153
148
  </file>
149
+ <file>
150
+ <filename>LICENSE.md</filename>
151
+ <filetype>md</filetype>
152
+ <usage_type>license</usage_type>
153
+ <checksum>A21A3ED2</checksum>
154
+ </file>
154
155
  <file>
155
156
  <version>
156
157
  <software_program>OpenStudio</software_program>
@@ -160,7 +161,7 @@
160
161
  <filename>measure.rb</filename>
161
162
  <filetype>rb</filetype>
162
163
  <usage_type>script</usage_type>
163
- <checksum>18992A73</checksum>
164
+ <checksum>AC976817</checksum>
164
165
  </file>
165
166
  </files>
166
167
  </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>general_calibration_measure_multiplier</name>
4
5
  <uid>d622534e-a3c9-4ba5-b616-53dce2a18ac8</uid>
5
- <version_id>1425fa83-08e1-4154-a7ee-27960c7c89ad</version_id>
6
- <version_modified>20200325T030943Z</version_modified>
6
+ <version_id>b4b44eb4-dab0-45d8-9add-8aa2e144b995</version_id>
7
+ <version_modified>20210304T152734Z</version_modified>
7
8
  <xml_checksum>DEC0D835</xml_checksum>
8
9
  <class_name>GeneralCalibrationMeasureMultiplier</class_name>
9
10
  <display_name>General Calibration Measure 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 SpaceTypes*</default_value>
20
+ <default_value>{a8cb1d39-86ef-4f45-abdf-30b1443515e0}</default_value>
20
21
  <choices>
21
22
  <choice>
22
- <value>{91f0e603-1a49-4ba6-89e6-f693855eabef}</value>
23
+ <value>{a8cb1d39-86ef-4f45-abdf-30b1443515e0}</value>
23
24
  <display_name>*All SpaceTypes*</display_name>
24
25
  </choice>
25
26
  <choice>
@@ -34,10 +35,10 @@
34
35
  <type>Choice</type>
35
36
  <required>true</required>
36
37
  <model_dependent>false</model_dependent>
37
- <default_value>*All Spaces*</default_value>
38
+ <default_value>{a8cb1d39-86ef-4f45-abdf-30b1443515e0}</default_value>
38
39
  <choices>
39
40
  <choice>
40
- <value>{91f0e603-1a49-4ba6-89e6-f693855eabef}</value>
41
+ <value>{a8cb1d39-86ef-4f45-abdf-30b1443515e0}</value>
41
42
  <display_name>*All Spaces*</display_name>
42
43
  </choice>
43
44
  <choice>
@@ -128,8 +129,8 @@
128
129
  <default_value>1</default_value>
129
130
  </argument>
130
131
  </arguments>
131
- <outputs/>
132
- <provenances/>
132
+ <outputs />
133
+ <provenances />
133
134
  <tags>
134
135
  <tag>Whole Building.Space Types</tag>
135
136
  </tags>
@@ -196,12 +197,6 @@
196
197
  </attribute>
197
198
  </attributes>
198
199
  <files>
199
- <file>
200
- <filename>LICENSE.md</filename>
201
- <filetype>md</filetype>
202
- <usage_type>license</usage_type>
203
- <checksum>E0468DD6</checksum>
204
- </file>
205
200
  <file>
206
201
  <filename>README.md.erb</filename>
207
202
  <filetype>erb</filetype>
@@ -214,6 +209,12 @@
214
209
  <usage_type>readme</usage_type>
215
210
  <checksum>E3E6128D</checksum>
216
211
  </file>
212
+ <file>
213
+ <filename>LICENSE.md</filename>
214
+ <filetype>md</filetype>
215
+ <usage_type>license</usage_type>
216
+ <checksum>A21A3ED2</checksum>
217
+ </file>
217
218
  <file>
218
219
  <version>
219
220
  <software_program>OpenStudio</software_program>
@@ -223,7 +224,7 @@
223
224
  <filename>measure.rb</filename>
224
225
  <filetype>rb</filetype>
225
226
  <usage_type>script</usage_type>
226
- <checksum>0B6B9749</checksum>
227
+ <checksum>0D86DDED</checksum>
227
228
  </file>
228
229
  </files>
229
230
  </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>general_calibration_measure_percent_change</name>
4
5
  <uid>0f583ac1-fa7e-48bc-9f80-12ed17180669</uid>
5
- <version_id>a3539df8-380b-459a-a947-6fef65b5c0cb</version_id>
6
- <version_modified>20200325T030944Z</version_modified>
6
+ <version_id>97d91e8d-d252-4b42-8896-5348b36bae8a</version_id>
7
+ <version_modified>20210304T152734Z</version_modified>
7
8
  <xml_checksum>DEC0D835</xml_checksum>
8
9
  <class_name>GeneralCalibrationMeasurePercentChange</class_name>
9
10
  <display_name>General Calibration Measure Percent Change</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 SpaceTypes*</default_value>
20
+ <default_value>{3249b38a-9545-40b8-af83-ca8a15ced685}</default_value>
20
21
  <choices>
21
22
  <choice>
22
- <value>{463555c6-8c8b-4f31-97ad-bf96a74d9c75}</value>
23
+ <value>{3249b38a-9545-40b8-af83-ca8a15ced685}</value>
23
24
  <display_name>*All SpaceTypes*</display_name>
24
25
  </choice>
25
26
  <choice>
@@ -34,10 +35,10 @@
34
35
  <type>Choice</type>
35
36
  <required>true</required>
36
37
  <model_dependent>false</model_dependent>
37
- <default_value>*All Spaces*</default_value>
38
+ <default_value>{3249b38a-9545-40b8-af83-ca8a15ced685}</default_value>
38
39
  <choices>
39
40
  <choice>
40
- <value>{463555c6-8c8b-4f31-97ad-bf96a74d9c75}</value>
41
+ <value>{3249b38a-9545-40b8-af83-ca8a15ced685}</value>
41
42
  <display_name>*All Spaces*</display_name>
42
43
  </choice>
43
44
  <choice>
@@ -128,8 +129,8 @@
128
129
  <default_value>0</default_value>
129
130
  </argument>
130
131
  </arguments>
131
- <outputs/>
132
- <provenances/>
132
+ <outputs />
133
+ <provenances />
133
134
  <tags>
134
135
  <tag>Whole Building.Space Types</tag>
135
136
  </tags>
@@ -196,12 +197,6 @@
196
197
  </attribute>
197
198
  </attributes>
198
199
  <files>
199
- <file>
200
- <filename>LICENSE.md</filename>
201
- <filetype>md</filetype>
202
- <usage_type>license</usage_type>
203
- <checksum>E0468DD6</checksum>
204
- </file>
205
200
  <file>
206
201
  <filename>README.md.erb</filename>
207
202
  <filetype>erb</filetype>
@@ -214,6 +209,12 @@
214
209
  <usage_type>readme</usage_type>
215
210
  <checksum>EF5B5EB5</checksum>
216
211
  </file>
212
+ <file>
213
+ <filename>LICENSE.md</filename>
214
+ <filetype>md</filetype>
215
+ <usage_type>license</usage_type>
216
+ <checksum>A21A3ED2</checksum>
217
+ </file>
217
218
  <file>
218
219
  <version>
219
220
  <software_program>OpenStudio</software_program>
@@ -223,7 +224,7 @@
223
224
  <filename>measure.rb</filename>
224
225
  <filetype>rb</filetype>
225
226
  <usage_type>script</usage_type>
226
- <checksum>14617A6B</checksum>
227
+ <checksum>4D57734F</checksum>
227
228
  </file>
228
229
  </files>
229
230
  </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:
@@ -66,13 +66,15 @@ class HardSizeHVAC < OpenStudio::Measure::ModelMeasure
66
66
  def run(model, runner, user_arguments)
67
67
  super(model, runner, user_arguments)
68
68
 
69
- # Require the HVAC sizing library
70
- # require_relative 'resources/HVACSizing.Model'
69
+ # Make the standard applier
70
+ standard = Standard.build('90.1-2004') # template choice doesn't matter
71
71
 
72
- # Run a sizing run and attach the resulting
73
- # sql file to the model. Hard sizing methods
74
- # won't work unless the model has a sql file.
75
- model.runSizingRun(Dir.pwd.to_s)
72
+ # Perform a sizing run (2.5.1 and later)
73
+ sizing_run_path = OpenStudio::Path.new(File.dirname(__FILE__) + '/output/SR1').to_s
74
+ runner.registerInfo("Performing sizing run at #{sizing_run_path}.")
75
+ if standard.model_run_sizing_run(model, sizing_run_path) == false
76
+ return false
77
+ end
76
78
 
77
79
  # Hard sizing every object in the model.
78
80
  model.applySizingValues
@@ -1,17 +1,18 @@
1
+ <?xml version="1.0"?>
1
2
  <measure>
2
3
  <schema_version>3.0</schema_version>
3
4
  <name>hard_size_hvac</name>
4
5
  <uid>d7da749f-6318-4077-b502-25994a713b27</uid>
5
- <version_id>d67e99f7-ba8a-4ed6-95cc-f57c464ce575</version_id>
6
- <version_modified>20200325T030945Z</version_modified>
6
+ <version_id>0647d2b3-e8b0-4529-962f-dbb85d4945fa</version_id>
7
+ <version_modified>20220223T145950Z</version_modified>
7
8
  <xml_checksum>2B526343</xml_checksum>
8
9
  <class_name>HardSizeHVAC</class_name>
9
10
  <display_name>Hard Size HVAC</display_name>
10
11
  <description>Run a simulation to autosize HVAC equipment and then apply these autosized values back to the model.</description>
11
12
  <modeler_description>Run a simulation to autosize HVAC equipment and then apply these autosized values back to the model.</modeler_description>
12
- <arguments/>
13
- <outputs/>
14
- <provenances/>
13
+ <arguments />
14
+ <outputs />
15
+ <provenances />
15
16
  <tags>
16
17
  <tag>HVAC.Whole System</tag>
17
18
  </tags>
@@ -48,12 +49,6 @@
48
49
  </attribute>
49
50
  </attributes>
50
51
  <files>
51
- <file>
52
- <filename>LICENSE.md</filename>
53
- <filetype>md</filetype>
54
- <usage_type>license</usage_type>
55
- <checksum>E0468DD6</checksum>
56
- </file>
57
52
  <file>
58
53
  <filename>README.md.erb</filename>
59
54
  <filetype>erb</filetype>
@@ -66,16 +61,34 @@
66
61
  <usage_type>readme</usage_type>
67
62
  <checksum>960BFA6F</checksum>
68
63
  </file>
64
+ <file>
65
+ <filename>LICENSE.md</filename>
66
+ <filetype>md</filetype>
67
+ <usage_type>license</usage_type>
68
+ <checksum>A21A3ED2</checksum>
69
+ </file>
69
70
  <file>
70
71
  <version>
71
72
  <software_program>OpenStudio</software_program>
72
73
  <identifier>1.5.0</identifier>
73
- <min_compatible>1.5.0</min_compatible>
74
+ <min_compatible>2.5.1</min_compatible>
74
75
  </version>
75
76
  <filename>measure.rb</filename>
76
77
  <filetype>rb</filetype>
77
78
  <usage_type>script</usage_type>
78
- <checksum>32A75566</checksum>
79
+ <checksum>0920138B</checksum>
80
+ </file>
81
+ <file>
82
+ <filename>small_office.osm</filename>
83
+ <filetype>osm</filetype>
84
+ <usage_type>test</usage_type>
85
+ <checksum>0FB2ACC8</checksum>
86
+ </file>
87
+ <file>
88
+ <filename>hard_size_hvac_test.rb</filename>
89
+ <filetype>rb</filetype>
90
+ <usage_type>test</usage_type>
91
+ <checksum>FA5BB28D</checksum>
79
92
  </file>
80
93
  </files>
81
94
  </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>r_value_of_insulation_for_construction_multiplier</name>
4
5
  <uid>3c7a6751-bb54-4600-9410-8f042e1a513b</uid>
5
- <version_id>3cb88e64-6164-4990-ad56-46c630b22722</version_id>
6
- <version_modified>20200325T030943Z</version_modified>
6
+ <version_id>f343d569-e617-45b4-927e-c91b07897056</version_id>
7
+ <version_modified>20210304T152738Z</version_modified>
7
8
  <xml_checksum>0BF71A3E</xml_checksum>
8
9
  <class_name>RValueOfInsulationForConstructionMultiplier</class_name>
9
10
  <display_name>Change R-value of Insulation Layer for Construction By a Multiplier</display_name>
@@ -26,8 +27,8 @@
26
27
  <default_value>1</default_value>
27
28
  </argument>
28
29
  </arguments>
29
- <outputs/>
30
- <provenances/>
30
+ <outputs />
31
+ <provenances />
31
32
  <tags>
32
33
  <tag>Envelope.Opaque</tag>
33
34
  </tags>
@@ -99,12 +100,6 @@
99
100
  </attribute>
100
101
  </attributes>
101
102
  <files>
102
- <file>
103
- <filename>LICENSE.md</filename>
104
- <filetype>md</filetype>
105
- <usage_type>license</usage_type>
106
- <checksum>E0468DD6</checksum>
107
- </file>
108
103
  <file>
109
104
  <filename>README.md.erb</filename>
110
105
  <filetype>erb</filetype>
@@ -117,6 +112,12 @@
117
112
  <usage_type>readme</usage_type>
118
113
  <checksum>CE5C5F28</checksum>
119
114
  </file>
115
+ <file>
116
+ <filename>LICENSE.md</filename>
117
+ <filetype>md</filetype>
118
+ <usage_type>license</usage_type>
119
+ <checksum>A21A3ED2</checksum>
120
+ </file>
120
121
  <file>
121
122
  <version>
122
123
  <software_program>OpenStudio</software_program>
@@ -126,7 +127,7 @@
126
127
  <filename>measure.rb</filename>
127
128
  <filetype>rb</filetype>
128
129
  <usage_type>script</usage_type>
129
- <checksum>2D96FDE5</checksum>
130
+ <checksum>F8F5CBC4</checksum>
130
131
  </file>
131
132
  </files>
132
133
  </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: