openstudio-common-measures 0.6.1 → 0.8.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/.github/workflows/test_with_openstudio.yml +62 -0
  3. data/CHANGELOG.md +29 -1
  4. data/Gemfile +4 -0
  5. data/LICENSE.md +7 -21
  6. data/README.md +3 -1
  7. data/Rakefile +4 -27
  8. data/doc_templates/LICENSE.md +7 -21
  9. data/doc_templates/copyright_erb.txt +2 -32
  10. data/doc_templates/copyright_js.txt +2 -2
  11. data/doc_templates/copyright_ruby.txt +3 -33
  12. data/lib/measures/AddCostPerAreaToConstruction/LICENSE.md +7 -21
  13. data/lib/measures/AddCostPerAreaToConstruction/measure.rb +2 -32
  14. data/lib/measures/AddCostPerAreaToConstruction/measure.xml +5 -5
  15. data/lib/measures/AddCostPerFloorAreaToBuilding/LICENSE.md +7 -21
  16. data/lib/measures/AddCostPerFloorAreaToBuilding/measure.rb +2 -32
  17. data/lib/measures/AddCostPerFloorAreaToBuilding/measure.xml +5 -5
  18. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/LICENSE.md +7 -21
  19. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.rb +2 -32
  20. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.xml +5 -5
  21. data/lib/measures/AddCostPerFloorAreaToLights/LICENSE.md +7 -21
  22. data/lib/measures/AddCostPerFloorAreaToLights/measure.rb +2 -32
  23. data/lib/measures/AddCostPerFloorAreaToLights/measure.xml +5 -5
  24. data/lib/measures/AddCostPerFloorAreaUnusedToLights/LICENSE.md +7 -21
  25. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.rb +2 -32
  26. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +5 -5
  27. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/LICENSE.md +7 -21
  28. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.rb +2 -32
  29. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +12 -12
  30. data/lib/measures/AddCostperAreatoUnusedConstruction/LICENSE.md +7 -21
  31. data/lib/measures/AddCostperAreatoUnusedConstruction/measure.rb +2 -32
  32. data/lib/measures/AddCostperAreatoUnusedConstruction/measure.xml +5 -5
  33. data/lib/measures/AddExteriorLights/LICENSE.md +7 -21
  34. data/lib/measures/AddExteriorLights/measure.rb +2 -32
  35. data/lib/measures/AddExteriorLights/measure.xml +5 -5
  36. data/lib/measures/AddMeter/LICENSE.md +7 -21
  37. data/lib/measures/AddMeter/measure.rb +2 -32
  38. data/lib/measures/AddMeter/measure.xml +5 -5
  39. data/lib/measures/AddOutputDiagnostics/LICENSE.md +7 -21
  40. data/lib/measures/AddOutputDiagnostics/measure.rb +2 -32
  41. data/lib/measures/AddOutputDiagnostics/measure.xml +5 -5
  42. data/lib/measures/AddOutputVariable/LICENSE.md +7 -21
  43. data/lib/measures/AddOutputVariable/measure.rb +2 -32
  44. data/lib/measures/AddOutputVariable/measure.xml +5 -5
  45. data/lib/measures/AddSimplePvToShadingSurfacesByType/LICENSE.md +7 -21
  46. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.rb +2 -32
  47. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +5 -5
  48. data/lib/measures/AddThermalComfortModelTypes/LICENSE.md +13 -0
  49. data/lib/measures/AddThermalComfortModelTypes/README.md +115 -0
  50. data/lib/measures/AddThermalComfortModelTypes/README.md.erb +45 -0
  51. data/lib/measures/AddThermalComfortModelTypes/measure.rb +165 -0
  52. data/lib/measures/AddThermalComfortModelTypes/measure.xml +244 -0
  53. data/lib/measures/AdjustSystemEfficiencies/LICENSE.md +7 -21
  54. data/lib/measures/AdjustSystemEfficiencies/measure.rb +7 -35
  55. data/lib/measures/AdjustSystemEfficiencies/measure.xml +4 -4
  56. data/lib/measures/AdjustThermostatSetpointsByDegrees/LICENSE.md +7 -21
  57. data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.rb +2 -32
  58. data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.xml +5 -5
  59. data/lib/measures/ChangeBuildingLocation/LICENSE.md +7 -21
  60. data/lib/measures/ChangeBuildingLocation/measure.rb +2 -32
  61. data/lib/measures/ChangeBuildingLocation/measure.xml +7 -7
  62. data/lib/measures/ChangeBuildingLocation/resources/epw.rb +2 -32
  63. data/lib/measures/ChangeBuildingLocation/resources/stat_file.rb +2 -32
  64. data/lib/measures/EnableIdealAirLoadsForAllZones/LICENSE.md +7 -21
  65. data/lib/measures/EnableIdealAirLoadsForAllZones/measure.rb +2 -32
  66. data/lib/measures/EnableIdealAirLoadsForAllZones/measure.xml +5 -5
  67. data/lib/measures/ExportScheduleCSV/LICENSE.md +7 -21
  68. data/lib/measures/ExportScheduleCSV/measure.rb +2 -32
  69. data/lib/measures/ExportScheduleCSV/measure.xml +5 -5
  70. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/LICENSE.md +7 -21
  71. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.rb +2 -32
  72. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +5 -5
  73. data/lib/measures/MeterFlodPlot/LICENSE.md +7 -21
  74. data/lib/measures/MeterFlodPlot/measure.rb +2 -32
  75. data/lib/measures/MeterFlodPlot/measure.xml +5 -5
  76. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/LICENSE.md +7 -21
  77. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.rb +2 -32
  78. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.xml +5 -5
  79. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/LICENSE.md +7 -21
  80. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.rb +2 -32
  81. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.xml +5 -5
  82. data/lib/measures/PredictedMeanVote/LICENSE.md +7 -21
  83. data/lib/measures/PredictedMeanVote/measure.rb +2 -32
  84. data/lib/measures/PredictedMeanVote/measure.xml +5 -5
  85. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/LICENSE.md +7 -21
  86. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.rb +2 -32
  87. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.xml +5 -5
  88. data/lib/measures/RemoveUnusedDefaultProfiles/LICENSE.md +7 -21
  89. data/lib/measures/RemoveUnusedDefaultProfiles/measure.rb +2 -32
  90. data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +5 -5
  91. data/lib/measures/ReplaceExteriorWindowConstruction/LICENSE.md +7 -21
  92. data/lib/measures/ReplaceExteriorWindowConstruction/measure.rb +2 -32
  93. data/lib/measures/ReplaceExteriorWindowConstruction/measure.xml +23 -8
  94. data/lib/measures/ReplaceModel/LICENSE.md +13 -0
  95. data/lib/measures/ReplaceModel/README.md +34 -0
  96. data/lib/measures/ReplaceModel/README.md.erb +42 -0
  97. data/lib/measures/ReplaceModel/measure.rb +113 -0
  98. data/lib/measures/ReplaceModel/measure.xml +71 -0
  99. data/lib/measures/ReplaceThermostatSchedules/LICENSE.md +7 -21
  100. data/lib/measures/ReplaceThermostatSchedules/measure.rb +2 -32
  101. data/lib/measures/ReplaceThermostatSchedules/measure.xml +7 -7
  102. data/lib/measures/ReportModelChanges/LICENSE.md +7 -21
  103. data/lib/measures/ReportModelChanges/measure.rb +2 -32
  104. data/lib/measures/ReportModelChanges/measure.xml +5 -5
  105. data/lib/measures/RunPeriod/LICENSE.md +7 -21
  106. data/lib/measures/RunPeriod/measure.rb +2 -32
  107. data/lib/measures/RunPeriod/measure.xml +4 -4
  108. data/lib/measures/RunPeriodMultiple/LICENSE.md +7 -21
  109. data/lib/measures/RunPeriodMultiple/measure.rb +2 -32
  110. data/lib/measures/RunPeriodMultiple/measure.xml +4 -4
  111. data/lib/measures/ServerDirectoryCleanup/LICENSE.md +7 -21
  112. data/lib/measures/ServerDirectoryCleanup/measure.rb +2 -32
  113. data/lib/measures/ServerDirectoryCleanup/measure.xml +5 -5
  114. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/LICENSE.md +7 -21
  115. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.rb +4 -34
  116. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +7 -7
  117. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/LICENSE.md +7 -21
  118. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.rb +5 -34
  119. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +7 -7
  120. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/LICENSE.md +7 -21
  121. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.rb +2 -32
  122. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.xml +5 -5
  123. data/lib/measures/SetEnergyPlusLightObjectsLPD/LICENSE.md +7 -21
  124. data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.rb +2 -32
  125. data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.xml +5 -5
  126. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/LICENSE.md +7 -21
  127. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.rb +2 -32
  128. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.xml +5 -5
  129. data/lib/measures/SetGasBurnerEfficiency/LICENSE.md +7 -21
  130. data/lib/measures/SetGasBurnerEfficiency/measure.rb +2 -32
  131. data/lib/measures/SetGasBurnerEfficiency/measure.xml +7 -7
  132. data/lib/measures/SetLifecycleCostParameters/LICENSE.md +7 -21
  133. data/lib/measures/SetLifecycleCostParameters/measure.rb +2 -32
  134. data/lib/measures/SetLifecycleCostParameters/measure.xml +5 -5
  135. data/lib/measures/SetLightingLoadsByLPD/LICENSE.md +7 -21
  136. data/lib/measures/SetLightingLoadsByLPD/measure.rb +2 -32
  137. data/lib/measures/SetLightingLoadsByLPD/measure.xml +7 -7
  138. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/LICENSE.md +7 -21
  139. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.rb +2 -32
  140. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.xml +77 -17
  141. data/lib/measures/SetThermostatSchedules/LICENSE.md +7 -21
  142. data/lib/measures/SetThermostatSchedules/measure.rb +2 -32
  143. data/lib/measures/SetThermostatSchedules/measure.xml +7 -7
  144. data/lib/measures/ShiftScheduleProfileTime/LICENSE.md +7 -21
  145. data/lib/measures/ShiftScheduleProfileTime/measure.rb +2 -32
  146. data/lib/measures/ShiftScheduleProfileTime/measure.xml +7 -7
  147. data/lib/measures/SwapLightsDefinition/LICENSE.md +7 -21
  148. data/lib/measures/SwapLightsDefinition/measure.rb +2 -32
  149. data/lib/measures/SwapLightsDefinition/measure.xml +5 -5
  150. data/lib/measures/UnmetLoadHoursTroubleshooting/LICENSE.md +7 -21
  151. data/lib/measures/UnmetLoadHoursTroubleshooting/measure.rb +2 -32
  152. data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +5 -5
  153. data/lib/measures/VentilationQAQC/LICENSE.md +7 -21
  154. data/lib/measures/VentilationQAQC/measure.rb +2 -32
  155. data/lib/measures/VentilationQAQC/measure.xml +5 -5
  156. data/lib/measures/XcelEDAReportingandQAQC/LICENSE.md +13 -0
  157. data/lib/measures/XcelEDAReportingandQAQC/README.md +26 -0
  158. data/lib/measures/XcelEDAReportingandQAQC/README.md.erb +42 -0
  159. data/lib/measures/XcelEDAReportingandQAQC/measure.rb +201 -0
  160. data/lib/measures/XcelEDAReportingandQAQC/measure.xml +116 -0
  161. data/lib/measures/{generic_qaqc → XcelEDAReportingandQAQC}/resources/CreateResults.rb +51 -50
  162. data/lib/measures/XcelEDAReportingandQAQC/resources/EUI.rb +53 -0
  163. data/lib/measures/XcelEDAReportingandQAQC/resources/EndUseBreakdown.rb +88 -0
  164. data/lib/measures/XcelEDAReportingandQAQC/resources/FuelSwap.rb +275 -0
  165. data/lib/measures/XcelEDAReportingandQAQC/resources/PeakHeatCoolMonth.rb +191 -0
  166. data/lib/measures/XcelEDAReportingandQAQC/resources/UnmetHrs.rb +45 -0
  167. data/lib/measures/XcelEDATariffSelectionandModelSetup/LICENSE.md +13 -0
  168. data/lib/measures/XcelEDATariffSelectionandModelSetup/README.md +40 -0
  169. data/lib/measures/XcelEDATariffSelectionandModelSetup/README.md.erb +42 -0
  170. data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.rb +367 -0
  171. data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.xml +309 -0
  172. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Commercial.idf +95 -0
  173. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Interruptible Industrial G.idf +32 -0
  174. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Large CG.idf +32 -0
  175. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Commercial.idf +95 -0
  176. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Gas Firm.idf +32 -0
  177. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Gas Interruptible.idf +32 -0
  178. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Primary General.idf +95 -0
  179. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Secondary General Low Load Factor.idf +95 -0
  180. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Secondary General.idf +95 -0
  181. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Transmission General.idf +95 -0
  182. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Primary General.idf +95 -0
  183. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Residential Gas.idf +32 -0
  184. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Residential General.idf +95 -0
  185. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Secondary General Low Load Factor.idf +95 -0
  186. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Secondary General.idf +95 -0
  187. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Secondary Photovoltaic Time-of-Use.idf +95 -0
  188. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Small CG.idf +32 -0
  189. data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Transmission General.idf +95 -0
  190. data/lib/measures/ZoneReport/LICENSE.md +7 -21
  191. data/lib/measures/ZoneReport/measure.rb +2 -32
  192. data/lib/measures/ZoneReport/measure.xml +5 -5
  193. data/lib/measures/add_ems_emissions_reporting/LICENSE.md +7 -21
  194. data/lib/measures/add_ems_emissions_reporting/measure.rb +2 -32
  195. data/lib/measures/add_ems_emissions_reporting/measure.xml +10 -10
  196. data/lib/measures/add_ems_to_control_ev_charging/LICENSE.MD.txt +1 -1
  197. data/lib/measures/add_ems_to_control_ev_charging/LICENSE.md +7 -21
  198. data/lib/measures/add_ems_to_control_ev_charging/measure.rb +2 -32
  199. data/lib/measures/add_ems_to_control_ev_charging/measure.xml +5 -8
  200. data/lib/measures/add_ev_load/LICENSE.MD.txt +1 -1
  201. data/lib/measures/add_ev_load/LICENSE.md +7 -21
  202. data/lib/measures/add_ev_load/measure.rb +2 -32
  203. data/lib/measures/add_ev_load/measure.xml +10 -10
  204. data/lib/measures/add_rooftop_pv/LICENSE.md +7 -21
  205. data/lib/measures/add_rooftop_pv/measure.rb +2 -32
  206. data/lib/measures/add_rooftop_pv/measure.xml +5 -5
  207. data/lib/measures/add_zone_mixing_object/LICENSE.md +7 -21
  208. data/lib/measures/add_zone_mixing_object/measure.rb +2 -32
  209. data/lib/measures/add_zone_mixing_object/measure.xml +5 -5
  210. data/lib/measures/add_zone_ventilation_design_flow_rate_object/LICENSE.md +7 -21
  211. data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.rb +6 -33
  212. data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.xml +5 -5
  213. data/lib/measures/air_wall_zone_mixing/LICENSE.md +7 -21
  214. data/lib/measures/air_wall_zone_mixing/measure.rb +2 -32
  215. data/lib/measures/air_wall_zone_mixing/measure.xml +5 -5
  216. data/lib/measures/create_csv_output/LICENSE.md +13 -0
  217. data/lib/measures/create_csv_output/README.md +36 -0
  218. data/lib/measures/create_csv_output/README.md.erb +45 -0
  219. data/lib/measures/create_csv_output/measure.rb +235 -0
  220. data/lib/measures/create_csv_output/measure.xml +124 -0
  221. data/lib/measures/create_csv_output/resources/report.html.in +13 -0
  222. data/lib/measures/envelope_and_internal_load_breakdown/LICENSE.md +7 -21
  223. data/lib/measures/envelope_and_internal_load_breakdown/README.md +31 -0
  224. data/lib/measures/envelope_and_internal_load_breakdown/README.md.erb +31 -1
  225. data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_gain_detailed_a.png +0 -0
  226. data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_gain_detailed_b.png +0 -0
  227. data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_gain_summary.png +0 -0
  228. data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_loss_detailed.png +0 -0
  229. data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_loss_summary.png +0 -0
  230. data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +2 -32
  231. data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +39 -9
  232. data/lib/measures/envelope_and_internal_load_breakdown/resources/os_lib_reporting_envelope_and_internal_loads_breakdown.rb +2 -32
  233. data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +10 -32
  234. data/lib/measures/example_report/LICENSE.md +7 -21
  235. data/lib/measures/example_report/measure.rb +2 -32
  236. data/lib/measures/example_report/measure.xml +7 -7
  237. data/lib/measures/example_report/resources/os_lib_reporting_example.rb +2 -32
  238. data/lib/measures/example_report/resources/report.html.erb +10 -32
  239. data/lib/measures/gem_env_report/LICENSE.md +7 -21
  240. data/lib/measures/gem_env_report/measure.rb +2 -32
  241. data/lib/measures/gem_env_report/measure.xml +9 -9
  242. data/lib/measures/gem_env_report/resources/gem_env_info.rb +2 -32
  243. data/lib/measures/gem_env_report/resources/openstudio_info.rb +2 -32
  244. data/lib/measures/gem_env_report/resources/run_gem_env_info.rb +2 -32
  245. data/lib/measures/gem_env_report/resources/run_openstudio_info.rb +2 -32
  246. data/lib/measures/generic_qaqc/LICENSE.md +7 -21
  247. data/lib/measures/generic_qaqc/measure.rb +2 -32
  248. data/lib/measures/generic_qaqc/measure.xml +110 -108
  249. data/lib/measures/generic_qaqc/resources/check_air_sys_temps.rb +2 -32
  250. data/lib/measures/generic_qaqc/resources/check_calibration.rb +2 -32
  251. data/lib/measures/generic_qaqc/resources/check_cond_zns.rb +2 -32
  252. data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +2 -32
  253. data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +18 -44
  254. data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +7 -33
  255. data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +7 -33
  256. data/lib/measures/generic_qaqc/resources/check_fan_pwr.rb +2 -32
  257. data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +11 -37
  258. data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +2 -32
  259. data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +6 -36
  260. data/lib/measures/generic_qaqc/resources/check_mech_sys_part_load_eff.rb +2 -32
  261. data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +8 -34
  262. data/lib/measures/generic_qaqc/resources/check_part_loads.rb +2 -32
  263. data/lib/measures/generic_qaqc/resources/check_placeholder.rb +2 -32
  264. data/lib/measures/generic_qaqc/resources/check_plant_cap.rb +2 -32
  265. data/lib/measures/generic_qaqc/resources/check_plant_temps.rb +2 -32
  266. data/lib/measures/generic_qaqc/resources/check_plenum_loads.rb +2 -32
  267. data/lib/measures/generic_qaqc/resources/check_pump_pwr.rb +2 -32
  268. data/lib/measures/generic_qaqc/resources/check_sch_coord.rb +2 -32
  269. data/lib/measures/generic_qaqc/resources/check_schedules.rb +15 -36
  270. data/lib/measures/generic_qaqc/resources/check_simultaneous_heating_and_cooling.rb +2 -32
  271. data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +2 -32
  272. data/lib/measures/generic_qaqc/resources/check_weather_files.rb +2 -32
  273. data/lib/measures/generic_qaqc/resources/os_lib_reporting_qaqc.rb +2 -32
  274. data/lib/measures/generic_qaqc/resources/report.html.erb +10 -32
  275. data/lib/measures/get_site_from_building_component_library/LICENSE.md +7 -21
  276. data/lib/measures/get_site_from_building_component_library/measure.rb +2 -32
  277. data/lib/measures/get_site_from_building_component_library/measure.xml +6 -6
  278. data/lib/measures/hvac_psychrometric_chart/LICENSE.md +7 -21
  279. data/lib/measures/hvac_psychrometric_chart/measure.rb +2 -32
  280. data/lib/measures/hvac_psychrometric_chart/measure.xml +6 -6
  281. data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +10 -32
  282. data/lib/measures/inject_idf_objects/LICENSE.md +7 -21
  283. data/lib/measures/inject_idf_objects/measure.rb +2 -32
  284. data/lib/measures/inject_idf_objects/measure.xml +5 -5
  285. data/lib/measures/openstudio_results/LICENSE.md +7 -21
  286. data/lib/measures/openstudio_results/measure.rb +2 -32
  287. data/lib/measures/openstudio_results/measure.xml +165 -165
  288. data/lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb +2 -32
  289. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVAC.rb +2 -32
  290. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass.rb +2 -32
  291. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +2 -32
  292. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +2 -32
  293. data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitarySystem.rb +2 -32
  294. data/lib/measures/openstudio_results/resources/Siz.AirTerminalDualDuctVAV.rb +2 -32
  295. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeCooledBeam.rb +2 -32
  296. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb +2 -32
  297. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeReheat.rb +2 -32
  298. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctParallelPIUReheat.rb +2 -32
  299. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctSeriesPIUReheat.rb +2 -32
  300. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctUncontrolled.rb +2 -32
  301. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVHeatAndCoolNoReheat.rb +2 -32
  302. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVHeatAndCoolReheat.rb +2 -32
  303. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVNoReheat.rb +2 -32
  304. data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVReheat.rb +2 -32
  305. data/lib/measures/openstudio_results/resources/Siz.BoilerHotWater.rb +2 -32
  306. data/lib/measures/openstudio_results/resources/Siz.BoilerSteam.rb +2 -32
  307. data/lib/measures/openstudio_results/resources/Siz.ChillerAbsorption.rb +2 -32
  308. data/lib/measures/openstudio_results/resources/Siz.ChillerAbsorptionIndirect.rb +2 -32
  309. data/lib/measures/openstudio_results/resources/Siz.ChillerElectricEIR.rb +2 -32
  310. data/lib/measures/openstudio_results/resources/Siz.ChillerHeaterPerformanceElectricEIR.rb +2 -32
  311. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeed.rb +2 -32
  312. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeedStageData.rb +2 -32
  313. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXSingleSpeed.rb +2 -32
  314. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoSpeed.rb +2 -32
  315. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb +2 -32
  316. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +2 -32
  317. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableSpeed.rb +2 -32
  318. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableSpeedSpeedData.rb +2 -32
  319. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingLowTempRadiantVarFlow.rb +2 -32
  320. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWater.rb +2 -32
  321. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +2 -32
  322. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit.rb +2 -32
  323. data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb +2 -32
  324. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeed.rb +2 -32
  325. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeedStageData.rb +2 -32
  326. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXSingleSpeed.rb +2 -32
  327. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +2 -32
  328. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableSpeed.rb +2 -32
  329. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableSpeedSpeedData.rb +2 -32
  330. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDesuperheater.rb +2 -32
  331. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingElectric.rb +2 -32
  332. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGas.rb +2 -32
  333. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGasMultiStage.rb +2 -32
  334. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGasMultiStageStageData.rb +2 -32
  335. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingLowTempRadiantVarFlow.rb +2 -32
  336. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWater.rb +2 -32
  337. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterBaseboard.rb +2 -32
  338. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterBaseboardRadiant.rb +2 -32
  339. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +2 -32
  340. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb +2 -32
  341. data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb +2 -32
  342. data/lib/measures/openstudio_results/resources/Siz.CoilPerformanceDXCooling.rb +2 -32
  343. data/lib/measures/openstudio_results/resources/Siz.CoilSystemCoolingDXHeatExchangerAssisted.rb +2 -32
  344. data/lib/measures/openstudio_results/resources/Siz.CoilSystemCoolingWaterHeatExchangerAssisted.rb +2 -32
  345. data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingAirToWaterHeatPump.rb +2 -32
  346. data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingAirToWaterHeatPumpWrapped.rb +2 -32
  347. data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingDesuperheater.rb +2 -32
  348. data/lib/measures/openstudio_results/resources/Siz.ControllerOutdoorAir.rb +2 -32
  349. data/lib/measures/openstudio_results/resources/Siz.CoolingTowerSingleSpeed.rb +2 -32
  350. data/lib/measures/openstudio_results/resources/Siz.CoolingTowerTwoSpeed.rb +2 -32
  351. data/lib/measures/openstudio_results/resources/Siz.CoolingTowerVariableSpeed.rb +2 -32
  352. data/lib/measures/openstudio_results/resources/Siz.DistrictCooling.rb +2 -32
  353. data/lib/measures/openstudio_results/resources/Siz.DistrictHeating.rb +2 -32
  354. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterInverterLookUpTable.rb +2 -32
  355. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterInverterSimple.rb +2 -32
  356. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterStorageConverter.rb +2 -32
  357. data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterStorageSimple.rb +2 -32
  358. data/lib/measures/openstudio_results/resources/Siz.EvaporativeCoolerDirectResearchSpecial.rb +2 -32
  359. data/lib/measures/openstudio_results/resources/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +2 -32
  360. data/lib/measures/openstudio_results/resources/Siz.EvaporativeFluidCoolerSingleSpeed.rb +2 -32
  361. data/lib/measures/openstudio_results/resources/Siz.EvaporativeFluidCoolerTwoSpeed.rb +2 -32
  362. data/lib/measures/openstudio_results/resources/Siz.FanConstantVolume.rb +2 -32
  363. data/lib/measures/openstudio_results/resources/Siz.FanOnOff.rb +2 -32
  364. data/lib/measures/openstudio_results/resources/Siz.FanVariableVolume.rb +2 -32
  365. data/lib/measures/openstudio_results/resources/Siz.FanZoneExhaust.rb +2 -32
  366. data/lib/measures/openstudio_results/resources/Siz.FluidCoolerSingleSpeed.rb +2 -32
  367. data/lib/measures/openstudio_results/resources/Siz.FluidCoolerTwoSpeed.rb +2 -32
  368. data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellElectricalStorage.rb +2 -32
  369. data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellInverter.rb +2 -32
  370. data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellPowerModule.rb +2 -32
  371. data/lib/measures/openstudio_results/resources/Siz.GeneratorMicroTurbine.rb +2 -32
  372. data/lib/measures/openstudio_results/resources/Siz.GeneratorMicroTurbineHeatRecovery.rb +2 -32
  373. data/lib/measures/openstudio_results/resources/Siz.HVACComponent.rb +2 -32
  374. data/lib/measures/openstudio_results/resources/Siz.HeaderedPumpsConstantSpeed.rb +2 -32
  375. data/lib/measures/openstudio_results/resources/Siz.HeaderedPumpsVariableSpeed.rb +2 -32
  376. data/lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +2 -32
  377. data/lib/measures/openstudio_results/resources/Siz.HeatExchangerFluidToFluid.rb +2 -32
  378. data/lib/measures/openstudio_results/resources/Siz.HeatPumpWaterToWaterEquationFitCooling.rb +2 -32
  379. data/lib/measures/openstudio_results/resources/Siz.HeatPumpWaterToWaterEquationFitHeating.rb +2 -32
  380. data/lib/measures/openstudio_results/resources/Siz.HumidifierSteamElectric.rb +2 -32
  381. data/lib/measures/openstudio_results/resources/Siz.Model.rb +2 -32
  382. data/lib/measures/openstudio_results/resources/Siz.ModelObject.rb +2 -32
  383. data/lib/measures/openstudio_results/resources/Siz.PhotovoltaicPerformanceSimple.rb +2 -32
  384. data/lib/measures/openstudio_results/resources/Siz.PlantComponentTemperatureSource.rb +2 -32
  385. data/lib/measures/openstudio_results/resources/Siz.PlantLoop.rb +2 -32
  386. data/lib/measures/openstudio_results/resources/Siz.PumpConstantSpeed.rb +2 -32
  387. data/lib/measures/openstudio_results/resources/Siz.PumpVariableSpeed.rb +2 -32
  388. data/lib/measures/openstudio_results/resources/Siz.RefrigerationSecondarySystem.rb +2 -32
  389. data/lib/measures/openstudio_results/resources/Siz.RefrigerationSystem.rb +2 -32
  390. data/lib/measures/openstudio_results/resources/Siz.RefrigerationTranscriticalSystem.rb +2 -32
  391. data/lib/measures/openstudio_results/resources/Siz.SizingSystem.rb +2 -32
  392. data/lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb +2 -32
  393. data/lib/measures/openstudio_results/resources/Siz.SolarCollectorPerformancePhotovoltaicThermalSimple.rb +2 -32
  394. data/lib/measures/openstudio_results/resources/Siz.ThermalStorageChilledWaterStratified.rb +2 -32
  395. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterHeatPump.rb +2 -32
  396. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterHeatPumpWrappedCondenser.rb +2 -32
  397. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterMixed.rb +2 -32
  398. data/lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb +2 -32
  399. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardConvectiveElectric.rb +2 -32
  400. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardConvectiveWater.rb +2 -32
  401. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardRadiantConvectiveElectric.rb +2 -32
  402. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardRadiantConvectiveWater.rb +2 -32
  403. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACEnergyRecoveryVentilator.rb +2 -32
  404. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb +2 -32
  405. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACHighTemperatureRadiant.rb +2 -32
  406. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACIdealLoadsAirSystem.rb +2 -32
  407. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACLowTempRadiantConstFlow.rb +2 -32
  408. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACLowTempRadiantVarFlow.rb +2 -32
  409. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +2 -32
  410. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb +2 -32
  411. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +2 -32
  412. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitHeater.rb +2 -32
  413. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb +2 -32
  414. data/lib/measures/openstudio_results/resources/Siz.ZoneHVACWaterToAirHeatPump.rb +2 -32
  415. data/lib/measures/openstudio_results/resources/Siz.ZoneVentilationDesignFlowRate.rb +2 -32
  416. data/lib/measures/openstudio_results/resources/os_lib_reporting.rb +2 -32
  417. data/lib/measures/openstudio_results/resources/report.html.erb +10 -32
  418. data/lib/measures/remove_orphan_objects_and_unused_resources/LICENSE.md +7 -21
  419. data/lib/measures/remove_orphan_objects_and_unused_resources/measure.rb +12 -50
  420. data/lib/measures/remove_orphan_objects_and_unused_resources/measure.xml +10 -10
  421. data/lib/measures/set_electric_equipment_loads_by_epd/LICENSE.md +7 -21
  422. data/lib/measures/set_electric_equipment_loads_by_epd/measure.rb +2 -32
  423. data/lib/measures/set_electric_equipment_loads_by_epd/measure.xml +7 -7
  424. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/LICENSE.md +7 -21
  425. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.rb +2 -32
  426. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.xml +10 -10
  427. data/lib/measures/set_run_period/LICENSE.md +7 -21
  428. data/lib/measures/set_run_period/measure.rb +2 -32
  429. data/lib/measures/set_run_period/measure.xml +5 -5
  430. data/lib/measures/set_space_infiltration_per_exterior_area/LICENSE.md +7 -21
  431. data/lib/measures/set_space_infiltration_per_exterior_area/measure.rb +2 -32
  432. data/lib/measures/set_space_infiltration_per_exterior_area/measure.xml +5 -5
  433. data/lib/measures/shadow_calculation/LICENSE.md +13 -0
  434. data/lib/measures/shadow_calculation/README.md +80 -0
  435. data/lib/measures/shadow_calculation/README.md.erb +42 -0
  436. data/lib/measures/shadow_calculation/measure.rb +188 -0
  437. data/lib/measures/shadow_calculation/measure.xml +180 -0
  438. data/lib/measures/tariff_selection_block/LICENSE.md +7 -21
  439. data/lib/measures/tariff_selection_block/measure.rb +2 -32
  440. data/lib/measures/tariff_selection_block/measure.xml +5 -5
  441. data/lib/measures/tariff_selection_flat/LICENSE.md +7 -21
  442. data/lib/measures/tariff_selection_flat/measure.rb +2 -32
  443. data/lib/measures/tariff_selection_flat/measure.xml +5 -5
  444. data/lib/measures/tariff_selection_generic/LICENSE.md +7 -21
  445. data/lib/measures/tariff_selection_generic/measure.rb +2 -32
  446. data/lib/measures/tariff_selection_generic/measure.xml +23 -23
  447. data/lib/measures/tariff_selection_time_and_date_dependant/LICENSE.md +7 -21
  448. data/lib/measures/tariff_selection_time_and_date_dependant/measure.rb +2 -32
  449. data/lib/measures/tariff_selection_time_and_date_dependant/measure.xml +5 -5
  450. data/lib/measures/view_data/LICENSE.md +7 -21
  451. data/lib/measures/view_data/measure.rb +2 -32
  452. data/lib/measures/view_data/measure.xml +7 -7
  453. data/lib/measures/view_data/resources/report.html.in +1 -1
  454. data/lib/measures/view_data/resources/va3c.rb +2 -32
  455. data/lib/measures/view_model/LICENSE.md +7 -21
  456. data/lib/measures/view_model/measure.rb +2 -32
  457. data/lib/measures/view_model/measure.xml +24 -24
  458. data/lib/measures/view_model/resources/report.html.in +1 -1
  459. data/lib/measures/view_model/resources/va3c.rb +2 -32
  460. data/lib/openstudio/common_measures/extension.rb +2 -32
  461. data/lib/openstudio/common_measures/version.rb +3 -33
  462. data/lib/openstudio/common_measures.rb +2 -32
  463. data/lib/openstudio-common-measures.rb +2 -32
  464. data/openstudio-common-measures.gemspec +2 -2
  465. metadata +77 -13
  466. data/lib/measures/.rubocop.yml +0 -7
  467. /data/lib/measures/{.gitkeep → create_csv_output/docs/.gitkeep} +0 -0
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>remove_internal_loads_directly_assigned_to_spaces</name>
5
5
  <uid>019999e0-3e0c-4a77-abbf-a3352de12384</uid>
