openstudio-geb 0.2.1 → 0.3.1r

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -2
  3. data/CHANGELOG.md +3 -0
  4. data/Gemfile +6 -1
  5. data/doc_templates/LICENSE.md +7 -21
  6. data/doc_templates/copyright_erb.txt +2 -32
  7. data/doc_templates/copyright_js.txt +2 -2
  8. data/doc_templates/copyright_ruby.txt +3 -33
  9. data/lib/measures/Add Output Variable/LICENSE.md +7 -21
  10. data/lib/measures/Add Output Variable/measure.rb +3 -33
  11. data/lib/measures/Add Output Variable/measure.xml +128 -125
  12. data/lib/measures/Add Output Variable/tests/AddOutputVariable_Test.rb +2 -32
  13. data/lib/measures/AddElectricVehicleChargingLoad/LICENSE.md +13 -1
  14. data/lib/measures/AddElectricVehicleChargingLoad/measure.rb +16 -52
  15. data/lib/measures/AddElectricVehicleChargingLoad/measure.xml +24 -23
  16. data/lib/measures/AddElectricVehicleChargingLoad/tests/add_electric_vehicle_charging_load_test.rb +2 -32
  17. data/lib/measures/AdjustThermostatSetpointsByDegreesForPeakHours/LICENSE.md +7 -21
  18. data/lib/measures/AdjustThermostatSetpointsByDegreesForPeakHours/README.md +22 -16
  19. data/lib/measures/AdjustThermostatSetpointsByDegreesForPeakHours/measure.rb +14 -35
  20. data/lib/measures/AdjustThermostatSetpointsByDegreesForPeakHours/measure.xml +41 -30
  21. data/lib/measures/AdjustThermostatSetpointsByDegreesForPeakHours/tests/AdjustThermostatSetpointsByDegreesForPeakHours_Test.rb +2 -32
  22. data/lib/measures/Enable Demand Controlled Ventilation/LICENSE.md +7 -21
  23. data/lib/measures/Enable Demand Controlled Ventilation/measure.rb +2 -32
  24. data/lib/measures/Enable Demand Controlled Ventilation/measure.xml +14 -13
  25. data/lib/measures/Enable Demand Controlled Ventilation/tests/EnableDemandControlledVentilation_Test.rb +2 -32
  26. data/lib/measures/GEB Metrics Report/LICENSE.md +13 -1
  27. data/lib/measures/GEB Metrics Report/measure.rb +2 -37
  28. data/lib/measures/GEB Metrics Report/measure.xml +238 -23
  29. data/lib/measures/GEB Metrics Report/resources/os_lib_helper_methods.rb +2 -32
  30. data/lib/measures/GEB Metrics Report/resources/os_lib_reporting.rb +2 -32
  31. data/lib/measures/GEB Metrics Report/tests/geb_metrics_report_test.rb +2 -32
  32. data/lib/measures/add_ceiling_fan/LICENSE.md +13 -0
  33. data/lib/measures/add_ceiling_fan/README.md +119 -0
  34. data/lib/measures/add_ceiling_fan/README.md.erb +45 -0
  35. data/lib/measures/add_ceiling_fan/docs/.gitkeep +0 -0
  36. data/lib/measures/add_ceiling_fan/measure.rb +565 -0
  37. data/lib/measures/add_ceiling_fan/measure.xml +226 -0
  38. data/lib/measures/add_ceiling_fan/tests/CZ06RV2.epw +8768 -0
  39. data/lib/measures/add_ceiling_fan/tests/MediumOffice-90.1-2010-ASHRAE 169-2013-5A.osm +13669 -0
  40. data/lib/measures/add_ceiling_fan/tests/SFD_1story_UB_UA_ASHP2_HPWH.osm +13110 -0
  41. data/lib/measures/add_ceiling_fan/tests/add_ceiling_fan_test.rb +82 -0
  42. data/lib/measures/add_chilled_water_storage_tank/LICENSE.md +13 -1
  43. data/lib/measures/add_chilled_water_storage_tank/measure.rb +56 -56
  44. data/lib/measures/add_chilled_water_storage_tank/measure.xml +201 -28
  45. data/lib/measures/add_chilled_water_storage_tank/tests/add_chilled_water_storage_tank_test.rb +4 -34
  46. data/lib/measures/add_chilled_water_storage_tank/tests/example_model.osm +8077 -21624
  47. data/lib/measures/add_electrochromic_window/LICENSE.md +13 -1
  48. data/lib/measures/add_electrochromic_window/measure.rb +2 -32
  49. data/lib/measures/add_electrochromic_window/measure.xml +28 -27
  50. data/lib/measures/add_electrochromic_window/tests/add_electrochromic_window_test.rb +2 -32
  51. data/lib/measures/add_exterior_blinds_and_control/LICENSE.md +13 -1
  52. data/lib/measures/add_exterior_blinds_and_control/measure.rb +2 -34
  53. data/lib/measures/add_exterior_blinds_and_control/measure.xml +15 -26
  54. data/lib/measures/add_exterior_blinds_and_control/tests/add_exterior_blinds_and_control_test.rb +2 -34
  55. data/lib/measures/add_heat_pump_water_heater/LICENSE.md +7 -21
  56. data/lib/measures/add_heat_pump_water_heater/measure.rb +2 -32
  57. data/lib/measures/add_heat_pump_water_heater/measure.xml +89 -17
  58. data/lib/measures/add_heat_pump_water_heater/tests/add_hpwh_test.rb +2 -32
  59. data/lib/measures/add_interior_blinds_and_control/LICENSE.md +13 -1
  60. data/lib/measures/add_interior_blinds_and_control/measure.rb +2 -32
  61. data/lib/measures/add_interior_blinds_and_control/measure.xml +21 -33
  62. data/lib/measures/add_interior_blinds_and_control/tests/add_exterior_blinds_and_control_test.rb +2 -32
  63. data/lib/measures/add_natural_ventilation_with_hybrid_control/LICENSE.md +13 -0
  64. data/lib/measures/add_natural_ventilation_with_hybrid_control/README.md +133 -0
  65. data/lib/measures/add_natural_ventilation_with_hybrid_control/README.md.erb +45 -0
  66. data/lib/measures/add_natural_ventilation_with_hybrid_control/docs/.gitkeep +0 -0
  67. data/lib/measures/add_natural_ventilation_with_hybrid_control/measure.rb +453 -0
  68. data/lib/measures/add_natural_ventilation_with_hybrid_control/measure.xml +247 -0
  69. data/lib/measures/add_natural_ventilation_with_hybrid_control/tests/CZ06RV2.epw +8768 -0
  70. data/lib/measures/add_natural_ventilation_with_hybrid_control/tests/MediumOffice-90.1-2010-ASHRAE 169-2013-5A.osm +13669 -0
  71. data/lib/measures/add_natural_ventilation_with_hybrid_control/tests/SmallHotel-2A.osm +42899 -0
  72. data/lib/measures/add_natural_ventilation_with_hybrid_control/tests/USA_NY_Buffalo.Niagara.Intl.AP.725280_TMY3.epw +8768 -0
  73. data/lib/measures/add_natural_ventilation_with_hybrid_control/tests/USA_TX_Houston-Bush.Intercontinental.AP.722430_TMY3.epw +8768 -0
  74. data/lib/measures/add_natural_ventilation_with_hybrid_control/tests/add_natural_ventilation_with_hybrid_control_test.rb +95 -0
  75. data/lib/measures/add_rooftop_pv_simple/LICENSE.md +7 -21
  76. data/lib/measures/add_rooftop_pv_simple/measure.rb +2 -32
  77. data/lib/measures/add_rooftop_pv_simple/measure.xml +11 -5
  78. data/lib/measures/add_rooftop_pv_simple/tests/add_rooftop_pv_test.rb +2 -32
  79. data/lib/measures/adjust_dhw_setpoint/LICENSE.md +13 -1
  80. data/lib/measures/adjust_dhw_setpoint/measure.rb +2 -32
  81. data/lib/measures/adjust_dhw_setpoint/measure.xml +34 -21
  82. data/lib/measures/adjust_dhw_setpoint/tests/adjust_dhw_setpoint_test.rb +2 -32
  83. data/lib/measures/average_ventilation_for_peak_hours/LICENSE.md +13 -1
  84. data/lib/measures/average_ventilation_for_peak_hours/README.md +5 -45
  85. data/lib/measures/average_ventilation_for_peak_hours/measure.rb +2 -32
  86. data/lib/measures/average_ventilation_for_peak_hours/measure.xml +24 -79
  87. data/lib/measures/average_ventilation_for_peak_hours/tests/average_ventilation_for_peak_hours_test.rb +2 -32
  88. data/lib/measures/enable_occupancy_driven_lighting/LICENSE.md +13 -1
  89. data/lib/measures/enable_occupancy_driven_lighting/measure.rb +2 -32
  90. data/lib/measures/enable_occupancy_driven_lighting/measure.xml +28 -27
  91. data/lib/measures/enable_occupancy_driven_lighting/tests/enable_occupancy_driven_lighting_test.rb +2 -32
  92. data/lib/measures/precooling/LICENSE.md +7 -21
  93. data/lib/measures/precooling/measure.rb +2 -33
  94. data/lib/measures/precooling/measure.xml +12 -11
  95. data/lib/measures/preheating/LICENSE.md +7 -21
  96. data/lib/measures/preheating/measure.rb +2 -33
  97. data/lib/measures/preheating/measure.xml +18 -17
  98. data/lib/measures/reduce_domestic_hot_water_use_for_peak_hours/LICENSE.md +13 -1
  99. data/lib/measures/reduce_domestic_hot_water_use_for_peak_hours/measure.rb +2 -32
  100. data/lib/measures/reduce_domestic_hot_water_use_for_peak_hours/measure.xml +34 -27
  101. data/lib/measures/reduce_domestic_hot_water_use_for_peak_hours/tests/reduce_domestic_hot_water_use_for_peak_hours_test.rb +2 -32
  102. data/lib/measures/reduce_epd_by_percentage_for_peak_hours/LICENSE.md +13 -1
  103. data/lib/measures/reduce_epd_by_percentage_for_peak_hours/README.md +3 -3
  104. data/lib/measures/reduce_epd_by_percentage_for_peak_hours/measure.rb +2 -32
  105. data/lib/measures/reduce_epd_by_percentage_for_peak_hours/measure.xml +25 -18
  106. data/lib/measures/reduce_epd_by_percentage_for_peak_hours/tests/reduce_epd_by_percentage_for_peak_hours_copy_test.rb +2 -32
  107. data/lib/measures/reduce_exterior_lighting_loads/LICENSE.md +13 -0
  108. data/lib/measures/reduce_exterior_lighting_loads/README.md +79 -0
  109. data/lib/measures/reduce_exterior_lighting_loads/README.md.erb +45 -0
  110. data/lib/measures/reduce_exterior_lighting_loads/docs/.gitkeep +0 -0
  111. data/lib/measures/reduce_exterior_lighting_loads/measure.rb +385 -0
  112. data/lib/measures/reduce_exterior_lighting_loads/measure.xml +195 -0
  113. data/lib/measures/reduce_exterior_lighting_loads/tests/CZ06RV2.epw +8768 -0
  114. data/lib/measures/reduce_exterior_lighting_loads/tests/SFD_1story_UB_UA_ASHP2_HPWH.osm +13110 -0
  115. data/lib/measures/reduce_exterior_lighting_loads/tests/example_model.osm +8077 -0
  116. data/lib/measures/reduce_exterior_lighting_loads/tests/reduce_exterior_lighting_loads_test.rb +81 -0
  117. data/lib/measures/reduce_lpd_by_percentage_for_peak_hours/LICENSE.md +13 -1
  118. data/lib/measures/reduce_lpd_by_percentage_for_peak_hours/measure.rb +2 -32
  119. data/lib/measures/reduce_lpd_by_percentage_for_peak_hours/measure.xml +30 -23
  120. data/lib/measures/reduce_lpd_by_percentage_for_peak_hours/tests/reduce_lpd_by_percentage_for_peak_hours_test.rb +2 -32
  121. data/lib/openstudio/geb/extension.rb +2 -32
  122. data/lib/openstudio/geb/logging.rb +2 -32
  123. data/lib/openstudio/geb/run.rb +2 -32
  124. data/lib/openstudio/geb/utilities.rb +2 -32
  125. data/lib/openstudio/geb/version.rb +3 -33
  126. data/lib/openstudio/geb.rb +2 -32
  127. data/lib/openstudio-geb.rb +5 -0
  128. data/openstudio-geb.gemspec +2 -3
  129. metadata +41 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff676d424dd5339717693d56f2fea40d47644b9fe47d723e1414f2d507f97d71
