urbanopt-reporting 0.6.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/nightly_ci_build.yml +54 -0
  3. data/CHANGELOG.md +16 -0
  4. data/Gemfile +10 -5
  5. data/LICENSE.md +16 -11
  6. data/README.md +1 -0
  7. data/Rakefile +2 -37
  8. data/building_loads.csv +52561 -0
  9. data/doc_templates/LICENSE.md +16 -11
  10. data/doc_templates/copyright_erb.txt +22 -16
  11. data/doc_templates/copyright_js.txt +2 -2
  12. data/doc_templates/copyright_ruby.txt +2 -37
  13. data/lib/measures/.rubocop.yml +1 -2
  14. data/lib/measures/default_feature_reports/LICENSE.md +23 -18
  15. data/lib/measures/default_feature_reports/measure.rb +110 -61
  16. data/lib/measures/default_feature_reports/measure.xml +40 -45
  17. data/lib/measures/export_modelica_loads/LICENSE.md +23 -18
  18. data/lib/measures/export_modelica_loads/measure.rb +19 -54
  19. data/lib/measures/export_modelica_loads/measure.xml +31 -31
  20. data/lib/measures/export_time_series_modelica/LICENSE.md +23 -18
  21. data/lib/measures/export_time_series_modelica/measure.rb +2 -37
  22. data/lib/measures/export_time_series_modelica/measure.xml +48 -42
  23. data/lib/measures/export_time_series_modelica/resources/os_lib_helper_methods.rb +2 -37
  24. data/lib/urbanopt/reporting/default_reports/construction_cost.rb +2 -37
  25. data/lib/urbanopt/reporting/default_reports/date.rb +2 -37
  26. data/lib/urbanopt/reporting/default_reports/distributed_generation.rb +3 -38
  27. data/lib/urbanopt/reporting/default_reports/end_use.rb +2 -37
  28. data/lib/urbanopt/reporting/default_reports/end_uses.rb +2 -37
  29. data/lib/urbanopt/reporting/default_reports/extension.rb +2 -37
  30. data/lib/urbanopt/reporting/default_reports/feature_report.rb +7 -38
  31. data/lib/urbanopt/reporting/default_reports/generator.rb +2 -37
  32. data/lib/urbanopt/reporting/default_reports/location.rb +2 -37
  33. data/lib/urbanopt/reporting/default_reports/logger.rb +4 -37
  34. data/lib/urbanopt/reporting/default_reports/power_distribution.rb +2 -37
  35. data/lib/urbanopt/reporting/default_reports/program.rb +2 -37
  36. data/lib/urbanopt/reporting/default_reports/qaqc_flags.rb +147 -0
  37. data/lib/urbanopt/reporting/default_reports/reporting_period.rb +6 -41
  38. data/lib/urbanopt/reporting/default_reports/scenario_power_distribution.rb +2 -37
  39. data/lib/urbanopt/reporting/default_reports/scenario_power_distribution_cost.rb +177 -0
  40. data/lib/urbanopt/reporting/default_reports/scenario_report.rb +36 -52
  41. data/lib/urbanopt/reporting/default_reports/schema/scenario_schema.json +372 -31
  42. data/lib/urbanopt/reporting/default_reports/solar_pv.rb +2 -37
  43. data/lib/urbanopt/reporting/default_reports/storage.rb +2 -37
  44. data/lib/urbanopt/reporting/default_reports/thermal_storage.rb +2 -37
  45. data/lib/urbanopt/reporting/default_reports/timeseries_csv.rb +2 -37
  46. data/lib/urbanopt/reporting/default_reports/validator.rb +2 -37
  47. data/lib/urbanopt/reporting/default_reports/wind.rb +2 -37
  48. data/lib/urbanopt/reporting/default_reports.rb +2 -37
  49. data/lib/urbanopt/reporting/derived_extension.rb +2 -37
  50. data/lib/urbanopt/reporting/version.rb +3 -38
  51. data/lib/urbanopt/reporting.rb +2 -37
  52. data/urbanopt-reporting-gem.gemspec +3 -3
  53. metadata +14 -11
  54. data/.github/workflows/nightly_build.yml +0 -41
