urbanopt-reporting 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/nightly_ci_build.yml +57 -0
  3. data/CHANGELOG.md +17 -0
  4. data/CONTRIBUTING.md +2 -2
  5. data/Gemfile +5 -0
  6. data/LICENSE.md +16 -11
  7. data/README.md +1 -0
  8. data/Rakefile +2 -37
  9. data/building_loads.csv +52561 -0
  10. data/doc_templates/LICENSE.md +16 -11
  11. data/doc_templates/copyright_erb.txt +22 -16
  12. data/doc_templates/copyright_js.txt +2 -2
  13. data/doc_templates/copyright_ruby.txt +2 -37
  14. data/docs/package-lock.json +3992 -3566
  15. data/lib/measures/.rubocop.yml +1 -2
  16. data/lib/measures/default_feature_reports/LICENSE.md +23 -18
  17. data/lib/measures/default_feature_reports/README.md +43 -5
  18. data/lib/measures/default_feature_reports/measure.rb +21 -59
  19. data/lib/measures/default_feature_reports/measure.xml +38 -46
  20. data/lib/measures/export_modelica_loads/LICENSE.md +23 -18
  21. data/lib/measures/export_modelica_loads/measure.rb +25 -64
  22. data/lib/measures/export_modelica_loads/measure.xml +31 -31
  23. data/lib/measures/export_time_series_modelica/LICENSE.md +23 -18
  24. data/lib/measures/export_time_series_modelica/measure.rb +2 -37
  25. data/lib/measures/export_time_series_modelica/measure.xml +48 -42
  26. data/lib/measures/export_time_series_modelica/resources/os_lib_helper_methods.rb +2 -37
  27. data/lib/urbanopt/reporting/default_reports/construction_cost.rb +2 -37
  28. data/lib/urbanopt/reporting/default_reports/date.rb +2 -37
  29. data/lib/urbanopt/reporting/default_reports/distributed_generation.rb +2 -37
  30. data/lib/urbanopt/reporting/default_reports/end_use.rb +2 -37
  31. data/lib/urbanopt/reporting/default_reports/end_uses.rb +2 -37
  32. data/lib/urbanopt/reporting/default_reports/extension.rb +2 -37
  33. data/lib/urbanopt/reporting/default_reports/feature_report.rb +2 -37
  34. data/lib/urbanopt/reporting/default_reports/generator.rb +2 -37
  35. data/lib/urbanopt/reporting/default_reports/location.rb +2 -37
  36. data/lib/urbanopt/reporting/default_reports/logger.rb +2 -37
  37. data/lib/urbanopt/reporting/default_reports/power_distribution.rb +10 -38
  38. data/lib/urbanopt/reporting/default_reports/program.rb +2 -37
  39. data/lib/urbanopt/reporting/default_reports/qaqc_flags.rb +9 -44
  40. data/lib/urbanopt/reporting/default_reports/reporting_period.rb +6 -41
  41. data/lib/urbanopt/reporting/default_reports/scenario_power_distribution.rb +2 -37
  42. data/lib/urbanopt/reporting/default_reports/scenario_power_distribution_cost.rb +5 -40
  43. data/lib/urbanopt/reporting/default_reports/scenario_report.rb +2 -37
  44. data/lib/urbanopt/reporting/default_reports/schema/scenario_schema.json +1543 -1515
  45. data/lib/urbanopt/reporting/default_reports/solar_pv.rb +2 -37
  46. data/lib/urbanopt/reporting/default_reports/storage.rb +2 -37
  47. data/lib/urbanopt/reporting/default_reports/thermal_storage.rb +2 -37
  48. data/lib/urbanopt/reporting/default_reports/timeseries_csv.rb +2 -37
  49. data/lib/urbanopt/reporting/default_reports/validator.rb +2 -37
  50. data/lib/urbanopt/reporting/default_reports/wind.rb +2 -37
  51. data/lib/urbanopt/reporting/default_reports.rb +2 -37
  52. data/lib/urbanopt/reporting/derived_extension.rb +2 -37
  53. data/lib/urbanopt/reporting/version.rb +3 -38
  54. data/lib/urbanopt/reporting.rb +2 -37
  55. data/urbanopt-reporting-gem.gemspec +5 -5
  56. metadata +16 -16
  57. data/.github/workflows/nightly_build.yml +0 -41
  58. data/Jenkinsfile +0 -10
@@ -1,7 +1,6 @@
1
1
  AllCops:
2
2
  Exclude:
3
- - gems/**/*
3
+ - 'spec/test_measures/**/*'
4
4
  require: rubocop-performance
5
-
6
5
  inherit_from:
7
6
  - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v4.yml
@@ -1,27 +1,32 @@
1
- URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2024, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
- Redistribution and use in source and binary forms, with or without modification,
4
+ Redistribution and use in source and binary forms, with or without modification,
5
5
  are permitted provided that the following conditions are met:
6
6
 
7
- Redistributions of source code must retain the above copyright notice, this list
7
+ Redistributions of source code must retain the above copyright notice, this list
8
8
  of conditions and the following disclaimer.
9
9
 
10
- Redistributions in binary form must reproduce the above copyright notice, this
11
- list of conditions and the following disclaimer in the documentation and/or other
10
+ Redistributions in binary form must reproduce the above copyright notice, this
11
+ list of conditions and the following disclaimer in the documentation and/or other
12
12
  materials provided with the distribution.
13
-
14
- Neither the name of the copyright holder nor the names of its contributors may be
15
- used to endorse or promote products derived from this software without specific
13
+
14
+ Neither the name of the copyright holder nor the names of its contributors may be
15
+ used to endorse or promote products derived from this software without specific
16
16
  prior written permission.
17
17
 
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
26
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27
- OF THE POSSIBILITY OF SUCH DAMAGE.
18
+ The name of the copyright holder(s), any contributors, the United States Government,
19
+ the United States Department of Energy, or any of their employees may not be used to
20
+ endorse or promote products derived from this software without specific prior written
21
+ permission from the respective party.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND
24
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
26
+ THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED
27
+ STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT,
28
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
30
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
32
+ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -2,16 +2,16 @@
2
2
 
3
3
  ###### (Automatically generated documentation)
4
4
 
5
- #
5
+ # DefaultFeatureReports
6
6
 
7
7
  ## Description
8
-
8
+ Writes default_feature_reports.json and default_feature_reports.csv files used by URBANopt Scenario Default Post Processor
9
9
 
10
10
  ## Modeler Description
11
-
11
+ This measure only allows for one feature_report per simulation. If multiple features are simulated in a single simulation, a new measure must be written to disaggregate simulation results to multiple features.
12
12
 
13
13
  ## Measure Type
14
- ModelMeasure
14
+ ReportingMeasure
15
15
 
16
16
  ## Taxonomy
17
17
 
@@ -19,8 +19,46 @@ ModelMeasure
19
19
  ## Arguments
20
20
 
21
21
 
22
+ ### Feature unique identifier
23
+
24
+ **Name:** feature_id,
25
+ **Type:** String,
26
+ **Units:** ,
27
+ **Required:** false,
28
+ **Model Dependent:** false
29
+
30
+ ### Feature scenario specific name
31
+
32
+ **Name:** feature_name,
33
+ **Type:** String,
34
+ **Units:** ,
35
+ **Required:** false,
36
+ **Model Dependent:** false
37
+
38
+ ### URBANopt Feature Type
39
+
40
+ **Name:** feature_type,
41
+ **Type:** String,
42
+ **Units:** ,
43
+ **Required:** false,
44
+ **Model Dependent:** false
45
+
46
+ ### URBANopt Feature Location
47
+
48
+ **Name:** feature_location,
49
+ **Type:** String,
50
+ **Units:** ,
51
+ **Required:** false,
52
+ **Model Dependent:** false
53
+
54
+ ### Reporting Frequency
55
+ The frequency at which to report timeseries output data.
56
+ **Name:** reporting_frequency,
57
+ **Type:** Choice,
58
+ **Units:** ,
59
+ **Required:** true,
60
+ **Model Dependent:** false
22
61
 
23
62
 
24
- This measure does not have any user arguments
25
63
 
26
64
 
@@ -1,41 +1,6 @@
1
1
  # *********************************************************************************