4
- data.tar.gz: 53f0ae3b92dbfdcc8e9c895a04fa1ed2aa15ca254fe8d089e4d5ea328455f011
3
+ metadata.gz: c853b40bd6837e609af4ad83e0e0cc5736474b8005cb23dca883880973023ce3
4
+ data.tar.gz: f71abc54c506a749856aa82fa608f763a6e8df6b4bfbf28bda0927808838e2af
5
5
  SHA512:
6
- metadata.gz: 5a4bf570faad102132a351d3ae5869bdf417664d336009fb0ece9eb945e6c0e69f7a0a81fbfcb5d6884678079f0a5b95a22595dfe16bc836b9160f99df2111b4
7
- data.tar.gz: f943804c9baf9fd0ac4e3209e8b985ff237b3d9265001a2ce5cdfd5229b39f5a5d8987998079ad82d6d823207c9b62e8e54faa121cd7e83b27b686a179017812
6
+ metadata.gz: 76821174518672a3d8f14535e4eec7d6729da9bd12d56f0fabe64799e6235738259e1d2e5bfa593cca756692bdea7cca8ebb8c969427ae14cb439200ed83d795
7
+ data.tar.gz: fbca259a2bf70c79da294dc343f864da8e90c7d1a8e2c322bd6d60c0cf34e4f1a607a40c826990326b0ed73f2fbf97e830b847fe0b58491e0020fc4c33cf7dfb
data/.gitignore CHANGED
@@ -20,7 +20,8 @@
20
20
  .rspec_status