@@ -1,11 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <error>wrong number of arguments (given 1, expected 0)</error>
5
5
  <name>default_feature_reports</name>
6
6
  <uid>9ee3135a-8070-4408-bfa1-b75fecf9dd4f</uid>
7
- <version_id>136d51d4-9a61-48cd-b068-0e02c4094e76</version_id>
8
- <version_modified>20210427T174740Z</version_modified>
7
+ <version_id>50d54c60-5f7e-4948-9fb0-1567e1335148</version_id>
8
+ <version_modified>2023-07-06T16:04:16Z</version_modified>
9
9
  <xml_checksum>FB304155</xml_checksum>
10
10
  <class_name>DefaultFeatureReports</class_name>
11
11
  <display_name>DefaultFeatureReports</display_name>
@@ -15,45 +15,42 @@
15
15
  <argument>
16
16
  <name>feature_id</name>
17
17
  <display_name>Feature unique identifier</display_name>
18
- <description></description>
19
18
  <type>String</type>
20
- <units></units>
21
19
  <required>false</required>
22
20
  <model_dependent>false</model_dependent>
23
21
  <default_value>1</default_value>
24
- <min_value></min_value>
25
- <max_value></max_value>
26
22
  </argument>
27
23
  <argument>
28
24
  <name>feature_name</name>
29
25
  <display_name>Feature scenario specific name</display_name>
30
- <description></description>
31
26
  <type>String</type>
32
- <units></units>
33
27
  <required>false</required>
34
28
  <model_dependent>false</model_dependent>
35
29
  <default_value>name</default_value>
36
- <min_value></min_value>
37
- <max_value></max_value>
38
30
  </argument>
39
31
  <argument>
40
32
  <name>feature_type</name>
41
33
  <display_name>URBANopt Feature Type</display_name>
42
- <description></description>
43
34
  <type>String</type>
44
- <units></units>
45
35
  <required>false</required>
46
36
  <model_dependent>false</model_dependent>
47
37
  <default_value>Building</default_value>
48
- <min_value></min_value>
49
- <max_value></max_value>
38
+ </argument>
39
+ <argument>
40
+ <name>feature_location</name>
41
+ <display_name>URBANopt Feature Location</display_name>
42
+ <descrption>Writes default_feature_reports.json and default_feature_reports.csv files used by URBANopt Scenario Default Post Processor</descrption>
43
+ <type>String</type>
44
+ <units></units>
45
+ <required>true</required>
46
+ <model_dependent>false</model_dependent>
47
+ <default_value>1</default_value>
50
48
  </argument>
51
49
  <argument>
52
50
  <name>reporting_frequency</name>
53
51
  <display_name>Reporting Frequency</display_name>
54
52
  <description>The frequency at which to report timeseries output data.</description>
55
53
  <type>Choice</type>
56
- <units></units>
57
54
  <required>true</required>
58
55
  <model_dependent>false</model_dependent>
59
56
  <default_value>Timestep</default_value>
@@ -87,8 +84,6 @@
87
84
  <display_name>Runperiod</display_name>
88
85
  </choice>
89
86
  </choices>
90
- <min_value></min_value>
91
- <max_value></max_value>
92
87
  </argument>
93
88
  </arguments>
94
89
  <outputs />
@@ -110,16 +105,10 @@
110
105
  </attributes>
111
106
  <files>
112
107
  <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>
117
- </file>
118
- <file>
119
- <filename>README.md.erb</filename>
120
- <filetype>erb</filetype>
121
- <usage_type>readmeerb</usage_type>
122
- <checksum>703C9964</checksum>
108
+ <filename>LICENSE.md</filename>
109
+ <filetype>md</filetype>
110
+ <usage_type>license</usage_type>
111
+ <checksum>016C4035</checksum>
123
112
  </file>
124
113
  <file>
125
114
  <filename>README.md</filename>
@@ -128,22 +117,10 @@
128
117
  <checksum>0B68E96D</checksum>
129
118
  </file>
130
119
  <file>
