urbanopt-reporting 0.10.1 → 1.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1877280e45c42b9a43bfd39dbd5305079fdcd3e4fad3cfba9894d0b7a05940c
4
- data.tar.gz: 4380403c78776ac9ffa650859cf14a607b25bd910a0b1347c5c0f94362e21a55
3
+ metadata.gz: 166b735ce69f284a1940be9b0b0f6465859398858710c3066a3e4b1483a3cee1
4
+ data.tar.gz: 8f92f0d3051e56b74ad38f4751cb3191388a990a645f5f1189a2d82a969816e3
5
5
  SHA512:
6
- metadata.gz: 45de5ba3805fa748b1b6630ba7ca655643c28bc611c9aa4771944d6ffb40f296c0500f46dc700c293d54522a20a6d6f3c8205482e704436bff369f6386d1d569
7
- data.tar.gz: 69a9b1ee7e94e14faa98f4cfd64f9f5cd0efdc9939f5c0ea8490018b14596f2a26590622efee2e23a602a1f1f34548756dabe2123f9b251df39c22a088a9dbd1
6
+ metadata.gz: 1d360fa05a79294c4ad9b6cd0024bd0bb743d7f147d16efdb6a09064f27bf09f875bc21a5346e84770b440673d49874af90e15748a2d83f1548aa7b6422e5683
7
+ data.tar.gz: c3a5fa01b0638693edc0c27bb62cb3e980e3f693c56179155a15351667e421827a7ab4c4d73a66ab71968cb33d21d03f1fea72324f325aade0f9b3093a047647
@@ -1,14 +1,12 @@
1
1
  name: Reporting-gem CI
2
2
 
3
3
  on:
4
- # push:
4
+ push:
5
5
  workflow_dispatch:
6
6
  schedule:
7
7
  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
8
8
  # 5 am UTC (11pm MDT the day before) every weekday night in MDT
9
9
  - cron: '22 5 * * 2-6'
10
- pull_request:
11
- types: [review_requested]
12
10
 
13
11
  env:
14
12
  # This env var should enforce develop branch of all dependencies
@@ -21,21 +19,23 @@ jobs:
21
19
  weeknight-tests:
22
20
  runs-on: ubuntu-latest
23
21
  container:
24
- image: docker://nrel/openstudio:3.7.0
22
+ image: docker://nrel/openstudio:3.10.0
25
23
  steps:
26
24
  - uses: actions/checkout@v4
27
25
  - name: set git config options
28
26
  shell: bash
29
- run: |
30
- git config --global --add safe.directory '*'
27
+ run: git config --global --add safe.directory '*'
31
28
  - name: Update gems
32
29
  run: |
33
30
  ruby --version
31
+ bundle install
34
32
  bundle update
35
33
  - name: List OpenStudio measures
36
34
  run: bundle exec rake openstudio:list_measures
37
35
  - name: Update OpenStudio measures
38
- run: bundle exec rake openstudio:update_measures
36
+ run: |
37
+ bundle install
38
+ bundle exec rake openstudio:update_measures
39
39
  - name: Test OpenStudio measures
40
40
  run: bundle exec rake openstudio:test_with_openstudio
41
41
  - name: Run Rspec