2
- # URBANopt™, Copyright (c) 2019-2022, Alliance for Sustainable Energy, LLC, and other
3
- # contributors. All rights reserved.
4
-
5
- # Redistribution and use in source and binary forms, with or without modification,
6
- # are permitted provided that the following conditions are met:
7
-
8
- # Redistributions of source code must retain the above copyright notice, this list
9
- # of conditions and the following disclaimer.
10
-
11
- # Redistributions in binary form must reproduce the above copyright notice, this
12
- # list of conditions and the following disclaimer in the documentation and/or other
13
- # materials provided with the distribution.
14
-
15
- # Neither the name of the copyright holder nor the names of its contributors may be
16
- # used to endorse or promote products derived from this software without specific
17
- # prior written permission.
18
-
19
- # Redistribution of this software, without modification, must refer to the software
20
- # by the same designation. Redistribution of a modified version of this software
21
- # (i) may not refer to the modified version by the same designation, or by any
22
- # confusingly similar designation, and (ii) must refer to the underlying software
23
- # originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
24
- # the term “URBANopt”, or any confusingly similar designation may not be used to
25
- # refer to any modified version of this software or any modified version of the
26
- # underlying software originally provided by Alliance without the prior written
27
- # consent of Alliance.
28
-
29
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
30
- # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
31
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
32
- # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
33
- # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
34
- # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35
- # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
36
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
37
- # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
38
- # OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://github.com/urbanopt/urbanopt-reporting-gem/blob/develop/LICENSE.md
39
4
  # *********************************************************************************
40
5
 
41
6
  require 'urbanopt/reporting/default_reports'
@@ -294,7 +259,6 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
294
259
  qaqc_flags_hash = {} # Make a hash for count of flags of each category
295
260
 
296
261
  runner.workflow.workflowSteps.each do |step| # Go through all the steps
297
-
298
262
  if step.to_MeasureStep.is_initialized
299
263
  measure_step = step.to_MeasureStep.get
300
264
 
@@ -310,17 +274,17 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
310
274
  result = measure_step.result.get
311
275
  puts " result = #{result}"
312
276
 
313
- ## Adding quaqc_flags_list to check the step value name since units key is missing from the result
277
+ ## Adding quaqc_flags_list to check the step value name since units key is missing from the result
314
278
  ## It does show in the out.osw but not in the runner.workflow.workflowSteps object
315
- # use this list to define the flags you want to report
316
- qaqc_flags_list = ['eui_reasonableness' , 'end_use_by_category',
317
- 'mechanical_system_part_load_efficiency', 'simultaneous_heating_and_cooling',
318
- 'internal_loads', 'schedules', 'envelope_r_value', 'domestic_hot_water',
319
- 'mechanical_system_efficiency', 'supply_and_zone_air_temperature', 'total_qaqc_flags' ]
320
-
279
+ # use this list to define the flags you want to report
280
+ qaqc_flags_list = [
281
+ 'eui_reasonableness', 'end_use_by_category', 'mechanical_system_part_load_efficiency',
282
+ 'simultaneous_heating_and_cooling', 'internal_loads', 'schedules', 'envelope_r_value',
283
+ 'domestic_hot_water', 'mechanical_system_efficiency', 'supply_and_zone_air_temperature', 'total_qaqc_flags'
284
+ ]
285
+
321
286
  result.stepValues.each do |step_value|
322
-
323
- #get name
287
+ # get name
324
288
  name = step_value.name
325
289
 
326
290
  if qaqc_flags_list.include? name
@@ -328,27 +292,27 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
328
292
  # get value
329
293
  # check if value, double, int, or bool
330
294
  value_type = step_value.variantType.valueDescription
331
- if value_type == "Double"
295
+ case value_type
296
+ when 'Double'
332
297
  value = step_value.valueAsDouble
333
- elsif value_type == "Integer"
298
+ when 'Integer'
334
299
  value = step_value.valueAsInteger
335
- elsif value_type == "Boolean"
300
+ when 'Boolean'
336
301
  value = step_value.valueAsBoolean
337
- elsif value_type == "String"
302
+ when 'String'
338
303
  value = step_value.valueAsString
339
304
  else
340
305
  # catchall for unexpected value types
341
306
  value = step_value.valueAsVariant.to_s
342
307
  end
343
-
308
+
344
309
  if qaqc_flags_hash[name]
345
310
  qaqc_flags_hash[name] += value
346
- else
311
+ else
347
312
  qaqc_flags_hash[name] = value
348
313
  end
349
314
 
350
315
  end
351
-
352
316
  end
353
317
 
354
318
  puts "qaqc_flags_hash = #{qaqc_flags_hash}"
@@ -359,11 +323,10 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
359
323
  qaqc_flags_hash['total_qaqc_flags'] = temp_hash_for_ordering['total_qaqc_flags']
360
324
 
361
325
  end
362
-
326
+
363
327
  end
364
328
 
365
329
  end
366
-
367
330
  end