131
- <filename>LICENSE.md</filename>
132
- <filetype>md</filetype>
133
- <usage_type>license</usage_type>
134
- <checksum>BBD19F47</checksum>
135
- </file>
136
- <file>
137
- <filename>example_model.osm</filename>
138
- <filetype>osm</filetype>
139
- <usage_type>test</usage_type>
140
- <checksum>A178EC04</checksum>
141
- </file>
142
- <file>
143
- <filename>default_feature_reports_test.rb</filename>
144
- <filetype>rb</filetype>
145
- <usage_type>test</usage_type>
146
- <checksum>0C4ED2E7</checksum>
120
+ <filename>README.md.erb</filename>
121
+ <filetype>erb</filetype>
122
+ <usage_type>readmeerb</usage_type>
123
+ <checksum>703C9964</checksum>
147
124
  </file>
148
125
  <file>
149
126
  <version>
@@ -154,7 +131,25 @@
154
131
  <filename>measure.rb</filename>
155
132
  <filetype>rb</filetype>
156
133
  <usage_type>script</usage_type>
157
- <checksum>CD1AFD42</checksum>
134
+ <checksum>A0464D25</checksum>
135
+ </file>
136
+ <file>
137
+ <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
138
+ <filetype>epw</filetype>
139
+ <usage_type>test</usage_type>
140
+ <checksum>BDF687C1</checksum>
141
+ </file>
142
+ <file>
143
+ <filename>default_feature_reports_test.rb</filename>
144
+ <filetype>rb</filetype>
145
+ <usage_type>test</usage_type>
146
+ <checksum>8AD78A1A</checksum>
147
+ </file>
148
+ <file>
149
+ <filename>example_model.osm</filename>
150
+ <filetype>osm</filetype>
151
+ <usage_type>test</usage_type>
152
+ <checksum>C4527950</checksum>
158
153
  </file>
159
154
  </files>
160
155
  </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-2023, 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.
@@ -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 'erb'
@@ -208,13 +173,13 @@ class ExportModelicaLoads < OpenStudio::Measure::ReportingMeasure
208
173
  timesteps_per_hour = model.getTimestep.numberOfTimestepsPerHour.to_i
209
174
  timestep = 60 / timesteps_per_hour # timestep in minutes
210
175
 
211
- sqlFile = runner.lastEnergyPlusSqlFile
212
- if sqlFile.empty?
176
+ sql_file = runner.lastEnergyPlusSqlFile
177
+ if sql_file.empty?
213
178
  runner.registerError('Cannot find last sql file.')
214
179
  return false
215
180
  end
216
- sqlFile = sqlFile.get
217
- model.setSqlFile(sqlFile)
181
+ sql_file = sql_file.get
182
+ model.setSqlFile(sql_file)
218
183
 
219
184
  # create a new csv with the values and save to the reports directory.
220
185
  # assumptions:
@@ -230,7 +195,7 @@ class ExportModelicaLoads < OpenStudio::Measure::ReportingMeasure
230
195
 
231
196
  # just grab one of the variables to get the date/time stamps
232
197
  attribute_name = 'Electricity:Facility'
233
- ts = sqlFile.timeSeries('RUN PERIOD 1', 'Zone Timestep', attribute_name)
198
+ ts = sql_file.timeSeries('RUN PERIOD 1', 'Zone Timestep', attribute_name)
234
199
  if ts.empty?
235
200
  runner.registerError("This feature does not have the attribute '#{attribute_name}' to enable this measure to work." \
236
201
  'To resolve, simulate a building with electricity or remove this measure from your workflow.')
@@ -254,22 +219,22 @@ class ExportModelicaLoads < OpenStudio::Measure::ReportingMeasure
254
219
  end
255
220
 
256
221
  # add in the other variables by columns -- should really pull this from the report variables defined above
