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:
@@ -126,7 +126,7 @@ module OsLib_Reporting
126
126
  # gather data for section
127
127
  qaqc_check_summary = {}
128
128
  qaqc_check_summary[:title] = 'List of Checks in Measure'
129
- qaqc_check_summary[:header] = ['Name', 'Category', 'Flags', 'Description']
129
+ qaqc_check_summary[:header] = ['Name', 'Category', 'Flags', 'Tolerance','Description']
130
130
  qaqc_check_summary[:data] = []
131
131
  qaqc_check_summary[:data_color] = []
132
132
  @qaqc_check_section = {}
@@ -152,28 +152,62 @@ module OsLib_Reporting
152
152
  check_name = nil
153
153
  check_cat = nil
154
154
  check_desc = nil
155
+ check_min_pass = nil
156
+ check_max_pass = nil
155
157
  flags = []
156
- # loop through attributes (name,category,description,then optionally one or more flag attributes)
157
- check.valueAsAttributeVector.each_with_index do |value, index|
158
- if index == 0
159
- check_name = value.valueAsString
160
- elsif index == 1
161
- check_cat = value.valueAsString
162
- elsif index == 2
163
- check_desc = value.valueAsString
158
+
159
+
160
+ # loop through attributes (name,category,description, min tol, max tol ,then optionally one or more flag attributes)
161
+ check.valueAsAttributeVector.each do |attribute|
162
+ if attribute.name == "name"
163
+ check_name = attribute.valueAsString
164
+ elsif attribute.name == 'category'
165
+ check_cat = attribute.valueAsString
166
+ elsif attribute.name == 'description'
167
+ check_desc = attribute.valueAsString
168
+ elsif attribute.name == 'min_pass'
169
+ if ['Double','Integer'].include? (attribute.valueType.valueDescription)
170
+ check_min_pass = attribute.valueAsDouble
171
+ else
172
+ check_min_pass = attribute.valueAsString
173
+ end
174
+ elsif attribute.name == 'max_pass'
175
+ if ['Double','Integer'].include? (attribute.valueType.valueDescription)
176
+ check_max_pass = attribute.valueAsDouble
177
+ else
178
+ check_max_pass = attribute.valueAsString
179
+ end
164
180
  else # should be flag
165
- flags << value.valueAsString
166
- qaqc_flag_details[:data] << [value.valueAsString]
167
- runner.registerWarning("#{check_name} - #{value.valueAsString}")
181
+ flags << attribute.valueAsString
182
+ qaqc_flag_details[:data] << [attribute.valueAsString]
183
+ runner.registerWarning("#{check_name} - #{attribute.valueAsString}")
168
184
  num_flags += 1
169
- end
185
+ end
170
186
  end
171
187
 
172
188
  # add row to table for this check
173
- qaqc_check_summary[:data] << [check_name, check_cat, flags.size, check_desc]
189
+ # check_supply_air_and_thermostat_temp_difference should have unit for F instead of default %, can add that here or do I need to pass in from that method
190
+ if !check_min_pass.nil? && !check_min_pass.instance_of?(String) && check_min_pass.abs > 0
191
+ tol_val = check_min_pass
192
+ elsif !check_max_pass.nil? && !check_min_pass.instance_of?(String) && check_max_pass.abs > 0
193
+ tol_val = check_max_pass
194
+ elsif
195
+ tol_val = check_min_pass # should empty string or Var
196
+ end
197
+
198
+ # change units for some checks #todo - this can be changed later to use "unit" attribute
199
+ if check_name == 'Supply and Zone Air Temperature'
200
+ tol_val = "#{tol_val} F"
201
+ elsif check_name == 'Baseline Mechanical System Type'
202
+ tol_val = "#{tol_val}"
203
+ else
204
+ tol_val = "#{tol_val}%"
205
+ end
206
+
207
+ qaqc_check_summary[:data] << [check_name, check_cat, flags.size, tol_val ,check_desc]
174
208
 
175
209
  # add info message for check if no flags found (this way user still knows what ran)
176
- if check.valueAsAttributeVector.size < 4
210
+ if num_flags == 0
177
211
  runner.registerInfo("#{check_name} - no flags.")
178
212
  end
179
213
 
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *******************************************************************************
3
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
3
+ # OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
4
4
  # All rights reserved.
5
5
  # Redistribution and use in source and binary forms, with or without
