openstudio-common-measures 0.3.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (467) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +3 -1
  4. data/CHANGELOG.md +34 -0
  5. data/Jenkinsfile +2 -1
  6. data/LICENSE.md +1 -1
  7. data/README.md +21 -2
  8. data/doc_templates/LICENSE.md +1 -1
  9. data/doc_templates/copyright_erb.txt +1 -1
  10. data/doc_templates/copyright_js.txt +1 -1
  11. data/doc_templates/copyright_ruby.txt +1 -1
  12. data/lib/measures/AddCostPerAreaToConstruction/LICENSE.md +1 -1
  13. data/lib/measures/AddCostPerAreaToConstruction/measure.rb +1 -1
  14. data/lib/measures/AddCostPerAreaToConstruction/measure.xml +8 -7
  15. data/lib/measures/AddCostPerFloorAreaToBuilding/LICENSE.md +1 -1
  16. data/lib/measures/AddCostPerFloorAreaToBuilding/measure.rb +1 -1
  17. data/lib/measures/AddCostPerFloorAreaToBuilding/measure.xml +8 -7
  18. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/LICENSE.md +1 -1
  19. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.rb +1 -1
  20. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.xml +8 -7
  21. data/lib/measures/AddCostPerFloorAreaToLights/LICENSE.md +1 -1
  22. data/lib/measures/AddCostPerFloorAreaToLights/measure.rb +1 -1
  23. data/lib/measures/AddCostPerFloorAreaToLights/measure.xml +8 -7
  24. data/lib/measures/AddCostPerFloorAreaUnusedToLights/LICENSE.md +1 -1
  25. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.rb +1 -1
  26. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +8 -13
  27. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/LICENSE.md +1 -1
  28. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.rb +1 -1
  29. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +15 -8
  30. data/lib/measures/AddCostperAreatoUnusedConstruction/LICENSE.md +1 -1
  31. data/lib/measures/AddCostperAreatoUnusedConstruction/measure.rb +1 -1
  32. data/lib/measures/AddCostperAreatoUnusedConstruction/measure.xml +8 -7
  33. data/lib/measures/AddExteriorLights/LICENSE.md +1 -1
  34. data/lib/measures/AddExteriorLights/measure.rb +1 -1
  35. data/lib/measures/AddExteriorLights/measure.xml +8 -7
  36. data/lib/measures/AddMeter/LICENSE.md +1 -1
  37. data/lib/measures/AddMeter/measure.rb +1 -1
  38. data/lib/measures/AddMeter/measure.xml +8 -7
  39. data/lib/measures/AddOutputDiagnostics/LICENSE.md +1 -1
  40. data/lib/measures/AddOutputDiagnostics/measure.rb +1 -1
  41. data/lib/measures/AddOutputDiagnostics/measure.xml +8 -7
  42. data/lib/measures/AddOutputVariable/LICENSE.md +1 -1
  43. data/lib/measures/AddOutputVariable/measure.rb +1 -1
  44. data/lib/measures/AddOutputVariable/measure.xml +8 -7
  45. data/lib/measures/AddSimplePvToShadingSurfacesByType/LICENSE.md +1 -1
  46. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.rb +1 -1
  47. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +8 -7
  48. data/lib/measures/AdjustSystemEfficiencies/LICENSE.md +1 -1
  49. data/lib/measures/AdjustSystemEfficiencies/measure.rb +1 -1
  50. data/lib/measures/AdjustSystemEfficiencies/measure.xml +7 -6
  51. data/lib/measures/AdjustThermostatSetpointsByDegrees/LICENSE.md +1 -1
  52. data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.rb +1 -1
  53. data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.xml +8 -7
  54. data/lib/measures/ChangeBuildingLocation/LICENSE.md +1 -1
  55. data/lib/measures/ChangeBuildingLocation/measure.rb +3 -3
  56. data/lib/measures/ChangeBuildingLocation/measure.xml +17 -17
  57. data/lib/measures/ChangeBuildingLocation/resources/epw.rb +1 -1
  58. data/lib/measures/ChangeBuildingLocation/resources/stat_file.rb +1 -1
  59. data/lib/measures/EnableIdealAirLoadsForAllZones/LICENSE.md +1 -1
  60. data/lib/measures/EnableIdealAirLoadsForAllZones/measure.rb +1 -1
  61. data/lib/measures/EnableIdealAirLoadsForAllZones/measure.xml +9 -8
  62. data/lib/measures/ExportScheduleCSV/LICENSE.md +1 -1
  63. data/lib/measures/ExportScheduleCSV/measure.rb +1 -1
  64. data/lib/measures/ExportScheduleCSV/measure.xml +11 -11
  65. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/LICENSE.md +1 -1
  66. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.rb +1 -1
  67. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +5 -5
  68. data/lib/measures/MeterFlodPlot/LICENSE.md +1 -1
  69. data/lib/measures/MeterFlodPlot/measure.rb +1 -1
  70. data/lib/measures/MeterFlodPlot/measure.xml +11 -11
  71. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/LICENSE.md +1 -1
  72. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.rb +1 -1
  73. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.xml +8 -7
  74. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/LICENSE.md +1 -1
  75. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.rb +1 -1
  76. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.xml +8 -7
  77. data/lib/measures/PredictedMeanVote/LICENSE.md +1 -1
  78. data/lib/measures/PredictedMeanVote/measure.rb +1 -1
  79. data/lib/measures/PredictedMeanVote/measure.xml +14 -13
  80. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/LICENSE.md +1 -1
  81. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.rb +1 -1
  82. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.xml +9 -8
  83. data/lib/measures/RemoveUnusedDefaultProfiles/LICENSE.md +1 -1
  84. data/lib/measures/RemoveUnusedDefaultProfiles/measure.rb +1 -1
  85. data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +9 -8
  86. data/lib/measures/ReplaceExteriorWindowConstruction/LICENSE.md +1 -1
  87. data/lib/measures/ReplaceExteriorWindowConstruction/measure.rb +1 -1
  88. data/lib/measures/ReplaceExteriorWindowConstruction/measure.xml +11 -10
  89. data/lib/measures/ReplaceThermostatSchedules/LICENSE.md +1 -1
  90. data/lib/measures/ReplaceThermostatSchedules/measure.rb +1 -1
  91. data/lib/measures/ReplaceThermostatSchedules/measure.xml +12 -11
  92. data/lib/measures/ReportModelChanges/LICENSE.md +1 -1
  93. data/lib/measures/ReportModelChanges/measure.rb +1 -1
  94. data/lib/measures/ReportModelChanges/measure.xml +5 -5
  95. data/lib/measures/RunPeriod/LICENSE.md +1 -1
  96. data/lib/measures/RunPeriod/measure.rb +1 -1
  97. data/lib/measures/RunPeriod/measure.xml +19 -18
  98. data/lib/measures/RunPeriodMultiple/LICENSE.md +1 -1
  99. data/lib/measures/RunPeriodMultiple/measure.rb +1 -1
  100. data/lib/measures/RunPeriodMultiple/measure.xml +4 -4
  101. data/lib/measures/ServerDirectoryCleanup/LICENSE.md +1 -1
  102. data/lib/measures/ServerDirectoryCleanup/measure.rb +1 -1
  103. data/lib/measures/ServerDirectoryCleanup/measure.xml +16 -16
  104. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/LICENSE.md +1 -1
  105. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.rb +1 -1
  106. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +10 -9
  107. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/LICENSE.md +1 -1
  108. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.rb +1 -1
  109. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +10 -9
  110. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/LICENSE.md +1 -1
  111. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.rb +1 -1
  112. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.xml +8 -7
  113. data/lib/measures/SetEnergyPlusLightObjectsLPD/LICENSE.md +1 -1
  114. data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.rb +1 -1
  115. data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.xml +8 -7
  116. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/LICENSE.md +1 -1
  117. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.rb +1 -1
  118. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.xml +8 -7
  119. data/lib/measures/SetGasBurnerEfficiency/LICENSE.md +1 -1
  120. data/lib/measures/SetGasBurnerEfficiency/measure.rb +1 -1
  121. data/lib/measures/SetGasBurnerEfficiency/measure.xml +10 -9
  122. data/lib/measures/SetLifecycleCostParameters/LICENSE.md +1 -1
  123. data/lib/measures/SetLifecycleCostParameters/measure.rb +1 -1
  124. data/lib/measures/SetLifecycleCostParameters/measure.xml +8 -7
  125. data/lib/measures/SetLightingLoadsByLPD/LICENSE.md +1 -1
  126. data/lib/measures/SetLightingLoadsByLPD/measure.rb +1 -1
  127. data/lib/measures/SetLightingLoadsByLPD/measure.xml +10 -9
  128. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/LICENSE.md +1 -1
  129. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.rb +1 -1
  130. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.xml +20 -19
  131. data/lib/measures/SetThermostatSchedules/LICENSE.md +1 -1
  132. data/lib/measures/SetThermostatSchedules/measure.rb +1 -1
  133. data/lib/measures/SetThermostatSchedules/measure.xml +12 -11
  134. data/lib/measures/ShiftScheduleProfileTime/LICENSE.md +1 -1
  135. data/lib/measures/ShiftScheduleProfileTime/measure.rb +1 -1
  136. data/lib/measures/ShiftScheduleProfileTime/measure.xml +10 -9
  137. data/lib/measures/SwapLightsDefinition/LICENSE.md +1 -1
  138. data/lib/measures/SwapLightsDefinition/measure.rb +1 -1
  139. data/lib/measures/SwapLightsDefinition/measure.xml +9 -10
  140. data/lib/measures/UnmetLoadHoursTroubleshooting/LICENSE.md +1 -1
  141. data/lib/measures/UnmetLoadHoursTroubleshooting/measure.rb +1 -1
  142. data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +11 -11
  143. data/lib/measures/VentilationQAQC/LICENSE.md +1 -1
  144. data/lib/measures/VentilationQAQC/measure.rb +1 -1
  145. data/lib/measures/VentilationQAQC/measure.xml +17 -17
  146. data/lib/measures/ZoneReport/LICENSE.md +1 -1
  147. data/lib/measures/ZoneReport/measure.rb +1 -1
  148. data/lib/measures/ZoneReport/measure.xml +11 -11
  149. data/lib/measures/add_ems_emissions_reporting/LICENSE.MD.txt +15 -0
  150. data/lib/measures/add_ems_emissions_reporting/LICENSE.md +27 -0
  151. data/lib/measures/add_ems_emissions_reporting/README.md +17 -0
  152. data/lib/measures/add_ems_emissions_reporting/measure.rb +475 -0
  153. data/lib/measures/add_ems_emissions_reporting/measure.xml +599 -0
  154. data/lib/measures/add_ems_emissions_reporting/resources/future_annual_co2e.csv +17 -0
  155. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2020.csv +8761 -0
  156. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2022.csv +8761 -0
  157. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2024.csv +8761 -0
  158. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2026.csv +8761 -0
  159. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2028.csv +8761 -0
  160. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2030.csv +8761 -0
  161. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2032.csv +8761 -0
  162. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2034.csv +8761 -0
  163. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2036.csv +8761 -0
  164. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2038.csv +8761 -0
  165. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2040.csv +8761 -0
  166. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2042.csv +8761 -0
  167. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2044.csv +8761 -0
  168. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2046.csv +8761 -0
  169. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2048.csv +8761 -0
  170. data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2050.csv +8761 -0
  171. data/lib/measures/add_ems_emissions_reporting/resources/historical_annual_co2e.csv +9 -0
  172. data/lib/measures/add_ems_emissions_reporting/resources/historical_hourly_co2e_2019.csv +8761 -0
  173. data/lib/measures/add_ems_to_control_ev_charging/LICENSE.MD.txt +1 -1
  174. data/lib/measures/add_ems_to_control_ev_charging/LICENSE.md +1 -1
  175. data/lib/measures/add_ems_to_control_ev_charging/measure.rb +2 -1
  176. data/lib/measures/add_ems_to_control_ev_charging/measure.xml +14 -10
  177. data/lib/measures/add_ev_load/LICENSE.MD.txt +1 -1
  178. data/lib/measures/add_ev_load/LICENSE.md +1 -1
  179. data/lib/measures/add_ev_load/measure.rb +56 -10
  180. data/lib/measures/add_ev_load/measure.xml +229 -16
  181. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/PSN_BuildingKey.csv → PSN_BuildingKey.csv} +0 -0
  182. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/PSN_BuildingKey_v2.csv → PSN_BuildingKey_v2.csv} +0 -0
  183. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow1_flex1.csv → chg1_dow1_flex1.csv} +0 -0
  184. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow1_flex2.csv → chg1_dow1_flex2.csv} +0 -0
  185. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow1_flex3.csv → chg1_dow1_flex3.csv} +0 -0
  186. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow2_flex1.csv → chg1_dow2_flex1.csv} +0 -0
  187. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow2_flex2.csv → chg1_dow2_flex2.csv} +0 -0
  188. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow2_flex3.csv → chg1_dow2_flex3.csv} +0 -0
  189. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow3_flex1.csv → chg1_dow3_flex1.csv} +0 -0
  190. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow3_flex2.csv → chg1_dow3_flex2.csv} +0 -0
  191. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg1_dow3_flex3.csv → chg1_dow3_flex3.csv} +0 -0
  192. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow1_flex1.csv → chg2_dow1_flex1.csv} +0 -0
  193. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow1_flex2.csv → chg2_dow1_flex2.csv} +0 -0
  194. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow1_flex3.csv → chg2_dow1_flex3.csv} +0 -0
  195. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow2_flex1.csv → chg2_dow2_flex1.csv} +0 -0
  196. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow2_flex2.csv → chg2_dow2_flex2.csv} +0 -0
  197. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow2_flex3.csv → chg2_dow2_flex3.csv} +0 -0
  198. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow3_flex1.csv → chg2_dow3_flex1.csv} +0 -0
  199. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow3_flex2.csv → chg2_dow3_flex2.csv} +0 -0
  200. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg2_dow3_flex3.csv → chg2_dow3_flex3.csv} +0 -0
  201. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow1_flex1.csv → chg3_dow1_flex1.csv} +0 -0
  202. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow1_flex2.csv → chg3_dow1_flex2.csv} +0 -0
  203. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow1_flex3.csv → chg3_dow1_flex3.csv} +0 -0
  204. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow2_flex1.csv → chg3_dow2_flex1.csv} +0 -0
  205. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow2_flex2.csv → chg3_dow2_flex2.csv} +0 -0
  206. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow2_flex3.csv → chg3_dow2_flex3.csv} +0 -0
  207. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow3_flex1.csv → chg3_dow3_flex1.csv} +0 -0
  208. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow3_flex2.csv → chg3_dow3_flex2.csv} +0 -0
  209. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/chg3_dow3_flex3.csv → chg3_dow3_flex3.csv} +0 -0
  210. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/fast_charge_15min_Saturday.csv → fast_charge_15min_Saturday.csv} +0 -0
  211. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/fast_charge_15min_Sunday.csv → fast_charge_15min_Sunday.csv} +0 -0
  212. data/lib/measures/add_ev_load/resources/{EV_Load_Profiles/fast_charge_15min_Weekday.csv → fast_charge_15min_Weekday.csv} +0 -0
  213. data/lib/measures/add_rooftop_pv/LICENSE.md +1 -1
  214. data/lib/measures/add_rooftop_pv/measure.rb +1 -1
  215. data/lib/measures/add_rooftop_pv/measure.xml +5 -5
  216. data/lib/measures/add_zone_mixing_object/LICENSE.md +1 -1
  217. data/lib/measures/add_zone_mixing_object/measure.rb +1 -1
  218. data/lib/measures/add_zone_mixing_object/measure.xml +8 -7
  219. data/lib/measures/add_zone_ventilation_design_flow_rate_object/LICENSE.md +1 -1
  220. data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.rb +1 -1
  221. data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.xml +8 -7
  222. data/lib/measures/air_wall_zone_mixing/LICENSE.md +1 -1
  223. data/lib/measures/air_wall_zone_mixing/measure.rb +1 -1
  224. data/lib/measures/air_wall_zone_mixing/measure.xml +5 -5
  225. data/lib/measures/envelope_and_internal_load_breakdown/LICENSE.md +1 -1
  226. data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +1 -1
  227. data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +8 -8
  228. data/lib/measures/envelope_and_internal_load_breakdown/resources/os_lib_reporting_envelope_and_internal_loads_breakdown.rb +1 -1
  229. data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +8 -1
  230. data/lib/measures/example_report/LICENSE.md +1 -1
  231. data/lib/measures/example_report/measure.rb +1 -1
  232. data/lib/measures/example_report/measure.xml +14 -14
  233. data/lib/measures/example_report/resources/os_lib_reporting_example.rb +1 -1
  234. data/lib/measures/example_report/resources/report.html.erb +8 -1
  235. data/lib/measures/gem_env_report/LICENSE.md +1 -1
  236. data/lib/measures/gem_env_report/measure.rb +1 -1
  237. data/lib/measures/gem_env_report/measure.xml +13 -12
  238. data/lib/measures/gem_env_report/resources/gem_env_info.rb +1 -1
  239. data/lib/measures/gem_env_report/resources/openstudio_info.rb +1 -1
  240. data/lib/measures/gem_env_report/resources/run_gem_env_info.rb +1 -1
  241. data/lib/measures/gem_env_report/resources/run_openstudio_info.rb +1 -1
  242. data/lib/measures/generic_qaqc/LICENSE.md +1 -1
  243. data/lib/measures/generic_qaqc/README.md +19 -4
  244. data/lib/measures/generic_qaqc/README.md.erb +7 -1
  245. data/lib/measures/generic_qaqc/docs/generic_qaqc_detailed.jpg +0 -0
  246. data/lib/measures/generic_qaqc/docs/generic_qaqc_summary.jpg +0 -0
  247. data/lib/measures/generic_qaqc/measure.rb +40 -30
  248. data/lib/measures/generic_qaqc/measure.xml +183 -90
  249. data/lib/measures/generic_qaqc/resources/CreateResults.rb +1 -1
  250. data/lib/measures/generic_qaqc/resources/check_air_sys_temps.rb +1 -1
  251. data/lib/measures/generic_qaqc/resources/check_calibration.rb +1 -1
  252. data/lib/measures/generic_qaqc/resources/check_cond_zns.rb +4 -2
  253. data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +14 -9
  254. data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +331 -232
  255. data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +60 -21
  256. data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +59 -21
  257. data/lib/measures/generic_qaqc/resources/check_fan_pwr.rb +1 -1
  258. data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +58 -57
  259. data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +5 -2
  260. data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +28 -23
  261. data/lib/measures/generic_qaqc/resources/check_mech_sys_part_load_eff.rb +5 -2
  262. data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +4 -4
  263. data/lib/measures/generic_qaqc/resources/check_part_loads.rb +1 -1
  264. data/lib/measures/generic_qaqc/resources/check_placeholder.rb +1 -1
  265. data/lib/measures/generic_qaqc/resources/check_plant_cap.rb +1 -1
  266. data/lib/measures/generic_qaqc/resources/check_plant_temps.rb +1 -1
  267. data/lib/measures/generic_qaqc/resources/check_plenum_loads.rb +1 -1
  268. data/lib/measures/generic_qaqc/resources/check_pump_pwr.rb +1 -1
  269. data/lib/measures/generic_qaqc/resources/check_sch_coord.rb +1 -1
  270. data/lib/measures/generic_qaqc/resources/check_schedules.rb +66 -102
  271. data/lib/measures/generic_qaqc/resources/check_simultaneous_heating_and_cooling.rb +4 -2
  272. data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +4 -2
  273. data/lib/measures/generic_qaqc/resources/check_weather_files.rb +1 -1
  274. data/lib/measures/generic_qaqc/resources/os_lib_reporting_qaqc.rb +50 -16
  275. data/lib/measures/generic_qaqc/resources/report.html.erb +8 -1
  276. data/lib/measures/get_site_from_building_component_library/LICENSE.md +1 -1
  277. data/lib/measures/get_site_from_building_component_library/measure.rb +1 -1
  278. data/lib/measures/get_site_from_building_component_library/measure.xml +6 -6
  279. data/lib/measures/hvac_psychrometric_chart/LICENSE.md +1 -1
  280. data/lib/measures/hvac_psychrometric_chart/measure.rb +1 -1
  281. data/lib/measures/hvac_psychrometric_chart/measure.xml +15 -15
  282. data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +8 -1
  283. data/lib/measures/inject_idf_objects/LICENSE.md +1 -1
  284. data/lib/measures/inject_idf_objects/measure.rb +1 -1
  285. data/lib/measures/inject_idf_objects/measure.xml +10 -10
  286. data/lib/measures/openstudio_results/LICENSE.md +1 -1
  287. data/lib/measures/openstudio_results/measure.rb +6 -4
  288. data/lib/measures/openstudio_results/measure.xml +174 -162
  289. data/lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb +1 -1
  290. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVAC.rb +1 -1
  291. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass.rb +1 -1
  292. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +1 -1
  293. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +1 -1
  294. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitarySystem.rb +1 -1
  295. data/lib/measures/openstudio_results/resources/Siz.AirTerminalDualDuctVAV.rb +1 -1
  296. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeCooledBeam.rb +1 -1
  297. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb +1 -1
  298. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeReheat.rb +1 -1
  299. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctParallelPIUReheat.rb +1 -1
  300. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctSeriesPIUReheat.rb +1 -1
  301. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctUncontrolled.rb +1 -1
  302. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVHeatAndCoolNoReheat.rb +1 -1
  303. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVHeatAndCoolReheat.rb +1 -1
  304. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVNoReheat.rb +1 -1
  305. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVReheat.rb +1 -1
  306. data/lib/measures/openstudio_results/resources/Siz.BoilerHotWater.rb +1 -1
  307. data/lib/measures/openstudio_results/resources/Siz.BoilerSteam.rb +1 -1
  308. data/lib/measures/openstudio_results/resources/Siz.ChillerAbsorption.rb +1 -1
  309. data/lib/measures/openstudio_results/resources/Siz.ChillerAbsorptionIndirect.rb +1 -1
  310. data/lib/measures/openstudio_results/resources/Siz.ChillerElectricEIR.rb +1 -1
  311. data/lib/measures/openstudio_results/resources/Siz.ChillerHeaterPerformanceElectricEIR.rb +1 -1
  312. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeed.rb +1 -1
  313. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeedStageData.rb +1 -1
  314. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXSingleSpeed.rb +1 -1
  315. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoSpeed.rb +1 -1
  316. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb +1 -1
  317. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +1 -1
  318. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableSpeed.rb +1 -1
  319. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableSpeedSpeedData.rb +1 -1
  320. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingLowTempRadiantVarFlow.rb +1 -1
  321. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWater.rb +1 -1
  322. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +1 -1
  323. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit.rb +1 -1
  324. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb +1 -1
  325. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeed.rb +1 -1
  326. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeedStageData.rb +1 -1
  327. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXSingleSpeed.rb +1 -1
  328. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +1 -1
  329. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableSpeed.rb +1 -1
  330. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableSpeedSpeedData.rb +1 -1
  331. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDesuperheater.rb +1 -1
  332. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingElectric.rb +1 -1
  333. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGas.rb +1 -1
  334. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGasMultiStage.rb +1 -1
  335. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGasMultiStageStageData.rb +1 -1
  336. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingLowTempRadiantVarFlow.rb +1 -1
  337. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWater.rb +1 -1
  338. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterBaseboard.rb +1 -1
  339. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterBaseboardRadiant.rb +1 -1
  340. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +1 -1
  341. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb +1 -1
  342. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb +1 -1
  343. data/lib/measures/openstudio_results/resources/Siz.CoilPerformanceDXCooling.rb +1 -1
  344. data/lib/measures/openstudio_results/resources/Siz.CoilSystemCoolingDXHeatExchangerAssisted.rb +1 -1
  345. data/lib/measures/openstudio_results/resources/Siz.CoilSystemCoolingWaterHeatExchangerAssisted.rb +1 -1
  346. data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingAirToWaterHeatPump.rb +1 -1
  347. data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingAirToWaterHeatPumpWrapped.rb +1 -1
  348. data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingDesuperheater.rb +1 -1
  349. data/lib/measures/openstudio_results/resources/Siz.ControllerOutdoorAir.rb +1 -1
  350. data/lib/measures/openstudio_results/resources/Siz.CoolingTowerSingleSpeed.rb +1 -1
  351. data/lib/measures/openstudio_results/resources/Siz.CoolingTowerTwoSpeed.rb +1 -1
  352. data/lib/measures/openstudio_results/resources/Siz.CoolingTowerVariableSpeed.rb +1 -1
  353. data/lib/measures/openstudio_results/resources/Siz.DistrictCooling.rb +1 -1
  354. data/lib/measures/openstudio_results/resources/Siz.DistrictHeating.rb +1 -1
  355. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterInverterLookUpTable.rb +1 -1
  356. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterInverterSimple.rb +1 -1
  357. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterStorageConverter.rb +1 -1
  358. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterStorageSimple.rb +1 -1
  359. data/lib/measures/openstudio_results/resources/Siz.EvaporativeCoolerDirectResearchSpecial.rb +1 -1
  360. data/lib/measures/openstudio_results/resources/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +1 -1
  361. data/lib/measures/openstudio_results/resources/Siz.EvaporativeFluidCoolerSingleSpeed.rb +1 -1
  362. data/lib/measures/openstudio_results/resources/Siz.EvaporativeFluidCoolerTwoSpeed.rb +1 -1
  363. data/lib/measures/openstudio_results/resources/Siz.FanConstantVolume.rb +1 -1
  364. data/lib/measures/openstudio_results/resources/Siz.FanOnOff.rb +1 -1
  365. data/lib/measures/openstudio_results/resources/Siz.FanVariableVolume.rb +1 -1
  366. data/lib/measures/openstudio_results/resources/Siz.FanZoneExhaust.rb +1 -1
  367. data/lib/measures/openstudio_results/resources/Siz.FluidCoolerSingleSpeed.rb +1 -1
  368. data/lib/measures/openstudio_results/resources/Siz.FluidCoolerTwoSpeed.rb +1 -1
  369. data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellElectricalStorage.rb +1 -1
  370. data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellInverter.rb +1 -1
  371. data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellPowerModule.rb +1 -1
  372. data/lib/measures/openstudio_results/resources/Siz.GeneratorMicroTurbine.rb +1 -1
  373. data/lib/measures/openstudio_results/resources/Siz.GeneratorMicroTurbineHeatRecovery.rb +1 -1
  374. data/lib/measures/openstudio_results/resources/Siz.HVACComponent.rb +1 -1
  375. data/lib/measures/openstudio_results/resources/Siz.HeaderedPumpsConstantSpeed.rb +1 -1
  376. data/lib/measures/openstudio_results/resources/Siz.HeaderedPumpsVariableSpeed.rb +1 -1
  377. data/lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +1 -1
  378. data/lib/measures/openstudio_results/resources/Siz.HeatExchangerFluidToFluid.rb +1 -1
  379. data/lib/measures/openstudio_results/resources/Siz.HeatPumpWaterToWaterEquationFitCooling.rb +1 -1
  380. data/lib/measures/openstudio_results/resources/Siz.HeatPumpWaterToWaterEquationFitHeating.rb +1 -1
  381. data/lib/measures/openstudio_results/resources/Siz.HumidifierSteamElectric.rb +1 -1
  382. data/lib/measures/openstudio_results/resources/Siz.Model.rb +1 -1
  383. data/lib/measures/openstudio_results/resources/Siz.ModelObject.rb +1 -1
  384. data/lib/measures/openstudio_results/resources/Siz.PhotovoltaicPerformanceSimple.rb +1 -1
  385. data/lib/measures/openstudio_results/resources/Siz.PlantComponentTemperatureSource.rb +1 -1
  386. data/lib/measures/openstudio_results/resources/Siz.PlantLoop.rb +1 -1
  387. data/lib/measures/openstudio_results/resources/Siz.PumpConstantSpeed.rb +1 -1
  388. data/lib/measures/openstudio_results/resources/Siz.PumpVariableSpeed.rb +1 -1
  389. data/lib/measures/openstudio_results/resources/Siz.RefrigerationSecondarySystem.rb +1 -1
  390. data/lib/measures/openstudio_results/resources/Siz.RefrigerationSystem.rb +1 -1
  391. data/lib/measures/openstudio_results/resources/Siz.RefrigerationTranscriticalSystem.rb +1 -1
  392. data/lib/measures/openstudio_results/resources/Siz.SizingSystem.rb +1 -1
  393. data/lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb +1 -1
  394. data/lib/measures/openstudio_results/resources/Siz.SolarCollectorPerformancePhotovoltaicThermalSimple.rb +1 -1
  395. data/lib/measures/openstudio_results/resources/Siz.ThermalStorageChilledWaterStratified.rb +1 -1
  396. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterHeatPump.rb +1 -1
  397. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterHeatPumpWrappedCondenser.rb +1 -1
  398. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterMixed.rb +1 -1
  399. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb +1 -1
  400. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardConvectiveElectric.rb +1 -1
  401. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardConvectiveWater.rb +1 -1
  402. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardRadiantConvectiveElectric.rb +1 -1
  403. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardRadiantConvectiveWater.rb +1 -1
  404. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACEnergyRecoveryVentilator.rb +1 -1
  405. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb +1 -1
  406. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACHighTemperatureRadiant.rb +1 -1
  407. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACIdealLoadsAirSystem.rb +1 -1
  408. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACLowTempRadiantConstFlow.rb +1 -1
  409. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACLowTempRadiantVarFlow.rb +1 -1
  410. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +1 -1
  411. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb +1 -1
  412. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +1 -1
  413. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitHeater.rb +1 -1
  414. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb +1 -1
  415. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACWaterToAirHeatPump.rb +1 -1
  416. data/lib/measures/openstudio_results/resources/Siz.ZoneVentilationDesignFlowRate.rb +1 -1
  417. data/lib/measures/openstudio_results/resources/os_lib_reporting.rb +2 -2
  418. data/lib/measures/openstudio_results/resources/report.html.erb +8 -1
  419. data/lib/measures/remove_orphan_objects_and_unused_resources/LICENSE.md +1 -1
  420. data/lib/measures/remove_orphan_objects_and_unused_resources/measure.rb +1 -1
  421. data/lib/measures/remove_orphan_objects_and_unused_resources/measure.xml +8 -7
  422. data/lib/measures/set_electric_equipment_loads_by_epd/LICENSE.md +1 -1
  423. data/lib/measures/set_electric_equipment_loads_by_epd/measure.rb +1 -1
  424. data/lib/measures/set_electric_equipment_loads_by_epd/measure.xml +10 -9
  425. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/LICENSE.md +1 -1
  426. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.rb +1 -1
  427. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.xml +17 -11
  428. data/lib/measures/set_run_period/LICENSE.md +1 -1
  429. data/lib/measures/set_run_period/measure.rb +1 -1
  430. data/lib/measures/set_run_period/measure.xml +5 -5
  431. data/lib/measures/set_space_infiltration_per_exterior_area/LICENSE.md +1 -1
  432. data/lib/measures/set_space_infiltration_per_exterior_area/measure.rb +1 -1
  433. data/lib/measures/set_space_infiltration_per_exterior_area/measure.xml +8 -7
  434. data/lib/measures/tariff_selection_block/LICENSE.md +1 -1
  435. data/lib/measures/tariff_selection_block/measure.rb +2 -2
  436. data/lib/measures/tariff_selection_block/measure.xml +5 -5
  437. data/lib/measures/tariff_selection_flat/LICENSE.md +1 -1
  438. data/lib/measures/tariff_selection_flat/measure.rb +2 -2
  439. data/lib/measures/tariff_selection_flat/measure.xml +5 -5
  440. data/lib/measures/tariff_selection_generic/LICENSE.md +1 -1
  441. data/lib/measures/tariff_selection_generic/README.md +2 -2
  442. data/lib/measures/tariff_selection_generic/measure.rb +1 -1
  443. data/lib/measures/tariff_selection_generic/measure.xml +25 -25
  444. data/lib/measures/tariff_selection_generic/resources/FlatEnergyCharge-Gas.idf +3 -3
  445. data/lib/measures/tariff_selection_generic/resources/IN-EIAMonthlyRateGas.idf +1 -1
  446. data/lib/measures/tariff_selection_time_and_date_dependant/LICENSE.md +1 -1
  447. data/lib/measures/tariff_selection_time_and_date_dependant/measure.rb +2 -2
  448. data/lib/measures/tariff_selection_time_and_date_dependant/measure.xml +5 -5
  449. data/lib/measures/view_data/LICENSE.md +1 -1
  450. data/lib/measures/view_data/measure.rb +1 -1
  451. data/lib/measures/view_data/measure.xml +32 -32
  452. data/lib/measures/view_data/resources/report.html.in +1336 -973
  453. data/lib/measures/view_data/resources/va3c.rb +2 -1
  454. data/lib/measures/view_model/LICENSE.md +1 -1
  455. data/lib/measures/view_model/measure.rb +1 -1
  456. data/lib/measures/view_model/measure.xml +32 -32
  457. data/lib/measures/view_model/resources/report.html.in +1339 -976
  458. data/lib/measures/view_model/resources/va3c.rb +2 -1
  459. data/lib/openstudio/common_measures/extension.rb +1 -1
  460. data/lib/openstudio/common_measures/version.rb +2 -2
  461. data/lib/openstudio/common_measures.rb +1 -1
  462. data/lib/openstudio-common-measures.rb +1 -1
  463. data/openstudio-common-measures.gemspec +4 -4
  464. metadata +68 -45
  465. data/lib/measures/generic_qaqc/resources/os_lib_helper_methods.rb +0 -399
  466. data/lib/measures/openstudio_results/resources/os_lib_helper_methods.rb +0 -399
  467. data/lib/measures/openstudio_results/resources/os_lib_schedules.rb +0 -962