6
- <version_id>10e1300e-314d-448a-81ad-a1b79367db54</version_id>
7
- <version_modified>20210406T220257Z</version_modified>
6
+ <version_id>7f3775f8-71ef-48fe-97d5-fa0fdc123897</version_id>
7
+ <version_modified>20221115T223556Z</version_modified>
8
8
  <xml_checksum>057E8D9D</xml_checksum>
9
9
  <class_name>RemoveInternalLoadsDirectlyAssignedToSpaces</class_name>
10
10
  <display_name>RemoveInternalLoadsDirectlyAssignedToSpaces</display_name>
@@ -56,19 +56,19 @@
56
56
  <filename>measure.rb</filename>
57
57
  <filetype>rb</filetype>
58
58
  <usage_type>script</usage_type>
59
- <checksum>BF17E1AE</checksum>
59
+ <checksum>41A3852C</checksum>
60
60
  </file>
61
61
  <file>
62
62
  <filename>RemoveInternalLoadsDirectlyAssignedToSpaces_Test.rb</filename>
63
63
  <filetype>rb</filetype>
64
64
  <usage_type>test</usage_type>
65
- <checksum>F92F918B</checksum>
65
+ <checksum>69B36EF0</checksum>
66
66
  </file>
67
67
  <file>
68
68
  <filename>LICENSE.md</filename>
