urbanopt-reporting 0.10.1 → 1.0.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: 5257c2dff6587116ac76b99b71a41ab96e3166a207832311156dd528e0fa5ffa
4
+ data.tar.gz: b1192e1e13941f89614c222897290763f97b14799f94b8e9422c39fc9c63ba8c
5
5
  SHA512:
6
- metadata.gz: 45de5ba3805fa748b1b6630ba7ca655643c28bc611c9aa4771944d6ffb40f296c0500f46dc700c293d54522a20a6d6f3c8205482e704436bff369f6386d1d569
7
- data.tar.gz: 69a9b1ee7e94e14faa98f4cfd64f9f5cd0efdc9939f5c0ea8490018b14596f2a26590622efee2e23a602a1f1f34548756dabe2123f9b251df39c22a088a9dbd1
6
+ metadata.gz: 2d320925b74222854cdbb9985580ededc332782b87e87aeb9f81df00cec088eccda2e3da954695c617256751e98a1da05766dd87c36341e9d7c9f5b1c3e2e49c
7
+ data.tar.gz: 3839055fbd5ac8788d5f03c4290f6f59b97f2d0b7a0c60341701a41949e26781237720d884d39c80a250c965577f044a23f029343b7bde1792cb3586c5321556
@@ -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.9.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,37 @@
1
1
  # URBANopt Reporting Gem
2
2
 
3
+ ## Version 1.0.0
4
+
5
+ * Upgrade to OpenStudio 3.9 and Ruby 3.2.2 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/155
6
+
7
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.10.1...v1.0.0
8
+
9
+ ## Version 0.11.0
10
+
11
+ * Upgrade to OpenStudio 3.8 & Ruby 3.2 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/154
12
+
13
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.10.1...v0.11.0
14
+
3
15
  ## Version 0.10.1
4
- * Other Fuel emission factors update by @rawadelkontar in https://github.com/urbanopt/urbanopt-reporting-gem/pull/153
5
16
 
17
+ * Other Fuel emission factors update by @rawadelkontar in https://github.com/urbanopt/urbanopt-reporting-gem/pull/153
6
18
 
7
19
  **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.10.0...v0.10.1
8
20
 
9
21
  ## Version 0.10.0
22
+
10
23
  * Additional reporting tests by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/147
11
24
  * Update formatting and version in export_modelica_loads by @nllong in https://github.com/urbanopt/urbanopt-reporting-gem/pull/149
12
25
  * Update feature reports for Reopt v3 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/148
13
26
 
14
-
15
27
  **Full Changelog**: https://github.com/urbanopt/urbanopt-reporting-gem/compare/v0.9.1...0.10.0
16
28
 
17
29
  ## Version 0.9.1
30
+
18
31
  * downgrade json-schema to 2.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/145
19
32
 
20
33
  ## Version 0.9.0
34
+
21
35
  Date Range: 6/30/23 - 01/09/24
22
36
 
23
37
  * Support OpenStudio 3.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/142
@@ -28,155 +42,162 @@ Date Range: 6/30/23 - 01/09/24
28
42
  * Update export modelica loads by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/143
29
43
 
30
44
  ## Version 0.8.0
45
+
31
46
  Date Range: 12/12/22 - 6/30/23
32
47
 
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
48
+ * Added the `feature_location` argument in measure.xml
49
+ * Updated dependencies & CI for OpenStudio 3.6.1
50
+ * Updated license and references to the license file
36
51
 
37
52
  ## Version 0.7.0
38
- Date Range: 08/18/22 - 12/12/22
39
53
 
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
54
+ Date Range: 08/18/22 - 12/12/22
44
55
 