data/.gitignore CHANGED
@@ -14,6 +14,7 @@
14
14
  /lib/measures/*/tests/output
15
15
  out.txt
16
16
  .rubocop*s3*
17
+ .coverage
17
18
 
18
19
  # rspec failure tracking
19
20
  .rspec_status
data/CHANGELOG.md CHANGED
@@ -1,23 +1,41 @@
1
1
  # URBANopt Reporting Gem
2
2
 
3
+ ## Version 1.1.0
4
+
5
+ * Upgrade to OpenStudio 3.10
6
+
7
+ ## Version 1.0.0
8
+
9
+ * Upgrade to OpenStudio 3.9 and Ruby 3.2.2 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/155
10
+
11
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.10.1...v1.0.0
12
+
13
+ ## Version 0.11.0
14
+
15
+ * Upgrade to OpenStudio 3.8 & Ruby 3.2 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/154
16
+
17
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.10.1...v0.11.0
18
+
3
19
  ## Version 0.10.1
4
- * Other Fuel emission factors update by @rawadelkontar in https://github.com/urbanopt/urbanopt-reporting-gem/pull/153
5
20
 
21
+ * Other Fuel emission factors update by @rawadelkontar in https://github.com/urbanopt/urbanopt-reporting-gem/pull/153
6
22
 
7
23
  **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.10.0...v0.10.1
8
24
 
9
25
  ## Version 0.10.0
26
+
10
27
  * Additional reporting tests by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/147
11
28
  * Update formatting and version in export_modelica_loads by @nllong in https://github.com/urbanopt/urbanopt-reporting-gem/pull/149
12
29
  * Update feature reports for Reopt v3 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/148
13
30
 
14
-
15
31
  **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.9.1...0.10.0
16
32
 
17
33
  ## Version 0.9.1
34
+
18
35
  * downgrade json-schema to 2.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/145
19
36
 
20
37
  ## Version 0.9.0
38
+
21
39
  Date Range: 6/30/23 - 01/09/24
22
40
 
23
41
  * Support OpenStudio 3.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/142
@@ -28,155 +46,162 @@ Date Range: 6/30/23 - 01/09/24
28
46
  * Update export modelica loads by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/143
29
47
 
30
48
  ## Version 0.8.0
49
+
31
50
  Date Range: 12/12/22 - 6/30/23
32
51
 
33
- - Added the `feature_location` argument in measure.xml
34
- - Updated dependencies & CI for OpenStudio 3.6.1
35
- - Updated license and references to the license file
52
+ * Added the `feature_location` argument in measure.xml
53
+ * Updated dependencies & CI for OpenStudio 3.6.1
54
+ * Updated license and references to the license file
36
55
 
37
56
  ## Version 0.7.0
38
- Date Range: 08/18/22 - 12/12/22
39
57
 
40
- - Update Dependencies for OpenStudio 3.5.0
41
- - Fixed [#106]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/106 ), Update UO reporting schema to include DISCO outputs
42
- - Fixed [#107]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/107 ), QAQC reporting rollup in feature report and scenario report
43
- - Fixed [#127]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/127 ), Clean up log output to stdout
58
+ Date Range: 08/18/22 - 12/12/22
44
59
 
60
+ * Update Dependencies for OpenStudio 3.5.0
61
+ * Fixed [#106]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/106 ), Update UO reporting schema to include DISCO outputs
62
+ * Fixed [#107]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/107 ), QAQC reporting rollup in feature report and scenario report
63
+ * Fixed [#127]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/127 ), Clean up log output to stdout
45
64
 
46
65
  ## Version 0.6.2
66
+
47
67
  Date Range: 06/28/22 - 08/17/22
48
68
 
49
- - Fixed [#118]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/118 ), set up actions with coveralls
50
- - Fixed [#119]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/119 ), emissions bug fix
69
+ * Fixed [#118]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/118 ), set up actions with coveralls
70
+ * Fixed [#119]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/119 ), emissions bug fix
51
71
 
52
72
  ## Version 0.6.1
73
+
53
74
  Date Range: 05/10-22 - 06/27/22
54
75
 
55
- - Fixed [#114]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/114 ), added natural gas, propane and fuel oil emissions reporting
76
+ * Fixed [#114]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/114 ), added natural gas, propane and fuel oil emissions reporting
56
77
 
57
78
  ## Version 0.6.0
79
+
58
80
  Date Range: 11/22/21 - 05/09/22
59
81
 
60
- - Fixed [#95]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/95 ), adding additional PV fields to UO output reports
61
- - Fixed [#98]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/98 ), add RNM results fields to schema
62
- - Fixed [#100]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/100 ), add EV charging control EMS timeseries outputs in default reports
63
- - Fixed [#101]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/101 ), add reopt and opendss fields to reporting schema
64
- - Fixed [#104]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/104 ), Add renewable pct to reporting output
65
- - Fixed [#108]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/108 ), Adding emissions results to UO reports
82
+ * Fixed [#95]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/95 ), adding additional PV fields to UO output reports
83
+ * Fixed [#98]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/98 ), add RNM results fields to schema
84
+ * Fixed [#100]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/100 ), add EV charging control EMS timeseries outputs in default reports
85
+ * Fixed [#101]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/101 ), add reopt and opendss fields to reporting schema
86
+ * Fixed [#104]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/104 ), Add renewable pct to reporting output
87
+ * Fixed [#108]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/108 ), Adding emissions results to UO reports
66
88
 
67
89
  ## Version 0.5.0
90
+
68
91
  Date Range: 11/13/21 - 11/22/21
69
92
 
70
- - Updated dependencies for OpenStudio 3.3
93
+ * Updated dependencies for OpenStudio 3.3
71
94
 
72
95
  ## Version 0.4.3
96
+
73
97
  Date Range: 10/16/21 - 11/12/21
74
98
 
75
- - Fixed [#93]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/93 ), Fix aggregation of storage system typo
99
+ * Fixed [#93]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/93 ), Fix aggregation of storage system typo
76
100
 
77
101
  ## Version 0.4.2
102
+
78
103
  Date Range: 07/01/21 - 10/15/21
79
104
 
80
- - Fixed [#86]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/86 ), Add location of PV to Scenario and Feature optimization reopt reports #86
81
- - Fixed [#77]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/77 ), Fix test_with_openstudio model failures
105
+ * Fixed [#86]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/86 ), Add location of PV to Scenario and Feature optimization reopt reports #86
106
+ * Fixed [#77]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/77 ), Fix test_with_openstudio model failures
82
107
 
83
108
  ## Version 0.4.1
109
+
84
110
  Date Range: 04/27/23 - 07/01/21
85
111
 
86
- - Fixed [#80](https://github.com/urbanopt/urbanopt-reporting-gem/issues/80), Update rubocop configs to v4
112
+ * Fixed [#80](https://github.com/urbanopt/urbanopt-reporting-gem/issues/80), Update rubocop configs to v4
87
113
 
88
114
  ## Version 0.4.0
89
115
 
90
116
  Date Range: 03/27/21 - 04/26/21
91
117
 
92
- - Update dependencies for OpenStudio 3.2.0 and Ruby 2.7
118
+ * Update dependencies for OpenStudio 3.2.0 and Ruby 2.7
93
119
 
94
120
  ## Version 0.3.7
95
121
 
96
122
  Date Range: 02/12/21 - 03/26/21
97
123
 
98
- - Fixed [#47]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/47 ), Default features report bugfixes and updates
99
- - Fixed [#67]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/67 ), Update copyrights for 2021
100
- - Fixed [#70]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/70 ), feature report bug fix
124
+ * Fixed [#47]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/47 ), Default features report bugfixes and updates
125
+ * Fixed [#67]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/67 ), Update copyrights for 2021
126
+ * Fixed [#70]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/70 ), feature report bug fix
101
127
 
102
128
  ## Version 0.3.6
103
129
 
104
130
  Date Range: 02/05/21 - 02/11/21
105
131
 
106
- - Fixed [#64]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/64 ), EnergyPlus changed output fuel names in version 9.4
132
+ * Fixed [#64]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/64 ), EnergyPlus changed output fuel names in version 9.4
107
133
 
108
134
  ## Version 0.3.5
109
135
 
110
136
  Date Range: 01/16/21 - 02/04/21
111
137
 
112
- - Fixed [#58]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/58 ), Feature report saving bug fix.
113
- - Fixed [#60]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/60 ), Added EV/ ExteriorEquipment results to csv and json reports
114
- - Fixed [#61]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/61 ), Enhance the aggregation of enduses.
115
-
138
+ * Fixed [#58]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/58 ), Feature report saving bug fix.
139
+ * Fixed [#60]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/60 ), Added EV/ ExteriorEquipment results to csv and json reports
140
+ * Fixed [#61]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/61 ), Enhance the aggregation of enduses.
116
141
 
117
142
  ## Version 0.3.4
118
143
 
119
144
  Date Range: 01/14/21 - 01/15/21
120
145
 
121
- - Fixed [#53]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/53 ), Make subfolders in feature saving if necessary
122
- - Fixed [#55]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/55 ), Fix new measures
146
+ * Fixed [#53]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/53 ), Make subfolders in feature saving if necessary
147
+ * Fixed [#55]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/55 ), Fix new measures
123
148
 
124
149
  ## Version 0.3.3
125
150
 
126
151
  Date Range: 12/09/20 - 01/13/21
127
152
 
128
- - Fixed [#36]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/36 ), Add reporting measure for district heating/cooling system mass flow rates
129
- - Fixed [#37]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/37 ), Add EUI to default report
130
- - Fixed [#38]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/38 ), Add better error handling around convert_units
131
- - Fixed [#43]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/43 ), Add available_roof_area calculation
132
- - Fixed [#44]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/44 ), Fix coordinates order
153
+ * Fixed [#36]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/36 ), Add reporting measure for district heating/cooling system mass flow rates
154
+ * Fixed [#37]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/37 ), Add EUI to default report
155
+ * Fixed [#38]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/38 ), Add better error handling around convert_units
156
+ * Fixed [#43]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/43 ), Add available_roof_area calculation
157
+ * Fixed [#44]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/44 ), Fix coordinates order
133
158
 
134
159
  ## Version 0.3.2
135
160
 
136
161
  Date Range: 12/07/20 - 12/08/20
137
162
 
138
- - Fixed [#27]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/27 ), reporting measure fails when there are no additional fuels in the model
139
- - Fixed [#29]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/29 ), restore save_feature_report function for backward compatibility
140
- - Fixed [#32]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/32 ), bump extension-gem dependency
163
+ * Fixed [#27]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/27 ), reporting measure fails when there are no additional fuels in the model
164
+ * Fixed [#29]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/29 ), restore save_feature_report function for backward compatibility
165
+ * Fixed [#32]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/32 ), bump extension-gem dependency
141
166
 
142
167
  ## Version 0.3.1
143
168
 
144
169
  Date Range: 11/26/2020 - 12/07/2020
145
170
 
146
- - Fixed [#19]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/19 ), check for nil values to avoid crashing unit conversion
147
- - Fixed [#24]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/24 ), Support reporting of other fuels
148
- - Fixed [#28]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/28 ), fix for other_fuels being nil and restore save_feature_report function
171
+ * Fixed [#19]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/19 ), check for nil values to avoid crashing unit conversion
172
+ * Fixed [#24]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/24 ), Support reporting of other fuels
173
+ * Fixed [#28]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/28 ), fix for other_fuels being nil and restore save_feature_report function
149
174
 
150
175
  ## Version 0.3.0
151
176
 
152
177
  Date Range: 11/12/2020 - 11/25/2020
153
178
 
154
- - Updating dependencies to support OpenStudio 3.1.0
179
+ * Updating dependencies to support OpenStudio 3.1.0
155
180
 
156
181
  ## Version 0.2.1
157
182
 
158
183
  Date Range: 09/22/2020 - 11/12/2020
159
184
 
160
- - Fixed [#12]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/12 ), add units to the json report attributes
161
- - Fixed [#14]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/14 ), Add rdocs
162
- - Fixed [#16]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/16 ), increase sidebar width to show class names
163
- - Fixed [#18]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/18 ), measure: Handle nil values that crash OpenStudio.convert
164
- - Fixed [#20]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/20 ), fixed saving csv results bug
185
+ * Fixed [#12]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/12 ), add units to the json report attributes
186
+ * Fixed [#14]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/14 ), Add rdocs
187
+ * Fixed [#16]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/16 ), increase sidebar width to show class names
188
+ * Fixed [#18]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/18 ), measure: Handle nil values that crash OpenStudio.convert
189
+ * Fixed [#20]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/20 ), fixed saving csv results bug
165
190
 
166
191
  ## Version 0.2.0
167
192
 
168
193
  Date Range: 08/27/2020 - 09/21/2020
169
194
 
170
- - Fixed [#5]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/5 ), bug fixes related to REopt classes
171
- - Fixed [#7]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/7 ), adding TM symbol
172
- - Fixed [#8]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/8 ), New reopt results
195
+ * Fixed [#5]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/5 ), bug fixes related to REopt classes
196
+ * Fixed [#7]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/7 ), adding TM symbol
197
+ * Fixed [#8]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/8 ), New reopt results
173
198
 
174
199
  ## Version 0.1.1
175
200
 
176
201
  08/26/2020
177
202
 
178
- - Adding thermal storage reporting
179
- - Fix paths for reporting and scenario gems split
203
+ * Adding thermal storage reporting
204
+ * Fix paths for reporting and scenario gems split
180
205
 
181
206
  ## Version 0.1.0
182
207
 
data/Gemfile CHANGED
@@ -11,15 +11,8 @@ gemspec
11
11
  # checkout the latest version (develop) from github.
12
12
  allow_local = ENV['FAVOR_LOCAL_GEMS']
13
13
 
14
- # pin this dependency to avoid unicode_normalize error
15
- gem 'addressable', '2.8.1'
16
- # pin this dependency to avoid using racc dependency (which has native extensions)
17
- gem 'parser', '3.2.2.2'
18
- # pin this dependency because 2.9.2 breaks OS tests (openstudio:test_with_openstudio)
19
- gem 'regexp_parser', '2.9.0'
20
-
21
14
  # if allow_local && File.exist?('../openstudio-extension-gem')
22
15
  # gem 'openstudio-extension', path: '../openstudio-extension-gem'
23
16
  # elsif allow_local
24
- # gem 'openstudio-extension', github: 'NREL/openstudio-extension-gem', branch: 'develop'
17
+ # gem 'openstudio-extension', github: 'NREL/openstudio-extension-gem', branch: 'develop'
25
18
  # end
@@ -80,7 +80,8 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
80
80
  'FuelOilNo2' => 'Fuel Oil #2',
81
81
  'Propane' => 'Propane',
82
82
  'DistrictCooling' => 'District Cooling',
83
- 'DistrictHeating' => 'District Heating',
83
+ 'DistrictHeatingSteam' => 'District Heating Steam',
84
+ 'DistrictHeatingWater' => 'District Heating Water',
84
85
  'Water' => 'Water'
85
86
  }
86
87
 
@@ -179,7 +180,8 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
179
180
  result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,ElectricityProduced:Facility,#{reporting_frequency};").get
180
181
  result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,NaturalGas:Facility,#{reporting_frequency};").get
181
182
  result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,DistrictCooling:Facility,#{reporting_frequency};").get
182
- result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,DistrictHeating:Facility,#{reporting_frequency};").get
183
+ result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,DistrictHeatingSteam:Facility,#{reporting_frequency};").get
184
+ result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,DistrictHeatingWater:Facility,#{reporting_frequency};").get
183
185
  result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,Propane:Facility,#{reporting_frequency};").get
184
186
  result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,FuelOilNo2:Facility,#{reporting_frequency};").get
185
187
 
@@ -191,7 +193,9 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
191
193
  # result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,Fans:Electricity,#{reporting_frequency};").get
192
194
  # result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,Pumps:Electricity,#{reporting_frequency};").get
193
195
  # result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,WaterSystems:Electricity,#{reporting_frequency};").get
194
- # result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,Heating:NaturalGas,#{reporting_frequency};").get
196
+ result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,Heating:NaturalGas,#{reporting_frequency};").get
197
+ result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,Cooling:NaturalGas,#{reporting_frequency};").get
198
+
195
199
  # result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,WaterSystems:NaturalGas,#{reporting_frequency};").get
196
200
  # result << OpenStudio::IdfObject.load("Output:Meter:MeterFileOnly,InteriorEquipment:NaturalGas,#{reporting_frequency};").get
197
201
  result << OpenStudio::IdfObject.load('Output:Variable,*,Heating Coil Heating Rate,hourly; !- HVAC Average [W];').get
@@ -542,7 +546,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
542
546
  space_type_occupancy = {}
543
547
  spaces.each do |space|
544
548
  if space.spaceType.empty?
545
- raise 'space.spaceType is empty. Make sure spaces have a space type'
549
+ raise "The #{space.name} spaceType is empty. Ensure all spaces have a space type"
546
550
  else
547
551
  building_type = space.spaceType.get.standardsBuildingType
548
552
  end
@@ -769,13 +773,20 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
769
773
  feature_report.reporting_periods[0].district_cooling_kwh = 0.0
770
774
  end
771
775
 
772
- # district_heating
773
- district_heating = sql_query(runner, sql_file, 'AnnualBuildingUtilityPerformanceSummary', "TableName='End Uses' AND RowName='Total End Uses' AND ColumnName='District Heating'")
774
- feature_report.reporting_periods[0].district_heating_kwh = convert_units(district_heating, 'GJ', 'kWh')
776
+ # district_heating_steam
777
+ district_heating_steam = sql_query(runner, sql_file, 'AnnualBuildingUtilityPerformanceSummary', "TableName='End Uses' AND RowName='Total End Uses' AND ColumnName='District Heating'")
778
+ feature_report.reporting_periods[0].district_heating_steam_kwh = convert_units(district_heating_steam, 'GJ', 'kWh')
775
779
  if building.standardsBuildingType.is_initialized && ['Residential'].include?(building.standardsBuildingType.get)
776
- feature_report.reporting_periods[0].district_heating_kwh = 0.0
780
+ feature_report.reporting_periods[0].district_heating_steam_kwh = 0.0
777
781
  end
778
782
 
783
+ # district_heating_water
784
+ district_heating_water = sql_query(runner, sql_file, 'AnnualBuildingUtilityPerformanceSummary', "TableName='End Uses' AND RowName='Total End Uses' AND ColumnName='District Heating'")
785
+ feature_report.reporting_periods[0].district_heating_water_kwh = convert_units(district_heating_water, 'GJ', 'kWh')
786
+ if building.standardsBuildingType.is_initialized && ['Residential'].include?(building.standardsBuildingType.get)
787
+ feature_report.reporting_periods[0].district_heating_water_kwh = 0.0
788
+ end
789
+
779
790
  # water
780
791
  water = sql_query(runner, sql_file, 'AnnualBuildingUtilityPerformanceSummary', "TableName='End Uses' AND RowName='Total End Uses' AND ColumnName='Water'")
781
792
  feature_report.reporting_periods[0].water_qbft = water
@@ -800,7 +811,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
800
811
 
801
812
  # report each query in its corresponding feature report object
802
813
  x = ft.tr(' ', '_').downcase
803
- if x.include? 'water'
814
+ if x.include?('water') && x != 'district_heating_water'
804
815
  x_u = "#{x}_qbft"
805
816
  else
806
817
  x = x.gsub('_#2', '')
@@ -932,9 +943,11 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
932
943
  conv_kbtu_J = 1054852.32 # KBtu to J (1kBtu = 1054852.32 J)
933
944
 
934
945
  ##### Emisison factors for natural gas, propane, and fuel oil based on https://portfoliomanager.energystar.gov/pdf/reference/Emissions.pdf
946
+ ## Emission factors are based on EPA eGRID data and calculated using a 100-year global warming potential (GWP) horizon based on ASHRAE 189.1
935
947
  ## natural gas : 181.7 KG/MWH
936
948
  ## propane : 219.2 KG/MWH
937
949
  ## Fuel oil #1: 250.8 KG/MWH
950
+ ## Fuel oil #2: 253.2 KG/MWH
938
951
  nat_gas_val = 181.7
939
952
  lpg_val = 219.2
940
953
  fo1_val = 250.8
@@ -963,6 +976,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
963
976
  'HeatRejection:Electricity',
964
977
  'HeatRejection:NaturalGas',
965
978
  'Heating:NaturalGas',
979
+ 'Cooling:NaturalGas',
966
980
  'WaterSystems:NaturalGas',
967
981
  'InteriorEquipment:NaturalGas',
968
982
  'HeatRejection:Propane',
@@ -978,7 +992,8 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
978
992
  'WaterSystems:OtherFuels',
979
993
  'InteriorEquipment:OtherFuels',
980
994
  'DistrictCooling:Facility',
981
- 'DistrictHeating:Facility',
995
+ 'DistrictHeatingSteam:Facility',
996
+ 'DistrictHeatingWater:Facility',
982
997
  'District Cooling Chilled Water Rate',
983
998
  'District Cooling Mass Flow Rate',
984
999
  'District Cooling Inlet Temperature',
@@ -1133,7 +1148,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
1133
1148
  end
1134
1149
 
1135
1150
  # residential considerations
1136
- if building.standardsBuildingType.is_initialized && (['DistrictCooling:Facility', 'DistrictHeating:Facility'].include?(timeseries_name) && ['Residential'].include?(building.standardsBuildingType.get))
1151
+ if building.standardsBuildingType.is_initialized && (['DistrictCooling:Facility', 'DistrictHeatingSteam:Facility', 'DistrictHeatingWater:Facility'].include?(timeseries_name) && ['Residential'].include?(building.standardsBuildingType.get))
1137
1152
  values[key_cnt] = Array.new(n, 0)
1138
1153
  end
1139
1154
 
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>default_feature_reports</name>
5
5
  <uid>9ee3135a-8070-4408-bfa1-b75fecf9dd4f</uid>
6
- <version_id>1f0dd70a-ddad-4bb8-a54b-0aeb696e80d0</version_id>
7
- <version_modified>2024-06-20T19:28:12Z</version_modified>
6
+ <version_id>5405e272-fbd5-4967-9398-2a16acb72ea3</version_id>
7
+ <version_modified>2025-08-08T21:47:22Z</version_modified>
8
8
  <xml_checksum>FB304155</xml_checksum>
9
9
  <class_name>DefaultFeatureReports</class_name>
10
10
  <display_name>DefaultFeatureReports</display_name>
@@ -128,7 +128,7 @@
128
128
  <filename>measure.rb</filename>
129
129
  <filetype>rb</filetype>
130
130
  <usage_type>script</usage_type>
131
- <checksum>005CDD6D</checksum>
131
+ <checksum>BE00699F</checksum>
132
132
  </file>
133
133
  <file>
134
134
  <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
@@ -140,7 +140,13 @@
140
140
  <filename>default_feature_reports_test.rb</filename>
141
141
  <filetype>rb</filetype>
142
142
  <usage_type>test</usage_type>
143
- <checksum>8AD78A1A</checksum>
143
+ <checksum>C0A93893</checksum>
144
+ </file>
145
+ <file>
146
+ <filename>example_district.osm</filename>
147
+ <filetype>osm</filetype>
148
+ <usage_type>test</usage_type>
149
+ <checksum>45DD7725</checksum>
144
150
  </file>
145
151
  <file>
146
152
  <filename>example_model.osm</filename>
@@ -3,8 +3,8 @@
3
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>0b134568-d3a8-4ede-bf22-2010a173ea97</version_id>
7
- <version_modified>2024-01-08T22:54:07Z</version_modified>
6
+ <version_id>8bd4bc8e-f597-47f9-82b9-044a06977bb1</version_id>
7
+ <version_modified>2024-07-16T17:52:07Z</version_modified>
8
8
  <xml_checksum>9BF1E6AC</xml_checksum>
9
9
  <class_name>ExportTimeSeriesLoadsCSV</class_name>
10
10
  <display_name>ExportTimeSeriesLoadsCSV</display_name>
@@ -111,7 +111,7 @@
111
111
  <filename>measure.rb</filename>
112
112
  <filetype>rb</filetype>
113
113
  <usage_type>script</usage_type>
114
- <checksum>EC8615DF</checksum>
114
+ <checksum>EB4FBA91</checksum>
115
115
  </file>
116
116
  <file>
117
117
  <filename>os_lib_helper_methods.rb</filename>
@@ -14,7 +14,7 @@ module URBANopt
14
14
  # Enduses class include results for each fuel type.
15
15
  ##
16
16
  class EndUses
17
- attr_accessor :electricity_kwh, :natural_gas_kwh, :propane_kwh, :fuel_oil_kwh, :other_fuels_kwh, :district_cooling_kwh, :district_heating_kwh, :water_qbft # :nodoc:
17
+ attr_accessor :electricity_kwh, :natural_gas_kwh, :propane_kwh, :fuel_oil_kwh, :other_fuels_kwh, :district_cooling_kwh, :district_heating_water_kwh, :district_heating_steam_kwh, :water_qbft # :nodoc:
18
18
 
19
19
  ##
20
20
  # EndUses class initialize end_uses(fuel type) attributes: +:electricity_kwh+ , +:natural_gas_kwh+ , +:propane_kwh+ , +:fuel_oil_kwh+ , +:other_fuels_kwh+ ,
@@ -33,7 +33,8 @@ module URBANopt
33
33
  @fuel_oil_kwh = EndUse.new(hash[:fuel_oil_kwh])
34
34
  @other_fuels_kwh = EndUse.new(hash[:other_fuels_kwh])
35
35
  @district_cooling_kwh = EndUse.new(hash[:district_cooling_kwh])
36
- @district_heating_kwh = EndUse.new(hash[:district_heating_kwh])
36
+ @district_heating_water_kwh = EndUse.new(hash[:district_heating_water_kwh])
37
+ @district_heating_steam_kwh = EndUse.new(hash[:district_heating_steam_kwh])
37
38
  @water_qbft = EndUse.new(hash[:water_qbft])
38
39
 
39
40
  # initialize class variables @@validator and @@schema
@@ -74,9 +75,13 @@ module URBANopt
74
75
  district_cooling_kwh_hash.delete_if { |k, v| v.nil? }
75
76
  result[:district_cooling_kwh] = district_cooling_kwh_hash if @district_cooling_kwh
76
77
 
77
- district_heating_kwh_hash = @district_heating_kwh.to_hash if @district_heating_kwh
78
- district_heating_kwh_hash.delete_if { |k, v| v.nil? }
79
- result[:district_heating_kwh] = district_heating_kwh_hash if @district_heating_kwh
78
+ district_heating_water_kwh_hash = @district_heating_water_kwh.to_hash if @district_heating_water_kwh
79
+ district_heating_water_kwh_hash.delete_if { |k, v| v.nil? }
80
+ result[:district_heating_water_kwh] = district_heating_water_kwh_hash if @district_heating_water_kwh
81
+
82
+ district_heating_steam_kwh_hash = @district_heating_steam_kwh.to_hash if @district_heating_steam_kwh
83
+ district_heating_steam_kwh_hash.delete_if { |k, v| v.nil? }
84
+ result[:district_heating_steam_kwh] = district_heating_steam_kwh_hash if @district_heating_steam_kwh
80
85
 
81
86
  water_qbft_hash = @water_qbft.to_hash if @water_qbft
82
87
  water_qbft_hash.delete_if { |k, v| v.nil? }
@@ -101,7 +106,8 @@ module URBANopt
101
106
  hash[:fuel_oil_kwh] = EndUse.new.to_hash
102
107
  hash[:other_fuels_kwh] = EndUse.new.to_hash
103
108
  hash[:district_cooling_kwh] = EndUse.new.to_hash
104
- hash[:district_heating_kwh] = EndUse.new.to_hash
109
+ hash[:district_heating_steam_kwh] = EndUse.new.to_hash
110
+ hash[:district_heating_water_kwh] = EndUse.new.to_hash
105
111
  hash[:water_qbft] = EndUse.new.to_hash
106
112
 
107
113
  return hash
@@ -121,7 +127,8 @@ module URBANopt
121
127
  @fuel_oil_kwh.merge_end_use!(new_end_uses.fuel_oil_kwh)
122
128
  @other_fuels_kwh.merge_end_use!(new_end_uses.other_fuels_kwh)
123
129
  @district_cooling_kwh.merge_end_use!(new_end_uses.district_cooling_kwh)
124
- @district_heating_kwh.merge_end_use!(new_end_uses.district_heating_kwh)
130
+ @district_heating_water_kwh.merge_end_use!(new_end_uses.district_heating_water_kwh)
131
+ @district_heating_steam_kwh.merge_end_use!(new_end_uses.district_heating_steam_kwh)
125
132
  return self
126
133
  end
127
134
  end
@@ -20,7 +20,7 @@ module URBANopt
20
20
  class ReportingPeriod
21
21
  attr_accessor :id, :name, :multiplier, :start_date, :end_date, :month, :day_of_month, :year, :total_site_energy_kwh, :total_source_energy_kwh, :site_EUI_kwh_per_m2, :site_EUI_kbtu_per_ft2, :source_EUI_kwh_per_m2, :source_EUI_kbtu_per_ft2,
22
22
  :net_site_energy_kwh, :net_source_energy_kwh, :total_utility_cost_dollar, :net_utility_cost_dollar, :utility_costs_dollar, :electricity_kwh, :natural_gas_kwh, :propane_kwh, :fuel_oil_kwh, :other_fuels_kwh, :district_cooling_kwh,
23
- :district_heating_kwh, :water_qbft, :electricity_produced_kwh, :end_uses, :energy_production_kwh, :photovoltaic,
23
+ :district_heating_water_kwh, :district_heating_steam_kwh, :water_qbft, :electricity_produced_kwh, :end_uses, :energy_production_kwh, :photovoltaic,
24
24
  :fuel_type, :total_cost_dollar, :usage_cost_dollar, :demand_cost_dollar, :comfort_result, :time_setpoint_not_met_during_occupied_cooling,
25
25
  :time_setpoint_not_met_during_occupied_heating, :time_setpoint_not_met_during_occupied_hours, :hours_out_of_comfort_bounds_PMV, :hours_out_of_comfort_bounds_PPD,
26
26
  :emissions, :future_annual_electricity_emissions_mt, :future_hourly_electricity_emissions_mt, :historical_annual_electricity_emissions_mt, :historical_hourly_electricity_emissions_mt,
@@ -68,7 +68,8 @@ module URBANopt
68
68
  @fuel_oil_kwh = hash[:fuel_oil_kwh]
69
69
  @other_fuels_kwh = hash[:other_fuels_kwh]
70
70
  @district_cooling_kwh = hash[:district_cooling_kwh]
71
- @district_heating_kwh = hash[:district_heating_kwh]
71
+ @district_heating_water_kwh = hash[:district_heating_water_kwh]
72
+ @district_heating_steam_kwh = hash[:district_heating_steam_kwh]
72
73
  @water_qbft = hash[:water_qbft]
73
74
  @electricity_produced_kwh = hash[:electricity_produced_kwh]
74
75
  @end_uses = EndUses.new(hash[:end_uses])
@@ -114,7 +115,8 @@ module URBANopt
114
115
  hash[:fuel_oil_kwh] = nil
115
116
  hash[:other_fuels_kwh] = nil
116
117
  hash[:district_cooling_kwh] = nil
117
- hash[:district_heating_kwh] = nil
118
+ hash[:district_heating_water_kwh] = nil
119
+ hash[:district_heating_steam_kwh] = nil
118
120
 
119
121
  hash[:electricity_produced_kwh] = nil
120
122
  hash[:end_uses] = EndUses.new.to_hash
@@ -162,7 +164,8 @@ module URBANopt
162
164
  result[:fuel_oil_kwh] = @fuel_oil_kwh if @fuel_oil_kwh
163
165
  result[:other_fuels_kwh] = @other_fuels_kwh if @other_fuels_kwh
164
166
  result[:district_cooling_kwh] = @district_cooling_kwh if @district_cooling_kwh
165
- result[:district_heating_kwh] = @district_heating_kwh if @district_heating_kwh
167
+ result[:district_heating_steam_kwh] = @district_heating_steam_kwh if @district_heating_steam_kwh
168
+ result[:district_heating_water_kwh] = @district_heating_water_kwh if @district_heating_water_kwh
166
169
  result[:water_qbft] = @water_qbft if @water_qbft
167
170
  result[:electricity_produced_kwh] = @electricity_produced_kwh if @electricity_produced_kwh
168
171
  result[:end_uses] = @end_uses.to_hash if @end_uses
@@ -236,7 +239,8 @@ module URBANopt
236
239
  existing_period.fuel_oil_kwh = add_values(existing_period.fuel_oil_kwh, new_period.fuel_oil_kwh)
237
240
  existing_period.other_fuels_kwh = add_values(existing_period.other_fuels_kwh, new_period.other_fuels_kwh)
238
241
  existing_period.district_cooling_kwh = add_values(existing_period.district_cooling_kwh, new_period.district_cooling_kwh)
239
- existing_period.district_heating_kwh = add_values(existing_period.district_heating_kwh, new_period.district_heating_kwh)
242
+ existing_period.district_heating_steam_kwh = add_values(existing_period.district_heating_steam_kwh, new_period.district_heating_steam_kwh)
243
+ existing_period.district_heating_water_kwh = add_values(existing_period.district_heating_water_kwh, new_period.district_heating_water_kwh)
240
244
  existing_period.water_qbft = add_values(existing_period.water_qbft, new_period.water_qbft)
241
245
  existing_period.electricity_produced_kwh = add_values(existing_period.electricity_produced_kwh, new_period.electricity_produced_kwh)
242
246
 
@@ -22,7 +22,8 @@ The URBANopt <sup>&trade;</sup> Scenario Gem includes functionality for defining
22
22
  | ElectricityProduced:Facility | kWh |
23
23
  | Gas:Facility | kBtu |
24
24
  | DistrictCooling:Facility | kWh |
25
- | DistrictHeating:Facility | kWh |
25
+ | DistrictHeatingSteam:Facility | kWh |
26
+ | DistrictHeatingWater:Facility | kWh |
26
27
  | District Cooling Chilled Water Rate | GPM |
27
28
  | District Cooling Mass Flow Rate | kg/s |
28
29
  | District Cooling Inlet Temperature | &deg;C |
@@ -32,7 +32,8 @@ Heating:OtherFuels
32
32
  WaterSystems:OtherFuels
33
33
  InteriorEquipment:OtherFuels
34
34
  DistrictCooling:Facility
35
- DistrictHeating:Facility
35
+ DistrictHeatingSteam:Facility
36
+ DistrictHeatingWater:Facility
36
37
  District Cooling Chilled Water Rate
37
38
  District Cooling Mass Flow Rate
38
39
  District Cooling Inlet Temperature
@@ -946,8 +946,12 @@
946
946
  "description": "Sum of all distric cooling end uses consumption (kWh)",
947
947
  "type": "number"
948
948
  },
949
- "district_heating_kwh": {
950
- "description": "Sum of all distric heating end uses consumption (kWh)",
949
+ "district_heating_steam_kwh": {
950
+ "description": "Sum of all distric heating steam end uses consumption (kWh)",
951
+ "type": "number"
952
+ },
953
+ "district_heating_water_kwh": {
954
+ "description": "Sum of all distric heating water end uses consumption (kWh)",
951
955
  "type": "number"
952
956
  },
953
957
  "water_qbft": {
@@ -1081,7 +1085,10 @@
1081
1085
  "district_cooling_kwh": {
1082
1086
  "$ref": "#/definitions/EndUse"
1083
1087
  },
1084
- "district_heating_kwh": {
1088
+ "district_heating_water_kwh": {
1089
+ "$ref": "#/definitions/EndUse"
1090
+ },
1091
+ "district_heating_steam_kwh": {
1085
1092
  "$ref": "#/definitions/EndUse"
1086
1093
  },
1087
1094
  "water_qbft": {
@@ -5,6 +5,6 @@
5
5
 
6
6
  module URBANopt
7
7
  module Reporting
8
- VERSION = '0.10.1'.freeze
8
+ VERSION = '1.1.0'.freeze
9
9
  end
10
10
  end
@@ -21,15 +21,18 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = 'exe'
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
- spec.required_ruby_version = '~> 2.7.0'
24
+ # We support exactly Ruby v3.2.2 because os-extension requires bundler==2.4.10 and that requires Ruby 3.2.2: https://stdgems.org/bundler/
25
+ # It would be nice to be able to use newer patches of Ruby 3.2, which would require os-extension to relax its dependency on bundler.
26
+ spec.required_ruby_version = '3.2.2'
25
27
 
26
- spec.add_development_dependency 'bundler', '~> 2.1'
27
- spec.add_development_dependency 'rake', '~> 13.1'
28
- spec.add_development_dependency 'rspec', '~> 3.12'
29
- spec.add_development_dependency 'simplecov', '~> 0.18.2'
28
+ spec.add_development_dependency 'rake', '~> 13.0'
29
+ spec.add_development_dependency 'rspec', '~> 3.9'
30
+ spec.add_development_dependency 'rubocop', '~> 1.50'
31
+ spec.add_development_dependency 'rubocop-performance', '~> 1.20'
32
+ spec.add_development_dependency 'simplecov', '~> 0.22.0'
30
33
  spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
31
34
 
32
- spec.add_runtime_dependency 'json_pure', '~> 2.3'
33
- spec.add_runtime_dependency 'json-schema', '~> 2.7'
34
- spec.add_dependency 'openstudio-extension', '~> 0.7.1'
35
+ spec.add_runtime_dependency 'json_pure', '~> 2.7'
36
+ spec.add_runtime_dependency 'json-schema', '~> 4.3.1'
37
+ spec.add_dependency 'openstudio-extension', '~> 0.9.4'
35
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rawad El Kontar
@@ -9,64 +9,78 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-06-25 00:00:00.000000000 Z
12
+ date: 2025-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: bundler
15
+ name: rake
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '2.1'
20
+ version: '13.0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '2.1'
27
+ version: '13.0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: rake
29
+ name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '13.1'
34
+ version: '3.9'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '13.1'
41
+ version: '3.9'
42
42
  - !ruby/object:Gem::Dependency
43
- name: rspec
43
+ name: rubocop
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '3.12'
48
+ version: '1.50'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '3.12'
55
+ version: '1.50'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop-performance
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.20'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.20'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: simplecov
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - "~>"
61
75
  - !ruby/object:Gem::Version
62
- version: 0.18.2
76
+ version: 0.22.0
63
77
  type: :development
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - "~>"
68
82
  - !ruby/object:Gem::Version
69
- version: 0.18.2
83
+ version: 0.22.0
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: simplecov-lcov
72
86
  requirement: !ruby/object:Gem::Requirement
@@ -87,42 +101,42 @@ dependencies:
87
101
  requirements:
88
102
  - - "~>"
89
103
  - !ruby/object:Gem::Version
90
- version: '2.3'
104
+ version: '2.7'
91
105
  type: :runtime
92
106
  prerelease: false
93
107
  version_requirements: !ruby/object:Gem::Requirement
94
108
  requirements:
95
109
  - - "~>"
96
110
  - !ruby/object:Gem::Version
97
- version: '2.3'
111
+ version: '2.7'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: json-schema
100
114
  requirement: !ruby/object:Gem::Requirement
101
115
  requirements:
102
116
  - - "~>"
103
117
  - !ruby/object:Gem::Version
104
- version: '2.7'
118
+ version: 4.3.1
105
119
  type: :runtime
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
108
122
  requirements:
109
123
  - - "~>"
110
124
  - !ruby/object:Gem::Version
111
- version: '2.7'
125
+ version: 4.3.1
112
126
  - !ruby/object:Gem::Dependency
113
127
  name: openstudio-extension
114
128
  requirement: !ruby/object:Gem::Requirement
115
129
  requirements:
116
130
  - - "~>"
117
131
  - !ruby/object:Gem::Version
118
- version: 0.7.1
132
+ version: 0.9.4
119
133
  type: :runtime
120
134
  prerelease: false
121
135
  version_requirements: !ruby/object:Gem::Requirement
122
136
  requirements:
123
137
  - - "~>"
124
138
  - !ruby/object:Gem::Version
125
- version: 0.7.1
139
+ version: 0.9.4
126
140
  description: Library include scenario default reporting measure and scenario defaults
127
141
  reports schema and classes
128
142
  email:
@@ -229,16 +243,16 @@ require_paths:
229
243
  - lib
230
244
  required_ruby_version: !ruby/object:Gem::Requirement
231
245
  requirements:
232
- - - "~>"
246
+ - - '='
233
247
  - !ruby/object:Gem::Version
234
- version: 2.7.0
248
+ version: 3.2.2
235
249
  required_rubygems_version: !ruby/object:Gem::Requirement
236
250
  requirements:
237
251
  - - ">="
238
252
  - !ruby/object:Gem::Version
239
253
  version: '0'
240
254
  requirements: []
241
- rubygems_version: 3.1.4
255
+ rubygems_version: 3.4.10
242
256
  signing_key:
243
257
  specification_version: 4
244
258
  summary: Library to report URBANopt results