257
- extract_timeseries_into_matrix(sqlFile, rows, 'Site Outdoor Air Drybulb Temperature', 'Environment', 0, timestep)
258
- extract_timeseries_into_matrix(sqlFile, rows, 'Site Outdoor Air Relative Humidity', 'Environment', 0, timestep)
259
- extract_timeseries_into_matrix(sqlFile, rows, 'Heating:Electricity', nil, 0, timestep)
260
- extract_timeseries_into_matrix(sqlFile, rows, 'Heating:NaturalGas', nil, 0, timestep)
261
- extract_timeseries_into_matrix(sqlFile, rows, 'Cooling:Electricity', nil, 0, timestep)
262
- extract_timeseries_into_matrix(sqlFile, rows, 'Electricity:Facility', nil, 0, timestep)
263
- extract_timeseries_into_matrix(sqlFile, rows, 'Gas:Facility', nil, 0, timestep)
264
- extract_timeseries_into_matrix(sqlFile, rows, 'Heating:EnergyTransfer', nil, 0, timestep)
265
- extract_timeseries_into_matrix(sqlFile, rows, 'WaterSystems:EnergyTransfer', nil, 0, timestep)
222
+ extract_timeseries_into_matrix(sql_file, rows, 'Site Outdoor Air Drybulb Temperature', 'Environment', 0, timestep)
223
+ extract_timeseries_into_matrix(sql_file, rows, 'Site Outdoor Air Relative Humidity', 'Environment', 0, timestep)
224
+ extract_timeseries_into_matrix(sql_file, rows, 'Heating:Electricity', nil, 0, timestep)
225
+ extract_timeseries_into_matrix(sql_file, rows, 'Heating:NaturalGas', nil, 0, timestep)
226
+ extract_timeseries_into_matrix(sql_file, rows, 'Cooling:Electricity', nil, 0, timestep)
227
+ extract_timeseries_into_matrix(sql_file, rows, 'Electricity:Facility', nil, 0, timestep)
228
+ extract_timeseries_into_matrix(sql_file, rows, 'Gas:Facility', nil, 0, timestep)
229
+ extract_timeseries_into_matrix(sql_file, rows, 'Heating:EnergyTransfer', nil, 0, timestep)
230
+ extract_timeseries_into_matrix(sql_file, rows, 'WaterSystems:EnergyTransfer', nil, 0, timestep)
266
231
 
267
232
  # get all zones and save the names for later use in aggregation.
268
233
  tz_names = []
269
234
  model.getThermalZones.each do |tz|
270
235
  tz_names << tz.name.get if tz.name.is_initialized
271
- extract_timeseries_into_matrix(sqlFile, rows, 'Zone Predicted Sensible Load to Setpoint Heat Transfer Rate', tz_names.last, 0, timestep)
272
- extract_timeseries_into_matrix(sqlFile, rows, 'Water Heater Heating Rate', tz_names.last, 0, timestep)
236
+ extract_timeseries_into_matrix(sql_file, rows, 'Zone Predicted Sensible Load to Setpoint Heat Transfer Rate', tz_names.last, 0, timestep)
237
+ extract_timeseries_into_matrix(sql_file, rows, 'Water Heater Heating Rate', tz_names.last, 0, timestep)
273
238
  end
274
239
 
275
240
  # sum up a couple of the columns and create a new columns
@@ -358,7 +323,7 @@ class ExportModelicaLoads < OpenStudio::Measure::ReportingMeasure
358
323
 
359
324
  return true
360
325
  ensure
361
- sqlFile.close if sqlFile
326
+ sql_file.close if sql_file
362
327
  end
363
328
  end
364
329
 
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <name>export_modelica_loads</name>
5
5
  <uid>7051db01-2e55-4223-b5b5-fee615b68dd0</uid>
6
- <version_id>e80d1948-12bf-4a07-b8b2-cab73c6f8235</version_id>
7
- <version_modified>20210427T174740Z</version_modified>
6
+ <version_id>5ecb1fdb-fab0-4da7-a2f4-e67e9b3f94a0</version_id>
7
+ <version_modified>2023-07-06T16:04:16Z</version_modified>
8
8
  <xml_checksum>2C8A3EEF</xml_checksum>
9
9
  <class_name>ExportModelicaLoads</class_name>
10
10
  <display_name>Export Modelica Loads</display_name>
@@ -29,6 +29,18 @@
29
29
  </attribute>
30
30
  </attributes>
31
31
  <files>