368
331
  return qaqc_flags_hash
369
332
  end
@@ -948,7 +911,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
948
911
  @@logger.info('Emissions are not reported for this feature')
949
912
  end
950
913
 
951
- # add qaqc results to feature report
914
+ # add qaqc results to feature report
952
915
  qaqc_flags_hash = feature_qaqc_flags(runner)
953
916
  feature_report.qaqc_flags.eui_reasonableness = qaqc_flags_hash['eui_reasonableness']
954
917
  feature_report.qaqc_flags.end_use_by_category = qaqc_flags_hash['end_use_by_category']
@@ -1501,7 +1464,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
1501
1464
  end
1502
1465
  end
1503
1466
 
1504
- #puts "values = #{values}"
1467
+ # puts "values = #{values}"
1505
1468
 
1506
1469
  # closing the sql file
1507
1470
  sql_file.close
@@ -1512,7 +1475,6 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
1512
1475
  feature_report.timeseries_csv.first_report_datetime = '0'
1513
1476
  feature_report.timeseries_csv.column_names = final_timeseries_names
1514
1477
 
1515
-
1516
1478
  ##### Save the 'default_feature_reports.json' file
1517
1479
  feature_report_hash = feature_report.to_hash
1518
1480
 
@@ -1,11 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
4
- <error>wrong number of arguments (given 1, expected 0)</error>
3
+ <schema_version>3.1</schema_version>
5
4
  <name>default_feature_reports</name>
6
5
  <uid>9ee3135a-8070-4408-bfa1-b75fecf9dd4f</uid>
7
- <version_id>136d51d4-9a61-48cd-b068-0e02c4094e76</version_id>
8
- <version_modified>20210427T174740Z</version_modified>
6
+ <version_id>0d079df4-5b14-465d-9b3c-d00e30b3def2</version_id>
7
+ <version_modified>2024-01-08T22:54:10Z</version_modified>
9
8
  <xml_checksum>FB304155</xml_checksum>
10
9
  <class_name>DefaultFeatureReports</class_name>
11
10
  <display_name>DefaultFeatureReports</display_name>
@@ -15,45 +14,40 @@
15
14
  <argument>
16
15
  <name>feature_id</name>
17
16
  <display_name>Feature unique identifier</display_name>
18
- <description></description>
19
17
  <type>String</type>
20
- <units></units>
21
18
  <required>false</required>
22
19
  <model_dependent>false</model_dependent>
23
20
  <default_value>1</default_value>
24
- <min_value></min_value>
25
- <max_value></max_value>
26
21
  </argument>
27
22
  <argument>
28
23
  <name>feature_name</name>
29
24
  <display_name>Feature scenario specific name</display_name>
30
- <description></description>
31
25
  <type>String</type>
32
- <units></units>
33
26
  <required>false</required>
34
27
  <model_dependent>false</model_dependent>
35
28
  <default_value>name</default_value>
36
- <min_value></min_value>
37
- <max_value></max_value>
38
29
  </argument>
39
30
  <argument>
40
31
  <name>feature_type</name>
41
32
  <display_name>URBANopt Feature Type</display_name>
42
- <description></description>
43
33
  <type>String</type>
44
- <units></units>
45
34
  <required>false</required>
46
35
  <model_dependent>false</model_dependent>
47
36
  <default_value>Building</default_value>
48
- <min_value></min_value>
49
- <max_value></max_value>
37
+ </argument>
38
+ <argument>
39
+ <name>feature_location</name>
40
+ <display_name>URBANopt Feature Location</display_name>
41
+ <type>String</type>
42
+ <required>false</required>
43
+ <model_dependent>false</model_dependent>
44
+ <default_value>0</default_value>
50
45
  </argument>
51
46
  <argument>
52
47
  <name>reporting_frequency</name>
53
48
  <display_name>Reporting Frequency</display_name>
54
49
  <description>The frequency at which to report timeseries output data.</description>
55
50
  <type>Choice</type>
56
- <units></units>
57
51
  <required>true</required>
58
52
  <model_dependent>false</model_dependent>
59
53
  <default_value>Timestep</default_value>
@@ -87,8 +81,6 @@
87
81
  <display_name>Runperiod</display_name>
88
82
  </choice>
89
83
  </choices>
90
- <min_value></min_value>
91
- <max_value></max_value>
92
84
  </argument>
93
85
  </arguments>
94
86
  <outputs />
@@ -110,10 +102,16 @@
110
102
  </attributes>