21
21
 
22
22
  # Ignore IDE files
23
- /.idea
23
+ *.idea/
24
+ /.idea/
24
25
  *.rubocop-http*
25
26
 
26
27
  # measures tests
@@ -35,4 +36,4 @@ runner.conf
35
36
  # built gem file
36
37
  *.gem
37
38
 
38
- .DS_Store
39
+ .DS_Store
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # OpenStudio GEB Gem
2
2
 
3
+ ## Version 0.3.0
4
+ - Support for OpenStudio 3.6 (upgrade to standards gem 0.4.0, extension gem 0.6.1)
5
+
3
6
  ## Version 0.2.1
4
7
 
5
8
  - Updated gem structure
data/Gemfile CHANGED
@@ -19,4 +19,9 @@ end
19
19
  gem 'openstudio_measure_tester', '= 0.3.1' # This includes the dependencies for running unit tests, coverage, and rubocop
20
20
 
21
21
  # simplecov has an unnecessary dependency on native json gem, use fork that does not require this
22
- gem 'simplecov', '~> 0.18.2'
22
+ gem 'simplecov', '~> 0.18.2'
23
+
24
+ # pin this dependency to avoid unicode_normalize error
25
+ gem 'addressable', '2.8.1'
26
+ # pin this dependency to avoid using racc dependency (which has native extensions)
27
+ gem 'parser', '3.2.2.2'
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2022, 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
2
  # *******************************************************************************