32
+ <file>
33
+ <filename>LICENSE.md</filename>
34
+ <filetype>md</filetype>
35
+ <usage_type>license</usage_type>
36
+ <checksum>016C4035</checksum>
37
+ </file>
38
+ <file>
39
+ <filename>README.md</filename>
40
+ <filetype>md</filetype>
41
+ <usage_type>readme</usage_type>
42
+ <checksum>544E6A47</checksum>
43
+ </file>
32
44
  <file>
33
45
  <filename>README.md.erb</filename>
34
46
  <filetype>erb</filetype>
@@ -42,10 +54,15 @@
42
54
  <checksum>00000000</checksum>
43
55
  </file>
44
56
  <file>
45
- <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
46
- <filetype>epw</filetype>
47
- <usage_type>test</usage_type>
48
- <checksum>BDF687C1</checksum>
57
+ <version>
58
+ <software_program>OpenStudio</software_program>
59
+ <identifier>3.0.1</identifier>
60
+ <min_compatible>3.0.1</min_compatible>
61
+ </version>
62
+ <filename>measure.rb</filename>
63
+ <filetype>rb</filetype>
64
+ <usage_type>script</usage_type>
65
+ <checksum>6CE65AC0</checksum>
49
66
  </file>
50
67
  <file>
51
68
  <filename>report.html.in</filename>
@@ -54,39 +71,22 @@
54
71
  <checksum>3F69E3FB</checksum>
55
72
  </file>
56
73
  <file>
57
- <filename>README.md</filename>
58
- <filetype>md</filetype>
59
- <usage_type>readme</usage_type>
60
- <checksum>544E6A47</checksum>
61
- </file>
62
- <file>
63
- <filename>export_modelica_loads_test.rb</filename>
64
- <filetype>rb</filetype>
74
+ <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
75
+ <filetype>epw</filetype>
65
76
  <usage_type>test</usage_type>
66
- <checksum>15232067</checksum>
77
+ <checksum>BDF687C1</checksum>
67
78
  </file>
68
79
  <file>
69
80
  <filename>example_model.osm</filename>
70
81
  <filetype>osm</filetype>
71
82
  <usage_type>test</usage_type>
72
- <checksum>A2B6C1DD</checksum>
73
- </file>
74
- <file>
75
- <filename>LICENSE.md</filename>
76
- <filetype>md</filetype>
77
- <usage_type>license</usage_type>
78
- <checksum>BBD19F47</checksum>
83
+ <checksum>39B6E26C</checksum>
79
84
  </file>
80
85
  <file>
81
- <version>
82
- <software_program>OpenStudio</software_program>
83
- <identifier>3.0.1</identifier>
84
- <min_compatible>3.0.1</min_compatible>
85
- </version>
86
- <filename>measure.rb</filename>
86
+ <filename>export_modelica_loads_test.rb</filename>
87
87
  <filetype>rb</filetype>
88
- <usage_type>script</usage_type>
89
- <checksum>DA574F8F</checksum>
88
+ <usage_type>test</usage_type>
89
+ <checksum>4241CCBA</checksum>
90
90
  </file>
91
91
  </files>
92
92
  </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-2023, 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.
@@ -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 'erb'
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <name>export_time_series_loads_csv</name>
5
5
  <uid>9fcf6116-c2eb-43d6-93f0-e1bdd822f768</uid>
6
- <version_id>61d25864-a1a9-4082-974c-d04057271848</version_id>
7
- <version_modified>20210427T174739Z</version_modified>
6
+ <version_id>562d7da7-5edf-46b5-8231-0cb55e4a78bd</version_id>
7
+ <version_modified>2023-07-20T19:21:47Z</version_modified>
8
8
  <xml_checksum>9BF1E6AC</xml_checksum>
9
9
  <class_name>ExportTimeSeriesLoadsCSV</class_name>
10
10
  <display_name>ExportTimeSeriesLoadsCSV</display_name>
@@ -72,6 +72,24 @@
72
72
  </attribute>
73
73
  </attributes>
74
74
  <files>