@@ -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:
@@ -37,6 +37,12 @@ require 'erb'
37
37
  require 'json'
38
38
  require 'openstudio-standards'
39
39
 
40
+ # load OpenStudio measure libraries from openstudio-extension gem
41
+ require 'openstudio-extension'
42
+ require 'openstudio/extension/core/os_lib_schedules'
43
+ require 'openstudio/extension/core/os_lib_helper_methods'
44
+ require 'openstudio/extension/core/os_lib_model_generation.rb'
45
+
40
46
  # require all .rb files in resources folder
41
47
  Dir[File.dirname(__FILE__) + '/resources/*.rb'].each { |file| require file }
42
48
 
@@ -44,6 +50,9 @@ Dir[File.dirname(__FILE__) + '/resources/*.rb'].each { |file| require file }
44
50
  class GenericQAQC < OpenStudio::Measure::ReportingMeasure
45
51
  # all QAQC checks should be in OsLib_QAQC module
46
52
  include OsLib_QAQC
53
+ include OsLib_HelperMethods
54
+ include OsLib_ModelGeneration
55
+
47
56
  # OsLib_CreateResults is needed for utility EDA programs but not the generic QAQC measure
48
57
  # include OsLib_CreateResults
49
58
 
@@ -84,6 +93,7 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
84
93
 