3
- # OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
4
- # All rights reserved.
5
- # Redistribution and use in source and binary forms, with or without
6
- # modification, are permitted provided that the following conditions are met:
7
- #
8
- # (1) Redistributions of source code must retain the above copyright notice,
9
- # this list of conditions and the following disclaimer.
10
- #
11
- # (2) Redistributions in binary form must reproduce the above copyright notice,
12
- # this list of conditions and the following disclaimer in the documentation
13
- # and/or other materials provided with the distribution.
14
- #
15
- # (3) Neither the name of the copyright holder nor the names of any contributors
16
- # may be used to endorse or promote products derived from this software without
17
- # specific prior written permission from the respective party.
18
- #
19
- # (4) Other than as required in clauses (1) and (2), distributions in any form
20
- # of modifications or other derivative works may not use the "OpenStudio"
21
- # trademark, "OS", "os", or any other confusingly similar designation without
22
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
23
- #
24
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
25
- # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
26
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
28
- # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
29
- # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
31
- # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
33
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
4
+ # See also https://openstudio.net/license
35
5
  # *******************************************************************************
36
6
  %>
@@ -1,4 +1,4 @@
1
1
  /* @preserve
2
- * OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC. All rights reserved.
3
- * Use of this source code is governed by a BSD-style license that can be found at openstudio.net/license.
2
+ * OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC. reserved.
3
+ * See also https://openstudio.net/license
4
4
  */
