urbanopt-reporting 1.0.0 → 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 +4 -4
- data/.github/workflows/nightly_ci_build.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -2
- data/lib/measures/default_feature_reports/measure.rb +23 -10
- data/lib/measures/default_feature_reports/measure.xml +10 -4
- data/lib/urbanopt/reporting/default_reports/end_uses.rb +14 -7
- data/lib/urbanopt/reporting/default_reports/reporting_period.rb +9 -5
- data/lib/urbanopt/reporting/default_reports/schema/README.md +2 -1
- data/lib/urbanopt/reporting/default_reports/schema/scenario_csv_columns.txt +2 -1
- data/lib/urbanopt/reporting/default_reports/schema/scenario_schema.json +10 -3
- data/lib/urbanopt/reporting/version.rb +1 -1
- data/urbanopt-reporting-gem.gemspec +7 -4
- metadata +52 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 166b735ce69f284a1940be9b0b0f6465859398858710c3066a3e4b1483a3cee1
|
4
|
+
data.tar.gz: 8f92f0d3051e56b74ad38f4751cb3191388a990a645f5f1189a2d82a969816e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d360fa05a79294c4ad9b6cd0024bd0bb743d7f147d16efdb6a09064f27bf09f875bc21a5346e84770b440673d49874af90e15748a2d83f1548aa7b6422e5683
|
7
|
+
data.tar.gz: c3a5fa01b0638693edc0c27bb62cb3e980e3f693c56179155a15351667e421827a7ab4c4d73a66ab71968cb33d21d03f1fea72324f325aade0f9b3093a047647
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -14,6 +14,5 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
|
|
14
14
|
# if allow_local && File.exist?('../openstudio-extension-gem')
|
15
15
|
# gem 'openstudio-extension', path: '../openstudio-extension-gem'
|
16
16
|
# elsif allow_local
|
17
|
-
#
|
18
|
-
# gem 'openstudio-extension', '~> 0.8.1'
|
17
|
+
# gem 'openstudio-extension', github: 'NREL/openstudio-extension-gem', branch: 'develop'
|
19
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
|
-
'
|
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,
|
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
|
-
|
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
|
@@ -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
|
-
#
|
773
|
-
|
774
|
-
feature_report.reporting_periods[0].
|
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].
|
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?
|
814
|
+
if x.include?('water') && x != 'district_heating_water'
|
804
815
|
x_u = "#{x}_qbft"
|
805
816
|
else
|
806
817
|
x = x.gsub('_#2', '')
|
@@ -965,6 +976,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
|
|
965
976
|
'HeatRejection:Electricity',
|
966
977
|
'HeatRejection:NaturalGas',
|
967
978
|
'Heating:NaturalGas',
|
979
|
+
'Cooling:NaturalGas',
|
968
980
|
'WaterSystems:NaturalGas',
|
969
981
|
'InteriorEquipment:NaturalGas',
|
970
982
|
'HeatRejection:Propane',
|
@@ -980,7 +992,8 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
|
|
980
992
|
'WaterSystems:OtherFuels',
|
981
993
|
'InteriorEquipment:OtherFuels',
|
982
994
|
'DistrictCooling:Facility',
|
983
|
-
'
|
995
|
+
'DistrictHeatingSteam:Facility',
|
996
|
+
'DistrictHeatingWater:Facility',
|
984
997
|
'District Cooling Chilled Water Rate',
|
985
998
|
'District Cooling Mass Flow Rate',
|
986
999
|
'District Cooling Inlet Temperature',
|
@@ -1135,7 +1148,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
|
|
1135
1148
|
end
|
1136
1149
|
|
1137
1150
|
# residential considerations
|
1138
|
-
if building.standardsBuildingType.is_initialized && (['DistrictCooling:Facility', '
|
1151
|
+
if building.standardsBuildingType.is_initialized && (['DistrictCooling:Facility', 'DistrictHeatingSteam:Facility', 'DistrictHeatingWater:Facility'].include?(timeseries_name) && ['Residential'].include?(building.standardsBuildingType.get))
|
1139
1152
|
values[key_cnt] = Array.new(n, 0)
|
1140
1153
|
end
|
1141
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>
|
7
|
-
<version_modified>2025-
|
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>
|
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>
|
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>
|
@@ -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, :
|
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
|
-
@
|
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
|
-
|
78
|
-
|
79
|
-
result[:
|
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[:
|
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
|
-
@
|
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
|
-
:
|
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
|
-
@
|
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[:
|
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[:
|
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.
|
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>™</sup> Scenario Gem includes functionality for defining
|
|
22
22
|
| ElectricityProduced:Facility | kWh |
|
23
23
|
| Gas:Facility | kBtu |
|
24
24
|
| DistrictCooling:Facility | kWh |
|
25
|
-
|
|
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 | °C |
|
@@ -32,7 +32,8 @@ Heating:OtherFuels
|
|
32
32
|
WaterSystems:OtherFuels
|
33
33
|
InteriorEquipment:OtherFuels
|
34
34
|
DistrictCooling:Facility
|
35
|
-
|
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
|
-
"
|
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
|
-
"
|
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": {
|
@@ -25,11 +25,14 @@ Gem::Specification.new do |spec|
|
|
25
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
26
|
spec.required_ruby_version = '3.2.2'
|
27
27
|
|
28
|
-
spec.add_development_dependency '
|
29
|
-
spec.add_development_dependency '
|
30
|
-
spec.add_development_dependency '
|
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'
|
33
|
+
spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
|
31
34
|
|
32
35
|
spec.add_runtime_dependency 'json_pure', '~> 2.7'
|
33
36
|
spec.add_runtime_dependency 'json-schema', '~> 4.3.1'
|
34
|
-
spec.add_dependency 'openstudio-extension', '~> 0.
|
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: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rawad El Kontar
|
@@ -9,48 +9,90 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '13.0'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '13.0'
|
14
28
|
- !ruby/object:Gem::Dependency
|
15
29
|
name: rspec
|
16
30
|
requirement: !ruby/object:Gem::Requirement
|
17
31
|
requirements:
|
18
32
|
- - "~>"
|
19
33
|
- !ruby/object:Gem::Version
|
20
|
-
version: '3.
|
34
|
+
version: '3.9'
|
21
35
|
type: :development
|
22
36
|
prerelease: false
|
23
37
|
version_requirements: !ruby/object:Gem::Requirement
|
24
38
|
requirements:
|
25
39
|
- - "~>"
|
26
40
|
- !ruby/object:Gem::Version
|
27
|
-
version: '3.
|
41
|
+
version: '3.9'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rubocop
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.50'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
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'
|
28
70
|
- !ruby/object:Gem::Dependency
|
29
71
|
name: simplecov
|
30
72
|
requirement: !ruby/object:Gem::Requirement
|
31
73
|
requirements:
|
32
|
-
- -
|
74
|
+
- - "~>"
|
33
75
|
- !ruby/object:Gem::Version
|
34
76
|
version: 0.22.0
|
35
77
|
type: :development
|
36
78
|
prerelease: false
|
37
79
|
version_requirements: !ruby/object:Gem::Requirement
|
38
80
|
requirements:
|
39
|
-
- -
|
81
|
+
- - "~>"
|
40
82
|
- !ruby/object:Gem::Version
|
41
83
|
version: 0.22.0
|
42
84
|
- !ruby/object:Gem::Dependency
|
43
85
|
name: simplecov-lcov
|
44
86
|
requirement: !ruby/object:Gem::Requirement
|
45
87
|
requirements:
|
46
|
-
- -
|
88
|
+
- - "~>"
|
47
89
|
- !ruby/object:Gem::Version
|
48
90
|
version: 0.8.0
|
49
91
|
type: :development
|
50
92
|
prerelease: false
|
51
93
|
version_requirements: !ruby/object:Gem::Requirement
|
52
94
|
requirements:
|
53
|
-
- -
|
95
|
+
- - "~>"
|
54
96
|
- !ruby/object:Gem::Version
|
55
97
|
version: 0.8.0
|
56
98
|
- !ruby/object:Gem::Dependency
|
@@ -87,14 +129,14 @@ dependencies:
|
|
87
129
|
requirements:
|
88
130
|
- - "~>"
|
89
131
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
132
|
+
version: 0.9.4
|
91
133
|
type: :runtime
|
92
134
|
prerelease: false
|
93
135
|
version_requirements: !ruby/object:Gem::Requirement
|
94
136
|
requirements:
|
95
137
|
- - "~>"
|
96
138
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
139
|
+
version: 0.9.4
|
98
140
|
description: Library include scenario default reporting measure and scenario defaults
|
99
141
|
reports schema and classes
|
100
142
|
email:
|