56
+ * Update Dependencies for OpenStudio 3.5.0
57
+ * Fixed [#106]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/106 ), Update UO reporting schema to include DISCO outputs
58
+ * Fixed [#107]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/107 ), QAQC reporting rollup in feature report and scenario report
59
+ * Fixed [#127]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/127 ), Clean up log output to stdout
45
60
 
46
61
  ## Version 0.6.2
62
+
47
63
  Date Range: 06/28/22 - 08/17/22
48
64
 
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
65
+ * Fixed [#118]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/118 ), set up actions with coveralls
66
+ * Fixed [#119]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/119 ), emissions bug fix
51
67
 
52
68
  ## Version 0.6.1
69
+
53
70
  Date Range: 05/10-22 - 06/27/22
54
71
 
55
- - Fixed [#114]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/114 ), added natural gas, propane and fuel oil emissions reporting
72
+ * Fixed [#114]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/114 ), added natural gas, propane and fuel oil emissions reporting
56
73
 
57
74
  ## Version 0.6.0
75
+
58
76
  Date Range: 11/22/21 - 05/09/22
59
77
 
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
78
+ * Fixed [#95]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/95 ), adding additional PV fields to UO output reports
79
+ * Fixed [#98]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/98 ), add RNM results fields to schema
80
+ * Fixed [#100]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/100 ), add EV charging control EMS timeseries outputs in default reports
81
+ * Fixed [#101]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/101 ), add reopt and opendss fields to reporting schema
82
+ * Fixed [#104]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/104 ), Add renewable pct to reporting output
83
+ * Fixed [#108]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/108 ), Adding emissions results to UO reports
66
84
 
67
85
  ## Version 0.5.0
86
+
68
87
  Date Range: 11/13/21 - 11/22/21
69
88
 
70
- - Updated dependencies for OpenStudio 3.3
89
+ * Updated dependencies for OpenStudio 3.3
71
90
 
72
91
  ## Version 0.4.3
92
+
73
93
  Date Range: 10/16/21 - 11/12/21
74
94
 
75
- - Fixed [#93]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/93 ), Fix aggregation of storage system typo
95
+ * Fixed [#93]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/93 ), Fix aggregation of storage system typo
76
96
 
77
97
  ## Version 0.4.2
98
+
78
99
  Date Range: 07/01/21 - 10/15/21
79
100
 
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
101
+ * Fixed [#86]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/86 ), Add location of PV to Scenario and Feature optimization reopt reports #86
102
+ * Fixed [#77]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/77 ), Fix test_with_openstudio model failures
82
103
 
83
104
  ## Version 0.4.1
105
+
84
106
  Date Range: 04/27/23 - 07/01/21
85
107
 
86
- - Fixed [#80](https://github.com/urbanopt/urbanopt-reporting-gem/issues/80), Update rubocop configs to v4
108
+ * Fixed [#80](https://github.com/urbanopt/urbanopt-reporting-gem/issues/80), Update rubocop configs to v4
87
109
 
88
110
  ## Version 0.4.0
89
111
 
90
112
  Date Range: 03/27/21 - 04/26/21
91
113
 
92
- - Update dependencies for OpenStudio 3.2.0 and Ruby 2.7
114
+ * Update dependencies for OpenStudio 3.2.0 and Ruby 2.7
93
115
 
94
116
  ## Version 0.3.7
95
117
 
96
118
  Date Range: 02/12/21 - 03/26/21
97
119
 
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
120
+ * Fixed [#47]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/47 ), Default features report bugfixes and updates
121
+ * Fixed [#67]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/67 ), Update copyrights for 2021
122
+ * Fixed [#70]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/70 ), feature report bug fix
101
123
 
102
124
  ## Version 0.3.6
103
125
 
104
126
  Date Range: 02/05/21 - 02/11/21
105
127
 
106
- - Fixed [#64]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/64 ), EnergyPlus changed output fuel names in version 9.4
128
+ * Fixed [#64]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/64 ), EnergyPlus changed output fuel names in version 9.4
107
129
 
108
130
  ## Version 0.3.5
109
131
 
110
132
  Date Range: 01/16/21 - 02/04/21
111
133
 
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
-
134
+ * Fixed [#58]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/58 ), Feature report saving bug fix.
135
+ * Fixed [#60]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/60 ), Added EV/ ExteriorEquipment results to csv and json reports
136
+ * Fixed [#61]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/61 ), Enhance the aggregation of enduses.
116
137
 
117
138
  ## Version 0.3.4
118
139
 
119
140
  Date Range: 01/14/21 - 01/15/21
120
141
 
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
142
+ * Fixed [#53]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/53 ), Make subfolders in feature saving if necessary
143
+ * Fixed [#55]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/55 ), Fix new measures
123
144
 
124
145
  ## Version 0.3.3
125
146
 
126
147
  Date Range: 12/09/20 - 01/13/21
127
148
 
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
149
+ * Fixed [#36]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/36 ), Add reporting measure for district heating/cooling system mass flow rates
150
+ * Fixed [#37]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/37 ), Add EUI to default report
151
+ * Fixed [#38]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/38 ), Add better error handling around convert_units
152
+ * Fixed [#43]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/43 ), Add available_roof_area calculation
153
+ * Fixed [#44]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/44 ), Fix coordinates order
133
154
 
134
155
  ## Version 0.3.2
135
156
 
136
157
  Date Range: 12/07/20 - 12/08/20
137
158
 
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
159
+ * Fixed [#27]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/27 ), reporting measure fails when there are no additional fuels in the model
160
+ * Fixed [#29]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/29 ), restore save_feature_report function for backward compatibility
161
+ * Fixed [#32]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/32 ), bump extension-gem dependency
141
162
 
142
163
  ## Version 0.3.1
143
164
 
144
165
  Date Range: 11/26/2020 - 12/07/2020
145
166
 
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
167
+ * Fixed [#19]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/19 ), check for nil values to avoid crashing unit conversion
168
+ * Fixed [#24]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/24 ), Support reporting of other fuels
169
+ * Fixed [#28]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/28 ), fix for other_fuels being nil and restore save_feature_report function
149
170
 
150
171
  ## Version 0.3.0
151
172
 
152
173
  Date Range: 11/12/2020 - 11/25/2020
153
174
 
154
- - Updating dependencies to support OpenStudio 3.1.0
175
+ * Updating dependencies to support OpenStudio 3.1.0
155
176
 
156
177
  ## Version 0.2.1
157
178
 
158
179
  Date Range: 09/22/2020 - 11/12/2020
159
180
 
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
181
+ * Fixed [#12]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/12 ), add units to the json report attributes
182
+ * Fixed [#14]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/14 ), Add rdocs
183
+ * Fixed [#16]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/16 ), increase sidebar width to show class names
184
+ * Fixed [#18]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/18 ), measure: Handle nil values that crash OpenStudio.convert
185
+ * Fixed [#20]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/20 ), fixed saving csv results bug
165
186
 
166
187
  ## Version 0.2.0
167
188
 
168
189
  Date Range: 08/27/2020 - 09/21/2020
169
190
 
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
191
+ * Fixed [#5]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/5 ), bug fixes related to REopt classes
192
+ * Fixed [#7]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/7 ), adding TM symbol
193
+ * Fixed [#8]( https://github.com/urbanopt/urbanopt-reporting-gem/pull/8 ), New reopt results
173
194
 
174
195
  ## Version 0.1.1
175
196
 
176
197
  08/26/2020
177
198
 
178
- - Adding thermal storage reporting
179
- - Fix paths for reporting and scenario gems split
199
+ * Adding thermal storage reporting
200
+ * Fix paths for reporting and scenario gems split
180
201
 
181
202
  ## Version 0.1.0
182
203
 
data/Gemfile CHANGED
@@ -11,15 +11,9 @@ 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: 'bundler-hack'
18
+ # gem 'openstudio-extension', '~> 0.8.1'
25
19
  # end
@@ -542,7 +542,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
542
542
  space_type_occupancy = {}
543
543
  spaces.each do |space|
544
544
  if space.spaceType.empty?
545
- raise 'space.spaceType is empty. Make sure spaces have a space type'
545
+ raise "The #{space.name} spaceType is empty. Ensure all spaces have a space type"
546
546
  else
547
547
  building_type = space.spaceType.get.standardsBuildingType
548
548
  end
@@ -932,9 +932,11 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
932
932
  conv_kbtu_J = 1054852.32 # KBtu to J (1kBtu = 1054852.32 J)
933
933
 
934
934
  ##### Emisison factors for natural gas, propane, and fuel oil based on https://portfoliomanager.energystar.gov/pdf/reference/Emissions.pdf
935
+ ## 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
936
  ## natural gas : 181.7 KG/MWH
936
937
  ## propane : 219.2 KG/MWH
937
938
  ## Fuel oil #1: 250.8 KG/MWH
939
+ ## Fuel oil #2: 253.2 KG/MWH
938
940
  nat_gas_val = 181.7
939
941
  lpg_val = 219.2
940
942
  fo1_val = 250.8
@@ -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>7864fba6-0915-4a17-ad41-3d2912856425</version_id>
7
+ <version_modified>2025-01-22T21:31:39Z</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>EA7A7994</checksum>
132
132
  </file>
133
133
  <file>
134
134
  <filename>USA_CO_Golden-NREL.724666_TMY3.epw</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>
@@ -5,6 +5,6 @@
5
5
 
6
6
  module URBANopt
7
7
  module Reporting
8
- VERSION = '0.10.1'.freeze
8
+ VERSION = '1.0.0'.freeze
9
9
  end
10
10
  end
@@ -21,15 +21,15 @@ 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'
30
- spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
28
+ spec.add_development_dependency 'rspec', '~> 3.13'
29
+ spec.add_development_dependency 'simplecov', '0.22.0'
30
+ spec.add_development_dependency 'simplecov-lcov', '0.8.0'
31
31
 
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'
32
+ spec.add_runtime_dependency 'json_pure', '~> 2.7'
33
+ spec.add_runtime_dependency 'json-schema', '~> 4.3.1'
34
+ spec.add_dependency 'openstudio-extension', '~> 0.8.3'
35
35
  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.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rawad El Kontar
@@ -9,76 +9,48 @@ 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-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: bundler
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '2.1'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '2.1'
28
- - !ruby/object:Gem::Dependency
29
- name: rake
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '13.1'
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '13.1'
42
14
  - !ruby/object:Gem::Dependency
43
15
  name: rspec
44
16
  requirement: !ruby/object:Gem::Requirement
45
17
  requirements:
46
18
  - - "~>"
47
19
  - !ruby/object:Gem::Version
48
- version: '3.12'
20
+ version: '3.13'
49
21
  type: :development
50
22
  prerelease: false
51
23
  version_requirements: !ruby/object:Gem::Requirement
52
24
  requirements:
53
25
  - - "~>"
54
26
  - !ruby/object:Gem::Version
55
- version: '3.12'
27
+ version: '3.13'
56
28
  - !ruby/object:Gem::Dependency
57
29
  name: simplecov
58
30
  requirement: !ruby/object:Gem::Requirement
59
31
  requirements:
60
- - - "~>"
32
+ - - '='
61
33
  - !ruby/object:Gem::Version
62
- version: 0.18.2
34
+ version: 0.22.0
63
35
  type: :development
64
36
  prerelease: false
65
37
  version_requirements: !ruby/object:Gem::Requirement
66
38
  requirements:
67
- - - "~>"
39
+ - - '='
68
40
  - !ruby/object:Gem::Version
69
- version: 0.18.2
41
+ version: 0.22.0
70
42
  - !ruby/object:Gem::Dependency
71
43
  name: simplecov-lcov
72
44
  requirement: !ruby/object:Gem::Requirement
73
45
  requirements:
74
- - - "~>"
46
+ - - '='
75
47
  - !ruby/object:Gem::Version
76
48
  version: 0.8.0
77
49
  type: :development
78
50
  prerelease: false
79
51
  version_requirements: !ruby/object:Gem::Requirement
80
52
  requirements:
81
- - - "~>"
53
+ - - '='
82
54
  - !ruby/object:Gem::Version
83
55
  version: 0.8.0
84
56
  - !ruby/object:Gem::Dependency
@@ -87,42 +59,42 @@ dependencies:
87
59
  requirements:
88
60
  - - "~>"
89
61
  - !ruby/object:Gem::Version
90
- version: '2.3'
62
+ version: '2.7'
91
63
  type: :runtime
92
64
  prerelease: false
93
65
  version_requirements: !ruby/object:Gem::Requirement
94
66
  requirements:
95
67
  - - "~>"
96
68
  - !ruby/object:Gem::Version
97
- version: '2.3'
69
+ version: '2.7'
98
70
  - !ruby/object:Gem::Dependency
99
71
  name: json-schema
100
72
  requirement: !ruby/object:Gem::Requirement
101
73
  requirements:
102
74
  - - "~>"
103
75
  - !ruby/object:Gem::Version
104
- version: '2.7'
76
+ version: 4.3.1
105
77
  type: :runtime
106
78
  prerelease: false
107
79
  version_requirements: !ruby/object:Gem::Requirement
108
80
  requirements:
109
81
  - - "~>"
110
82
  - !ruby/object:Gem::Version
111
- version: '2.7'
83
+ version: 4.3.1
112
84
  - !ruby/object:Gem::Dependency
113
85
  name: openstudio-extension
114
86
  requirement: !ruby/object:Gem::Requirement
115
87
  requirements:
116
88
  - - "~>"
117
89
  - !ruby/object:Gem::Version
118
- version: 0.7.1
90
+ version: 0.8.3
119
91
  type: :runtime
120
92
  prerelease: false
121
93
  version_requirements: !ruby/object:Gem::Requirement
122
94
  requirements:
123
95
  - - "~>"
124
96
  - !ruby/object:Gem::Version
125
- version: 0.7.1
97
+ version: 0.8.3
126
98
  description: Library include scenario default reporting measure and scenario defaults
127
99
  reports schema and classes
128
100
  email:
@@ -229,16 +201,16 @@ require_paths:
229
201
  - lib
230
202
  required_ruby_version: !ruby/object:Gem::Requirement
231
203
  requirements:
232
- - - "~>"
204
+ - - '='
233
205
  - !ruby/object:Gem::Version
234
- version: 2.7.0
206
+ version: 3.2.2
235
207
  required_rubygems_version: !ruby/object:Gem::Requirement
236
208
  requirements:
237
209
  - - ">="
238
210
  - !ruby/object:Gem::Version
239
211
  version: '0'
240
212
  requirements: []
241
- rubygems_version: 3.1.4
213
+ rubygems_version: 3.4.10
242
214
  signing_key:
243
215
  specification_version: 4
244
216
  summary: Library to report URBANopt results