@@ -1,34 +1,4 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2022, 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.
34
- # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://openstudio.net/license
4
+ # *******************************************************************************
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2022, 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,39 +1,9 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2022, 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
- # see the URL below for information on how to write OpenStuido measures
6
+ # see the URL below for information on how to write OpenStudio measures
37
7
  # http://openstudio.nrel.gov/openstudio-measure-writing-guide
38
8
 
39
9
  # see the URL below for access to C++ documentation on mondel objects (click on "model" in the main window to view model objects)
@@ -1,126 +1,129 @@
1
- <measure xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://bcl.nrel.gov/xsd/measures/version/1.0.xsd">
2
- <schema_version>3.0</schema_version>
3
- <name>add_output_variable</name>
4
- <uid>2a058afb-e349-49ae-a4bf-2c56a42b4352</uid>
5
- <version_id>390a799a-a8e7-4371-941a-196bcb71efd2</version_id>
6
- <version_modified>20210406T220254Z</version_modified>
7
- <xml_checksum>0CA4D54C</xml_checksum>
8
- <class_name>AddOutputVariable</class_name>
9
- <display_name>Add Output Variable</display_name>
10
- <description>This measure adds an output variable at the requested reporting frequency.</description>
11
- <modeler_description>The measure just passes in the string and does not validate that it is a proper variable name. It is up to the user to know this or to look at the .rdd file from a previous simulation run.</modeler_description>
12
- <arguments>
13
- <argument>
14
- <name>variable_name</name>
15
- <display_name>Enter Variable Name</display_name>
16
- <type>String</type>
17
- <required>true</required>
18
- <model_dependent>false</model_dependent>
19
- </argument>
20
- <argument>
21
- <name>reporting_frequency</name>
22
- <display_name>Reporting Frequency</display_name>
23
- <type>Choice</type>
24
- <required>true</required>
25
- <model_dependent>false</model_dependent>
26
- <default_value>hourly</default_value>
27
- <choices>
28
- <choice>
29
- <value>detailed</value>
30
- <display_name>detailed</display_name>
31
- </choice>
32
- <choice>
33
- <value>timestep</value>
34
- <display_name>timestep</display_name>
35
- </choice>
36
- <choice>
37
- <value>hourly</value>
38
- <display_name>hourly</display_name>
39
- </choice>
40
- <choice>
41
- <value>daily</value>
42
- <display_name>daily</display_name>
43
- </choice>
44
- <choice>
45
- <value>monthly</value>
46
- <display_name>monthly</display_name>
47
- </choice>
48
- <choice>
49
- <value>runperiod</value>
50
- <display_name>runperiod</display_name>
51
- </choice>
52
- </choices>
53
- </argument>
54
- <argument>
55
- <name>key_value</name>
56
- <display_name>Enter Key Name</display_name>
57
- <description>Enter * for all objects or the full name of a specific object to.</description>
58
- <type>String</type>
59
- <required>true</required>
60
- <model_dependent>false</model_dependent>
61
- <default_value>*</default_value>
62
- </argument>
63
- </arguments>
64
- <tags>
65
- <tag>Reporting.QAQC</tag>
66
- </tags>
67
- <attributes>
68
- <attribute>
69
- <name>Measure Type</name>
70
- <value>ModelMeasure</value>
71
- <datatype>string</datatype>
72
- </attribute>
73
- <attribute>
74
- <name>Measure Function</name>
75
- <value>Measure</value>
76
- <datatype>string</datatype>
77
- </attribute>
78
- <attribute>
79
- <name>Requires EnergyPlus Results</name>
80
- <value>false</value>
81
- <datatype>boolean</datatype>
82
- </attribute>
83
- <attribute>
84
- <name>Uses SketchUp API</name>
85
- <value>false</value>
86
- <datatype>boolean</datatype>
87
- </attribute>
88
- </attributes>
89
- <files>
90
- <file>
91
- <filename>README.md.erb</filename>
92
- <filetype>erb</filetype>
93
- <usage_type>readmeerb</usage_type>
94
- <checksum>703C9964</checksum>
95
- </file>
96
- <file>
97
- <filename>README.md</filename>
98
- <filetype>md</filetype>
99
- <usage_type>readme</usage_type>
100
- <checksum>D866D79B</checksum>
101
- </file>
102
- <file>
103
- <version>
104
- <software_program>OpenStudio</software_program>
105
- <identifier>2.0.0</identifier>
106
- <min_compatible>2.0.0</min_compatible>
107
- </version>
108
- <filename>measure.rb</filename>
109
- <filetype>rb</filetype>
110
- <usage_type>script</usage_type>
111
- <checksum>5F961E8C</checksum>
112
- </file>
113
- <file>
114
- <filename>AddOutputVariable_Test.rb</filename>
115
- <filetype>rb</filetype>
116
- <usage_type>test</usage_type>
117
- <checksum>C6185925</checksum>
118
- </file>
119
- <file>
120
- <filename>LICENSE.md</filename>
121
- <filetype>md</filetype>
122
- <usage_type>license</usage_type>
123
- <checksum>A21A3ED2</checksum>
124
- </file>
125
- </files>
1
+ <?xml version="1.0"?>
2
+ <measure>
3
+ <schema_version>3.0</schema_version>
4
+ <name>add_output_variable</name>
5
+ <uid>2a058afb-e349-49ae-a4bf-2c56a42b4352</uid>
6
+ <version_id>f34d2e59-8563-421d-a093-bd28858fee9b</version_id>
7
+ <version_modified>20230719T172108Z</version_modified>
8
+ <xml_checksum>0CA4D54C</xml_checksum>
9
+ <class_name>AddOutputVariable</class_name>
10
+ <display_name>Add Output Variable</display_name>
11
+ <description>This measure adds an output variable at the requested reporting frequency.</description>
12
+ <modeler_description>The measure just passes in the string and does not validate that it is a proper variable name. It is up to the user to know this or to look at the .rdd file from a previous simulation run.</modeler_description>
13
+ <arguments>
14
+ <argument>
15
+ <name>variable_name</name>
16
+ <display_name>Enter Variable Name</display_name>
17
+ <type>String</type>
18
+ <required>true</required>
19
+ <model_dependent>false</model_dependent>
20
+ </argument>
21
+ <argument>
22
+ <name>reporting_frequency</name>
23
+ <display_name>Reporting Frequency</display_name>
24
+ <type>Choice</type>
25
+ <required>true</required>
26
+ <model_dependent>false</model_dependent>
27
+ <default_value>hourly</default_value>
28
+ <choices>
29
+ <choice>
30
+ <value>detailed</value>
31
+ <display_name>detailed</display_name>
32
+ </choice>
33
+ <choice>
34
+ <value>timestep</value>
35
+ <display_name>timestep</display_name>
36
+ </choice>
37
+ <choice>
38
+ <value>hourly</value>
39
+ <display_name>hourly</display_name>
40
+ </choice>
41
+ <choice>
42
+ <value>daily</value>
43
+ <display_name>daily</display_name>
44
+ </choice>
45
+ <choice>
46
+ <value>monthly</value>
47
+ <display_name>monthly</display_name>
48
+ </choice>
49
+ <choice>
50
+ <value>runperiod</value>
51
+ <display_name>runperiod</display_name>
52
+ </choice>
53
+ </choices>
54
+ </argument>
55
+ <argument>
56
+ <name>key_value</name>
57
+ <display_name>Enter Key Name</display_name>
58
+ <description>Enter * for all objects or the full name of a specific object to.</description>
59
+ <type>String</type>
60
+ <required>true</required>
61
+ <model_dependent>false</model_dependent>
62
+ <default_value>*</default_value>
63
+ </argument>
64
+ </arguments>
65
+ <outputs />
66
+ <provenances />
67
+ <tags>
68
+ <tag>Reporting.QAQC</tag>
69
+ </tags>
70
+ <attributes>
71
+ <attribute>
72
+ <name>Measure Type</name>
73
+ <value>ModelMeasure</value>
74
+ <datatype>string</datatype>
75
+ </attribute>
76
+ <attribute>
77
+ <name>Measure Function</name>
78
+ <value>Measure</value>
79
+ <datatype>string</datatype>
80
+ </attribute>
81
+ <attribute>
82
+ <name>Requires EnergyPlus Results</name>
83
+ <value>false</value>
84
+ <datatype>boolean</datatype>
85
+ </attribute>
86
+ <attribute>
87
+ <name>Uses SketchUp API</name>
88
+ <value>false</value>
89
+ <datatype>boolean</datatype>
90
+ </attribute>
91
+ </attributes>
92
+ <files>
93
+ <file>
94
+ <filename>README.md.erb</filename>
95
+ <filetype>erb</filetype>
96
+ <usage_type>readmeerb</usage_type>
97
+ <checksum>703C9964</checksum>
98
+ </file>
99
+ <file>
100
+ <filename>README.md</filename>
101
+ <filetype>md</filetype>
102
+ <usage_type>readme</usage_type>
103
+ <checksum>D866D79B</checksum>
104
+ </file>
105
+ <file>
106
+ <version>
107
+ <software_program>OpenStudio</software_program>
108
+ <identifier>2.0.0</identifier>
109
+ <min_compatible>2.0.0</min_compatible>
110
+ </version>
111
+ <filename>measure.rb</filename>
112
+ <filetype>rb</filetype>
113
+ <usage_type>script</usage_type>
114
+ <checksum>3FCD595E</checksum>
115
+ </file>
116
+ <file>
117
+ <filename>AddOutputVariable_Test.rb</filename>
118
+ <filetype>rb</filetype>
119
+ <usage_type>test</usage_type>
120
+ <checksum>416E70B7</checksum>
121
+ </file>
122
+ <file>
123
+ <filename>LICENSE.md</filename>
124
+ <filetype>md</filetype>
125
+ <usage_type>license</usage_type>
126
+ <checksum>BFFB1AA6</checksum>
127
+ </file>
128
+ </files>
126
129
  </measure>
@@ -1,36 +1,6 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2022, 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
  require 'openstudio'
@@ -1 +1,13 @@
1
- Insert your license here
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.