85
94
  # gather inputs for check_mech_sys_capacity. Each option has a target value, min and max fractional tolerance, and units
86
95
  # in the future climate zone specific targets may be in standards
96
+ # todo - expose these tollerances as user arguments
87
97
  options_check_mech_sys_capacity = {}
88
98
  options_check_mech_sys_capacity['chiller_max_flow_rate'] = { 'target' => 2.4, 'min' => 0.1, 'max' => 0.1, 'units' => 'gal/ton*min' }
89
99
  options_check_mech_sys_capacity['air_loop_max_flow_rate'] = { 'target' => 1.0, 'min' => 0.1, 'max' => 0.1, 'units' => 'cfm/ft^2' }
@@ -112,14 +122,7 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
112
122
  args = OpenStudio::Measure::OSArgumentVector.new
113
123
 
114
124
  # Make an argument for the template
115
- template_chs = OpenStudio::StringVector.new
116
- template_chs << 'DOE Ref Pre-1980'
117
- template_chs << 'DOE Ref 1980-2004'
118
- template_chs << '90.1-2004'
119
- template_chs << '90.1-2007'
120
- template_chs << '90.1-2010'
121
- template_chs << '90.1-2013'
122
- template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', template_chs, true)
125
+ template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', get_doe_templates(false), true)
123
126
  template.setDisplayName('Target ASHRAE Standard')