6
6
  # modification, are permitted provided that the following conditions are met:
@@ -39,6 +39,13 @@
39
39
 
40
40
 
41
41
 
42
+
43
+
44
+
45
+
46
+
47
+
48
+
42
49
  <!DOCTYPE html>
43
50
  <html lang="en">
44
51
  <head>
@@ -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:
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>get_site_from_building_component_library</name>
5
5
  <uid>a6dff045-6f62-4288-a3f0-a5549f4c292a</uid>
6
- <version_id>2a807499-50fc-4472-b873-928056eeabea</version_id>
7
- <version_modified>20200509T041913Z</version_modified>
6
+ <version_id>df86d4f6-1e3c-4724-8215-807aa1f4e991</version_id>
7
+ <version_modified>20210406T220305Z</version_modified>
8
8
  <xml_checksum>99E7000D</xml_checksum>
9
9
  <class_name>GetSiteFromBuildingComponentLibrary</class_name>
10
10
  <display_name>Get Site from Building Component Library</display_name>
@@ -115,19 +115,19 @@
115
115
  <filename>bcl_api_test.rb</filename>
116
116
  <filetype>rb</filetype>
117
117
  <usage_type>test</usage_type>
118
- <checksum>2B96ED07</checksum>
118
+ <checksum>9C9180AD</checksum>
119
119
  </file>
120
120
  <file>
121
121
  <filename>LICENSE.md</filename>
122
122
  <filetype>md</filetype>
123
123
  <usage_type>license</usage_type>
124
- <checksum>E0468DD6</checksum>
124
+ <checksum>A21A3ED2</checksum>
125
125
  </file>
126
126
  <file>
127
127
  <filename>get_site_from_building_component_library_test.rb</filename>
128
128
  <filetype>rb</filetype>
129
129
  <usage_type>test</usage_type>
130
- <checksum>D2DF7036</checksum>
130
+ <checksum>C16D4B39</checksum>
131
131
  </file>
132
132
  <file>
133
133
  <version>
@@ -138,7 +138,7 @@
138
138
  <filename>measure.rb</filename>
139
139
  <filetype>rb</filetype>
140
140
  <usage_type>script</usage_type>
141
- <checksum>A0260DC0</checksum>
141
+ <checksum>02536E57</checksum>
142
142
  </file>
143
143
  </files>
144
144
  </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:
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>hvac_psychrometric_chart</name>
5
5
  <uid>97213780-0727-4462-8ec0-9a6c3e475cd6</uid>
6
- <version_id>15fef178-c6a4-4c51-a011-61785817b924</version_id>
7
- <version_modified>20200623T195835Z</version_modified>
6
+ <version_id>65abd215-893b-472a-9876-175f63f27728</version_id>
7
+ <version_modified>20220506T153446Z</version_modified>
8
8
  <xml_checksum>F657B621</xml_checksum>
9
9
  <class_name>HVACPsychrometricChart</class_name>
10
10
  <display_name>HVAC Psychrometric Chart</display_name>
@@ -61,11 +61,17 @@
61
61
  <usage_type>readmeerb</usage_type>
62
62
  <checksum>703C9964</checksum>
63
63
  </file>
64
+ <file>
65
+ <filename>README.md</filename>
66
+ <filetype>md</filetype>
67
+ <usage_type>readme</usage_type>
68
+ <checksum>3DE900D7</checksum>
69
+ </file>
64
70
  <file>
65
71
  <filename>LICENSE.md</filename>
66
72
  <filetype>md</filetype>
67
73
  <usage_type>license</usage_type>
68
- <checksum>E0468DD6</checksum>
74
+ <checksum>A21A3ED2</checksum>
69
75
  </file>
70
76
  <file>
71
77
  <version>
@@ -76,25 +82,19 @@
76
82
  <filename>measure.rb</filename>
77
83
  <filetype>rb</filetype>
78
84
  <usage_type>script</usage_type>
79
- <checksum>3E6E7724</checksum>
85
+ <checksum>1F7F5021</checksum>
80
86
  </file>
81
87
  <file>
82
- <filename>README.md</filename>
83
- <filetype>md</filetype>
84
- <usage_type>readme</usage_type>
85
- <checksum>3DE900D7</checksum>
88
+ <filename>hvac_psychrometric_chart_test.rb</filename>
89
+ <filetype>rb</filetype>
90
+ <usage_type>test</usage_type>
91
+ <checksum>63508164</checksum>
86
92
  </file>