69
69
  <filetype>md</filetype>
70
70
  <usage_type>license</usage_type>
71
- <checksum>A21A3ED2</checksum>
71
+ <checksum>64FFEBDE</checksum>
72
72
  </file>
73
73
  </files>
74
74
  </measure>
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
2
 
3
- Redistribution and use in source and binary forms, with or without modification, are permitted
4
- provided that the following conditions are met:
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
4
 
6
- (1) Redistributions of source code must retain the above copyright notice, this list of conditions
7
- and the following disclaimer.
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
6
 
9
- (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions
10
- and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
8
 
12
- (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse
13
- or promote products derived from this software without specific prior written permission from the
14
- respective party.
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
15
10
 
16
- (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other
17
- derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
18
- designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
19
12
 
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
21
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
23
- OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25
- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,36 +1,6 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
- # All rights reserved.
4
- # Redistribution and use in source and binary forms, with or without
5
- # modification, are permitted provided that the following conditions are met:
6
- #
7
- # (1) Redistributions of source code must retain the above copyright notice,
8
- # this list of conditions and the following disclaimer.
9
- #
10
- # (2) Redistributions in binary form must reproduce the above copyright notice,
11
- # this list of conditions and the following disclaimer in the documentation
12
- # and/or other materials provided with the distribution.
13
- #
14
- # (3) Neither the name of the copyright holder nor the names of any contributors
15
- # may be used to endorse or promote products derived from this software without
16
- # specific prior written permission from the respective party.
17
- #
18
- # (4) Other than as required in clauses (1) and (2), distributions in any form
19
- # of modifications or other derivative works may not use the "OpenStudio"
20
- # trademark, "OS", "os", or any other confusingly similar designation without
21
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
- #
23
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
24
- # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
25
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
27
- # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
28
- # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30
- # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://openstudio.net/license
34
4
  # *******************************************************************************
35
5
 
36
6
  # see the URL below for information on how to write OpenStudio measures
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>remove_unused_default_profiles</name>
5
5
  <uid>8abcdf38-c391-465a-8fb8-b243aa4f0b06</uid>
6
- <version_id>8492641b-96f2-4bc3-ba82-637794e6b015</version_id>
7
- <version_modified>20220506T153446Z</version_modified>
6
+ <version_id>f5b7e661-a4da-4ab5-bcf1-d092c7aade8d</version_id>
7
+ <version_modified>20221115T223556Z</version_modified>
8
8
  <xml_checksum>B6CD1F98</xml_checksum>
9
9
  <class_name>RemoveUnusedDefaultProfiles</class_name>
10
10
  <display_name>RemoveUnusedDefaultProfiles</display_name>
@@ -66,19 +66,19 @@
66
66
  <filename>measure.rb</filename>
67
67
  <filetype>rb</filetype>
68
68
  <usage_type>script</usage_type>
69
- <checksum>102AADC2</checksum>
69
+ <checksum>36CBB8CE</checksum>
70
70
  </file>
71
71
  <file>
72
72
  <filename>RemoveUnusedDefaultProfiles_Test.rb</filename>
73
73
  <filetype>rb</filetype>
74
74
  <usage_type>test</usage_type>
75
- <checksum>20A73B18</checksum>
75
+ <checksum>9A301172</checksum>
76
76
  </file>
77
77
  <file>
78
78
  <filename>LICENSE.md</filename>
79
79
  <filetype>md</filetype>
80
80
  <usage_type>license</usage_type>
81
- <checksum>A21A3ED2</checksum>
81
+ <checksum>64FFEBDE</checksum>
82
82
  </file>
83
83
  </files>
84
84
  </measure>
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
2
 
3
- Redistribution and use in source and binary forms, with or without modification, are permitted
4
- provided that the following conditions are met:
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
4
 
6
- (1) Redistributions of source code must retain the above copyright notice, this list of conditions
7
- and the following disclaimer.
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
6
 
9
- (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions
10
- and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
8
 
12
- (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse
13
- or promote products derived from this software without specific prior written permission from the
14
- respective party.
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
15
10
 
16
- (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other
17
- derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
18
- designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
19
12
 
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
21
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
23
- OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25
- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,36 +1,6 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
- # All rights reserved.
4
- # Redistribution and use in source and binary forms, with or without
5
- # modification, are permitted provided that the following conditions are met:
6
- #
7
- # (1) Redistributions of source code must retain the above copyright notice,
8
- # this list of conditions and the following disclaimer.
9
- #
10
- # (2) Redistributions in binary form must reproduce the above copyright notice,
11
- # this list of conditions and the following disclaimer in the documentation
12
- # and/or other materials provided with the distribution.
13
- #
14
- # (3) Neither the name of the copyright holder nor the names of any contributors
15
- # may be used to endorse or promote products derived from this software without
16
- # specific prior written permission from the respective party.
17
- #
18
- # (4) Other than as required in clauses (1) and (2), distributions in any form
19
- # of modifications or other derivative works may not use the "OpenStudio"
20
- # trademark, "OS", "os", or any other confusingly similar designation without
21
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
- #
23
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
24
- # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
25
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
27
- # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
28
- # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30
- # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://openstudio.net/license
34
4
  # *******************************************************************************
35
5
 
36
6
  # start the measure
@@ -3,15 +3,30 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>replace_exterior_window_construction</name>
5
5
  <uid>95116deb-0716-4cdc-af27-09c463befc7c</uid>
6
- <version_id>537e5262-4238-40d5-98d3-5af3d7b8ee4c</version_id>
7
- <version_modified>20210406T220258Z</version_modified>
6
+ <version_id>bb79400e-c308-442f-bd56-52e1238b4cd0</version_id>
7
+ <version_modified>20221115T223608Z</version_modified>
8
8
  <xml_checksum>6DE831F7</xml_checksum>
9
9
  <class_name>ReplaceExteriorWindowConstruction</class_name>
10
10
  <display_name>Replace Exterior Window Constructions with a Different Construction from the Model.</display_name>
11
11
  <description>Replace existing windows with different windows to change thermal or lighting performance. Window technology has improved drastically over the years, and double or triple-pane high performance windows currently on the market can cut down on envelope loads greatly. Window frames with thermal breaks reduce the considerable energy that can transfer through thermally unbroken frames. High performance windows typically also come with low-emissivity (low?e) glass to keep radiant heat on the same side of the glass from where the heat originated. This means that during the cooling months a low-e glass would tend to keep radiant heat from the sun on the outside of the window, which would keep the inside of a building cooler. Conversely, during heating months low-e glass helps keep radiant heat from inside the building on the inside, which would keep the inside of a building warmer. Life cycle cost values may be added for the new window applied by the measure.</description>
12
- <modeler_description>Replace fixed and/or operable exterior window constructions with another construction in the model. Skylights (windows in roofs vs. walls) will not be altered. Windows in surfaces with "Adiabatic" boundary conditions are not specifically assumed to be interior or exterior. As a result constructions used on windows in "Adiabatic" surfaces will not be altered. Material &amp; installation, demolition, and O&amp;M costs can be added to the applied window construction. Optionally any prior costs associated with construction can be removed.
13
-
14
- For costs added as part of a design alternatives "Years Until Costs Start? is typically "0?. For a new construction scenario "Demolition Costs Occur During Initial Construction?? is "false?. For retrofit scenario "Demolition Costs Occur During Initial Construction?? is "true?. O&amp;M cost and frequency can be whatever is appropriate for the component.
12
+ <modeler_description>Replace fixed and/or operable exterior window constructions with another construction in the model. Skylights (windows in roofs vs. walls) will not be altered. Windows in surfaces with "Adiabatic" boundary conditions are not specifically assumed to be interior or exterior. As a result constructions used on windows in "Adiabatic" surfaces will not be altered. Material &amp; installation, demolition, and O&amp;M costs can be added to the applied window construction. Optionally any prior costs associated with construction can be removed.
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+ For costs added as part of a design alternatives "Years Until Costs Start? is typically "0?. For a new construction scenario "Demolition Costs Occur During Initial Construction?? is "false?. For retrofit scenario "Demolition Costs Occur During Initial Construction?? is "true?. O&amp;M cost and frequency can be whatever is appropriate for the component.
25
+
26
+
27
+
28
+
29
+
15
30
  </modeler_description>
16
31
  <arguments>
17
32
  <argument>
@@ -209,19 +224,19 @@ For costs added as part of a design alternatives "Years Until Costs Start? is ty
209
224
  <filename>measure.rb</filename>
210
225
  <filetype>rb</filetype>
211
226
  <usage_type>script</usage_type>
212
- <checksum>FAC9FD75</checksum>
227
+ <checksum>02D95F25</checksum>
213
228
  </file>
214
229
  <file>
215
230
  <filename>ReplaceExteriorWindowConstruction_Test.rb</filename>
216
231
  <filetype>rb</filetype>
217
232
  <usage_type>test</usage_type>
218
- <checksum>0F23E7AE</checksum>
233
+ <checksum>E1F8556C</checksum>
219
234
  </file>
220
235
  <file>
221
236
  <filename>LICENSE.md</filename>
222
237
  <filetype>md</filetype>
223
238
  <usage_type>license</usage_type>
224
- <checksum>A21A3ED2</checksum>
239
+ <checksum>64FFEBDE</checksum>
225
240
  </file>
226
241
  </files>
227
242
  </measure>
@@ -0,0 +1,13 @@
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
10
+
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,34 @@
1
+
2
+
3
+ ###### (Automatically generated documentation)
4
+
5
+ # Replace OpenStudio Model
6
+
7
+ ## Description
8
+
9
+
10
+ ## Modeler Description
11
+
12
+
13
+ ## Measure Type
14
+ ModelMeasure
15
+
16
+ ## Taxonomy
17
+
18
+
19
+ ## Arguments
20
+
21
+
22
+ ### External OSM File Name
23
+ Name of the model to replace current model. This is the filename with the extension (e.g. MyModel.osm). Optionally this can inclucde the full file path, but for most use cases should just be file name.
24
+
25
+ **Name:** external_model_name,
26
+ **Type:** String,
27
+ **Units:** ,
28
+ **Required:** true,
29
+ **Model Dependent:** false
30
+
31
+
32
+
33
+
34
+
@@ -0,0 +1,42 @@
1
+ <%#= README.md.erb is used to auto-generate README.md. %>
2
+ <%#= To manually maintain README.md throw away README.md.erb and manually edit README.md %>
3
+ ###### (Automatically generated documentation)
4
+
5
+ # <%= name %>
6
+
7
+ ## Description
8
+ <%= description %>
9
+
10
+ ## Modeler Description
11
+ <%= modelerDescription %>
12
+
13
+ ## Measure Type
14
+ <%= measureType %>
15
+
16
+ ## Taxonomy
17
+ <%= taxonomy %>
18
+
19
+ ## Arguments
20
+
21
+ <% arguments.each do |argument| %>
22
+ ### <%= argument[:display_name] %>
23
+ <%= argument[:description] %>
24
+ **Name:** <%= argument[:name] %>,
25
+ **Type:** <%= argument[:type] %>,
26
+ **Units:** <%= argument[:units] %>,
27
+ **Required:** <%= argument[:required] %>,
28
+ **Model Dependent:** <%= argument[:model_dependent] %>
29
+ <% end %>
30
+
31
+ <% if arguments.size == 0 %>
32
+ <%= "This measure does not have any user arguments" %>
33
+ <% end %>
34
+
35
+ <% if outputs.size > 0 %>
36
+ ## Outputs
37
+ <% output_names = [] %>
38
+ <% outputs.each do |output| %>
39
+ <% output_names << output[:display_name] %>
40
+ <% end %>
41
+ <%= output_names.join(", ") %>
42
+ <% end %>
@@ -0,0 +1,113 @@
1
+ # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://openstudio.net/license
4
+ # *******************************************************************************
5
+
6
+ class ReplaceModel < OpenStudio::Measure::ModelMeasure
7
+
8
+ # override name to return the name of your script
9
+ def name
10
+ return "Replace OpenStudio Model"
11
+ end
12
+
13
+ # return a vector of arguments
14
+ def arguments(model)
15
+ args = OpenStudio::Measure::OSArgumentVector.new
16
+
17
+ # make an argument for external model
18
+ external_model_name = OpenStudio::Measure::OSArgument::makeStringArgument("external_model_name",true)
19
+ external_model_name.setDisplayName("External OSM File Name")
20
+ external_model_name.setDescription("Name of the model to replalace current model. This is the filename with the extension (e.g. MyModel.osm). Optionally this can inclucde the full file path, but for most use cases should just be file name.")
21
+ args << external_model_name
22
+
23
+ return args
24
+ end
25
+
26
+ def run(model, runner, user_arguments)
27
+ super(model, runner, user_arguments)
28
+
29
+ if not runner.validateUserArguments(arguments(model),user_arguments)
30
+ return false
31
+ end
32
+
33
+ runner.registerInitialCondition("Initial model had #{model.objects.size} objects.")
34
+
35
+ external_model_name = runner.getStringArgumentValue("external_model_name",user_arguments)
36
+
37
+ # find external model
38
+ osw_file = runner.workflow.findFile(external_model_name)
39
+ if osw_file.is_initialized
40
+ external_model_name = osw_file.get.to_s
41
+ else
42
+ runner.registerError("Did not find #{external_model_name} in paths described in OSW file.")
43
+ runner.registerInfo("Looked for #{external_model_name} in the following locations")
44
+ runner.workflow.absoluteFilePaths.each do |path|
45
+ runner.registerInfo("#{path}")
46
+ end
47
+ return false
48
+ end
49
+
50
+ translator = OpenStudio::OSVersion::VersionTranslator.new
51
+ oModel = translator.loadModel(external_model_name)
52
+ if oModel.empty?
53
+ runner.registerError("Could not load alternative model from '" + external_model_name.to_s + "'.")
54
+ return false
55
+ end
56
+
57
+ newModel = oModel.get
58
+
59
+ # pull original weather file object over
60
+ weatherFile = newModel.getOptionalWeatherFile
61
+ if not weatherFile.empty?
62
+ weatherFile.get.remove
63
+ end
64
+ originalWeatherFile = model.getOptionalWeatherFile
65
+ if not originalWeatherFile.empty?
66
+ originalWeatherFile.get.clone(newModel)
67
+ end
68
+ runner.registerInfo("Replacing alternate model's weather file object.")
69
+
70
+ # pull original design days over
71
+ newModel.getDesignDays.each { |designDay|
72
+ designDay.remove
73
+ }
74
+ model.getDesignDays.each { |designDay|
75
+ designDay.clone(newModel)
76
+ }
77
+ runner.registerInfo("Replacing alternate model's design day objects.")
78
+
79
+ # pull over original water main temps
80
+ newModel.getSiteWaterMainsTemperature.remove
81
+ model.getSiteWaterMainsTemperature.clone(newModel)
82
+ runner.registerInfo("Replacing alternate model's water main temperature object.")
83
+
84
+ # pull over original climate zone
85
+ newModel.getClimateZones.remove
86
+ model.getClimateZones.clone(newModel)
87
+ runner.registerInfo("Replacing alternate model's ASHRAE Climate Zone.")
88
+
89
+ # swap underlying data in model with underlying data in newModel
90
+ # model = newModel DOES NOT work
91
+ # model.swap(newModel) IS NOT reliable
92
+
93
+ # alternative swap
94
+ # remove existing objects from model
95
+ handles = OpenStudio::UUIDVector.new
96
+ model.objects.each do |obj|
97
+ handles << obj.handle
98
+ end
99
+ model.removeObjects(handles)
100
+ # add new file to empty model
101
+ model.addObjects( newModel.toIdfFile.objects )
102
+
103
+ runner.registerInfo("All other characteristics of alternate model are being brought over including rotation, building, site shading, exterior lights, simulation settings, and output variables requests.")
104
+
105
+ runner.registerFinalCondition("Model replaced with alternative #{external_model_name}. Weather file, design days, water main temps, and climate zones are retained from original. Final model has #{model.objects.size} objects.")
106
+
107
+ return true
108
+ end
109
+
110
+ end
111
+
112
+ #this allows the measure to be used by the application
113
+ ReplaceModel.new.registerWithApplication
@@ -0,0 +1,71 @@
1
+ <?xml version="1.0"?>
2
+ <measure>
3
+ <schema_version>3.0</schema_version>
4
+ <name>replace_model</name>
5
+ <uid>54f03343-5b5c-42f4-818c-5e6de6ded489</uid>
6
+ <version_id>7ab0e620-5411-481e-93b2-83768245a28c</version_id>
7
+ <version_modified>20230607T052233Z</version_modified>
8
+ <xml_checksum>057E8D9D</xml_checksum>
9
+ <class_name>ReplaceModel</class_name>
10
+ <display_name>Replace OpenStudio Model</display_name>
11
+ <description></description>
12
+ <modeler_description></modeler_description>
13
+ <arguments>
14
+ <argument>
15
+ <name>external_model_name</name>
16
+ <display_name>External OSM File Name</display_name>
17
+ <description>Name of the model to replace current model. This is the filename with the extension (e.g. MyModel.osm). Optionally this can inclucde the full file path, but for most use cases should just be file name.</description>
18
+ <type>String</type>
19
+ <required>true</required>
20
+ <model_dependent>false</model_dependent>
21
+ </argument>
22
+ </arguments>
23
+ <outputs />
24
+ <provenances />
25
+ <tags>
26
+ <tag>Whole Building.Space Types</tag>
27
+ </tags>
28
+ <attributes>
29
+ <attribute>
30
+ <name>Measure Type</name>
31
+ <value>ModelMeasure</value>
32
+ <datatype>string</datatype>
33
+ </attribute>
34
+ <attribute>
35
+ <name>Uses SketchUp API</name>
36
+ <value>false</value>
37
+ <datatype>boolean</datatype>
38
+ </attribute>
39
+ </attributes>
40
+ <files>
41
+ <file>
42
+ <filename>EnvelopeAndLoadTestModel_01.osm</filename>
43
+ <filetype>osm</filetype>
44
+ <usage_type>test</usage_type>
45
+ <checksum>6616E1BE</checksum>
46
+ </file>
47
+ <file>
48
+ <filename>test.osw</filename>
49
+ <filetype>osw</filetype>
50
+ <usage_type>test</usage_type>
51
+ <checksum>F5FABCCF</checksum>
52
+ </file>
53
+ <file>
54
+ <version>
55
+ <software_program>OpenStudio</software_program>
56
+ <identifier>2.0.0</identifier>
57
+ <min_compatible>2.0.0</min_compatible>
58
+ </version>
59
+ <filename>measure.rb</filename>
60
+ <filetype>rb</filetype>
61
+ <usage_type>script</usage_type>
62
+ <checksum>15A137A6</checksum>
63
+ </file>
64
+ <file>
65
+ <filename>ReplaceModel_Test.rb</filename>
66
+ <filetype>rb</filetype>
67
+ <usage_type>test</usage_type>
68
+ <checksum>AA8EB3EB</checksum>
69
+ </file>
70
+ </files>
71
+ </measure>
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
2
 
3
- Redistribution and use in source and binary forms, with or without modification, are permitted
4
- provided that the following conditions are met:
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
4
 
6
- (1) Redistributions of source code must retain the above copyright notice, this list of conditions
7
- and the following disclaimer.
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
6
 
9
- (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions
10
- and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
8
 
12
- (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse
13
- or promote products derived from this software without specific prior written permission from the
14
- respective party.
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
15
10
 
16
- (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other
17
- derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
18
- designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
19
12
 
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
21
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
23
- OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25
- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.