124
127
  template.setDescription('This used to set the target standard for most checks.')
125
128
  template.setDefaultValue('90.1-2013') # there is override variable in run method for this
@@ -179,6 +182,13 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
179
182
  end
180
183
  end
181
184
 
185
+ # make an argument for use_upstream_args
186
+ use_upstream_args = OpenStudio::Measure::OSArgument.makeBoolArgument('use_upstream_args', true)
187
+ use_upstream_args.setDisplayName('Use Upstream Argument Values')
188
+ use_upstream_args.setDescription('When true this will look for arguments or registerValues in upstream measures that match arguments from this measure, and will use the value from the upstream measure in place of what is entered for this measure.')
189
+ use_upstream_args.setDefaultValue(true)
190
+ args << use_upstream_args
191
+
182
192
  return args
183
193
  end # end the arguments method
184
194
 
@@ -262,32 +272,32 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
262
272
  # used for edapt programs to populate xml file with extra data
263
273
  # report_elems << create_results
264
274
 
265
- # utility name to to used by some qaqc checks
266
- @utility_name = nil # for utility QAQC string is passed in
267
- default_target_standard = args['template'] # for utility QAQC this is hard coded, for generic it is user argument
268
-
269
- # for large scale analysis may want to infer this from building name so it will be in sync with template variables from earlier measures
270
- override_template_arg = false
271
- if override_template_arg
272
- template_chs = []
273
- template_chs << 'DOE Ref Pre-1980'
274
- template_chs << 'DOE Ref 1980-2004'
275
- template_chs << '90.1-2004'
276
- template_chs << '90.1-2007'
277
- template_chs << '90.1-2010'
278
- template_chs << '90.1-2013'
279
- # map standard
280
- template_chs.each do |template_ch|
281
- if @model.getBuilding.name.to_s.include?(template_ch)
282
- default_target_standard = template_ch
283
- if template_ch != args['template']
284
- runner.registerInfo("override_template_arg is true. Ignoring user argument of #{args['template']} and instead using #{template_ch}.")
275
+ # lookup and replace argument values from upstream measures
276
+ if args['use_upstream_args'] == true
277
+ args.each do |arg, value|
278
+ next if arg == 'use_upstream_args' # this argument should not be changed
279
+ value_from_osw = OsLib_HelperMethods.check_upstream_measure_for_arg(runner, arg)
280
+ if !value_from_osw.empty?
281
+ runner.registerInfo("Replacing argument named #{arg} from current measure with a value of #{value_from_osw[:value]} from #{value_from_osw[:measure_name]}.")
282
+ new_val = value_from_osw[:value]
283
+ # TODO: - make code to handle non strings more robust. check_upstream_measure_for_arg coudl pass bakc the argument type
284
+ if arg == 'total_bldg_floor_area'
285
+ args[arg] = new_val.to_f
286
+ elsif arg == 'num_stories_above_grade'
287
+ args[arg] = new_val.to_f
288
+ elsif arg == 'zipcode'
289
+ args[arg] = new_val.to_i
290
+ else
291
+ args[arg] = new_val
285
292
  end