87
93
  <file>
88
94
  <filename>report.html.erb</filename>
89
95
  <filetype>erb</filetype>
90
96
  <usage_type>resource</usage_type>
91
- <checksum>FC1A190D</checksum>
92
- </file>
93
- <file>
94
- <filename>hvac_psychrometric_chart_test.rb</filename>
95
- <filetype>rb</filetype>
96
- <usage_type>test</usage_type>
97
- <checksum>07B326D0</checksum>
97
+ <checksum>0006E928</checksum>
98
98
  </file>
99
99
  </files>
100
100
  </measure>
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *******************************************************************************
3
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
3
+ # OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
4
4
  # All rights reserved.
5
5
  # Redistribution and use in source and binary forms, with or without
6
6
  # modification, are permitted provided that the following conditions are met:
@@ -39,6 +39,13 @@
39
39
 
40
40
 
41
41
 
42
+
43
+
44
+
45
+
46
+
47
+
48
+
42
49
  <!DOCTYPE html>
43
50
  <html>
44
51
  <head>
@@ -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:
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>inject_idf_objects</name>
5
5
  <uid>f567dfbc-d280-4d68-b061-019ab2630cd0</uid>
6
- <version_id>50ae3f92-5650-4971-a14e-370c542eb6bf</version_id>
7
- <version_modified>20200623T195835Z</version_modified>
6
+ <version_id>27bc8e62-185b-4670-b5ce-548ee42ec4e7</version_id>
7
+ <version_modified>20210406T220305Z</version_modified>
8
8
  <xml_checksum>A8BAB05F</xml_checksum>
9
9
  <class_name>InjectIDFObjects</class_name>
10
10
  <display_name> Inject IDF Objects</display_name>
@@ -78,12 +78,6 @@ This measure works for when you just need to add new IDF objects. If you need to
78
78
  <usage_type>test</usage_type>
79
79
  <checksum>F5FABCCF</checksum>
80
80
  </file>
81
- <file>
82
- <filename>LICENSE.md</filename>
83
- <filetype>md</filetype>
84
- <usage_type>license</usage_type>
85
- <checksum>E0468DD6</checksum>
86
- </file>
87
81
  <file>
88
82
  <filename>README.md.erb</filename>
89
83
  <filetype>erb</filetype>
@@ -96,6 +90,12 @@ This measure works for when you just need to add new IDF objects. If you need to
96
90
  <usage_type>readme</usage_type>
97
91
  <checksum>3D0882F2</checksum>
98
92
  </file>
93
+ <file>
94
+ <filename>LICENSE.md</filename>
95
+ <filetype>md</filetype>
96
+ <usage_type>license</usage_type>
97
+ <checksum>A21A3ED2</checksum>
98
+ </file>
99
99
  <file>
100
100
  <version>
101
101
  <software_program>OpenStudio</software_program>
@@ -105,13 +105,13 @@ This measure works for when you just need to add new IDF objects. If you need to
105
105
  <filename>measure.rb</filename>
106
106
  <filetype>rb</filetype>
107
107
  <usage_type>script</usage_type>
108
- <checksum>83CDE9EB</checksum>
108
+ <checksum>FFC40353</checksum>
109
109
  </file>
110
110
  <file>
111
111
  <filename>measure_Test.rb</filename>
112
112
  <filetype>rb</filetype>
113
113
  <usage_type>test</usage_type>
114
- <checksum>B8EDD274</checksum>
114
+ <checksum>BCA08D25</checksum>
115
115
  </file>
116
116
  </files>
117
117
  </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:
@@ -36,11 +36,13 @@
36
36
  require 'erb'
37
37
  require 'json'
38
38
 
39
+ # load OpenStudio measure libraries from openstudio-extension gem
40
+ require 'openstudio-extension'
41
+ require 'openstudio/extension/core/os_lib_schedules'
42
+ require 'openstudio/extension/core/os_lib_helper_methods'
43
+
39
44
  # load local resources
40
45
  require "#{File.dirname(__FILE__)}/resources/os_lib_reporting"
41
- require "#{File.dirname(__FILE__)}/resources/os_lib_schedules"
42
- require "#{File.dirname(__FILE__)}/resources/os_lib_helper_methods"
43
-
44
46
  require_relative 'resources/Siz.Model'
45
47
 
46
48
  # start the measure