111
103
  <files>
112
104
  <file>
113
- <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
114
- <filetype>epw</filetype>
115
- <usage_type>test</usage_type>
116
- <checksum>BDF687C1</checksum>
105
+ <filename>LICENSE.md</filename>
106
+ <filetype>md</filetype>
107
+ <usage_type>license</usage_type>
108
+ <checksum>7247B202</checksum>
109
+ </file>
110
+ <file>
111
+ <filename>README.md</filename>
112
+ <filetype>md</filetype>
113
+ <usage_type>readme</usage_type>
114
+ <checksum>D4DA366E</checksum>
117
115
  </file>
118
116
  <file>
119
117
  <filename>README.md.erb</filename>
@@ -122,39 +120,33 @@
122
120
  <checksum>703C9964</checksum>
123
121
  </file>
124
122
  <file>
125
- <filename>README.md</filename>
126
- <filetype>md</filetype>
127
- <usage_type>readme</usage_type>
128
- <checksum>0B68E96D</checksum>
129
- </file>
130
- <file>
131
- <filename>LICENSE.md</filename>
132
- <filetype>md</filetype>
133
- <usage_type>license</usage_type>
134
- <checksum>BBD19F47</checksum>
123
+ <version>
124
+ <software_program>OpenStudio</software_program>
125
+ <identifier>1.11.0</identifier>
126
+ <min_compatible>1.11.0</min_compatible>
127
+ </version>
128
+ <filename>measure.rb</filename>
129
+ <filetype>rb</filetype>
130
+ <usage_type>script</usage_type>
131
+ <checksum>A0464D25</checksum>
135
132
  </file>
136
133
  <file>
137
- <filename>example_model.osm</filename>
138
- <filetype>osm</filetype>
134
+ <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
135
+ <filetype>epw</filetype>
139
136
  <usage_type>test</usage_type>
140
- <checksum>A178EC04</checksum>
137
+ <checksum>BDF687C1</checksum>
141
138
  </file>
142
139
  <file>
143
140
  <filename>default_feature_reports_test.rb</filename>
144
141
  <filetype>rb</filetype>
145
142
  <usage_type>test</usage_type>
146
- <checksum>0C4ED2E7</checksum>
143
+ <checksum>8AD78A1A</checksum>
147
144
  </file>
148
145
  <file>
149
- <version>
150
- <software_program>OpenStudio</software_program>
151
- <identifier>1.11.0</identifier>
152
- <min_compatible>1.11.0</min_compatible>
153
- </version>
154
- <filename>measure.rb</filename>
155
- <filetype>rb</filetype>
156
- <usage_type>script</usage_type>
157
- <checksum>CD1AFD42</checksum>
146
+ <filename>example_model.osm</filename>
147
+ <filetype>osm</filetype>
148
+ <usage_type>test</usage_type>
149
+ <checksum>C4527950</checksum>
158
150
  </file>
159
151
  </files>
160
152
  </measure>
@@ -1,27 +1,32 @@
1
- URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2024, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
- Redistribution and use in source and binary forms, with or without modification,
4
+ Redistribution and use in source and binary forms, with or without modification,
5
5
  are permitted provided that the following conditions are met:
6
6
 
7
- Redistributions of source code must retain the above copyright notice, this list
7
+ Redistributions of source code must retain the above copyright notice, this list
8
8
  of conditions and the following disclaimer.
9
9
 
10
- Redistributions in binary form must reproduce the above copyright notice, this
11
- list of conditions and the following disclaimer in the documentation and/or other
10
+ Redistributions in binary form must reproduce the above copyright notice, this
11
+ list of conditions and the following disclaimer in the documentation and/or other
12
12
  materials provided with the distribution.
13
-
14
- Neither the name of the copyright holder nor the names of its contributors may be
15
- used to endorse or promote products derived from this software without specific
13
+
14
+ Neither the name of the copyright holder nor the names of its contributors may be
15
+ used to endorse or promote products derived from this software without specific
16
16
  prior written permission.
17
17
 
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
26
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27
- OF THE POSSIBILITY OF SUCH DAMAGE.
18
+ The name of the copyright holder(s), any contributors, the United States Government,
19
+ the United States Department of Energy, or any of their employees may not be used to
20
+ endorse or promote products derived from this software without specific prior written
21
+ permission from the respective party.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND
24
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
26
+ THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED
27
+ STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT,
28
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
30
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
32
+ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.