286
- break
287
293
  end
288
294
  end
289
295
  end
290
296
 
297
+ # utility name to to used by some qaqc checks
298
+ @utility_name = nil # for utility QAQC string is passed in
299
+ default_target_standard = args['template'] # for utility QAQC this is hard coded, for generic it is user argument
300
+
291
301
  # get building type, different standards path if multifamily
292
302
  building_type = ''
293
303
  if @model.getBuilding.standardsBuildingType.is_initialized
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>generic_qaqc</name>
5
5
  <uid>d58d6b29-69ba-4915-b907-3c2c37ddb7c7</uid>
6
- <version_id>0adab61f-9365-42cd-b6ab-ce548fafff91</version_id>
7
- <version_modified>20201001T054735Z</version_modified>
6
+ <version_id>8f162fe1-b120-4d78-861a-1089ee150751</version_id>
7
+ <version_modified>20220506T153448Z</version_modified>
8
8
  <xml_checksum>0A3BF61C</xml_checksum>
9
9
  <class_name>GenericQAQC</class_name>
10
10
  <display_name>Generic QAQC</display_name>
@@ -44,12 +44,44 @@
44
44
  <value>90.1-2013</value>
45
45
  <display_name>90.1-2013</display_name>
46
46
  </choice>
47
+ <choice>
48
+ <value>90.1-2016</value>
49
+ <display_name>90.1-2016</display_name>
50
+ </choice>
51
+ <choice>
52
+ <value>90.1-2019</value>
53
+ <display_name>90.1-2019</display_name>
54
+ </choice>
55
+ <choice>
56
+ <value>ComStock DOE Ref Pre-1980</value>
57
+ <display_name>ComStock DOE Ref Pre-1980</display_name>
58
+ </choice>
59
+ <choice>
60
+ <value>ComStock DOE Ref 1980-2004</value>
61
+ <display_name>ComStock DOE Ref 1980-2004</display_name>
62
+ </choice>
63
+ <choice>
64
+ <value>ComStock 90.1-2004</value>
65
+ <display_name>ComStock 90.1-2004</display_name>
66
+ </choice>
67
+ <choice>
68
+ <value>ComStock 90.1-2007</value>
69
+ <display_name>ComStock 90.1-2007</display_name>
70
+ </choice>
71
+ <choice>
72
+ <value>ComStock 90.1-2010</value>
73
+ <display_name>ComStock 90.1-2010</display_name>
74
+ </choice>
75
+ <choice>
76
+ <value>ComStock 90.1-2013</value>
77
+ <display_name>ComStock 90.1-2013</display_name>
78
+ </choice>
47
79
  </choices>