75
+ <file>
76
+ <filename>LICENSE.md</filename>
77
+ <filetype>md</filetype>
78
+ <usage_type>license</usage_type>
79
+ <checksum>016C4035</checksum>
80
+ </file>
81
+ <file>
82
+ <filename>README.md</filename>
83
+ <filetype>md</filetype>
84
+ <usage_type>readme</usage_type>
85
+ <checksum>08F470AC</checksum>
86
+ </file>
87
+ <file>
88
+ <filename>README.md</filename>
89
+ <filetype>md</filetype>
90
+ <usage_type>readme</usage_type>
91
+ <checksum>08F470AC</checksum>
92
+ </file>
75
93
  <file>
76
94
  <filename>README.md.erb</filename>
77
95
  <filetype>erb</filetype>
@@ -85,46 +103,33 @@
85
103
  <checksum>00000000</checksum>
86
104
  </file>
87
105
  <file>
88
- <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
89
- <filetype>epw</filetype>
90
- <usage_type>test</usage_type>
91
- <checksum>BDF687C1</checksum>
106
+ <version>
107
+ <software_program>OpenStudio</software_program>
108
+ <identifier>3.0.1</identifier>
109
+ <min_compatible>3.0.1</min_compatible>
110
+ </version>
111
+ <filename>measure.rb</filename>
112
+ <filetype>rb</filetype>
113
+ <usage_type>script</usage_type>
114
+ <checksum>EC8615DF</checksum>
92
115
  </file>
93
116
  <file>
94
- <filename>report.html.in</filename>
95
- <filetype>in</filetype>
117
+ <filename>os_lib_helper_methods.rb</filename>
118
+ <filetype>rb</filetype>
96
119
  <usage_type>resource</usage_type>
97
- <checksum>3F69E3FB</checksum>
98
- </file>
99
- <file>
100
- <filename>example_model.osm</filename>
101
- <filetype>osm</filetype>
102
- <usage_type>test</usage_type>
103
- <checksum>15AD3659</checksum>
104
- </file>
105
- <file>
106
- <filename>README.md</filename>
107
- <filetype>md</filetype>
108
- <usage_type>readme</usage_type>
109
- <checksum>08F470AC</checksum>
120
+ <checksum>D65F0AAE</checksum>
110
121
  </file>
111
122
  <file>
112
- <filename>LICENSE.md</filename>
113
- <filetype>md</filetype>
114
- <usage_type>license</usage_type>
115
- <checksum>BBD19F47</checksum>
116
- </file>
117
- <file>
118
- <filename>os_lib_helper_methods.rb</filename>
119
- <filetype>rb</filetype>
123
+ <filename>report.html.in</filename>
124
+ <filetype>in</filetype>
120
125
  <usage_type>resource</usage_type>
121
- <checksum>94DD761F</checksum>
126
+ <checksum>3F69E3FB</checksum>
122
127
  </file>
123
128
  <file>
124
- <filename>export_time_series_modelica_test.rb</filename>
125
- <filetype>rb</filetype>
129
+ <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
130
+ <filetype>epw</filetype>
126
131
  <usage_type>test</usage_type>
127
- <checksum>6B6CFF0B</checksum>
132
+ <checksum>BDF687C1</checksum>
128
133
  </file>
129
134
  <file>
130
135
  <filename>building_loads.csv</filename>
@@ -133,15 +138,16 @@
133
138
  <checksum>393EEB17</checksum>
134
139
  </file>
135
140
  <file>
136
- <version>
137
- <software_program>OpenStudio</software_program>
138
- <identifier>3.0.1</identifier>
139
- <min_compatible>3.0.1</min_compatible>
140
- </version>
141
- <filename>measure.rb</filename>
141
+ <filename>example_model.osm</filename>
142
+ <filetype>osm</filetype>
143
+ <usage_type>test</usage_type>
144
+ <checksum>15AD3659</checksum>
145
+ </file>
146
+ <file>
147
+ <filename>export_time_series_modelica_test.rb</filename>
142
148
  <filetype>rb</filetype>
143
- <usage_type>script</usage_type>
144
- <checksum>0FC4AA70</checksum>
149
+ <usage_type>test</usage_type>
150
+ <checksum>37D0F3F4</checksum>
145
151
  </file>
146
152
  </files>
147
153
  </measure>