openstudio-common-measures 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/README.md +7 -2
  4. data/doc_templates/copyright_erb.txt +1 -1
  5. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +2 -8
  6. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +9 -3
  7. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +2 -2
  8. data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +2 -2
  9. data/lib/measures/ReportModelChanges/measure.xml +2 -2
  10. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +4 -4
  11. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +4 -4
  12. data/lib/measures/SetGasBurnerEfficiency/measure.xml +4 -4
  13. data/lib/measures/ShiftScheduleProfileTime/measure.xml +4 -4
  14. data/lib/measures/SwapLightsDefinition/measure.xml +3 -5
  15. data/lib/measures/add_ems_emissions_reporting/measure.rb +236 -29
  16. data/lib/measures/add_ems_emissions_reporting/measure.xml +362 -10
  17. data/lib/measures/add_ev_load/measure.rb +51 -8
  18. data/lib/measures/add_ev_load/measure.xml +23 -5
  19. data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +3 -3
  20. data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +5 -1
  21. data/lib/measures/example_report/measure.xml +3 -3
  22. data/lib/measures/example_report/resources/report.html.erb +5 -1
  23. data/lib/measures/generic_qaqc/README.md +19 -4
  24. data/lib/measures/generic_qaqc/README.md.erb +7 -1
  25. data/lib/measures/generic_qaqc/docs/generic_qaqc_detailed.jpg +0 -0
  26. data/lib/measures/generic_qaqc/docs/generic_qaqc_summary.jpg +0 -0
  27. data/lib/measures/generic_qaqc/measure.rb +34 -29
  28. data/lib/measures/generic_qaqc/measure.xml +181 -82
  29. data/lib/measures/generic_qaqc/resources/check_cond_zns.rb +3 -1
  30. data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +13 -8
  31. data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +330 -231
  32. data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +59 -20
  33. data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +58 -20
  34. data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +57 -56
  35. data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +4 -1
  36. data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +27 -22
  37. data/lib/measures/generic_qaqc/resources/check_mech_sys_part_load_eff.rb +4 -1
  38. data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +3 -3
  39. data/lib/measures/generic_qaqc/resources/check_schedules.rb +65 -101
  40. data/lib/measures/generic_qaqc/resources/check_simultaneous_heating_and_cooling.rb +3 -1
  41. data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +3 -1
  42. data/lib/measures/generic_qaqc/resources/os_lib_reporting_qaqc.rb +49 -15
  43. data/lib/measures/generic_qaqc/resources/report.html.erb +5 -1
  44. data/lib/measures/hvac_psychrometric_chart/measure.xml +3 -3
  45. data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +5 -1
  46. data/lib/measures/openstudio_results/measure.xml +3 -3
  47. data/lib/measures/openstudio_results/resources/report.html.erb +5 -1
  48. data/lib/measures/set_run_period/measure.xml +2 -2
  49. data/lib/measures/view_data/measure.xml +4 -4
  50. data/lib/measures/view_data/resources/report.html.in +189 -19
  51. data/lib/measures/view_data/resources/va3c.rb +1 -0
  52. data/lib/measures/view_model/measure.xml +9 -9
  53. data/lib/measures/view_model/resources/report.html.in +189 -19
  54. data/lib/measures/view_model/resources/va3c.rb +1 -0
  55. data/lib/openstudio/common_measures/version.rb +1 -1
  56. data/openstudio-common-measures.gemspec +1 -1
  57. metadata +7 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aef91215d3cc45d5b5686f4c94e82b7aa44d2610cdeac9de7019b4706233715c
4
- data.tar.gz: d70ac47cbce72e9b8e79cad8e864a01b7271d8ff4d88c070e96b06cba2ccdfb8
3
+ metadata.gz: 23485b6df8dceaed500819385e9a77c3080ca63684d2465fce4ef91734dd0103
4
+ data.tar.gz: 8cf223a7bcb5f849ae95d7ca92b743416835facf5d1c251aea7f008f14c70bc8
5
5
  SHA512:
6
- metadata.gz: 96765829e90d5133823178efdccd0983e523c291f0d2fc620c1a04084d83d9cdf8aa07f52320cf83acc10c46b0ef28681637d5e88425e985eb9e37ab1b30a777
7
- data.tar.gz: 646027cdd27160feb03555e26f2104c05660b3dfa8f1b852254c1b87fa91c9e80871a16cf36b114d84408726cc103e87a0a637cfe805cca9f6c8a45b84e5bd7d
6
+ metadata.gz: a569112ba70451f4271cd69d9019697f6e851175aef6cb33e2de1997caac96e147302c105e97253f023e68f225b20c71cf07877303b173ec074a8d4a3a552e31
7
+ data.tar.gz: f0750ca35baf89308f1eea973dc3d7f5ac426b98eed196b32d688ba7ce4b1eb30ae64e619792a2a6be5b2c61019205092ee992bcfd39a4ce8fcedd6140c738fa
data/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # OpenStudio Common Measures Gem
2
2
 
3
- ## Version 0.4.0
3
+ ## Version 0.6.0
4
+
5
+ * Support for OpenStudio 3.4 (upgrade to standards gem 0.2.16, no extension gem upgrade)
6
+ * Fixed [#53]( https://github.com/NREL/openstudio-common-measures-gem/issues/53 ), View Model and View Data measures are missing rendering color for Foundation
7
+ * Fixed [#90]( https://github.com/NREL/openstudio-common-measures-gem/pull/90 ), Adjacency Checker
8
+ * Fixed [#93]( https://github.com/NREL/openstudio-common-measures-gem/pull/93 ), Qaqc issue 79
9
+ * Fixed [#94]( https://github.com/NREL/openstudio-common-measures-gem/pull/94 ), remove unique output variable names
10
+ * Fixed [#95]( https://github.com/NREL/openstudio-common-measures-gem/pull/95 ), Qaqc issue 79
11
+ * Fixed [#96]( https://github.com/NREL/openstudio-common-measures-gem/pull/96 ), Add additional argument to add_ev_load measure
12
+ * Fixed [#97]( https://github.com/NREL/openstudio-common-measures-gem/pull/97 ), Add color for Foundation boundary condition
13
+
14
+ ## Version 0.5.0
4
15
 
5
16
  * Support for OpenStudio 3.3 (upgrade to extension gem 0.5.1 and standards gem 0.2.15)
6
17
  * Fixed [#80]( https://github.com/NREL/openstudio-common-measures-gem/pull/80 ), Custom emissions reporting measure
data/README.md CHANGED
@@ -38,6 +38,7 @@ bundle exec rake openstudio:test_with_openstudio
38
38
 
39
39
  |OpenStudio Common Measures Gem|OpenStudio|Ruby|
40
40
  |:--------------:|:----------:|:--------:|
41
+ | 0.6.0 | 3.4 | 2.7 |
41
42
  | 0.5.0 | 3.3 | 2.7 |
42
43
  | 0.4.0 - 0,4.2 | 3.2 | 2.7 |
43
44
  | 0.3.0 - 0.3.2 | 3.1 | 2.5 |
@@ -50,8 +51,12 @@ Please review the [OpenStudio Contribution Policy](https://openstudio.net/openst
50
51
 
51
52
  # Releasing
52
53
 
53
- * Update CHANGELOG.md
54
- * Run `rake rubocop:auto_correct`
54
+ * Update `CHANGELOG.md`
55
+ * Run `rake openstudio:rubocop:auto_correct`
56
+ * Run `rake openstudio:update_copyright`
57
+ * Run `rake openstudio:update_measures` (this has to be done last since prior tasks alter measure files)
58
+ * Update version in `readme.md`
59
+ * Update version in `openstudio-common_measures.gemspec`
55
60
  * Update version in `/lib/openstudio/common_measures/version.rb`
56
61
  * Create PR to master, after tests and reviews complete, then merge
57
62
  * Locally - from the master branch, run `rake release`
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *******************************************************************************
3
- # OpenStudio(R), Copyright (c) 2008-2021, 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:
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>add_cost_per_floor_area_to_unused_lights</name>
5
5
  <uid>a5f5ddcf-48bb-413a-a712-0ee22f0b40a4</uid>
6
- <version_id>4f3727ae-8c82-4a9a-9cba-56971f84f772</version_id>
7
- <version_modified>20210406T220253Z</version_modified>
6
+ <version_id>b381ec85-c37d-45b4-87bf-083af1209520</version_id>
7
+ <version_modified>20220506T153448Z</version_modified>
8
8
  <xml_checksum>35DA4ED3</xml_checksum>
9
9
  <class_name>AddCostPerFloorAreaToUnusedLights</class_name>
10
10
  <display_name>Add Cost per Floor Area to Unused Lights</display_name>
@@ -137,12 +137,6 @@
137
137
  </attribute>
138
138
  </attributes>
139
139
  <files>
140
- <file>
141
- <filename>resultsviewer.log</filename>
142
- <filetype>log</filetype>
143
- <usage_type>test</usage_type>
144
- <checksum>00000000</checksum>
145
- </file>
146
140
  <file>
147
141
  <filename>0416_NetArea_b.osm</filename>
148
142
  <filetype>osm</filetype>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>add_cost_to_supply_side_hvac_component_by_air_loop</name>
5
5
  <uid>a667a52f-aa04-4997-9292-c81671d75f84</uid>
6
- <version_id>e8fc3a6a-73c6-4983-8334-e5cd7c12aaca</version_id>
7
- <version_modified>20210406T220254Z</version_modified>
6
+ <version_id>edf06a2f-c8ae-4f6e-9f1e-a436e5e50863</version_id>
7
+ <version_modified>20220506T153447Z</version_modified>
8
8
  <xml_checksum>35DA4ED3</xml_checksum>
9
9
  <class_name>AddCostToSupplySideHVACComponentByAirLoop</class_name>
10
10
  <display_name>Add Cost to Supply Side HVAC Component by Air Loop</display_name>
@@ -80,7 +80,7 @@
80
80
  <model_dependent>false</model_dependent>
81
81
  <choices>
82
82
  <choice>
83
- <value>{94135bb3-2998-4090-aa46-6962159cd56c}</value>
83
+ <value>{e4edb35e-c955-4578-8731-128019ff33b6}</value>
84
84
  <display_name>*All Air Loops*</display_name>
85
85
  </choice>
86
86
  </choices>
@@ -245,5 +245,11 @@
245
245
  <usage_type>license</usage_type>
246
246
  <checksum>A21A3ED2</checksum>
247
247
  </file>
248
+ <file>
249
+ <filename>HVACComponentBasic/files/USA_CO_Golden-NREL.724666_TMY3.epw</filename>
250
+ <filetype>epw</filetype>
251
+ <usage_type>test</usage_type>
252
+ <checksum>BDF687C1</checksum>
253
+ </file>
248
254
  </files>
249
255
  </measure>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>add_simple_pv_to_shading_surfaces_by_type</name>
5
5
  <uid>27627c16-75d4-4fc3-add9-2d7d538c0130</uid>
6
- <version_id>263a8572-cfd3-43ed-8cba-fa7b28398034</version_id>
7
- <version_modified>20210406T220254Z</version_modified>
6
+ <version_id>316e40e8-ec27-4288-92d8-b8bf33914860</version_id>
7
+ <version_modified>20220506T153447Z</version_modified>
8
8
  <xml_checksum>92C8C204</xml_checksum>
9
9
  <class_name>AddSimplePvToShadingSurfacesByType</class_name>
10
10
  <display_name>Add Simple PV to Specified Shading Surfaces</display_name>
@@ -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>45d7a5b4-2b4d-4540-8493-6c2bd61dda47</version_id>
7
- <version_modified>20210406T220257Z</version_modified>
6
+ <version_id>8492641b-96f2-4bc3-ba82-637794e6b015</version_id>
7
+ <version_modified>20220506T153446Z</version_modified>
8
8
  <xml_checksum>B6CD1F98</xml_checksum>
9
9
  <class_name>RemoveUnusedDefaultProfiles</class_name>
10
10
  <display_name>RemoveUnusedDefaultProfiles</display_name>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>report_model_changes</name>
5
5
  <uid>6d66b426-908f-4528-9fe5-523b9d2f49c5</uid>
6
- <version_id>a4712e0a-6080-4534-a6b8-16e9312c623e</version_id>
7
- <version_modified>20210708T213307Z</version_modified>
6
+ <version_id>d04c43f1-5011-4fca-b59c-1c7fd7081e0d</version_id>
7
+ <version_modified>20220506T153446Z</version_modified>
8
8
  <xml_checksum>1E1F8B97</xml_checksum>
9
9
  <class_name>ReportModelChanges</class_name>
10
10
  <display_name>ReportModelChanges</display_name>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>set_co_pfor_single_speed_dx_cooling_units</name>
5
5
  <uid>a4a7297e-8314-4df7-86b5-bec18cdd0a3a</uid>
6
- <version_id>1ef19b19-ad89-42c5-95f6-39b22179503e</version_id>
7
- <version_modified>20210406T220258Z</version_modified>
6
+ <version_id>a7f68115-1f19-4b95-9a8b-f315a6649eac</version_id>
7
+ <version_modified>20220506T153448Z</version_modified>
8
8
  <xml_checksum>9E2537CD</xml_checksum>
9
9
  <class_name>SetCOPforSingleSpeedDXCoolingUnits</class_name>
10
10
  <display_name>Set COP for Single Speed DX Cooling Units</display_name>
@@ -17,10 +17,10 @@
17
17
  <type>Choice</type>
18
18
  <required>true</required>
19
19
  <model_dependent>false</model_dependent>
20
- <default_value>{149f5154-6732-4c0e-a537-575e5461ee08}</default_value>
20
+ <default_value>{f382de5b-d797-4b8b-addc-35eeb4d28375}</default_value>
21
21
  <choices>
22
22
  <choice>
23
- <value>{149f5154-6732-4c0e-a537-575e5461ee08}</value>
23
+ <value>{f382de5b-d797-4b8b-addc-35eeb4d28375}</value>
24
24
  <display_name>*All Air Loops*</display_name>
25
25
  </choice>
26
26
  </choices>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>set_co_pfor_two_speed_dx_cooling_units</name>
5
5
  <uid>f5a8d60a-e60f-4097-99c3-28bfda3f29a3</uid>
6
- <version_id>9b2ff50b-07b8-4b8d-9a30-7ad7c001a696</version_id>
7
- <version_modified>20210406T220258Z</version_modified>
6
+ <version_id>1a6fc4b5-4c28-4ce7-8228-b8924c9312ed</version_id>
7
+ <version_modified>20220506T153442Z</version_modified>
8
8
  <xml_checksum>9E2537CD</xml_checksum>
9
9
  <class_name>SetCOPforTwoSpeedDXCoolingUnits</class_name>
10
10
  <display_name>Set COP for Two Speed DX Cooling Units</display_name>
@@ -17,10 +17,10 @@
17
17
  <type>Choice</type>
18
18
  <required>true</required>
19
19
  <model_dependent>false</model_dependent>
20
- <default_value>{6188295e-13d8-4053-b432-8c91856c44dd}</default_value>
20
+ <default_value>{fca41611-7e8e-483f-b9fd-e411fe241a81}</default_value>
21
21
  <choices>
22
22
  <choice>
23
- <value>{6188295e-13d8-4053-b432-8c91856c44dd}</value>
23
+ <value>{fca41611-7e8e-483f-b9fd-e411fe241a81}</value>
24
24
  <display_name>*All Air Loops*</display_name>
25
25
  </choice>
26
26
  </choices>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>set_gas_burner_efficiency</name>
5
5
  <uid>afabec3d-cd02-4908-a367-84e21657421f</uid>
6
- <version_id>2d14190a-716e-4edb-8bc1-6988a29c7c79</version_id>
7
- <version_modified>20210406T220259Z</version_modified>
6
+ <version_id>41439c27-7428-4a3c-8745-efc89d618830</version_id>
7
+ <version_modified>20220506T153447Z</version_modified>
8
8
  <xml_checksum>0DA5C9E6</xml_checksum>
9
9
  <class_name>SetGasBurnerEfficiency</class_name>
10
10
  <display_name>Set Gas Burner Efficiency</display_name>
@@ -17,10 +17,10 @@
17
17
  <type>Choice</type>
18
18
  <required>true</required>
19
19
  <model_dependent>false</model_dependent>
20
- <default_value>{20c7f001-49b4-456f-8d68-befab57e24b5}</default_value>
20
+ <default_value>{40bd171f-77cb-4e7e-bcb4-2cbce6c09d43}</default_value>
21
21
  <choices>
22
22
  <choice>
23
- <value>{20c7f001-49b4-456f-8d68-befab57e24b5}</value>
23
+ <value>{40bd171f-77cb-4e7e-bcb4-2cbce6c09d43}</value>
24
24
  <display_name>*All Air Loops*</display_name>
25
25
  </choice>
26
26
  </choices>
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>shift_schedule_profile_time</name>
5
5
  <uid>1c642348-f074-4ad1-98ee-2208ddc89ac7</uid>
6
- <version_id>7482b65c-0478-49b3-9b54-eb3a627bc2ab</version_id>
7
- <version_modified>20210406T220259Z</version_modified>
6
+ <version_id>c464c0a3-8db6-4c4f-a77d-1da1c003fcec</version_id>
7
+ <version_modified>20220506T153448Z</version_modified>
8
8
  <xml_checksum>B6CD1F98</xml_checksum>
9
9
  <class_name>ShiftScheduleProfileTime</class_name>
10
10
  <display_name>ShiftScheduleProfileTime</display_name>
@@ -17,10 +17,10 @@
17
17
  <type>Choice</type>
18
18
  <required>true</required>
19
19
  <model_dependent>false</model_dependent>
20
- <default_value>{15966d58-132a-443f-9dcd-2a3886efe059}</default_value>
20
+ <default_value>{d79c0411-789b-4733-868c-2765350a45e1}</default_value>
21
21
  <choices>
22
22
  <choice>
23
- <value>{15966d58-132a-443f-9dcd-2a3886efe059}</value>
23
+ <value>{d79c0411-789b-4733-868c-2765350a45e1}</value>
24
24
  <display_name>*All Ruleset Schedules*</display_name>
25
25
  </choice>
26
26
  </choices>
@@ -3,15 +3,13 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>swap_lights_definition</name>
5
5
  <uid>63845525-5b86-448f-9a34-6be8481496ea</uid>
6
- <version_id>5afb4e53-9cd5-4bf7-ba9b-3481c2fa92ee</version_id>
7
- <version_modified>20210406T220259Z</version_modified>
6
+ <version_id>8ab266db-3cb8-493c-8b16-47474a30bddb</version_id>
7
+ <version_modified>20220506T153448Z</version_modified>
8
8
  <xml_checksum>293730A7</xml_checksum>
9
9
  <class_name>SwapLightsDefinition</class_name>
10
10
  <display_name>SwapLightsDefinition</display_name>
11
11
  <description>This measure will swap out one lights definition for another. All objects that had referred to the original definition will now refer to the new one.</description>
12
- <modeler_description>This measure will not delete or change either definition, rather it just swaps out the references of one for the other. It is possible that the new definition is already used in the model elsewhere.
13
- Each of these objects can be independently costed, however the measure can address demolition costs of the object being removed.
14
- </modeler_description>
12
+ <modeler_description>This measure will not delete or change either definition, rather it just swaps out the references of one for the other. It is possible that the new definition is already used in the model elsewhere. Each of these objects can be independently costed, however the measure can address demolition costs of the object being removed.</modeler_description>
15
13
  <arguments>
16
14
  <argument>
17
15
  <name>old_lights_def</name>