48
80
  </argument>
49
81
  <argument>
50
82
  <name>check_eui_reasonableness</name>
51
83
  <display_name>EUI Reasonableness (General)</display_name>
52
- <description>Check EUI for model against selected ASHRAE standard DOE prototype buildings.</description>
84
+ <description>Check model EUI against selected ASHRAE standard DOE prototype building.</description>
53
85
  <type>Boolean</type>
54
86
  <required>true</required>
55
87
  <model_dependent>false</model_dependent>
@@ -77,7 +109,7 @@
77
109
  <argument>
78
110
  <name>check_eui_by_end_use</name>
79
111
  <display_name>End Use by Category (General)</display_name>
80
- <description>Check end use by category against selected ASHRAE standard DOE prototype buildings.</description>
112
+ <description>Check model consumption by end use against selected ASHRAE standard DOE prototype building.</description>
81
113
  <type>Boolean</type>
82
114
  <required>true</required>
83
115
  <model_dependent>false</model_dependent>
@@ -180,7 +212,7 @@
180
212
  <argument>
181
213
  <name>check_internal_loads</name>
182
214
  <display_name>Internal Loads (Baseline)</display_name>
183
- <description>Check LPD, ventilation rates, occupant density, plug loads, and equipment loads against selected ASHRAE standard and DOE Prototype buildings.</description>
215
+ <description>Check LPD, ventilation rates, occupant density, plug loads, and equipment loads against selected ASHRAE standard DOE Prototype buildings.</description>
184
216
  <type>Boolean</type>
185
217
  <required>true</required>
186
218
  <model_dependent>false</model_dependent>
@@ -319,7 +351,7 @@
319
351
  </argument>
320
352
  <argument>
321
353
  <name>check_mech_sys_type</name>
322
- <display_name>Mechanical System Type (Baseline)</display_name>
354
+ <display_name>Baseline Mechanical System Type (Baseline)</display_name>
323
355
  <description>Check against ASHRAE 90.1. Infers the baseline system type based on the equipment serving the zone and their heating/cooling fuels. Only does a high-level inference; does not look for the presence/absence of required controls, etc.</description>
324
356
  <type>Boolean</type>
325
357
  <required>true</required>
@@ -364,6 +396,25 @@
364
396
  <model_dependent>false</model_dependent>
365
397
  <default_value>0.5</default_value>
366
398
  </argument>
399
+ <argument>
400
+ <name>use_upstream_args</name>
401
+ <display_name>Use Upstream Argument Values</display_name>
402
+ <description>When true this will look for arguments or registerValues in upstream measures that match arguments from this measure, and will use the value from the upstream measure in place of what is entered for this measure.</description>
403
+ <type>Boolean</type>
404
+ <required>true</required>
405
+ <model_dependent>false</model_dependent>
406
+ <default_value>true</default_value>
407
+ <choices>
408
+ <choice>
409
+ <value>true</value>
410
+ <display_name>true</display_name>
411
+ </choice>
412
+ <choice>
413
+ <value>false</value>
414
+ <display_name>false</display_name>
415
+ </choice>
416
+ </choices>
417
+ </argument>
367
418
  </arguments>
368
419
  <outputs />
369
420
  <provenances />
@@ -437,24 +488,12 @@
437
488
  <usage_type>resource</usage_type>
438
489
  <checksum>779C47A4</checksum>
439
490
  </file>
440
- <file>
441
- <filename>README.md.erb</filename>
442
- <filetype>erb</filetype>
443
- <usage_type>readmeerb</usage_type>
444
- <checksum>703C9964</checksum>
445
- </file>
446
491
  <file>
447
492
  <filename>BasicOfficeTest.osm</filename>
448
493
  <filetype>osm</filetype>
449
494
  <usage_type>test</usage_type>
450
495
  <checksum>75942985</checksum>
451
496
  </file>
452
- <file>
453
- <filename>MidRiseApt.osm</filename>
454
- <filetype>osm</filetype>
455
- <usage_type>test</usage_type>
456
- <checksum>146619F3</checksum>
457
- </file>
458
497
  <file>
459
498
  <filename>BasicOfficeTest_Mueller_altHVAC_a.osm</filename>
460
499
  <filetype>osm</filetype>
@@ -489,198 +528,252 @@
489
528
  <filename>LICENSE.md</filename>
490
529
  <filetype>md</filetype>
491
530
  <usage_type>license</usage_type>
492
- <checksum>E0468DD6</checksum>
493
- </file>
494
- <file>
495
- <filename>check_mech_sys_type.rb</filename>
496
- <filetype>rb</filetype>
497
- <usage_type>resource</usage_type>
498
- <checksum>DB7A676B</checksum>
531
+ <checksum>A21A3ED2</checksum>
499
532
  </file>
500
533
  <file>
501
534
  <filename>check_plant_cap.rb</filename>
502
535
  <filetype>rb</filetype>
503
536
  <usage_type>resource</usage_type>
504
- <checksum>62BF8146</checksum>
537
+ <checksum>5808A837</checksum>
505
538
  </file>
506
539
  <file>
507
540
  <filename>check_part_loads.rb</filename>
508
541
  <filetype>rb</filetype>
509
542
  <usage_type>resource</usage_type>
510
- <checksum>ABAE0E33</checksum>
543
+ <checksum>C56D1570</checksum>
511
544
  </file>
512
545
  <file>
513
546
  <filename>check_fan_pwr.rb</filename>
514
547
  <filetype>rb</filetype>
515
548
  <usage_type>resource</usage_type>
516
- <checksum>54705290</checksum>
549
+ <checksum>F32BF92B</checksum>
517
550
  </file>
518
551
  <file>
519
- <filename>check_supply_air_and_thermostat_temp_difference.rb</filename>
552
+ <filename>check_placeholder.rb</filename>
520
553
  <filetype>rb</filetype>
521
554
  <usage_type>resource</usage_type>
522
- <checksum>0F3C61BC</checksum>
555
+ <checksum>C9561EBD</checksum>
523
556
  </file>
524
557
  <file>
525
- <filename>check_placeholder.rb</filename>
558
+ <filename>check_plenum_loads.rb</filename>
526
559
  <filetype>rb</filetype>
527
560
  <usage_type>resource</usage_type>
528
- <checksum>A46F04B4</checksum>
561
+ <checksum>46981891</checksum>
529
562
  </file>
530
563
  <file>
531
- <filename>check_mech_sys_part_load_eff.rb</filename>
564
+ <filename>check_sch_coord.rb</filename>
532
565
  <filetype>rb</filetype>
533
566
  <usage_type>resource</usage_type>
534
- <checksum>B830417E</checksum>
567
+ <checksum>B17FFC25</checksum>
535
568
  </file>
536
569
  <file>
537
- <filename>check_plenum_loads.rb</filename>
570
+ <filename>check_air_sys_temps.rb</filename>
538
571
  <filetype>rb</filetype>
539
572
  <usage_type>resource</usage_type>
540
- <checksum>B6BCB01D</checksum>
573
+ <checksum>C76C4A0C</checksum>
541
574
  </file>
542
575
  <file>
543
- <filename>os_lib_reporting_qaqc.rb</filename>
576
+ <filename>check_plant_temps.rb</filename>
544
577
  <filetype>rb</filetype>
545
578
  <usage_type>resource</usage_type>
546
- <checksum>54A730F4</checksum>
579
+ <checksum>A659EBCD</checksum>
547
580
  </file>
548
581
  <file>
549
- <filename>check_schedules.rb</filename>
582
+ <filename>check_pump_pwr.rb</filename>
550
583
  <filetype>rb</filetype>
551
584
  <usage_type>resource</usage_type>
552
- <checksum>11D5DF87</checksum>
585
+ <checksum>4B6EC8EA</checksum>
553
586
  </file>
554
587
  <file>
555
- <filename>os_lib_helper_methods.rb</filename>
588
+ <filename>check_weather_files.rb</filename>
556
589
  <filetype>rb</filetype>
557
590
  <usage_type>resource</usage_type>
558
- <checksum>07B01D67</checksum>
591
+ <checksum>85CA2E26</checksum>
559
592
  </file>
560
593
  <file>
561
- <filename>check_simultaneous_heating_and_cooling.rb</filename>
594
+ <filename>check_calibration.rb</filename>
562
595
  <filetype>rb</filetype>
563
596
  <usage_type>resource</usage_type>
564
- <checksum>D7AE5189</checksum>
597
+ <checksum>8D1854A4</checksum>
565
598
  </file>
566
599
  <file>
567
- <filename>check_sch_coord.rb</filename>
600
+ <filename>CreateResults.rb</filename>
568
601
  <filetype>rb</filetype>
569
602
  <usage_type>resource</usage_type>
570
- <checksum>ED20C054</checksum>
603
+ <checksum>D38441F3</checksum>
571
604
  </file>
572
605
  <file>
573
- <filename>check_eui_reasonableness.rb</filename>
606
+ <filename>README.md.erb</filename>
607
+ <filetype>erb</filetype>
608
+ <usage_type>readmeerb</usage_type>
609
+ <checksum>3AFCE991</checksum>
610
+ </file>
611
+ <file>
612
+ <filename>generic_qaqc_summary.jpg</filename>
613
+ <filetype>jpg</filetype>
614
+ <usage_type>doc</usage_type>
615
+ <checksum>45ABEE68</checksum>
616
+ </file>
617
+ <file>
618
+ <filename>generic_qaqc_detailed.jpg</filename>
619
+ <filetype>jpg</filetype>
620
+ <usage_type>doc</usage_type>
621
+ <checksum>92EA3F5C</checksum>
622
+ </file>
623
+ <file>
624
+ <version>
625
+ <software_program>OpenStudio</software_program>
626
+ <identifier>2.0.0</identifier>
627
+ <min_compatible>3.1.0</min_compatible>
628
+ </version>
629
+ <filename>measure.rb</filename>
574
630
  <filetype>rb</filetype>
575
- <usage_type>resource</usage_type>
576
- <checksum>CB7DDC0B</checksum>
631
+ <usage_type>script</usage_type>
632
+ <checksum>9482E15C</checksum>
577
633
  </file>
578
634
  <file>
579
- <filename>check_internal_loads.rb</filename>
635
+ <filename>fsr.osm</filename>
636
+ <filetype>osm</filetype>
637
+ <usage_type>test</usage_type>
638
+ <checksum>D2A4E538</checksum>
639
+ </file>
640
+ <file>
641
+ <filename>uo_blend.osm</filename>
642
+ <filetype>osm</filetype>
643
+ <usage_type>test</usage_type>
644
+ <checksum>605CDF17</checksum>
645
+ </file>
646
+ <file>
647
+ <filename>uo_strip_mall.osm</filename>
648
+ <filetype>osm</filetype>
649
+ <usage_type>test</usage_type>
650
+ <checksum>95EBB09E</checksum>
651
+ </file>
652
+ <file>
653
+ <filename>uo_lg_hotel.osm</filename>
654
+ <filetype>osm</filetype>
655
+ <usage_type>test</usage_type>
656
+ <checksum>B8033381</checksum>
657
+ </file>
658
+ <file>
659
+ <filename>USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.epw</filename>
660
+ <filetype>epw</filetype>
661
+ <usage_type>test</usage_type>
662
+ <checksum>6B50E0FF</checksum>
663
+ </file>
664
+ <file>
665
+ <filename>uo_mixed.osm</filename>
666
+ <filetype>osm</filetype>
667
+ <usage_type>test</usage_type>
668
+ <checksum>1874C555</checksum>
669
+ </file>
670
+ <file>
671
+ <filename>check_mech_sys_type.rb</filename>
580
672
  <filetype>rb</filetype>
581
673
  <usage_type>resource</usage_type>
582
- <checksum>09DC3552</checksum>
674
+ <checksum>2B4C8CB1</checksum>
583
675
  </file>
584
676
  <file>
585
- <filename>check_domestic_hot_water.rb</filename>
677
+ <filename>check_supply_air_and_thermostat_temp_difference.rb</filename>
586
678
  <filetype>rb</filetype>
587
679
  <usage_type>resource</usage_type>
588
- <checksum>9BE27A55</checksum>
680
+ <checksum>245963C6</checksum>
589
681
  </file>
590
682
  <file>
591
- <filename>check_air_sys_temps.rb</filename>
683
+ <filename>check_simultaneous_heating_and_cooling.rb</filename>
592
684
  <filetype>rb</filetype>
593
685
  <usage_type>resource</usage_type>
594
- <checksum>980FD951</checksum>
686
+ <checksum>FAEFC26D</checksum>
595
687
  </file>
596
688
  <file>
597
689
  <filename>check_cond_zns.rb</filename>
598
690
  <filetype>rb</filetype>
599
691
  <usage_type>resource</usage_type>
600
- <checksum>2B3D8E08</checksum>
692
+ <checksum>35AF3348</checksum>
601
693
  </file>
602
694
  <file>
603
695
  <filename>check_mech_sys_capacity.rb</filename>
604
696
  <filetype>rb</filetype>
605
697
  <usage_type>resource</usage_type>
606
- <checksum>8A55DBAB</checksum>
698
+ <checksum>D4C11C12</checksum>
607
699
  </file>
608
700
  <file>
609
- <filename>check_plant_temps.rb</filename>
701
+ <filename>check_mech_sys_efficiency.rb</filename>
610
702
  <filetype>rb</filetype>
611
703
  <usage_type>resource</usage_type>
612
- <checksum>BB36639F</checksum>
704
+ <checksum>5239DDEA</checksum>
613
705
  </file>
614
706
  <file>
615
- <filename>check_pump_pwr.rb</filename>
707
+ <filename>check_schedules.rb</filename>
616
708
  <filetype>rb</filetype>
617
709
  <usage_type>resource</usage_type>
618
- <checksum>E3D75A8F</checksum>
710
+ <checksum>4381DA3F</checksum>
619
711
  </file>
620
712
  <file>
621
- <filename>check_weather_files.rb</filename>
713
+ <filename>check_internal_loads.rb</filename>
622
714
  <filetype>rb</filetype>
623
715
  <usage_type>resource</usage_type>
624
- <checksum>688B721D</checksum>
716
+ <checksum>8770A7D0</checksum>
625
717
  </file>
626
718
  <file>
627
- <filename>check_calibration.rb</filename>
719
+ <filename>check_domestic_hot_water.rb</filename>
628
720
  <filetype>rb</filetype>
629
721
  <usage_type>resource</usage_type>
630
- <checksum>ED3D70DA</checksum>
722
+ <checksum>43606255</checksum>
631
723
  </file>
632
724
  <file>
633
- <filename>check_mech_sys_efficiency.rb</filename>
725
+ <filename>check_mech_sys_part_load_eff.rb</filename>
634
726
  <filetype>rb</filetype>
635
727
  <usage_type>resource</usage_type>
636
- <checksum>F47A1139</checksum>
728
+ <checksum>87A54A27</checksum>
637
729
  </file>
638
730
  <file>
639
- <filename>CreateResults.rb</filename>
731
+ <filename>os_lib_reporting_qaqc.rb</filename>
640
732
  <filetype>rb</filetype>
641
733
  <usage_type>resource</usage_type>
642
- <checksum>33AF0943</checksum>
734
+ <checksum>579D7C6B</checksum>
643
735
  </file>
644
736
  <file>
645
- <filename>measure_Test.rb</filename>
737
+ <filename>check_eui_reasonableness.rb</filename>
646
738
  <filetype>rb</filetype>
647
- <usage_type>test</usage_type>
648
- <checksum>8FBCE04A</checksum>
739
+ <usage_type>resource</usage_type>
740
+ <checksum>E6A6A3EB</checksum>
649
741
  </file>
650
742
  <file>
651
- <version>
652
- <software_program>OpenStudio</software_program>
653
- <identifier>2.0.0</identifier>
654
- <min_compatible>2.0.0</min_compatible>
655
- </version>
656
- <filename>measure.rb</filename>
743
+ <filename>check_eui_by_end_use.rb</filename>
657
744
  <filetype>rb</filetype>
658
- <usage_type>script</usage_type>
659
- <checksum>A998285D</checksum>
745
+ <usage_type>resource</usage_type>
746
+ <checksum>3CB3F8D4</checksum>
660
747
  </file>
661
748
  <file>
662
749
  <filename>README.md</filename>
663
750
  <filetype>md</filetype>
664
751
  <usage_type>readme</usage_type>
665
- <checksum>BBC2D3D5</checksum>
752
+ <checksum>11DDEADA</checksum>
666
753
  </file>
667
754
  <file>
668
- <filename>report.html.erb</filename>
669
- <filetype>erb</filetype>
670
- <usage_type>resource</usage_type>
671
- <checksum>AD451814</checksum>
755
+ <filename>measure_Test.rb</filename>
756
+ <filetype>rb</filetype>
757
+ <usage_type>test</usage_type>
758
+ <checksum>EA00F910</checksum>
672
759
  </file>
673
760
  <file>
674
- <filename>check_eui_by_end_use.rb</filename>
675
- <filetype>rb</filetype>
676
- <usage_type>resource</usage_type>
677
- <checksum>504C5330</checksum>
761
+ <filename>MidRiseApt.osm</filename>
762
+ <filetype>osm</filetype>
763
+ <usage_type>test</usage_type>
764
+ <checksum>8316418F</checksum>
678
765
  </file>
679
766
  <file>
680
767
  <filename>check_envelope_conductance.rb</filename>
681
768
  <filetype>rb</filetype>
682
769
  <usage_type>resource</usage_type>
683
- <checksum>7814F60A</checksum>
770
+ <checksum>3346FDCD</checksum>
771
+ </file>
772
+ <file>
773
+ <filename>report.html.erb</filename>
774
+ <filetype>erb</filetype>
775
+ <usage_type>resource</usage_type>
776
+ <checksum>6F54D1FE</checksum>
684
777
  </file>
685
778
  </files>
686
779
  </measure>
@@ -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,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,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,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:
@@ -41,7 +41,9 @@ module OsLib_QAQC
41
41
  check_elems << OpenStudio::Attribute.new('name', 'Conditioned Zones')
42
42
  check_elems << OpenStudio::Attribute.new('category', category)
43
43
  check_elems << OpenStudio::Attribute.new('description', 'Check that all zones with people have thermostats.')
44
-
44
+ check_elems << OpenStudio::Attribute.new('min_pass', "#{(min_pass * 100).round(0)}")
45
+ check_elems << OpenStudio::Attribute.new('max_pass', "#{(max_pass * 100).round(0)}")
46
+
45
47
  # stop here if only name is requested this is used to populate display name for arguments
46
48
  if name_only == true
47
49
  results = []