openstudio-standards 0.8.3 → 0.8.4
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/lib/openstudio-standards/btap/costing/README.md +502 -0
- data/lib/openstudio-standards/btap/costing/btap_costing.rb +473 -0
- data/lib/openstudio-standards/btap/costing/btap_measure_helper.rb +359 -0
- data/lib/openstudio-standards/btap/costing/btap_workflow.rb +117 -0
- data/lib/openstudio-standards/btap/costing/common_paths.rb +78 -0
- data/lib/openstudio-standards/btap/costing/common_resources/ConstructionProperties.csv +52 -0
- data/lib/openstudio-standards/btap/costing/common_resources/Constructions.csv +37 -0
- data/lib/openstudio-standards/btap/costing/common_resources/construction_sets.csv +1270 -0
- data/lib/openstudio-standards/btap/costing/common_resources/constructions_glazing.csv +61 -0
- data/lib/openstudio-standards/btap/costing/common_resources/constructions_opaque.csv +2256 -0
- data/lib/openstudio-standards/btap/costing/common_resources/costs.csv +1904 -0
- data/lib/openstudio-standards/btap/costing/common_resources/costs_local_factors.csv +2315 -0
- data/lib/openstudio-standards/btap/costing/common_resources/hvac_vent_ahu.csv +925 -0
- data/lib/openstudio-standards/btap/costing/common_resources/lighting.csv +364 -0
- data/lib/openstudio-standards/btap/costing/common_resources/lighting_sets.csv +2667 -0
- data/lib/openstudio-standards/btap/costing/common_resources/locations.csv +75 -0
- data/lib/openstudio-standards/btap/costing/common_resources/materials_glazing.csv +35 -0
- data/lib/openstudio-standards/btap/costing/common_resources/materials_hvac.csv +1699 -0
- data/lib/openstudio-standards/btap/costing/common_resources/materials_lighting.csv +267 -0
- data/lib/openstudio-standards/btap/costing/common_resources/materials_opaque.csv +164 -0
- data/lib/openstudio-standards/btap/costing/copy_test_results_files_to_expected_results.rb +11 -0
- data/lib/openstudio-standards/btap/costing/cost_building_from_file.rb +136 -0
- data/lib/openstudio-standards/btap/costing/costing_database_wrapper.rb +177 -0
- data/lib/openstudio-standards/btap/costing/daylighting_sensor_control_costing.rb +353 -0
- data/lib/openstudio-standards/btap/costing/dcv_costing.rb +314 -0
- data/lib/openstudio-standards/btap/costing/dummy.epw +8768 -0
- data/lib/openstudio-standards/btap/costing/dummy.osm +5320 -0
- data/lib/openstudio-standards/btap/costing/envelope_costing.rb +284 -0
- data/lib/openstudio-standards/btap/costing/heating_cooling_costing.rb +2584 -0
- data/lib/openstudio-standards/btap/costing/led_lighting_costing.rb +155 -0
- data/lib/openstudio-standards/btap/costing/lighting_costing.rb +209 -0
- data/lib/openstudio-standards/btap/costing/mech_sizing.json +502 -0
- data/lib/openstudio-standards/btap/costing/neb_end_use_prices.csv +42 -0
- data/lib/openstudio-standards/btap/costing/necb_2011_spacetype_info.csv +225 -0
- data/lib/openstudio-standards/btap/costing/necb_reference_runs.csv +28705 -0
- data/lib/openstudio-standards/btap/costing/nv_costing.rb +547 -0
- data/lib/openstudio-standards/btap/costing/parallel_tests.rb +92 -0
- data/lib/openstudio-standards/btap/costing/pv_ground_costing.rb +687 -0
- data/lib/openstudio-standards/btap/costing/shw_costing.rb +705 -0
- data/lib/openstudio-standards/btap/costing/test_list.txt +17 -0
- data/lib/openstudio-standards/btap/costing/test_run_all_test_locally.rb +26 -0
- data/lib/openstudio-standards/btap/costing/test_run_costing_tests.rb +80 -0
- data/lib/openstudio-standards/btap/costing/ventilation_costing.rb +2616 -0
- data/lib/openstudio-standards/constructions/modify.rb +2 -1
- data/lib/openstudio-standards/standards/Standards.Model.rb +39 -9
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +2 -2
- data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb +6 -1
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/btap_pre1980.rb +2 -27
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_3_and_8_single_speed.rb +68 -27
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_4.rb +64 -25
- data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_6.rb +9 -14
- data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +46 -20
- data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +635 -248
- data/lib/openstudio-standards/standards/necb/NECB2011/data/constants.json +43 -7
- data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +7 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartmentMult.osm +14272 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/data/necb_2015_table_c1.json +1 -1
- data/lib/openstudio-standards/standards/necb/NECB2011/data/space_types.json +437 -437
- data/lib/openstudio-standards/standards/necb/NECB2011/data/systems.json +516 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/data/systems_including_sys5.json +588 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_namer.rb +489 -0
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb +16 -6
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb +48 -5
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_multi_speed.rb +2 -2
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_single_speed.rb +35 -27
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_4.rb +34 -23
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_6.rb +8 -6
- data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +42 -13
- data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +214 -25
- data/lib/openstudio-standards/standards/necb/NECB2011/system_fuels.rb +61 -1
- data/lib/openstudio-standards/standards/necb/NECB2015/data/space_types.json +636 -636
- data/lib/openstudio-standards/standards/necb/NECB2015/data/unitary_acs.json +38 -38
- data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +15 -6
- data/lib/openstudio-standards/standards/necb/NECB2017/data/space_types.json +636 -636
- data/lib/openstudio-standards/standards/necb/NECB2020/data/chillers.json +71 -71
- data/lib/openstudio-standards/standards/necb/README.md +343 -0
- data/lib/openstudio-standards/standards/necb/common/btap_data.rb +190 -28
- data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +14 -5
- data/lib/openstudio-standards/standards/necb/common/eccc_electric_grid_intensity_20250311.csv +14 -0
- data/lib/openstudio-standards/standards/necb/common/nir_gas_grid_intensity_20250311.csv +14 -0
- data/lib/openstudio-standards/standards/necb/common/system_types.yaml +0 -0
- data/lib/openstudio-standards/utilities/logging.rb +18 -14
- data/lib/openstudio-standards/version.rb +1 -1
- data/lib/openstudio-standards/weather/modify.rb +2 -2
- data/lib/openstudio-standards.rb +12 -0
- metadata +53 -2
@@ -2,7 +2,7 @@ require 'openstudio'
|
|
2
2
|
require 'securerandom'
|
3
3
|
require 'optparse'
|
4
4
|
require 'yaml'
|
5
|
-
#require 'git-revision'
|
5
|
+
# require 'git-revision'
|
6
6
|
# resource_folder = File.join(__dir__, '..', '..', 'measures/btap_results/resources')
|
7
7
|
# OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
8
8
|
|
@@ -77,7 +77,6 @@ class BTAPDatapoint
|
|
77
77
|
@dp_output_folder = File.join(output_folder, @options[:datapoint_id])
|
78
78
|
|
79
79
|
# Show versions in yml file.
|
80
|
-
@options[:btap_costing_git_revision] = Git::Revision.commit_short
|
81
80
|
@options[:os_git_revision] = OpenstudioStandards.git_revision
|
82
81
|
|
83
82
|
# Get users' inputs for the parameters needed for the calculation af net present value
|
@@ -125,7 +124,13 @@ class BTAPDatapoint
|
|
125
124
|
@standard.model_apply_standard(model: model,
|
126
125
|
epw_file: @options[:epw_file],
|
127
126
|
custom_weather_folder: weather_folder,
|
127
|
+
btap_weather: @options[:btap_weather],
|
128
128
|
sizing_run_dir: File.join(@dp_temp_folder, 'sizing_folder'),
|
129
|
+
hvac_system_primary: @options[:hvac_system_primary],
|
130
|
+
hvac_system_dwelling_units: @options[:hvac_system_dwelling_units],
|
131
|
+
hvac_system_washrooms: @options[:hvac_system_washrooms],
|
132
|
+
hvac_system_corridor: @options[:hvac_system_corridor],
|
133
|
+
hvac_system_storage: @options[:hvac_system_storage],
|
129
134
|
primary_heating_fuel: @options[:primary_heating_fuel],
|
130
135
|
necb_reference_hp: @options[:necb_reference_hp],
|
131
136
|
necb_reference_hp_supp_fuel: @options[:necb_reference_hp_supp_fuel],
|
@@ -185,6 +190,7 @@ class BTAPDatapoint
|
|
185
190
|
boiler_fuel: @options[:boiler_fuel],
|
186
191
|
boiler_cap_ratio: @options[:boiler_cap_ratio],
|
187
192
|
swh_fuel: @options[:swh_fuel],
|
193
|
+
airloop_fancoils_heating: @options[:airloop_fancoils_heating],
|
188
194
|
oerd_utility_pricing: @oerd_utility_pricing
|
189
195
|
)
|
190
196
|
end
|
@@ -241,10 +247,13 @@ class BTAPDatapoint
|
|
241
247
|
model.setSqlFile(sql)
|
242
248
|
|
243
249
|
@cost_result = nil
|
244
|
-
if
|
250
|
+
if @options[:enable_costing]
|
245
251
|
# Perform costing
|
246
|
-
|
252
|
+
costs_path = File.absolute_path(File.join(__dir__, '..','..','..','btap','costing','common_resources', 'costs.csv'))
|
253
|
+
local_cost_factors_path = File.absolute_path(File.join(__dir__, '..','..','..','btap','costing','common_resources', 'costs_local_factors.csv'))
|
254
|
+
costing = BTAPCosting.new(costs_csv: costs_path, factors_csv: local_cost_factors_path)
|
247
255
|
costing.load_database
|
256
|
+
|
248
257
|
@cost_result, @btap_items = costing.cost_audit_all(model: model, prototype_creator: @standard, template_type: @options[:template])
|
249
258
|
@qaqc[:costing_information] = @cost_result
|
250
259
|
File.open(File.join(@dp_temp_folder, 'cost_results.json'), 'w') { |f| f.write(JSON.pretty_generate(@cost_result, allow_nan: true)) }
|
@@ -618,4 +627,4 @@ class BTAPDatapoint
|
|
618
627
|
#===================================================================================================================
|
619
628
|
end #output_timestep_data
|
620
629
|
#=====================================================================================================================
|
621
|
-
end
|
630
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
province,units,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050
|
2
|
+
Alberta,tCO2e/GWh,958.7,991.3,925.2,916.8,822.5,843.4,794.1,754.5,785.7,789.4,744.9,768.4,765.3,604.3,568.6,530.2,458.3,382.1,304.5,301.4,265.2,226.8,210.2,172.1,165,170.9,166.2,153.9,145,138.4,118.8,106.5,100.3,82.3,77.2,71.4,69.9,70.3,70.9,71.5,71.6,70.6,70.3,68.6,43.9,19.2
|
3
|
+
British Columbia,tCO2e/GWh,20.7,20,17,25.3,20.9,21.6,9.4,10.1,10.6,6.9,4.6,2.9,2,5.4,11.6,5.3,8.2,5.7,5.1,5.4,5.3,4.2,3.9,3.7,1.5,1.4,1.4,1.3,1.2,1.1,1,0.6,0.6,0.5,0.5,0.5,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1
|
4
|
+
Manitoba,tCO2e/GWh,19.4,24,26.7,21,9.6,4.5,5.8,5.4,5.4,5.6,5.6,3.2,3.1,1.8,1.8,1.9,2.6,2.1,1.8,1.1,0.5,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6
|
5
|
+
New Brunswick,tCO2e/GWh,613,595.4,539,546.9,549.6,379.4,333.2,281.4,236.6,264.7,259.4,333.3,261.1,281.6,263,182.5,264.5,291.2,298.4,295.7,319.1,306,278.1,266.1,252,37,31.8,24.8,29.1,29,46.9,52.2,65,64.4,27.8,27.7,2.9,2.5,2.5,2.4,1.9,14.3,12.5,10.6,1.2,0.9
|
6
|
+
Newfoundland and Labrador,tCO2e/GWh,85.8,64.8,106.4,90.3,89.7,76.6,81.7,79.3,86,119.8,148.3,151.8,145.1,105.9,104.7,90.3,74.2,81.4,7.6,6.3,6.3,6.2,6,5.8,6.4,5.6,5.5,5.3,5.2,5.1,5,4.8,5,5.3,5.3,5.2,5.1,4.9,4.5,4.2,4.2,4.1,4.1,4,4,3.9
|
7
|
+
Northwest Territories,tCO2e/GWh,303.6,275.4,304.7,263.2,205.1,236.3,226.1,115.4,190.2,241.7,352.2,196.2,189.8,202.7,186.1,191.8,192.6,215.5,234.9,175,1,0,0,5.2,4.6,4.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
8
|
+
Nova Scotia,tCO2e/GWh,927.2,974.9,979,803.5,817.8,741.4,743,726.4,713.3,689.9,643.5,656.2,651.2,684.4,645.1,619.3,582.9,542.4,658.1,605.3,529.8,477.9,461.9,448.1,303.9,88.2,89.7,112,105,98.4,70.6,66.7,63.2,60.5,59,57.2,55.4,46.7,45.9,63.3,60.2,57.1,53.7,50.3,47.1,38.6
|
9
|
+
Nunavut,tCO2e/GWh,606,507.6,510.1,539,566.8,566.8,482.4,484.2,453.9,567.5,481.8,607.5,574.8,675.3,673.3,616.2,639.8,628.2,788.4,724.3,494.4,456.6,442.9,444.2,456.9,454.3,466.7,410.7,425,449,401,411.4,423.9,378.1,389.3,403.4,361.2,373.9,339.2,304.3,318.7,288.9,257.7,267.9,237.4,208.7
|
10
|
+
Ontario,tCO2e/GWh,224.3,206,228.7,189,112.2,143.4,91.2,90.9,67.3,40,42.1,36,16.4,25.5,24.8,24.2,26.3,30.2,23.9,55.5,65.3,76.1,56.9,50.4,50,65,55.9,65.8,68.4,76.1,30.5,23.3,19.1,13.6,10.7,13.1,12.9,11.9,11.7,11.5,14,13.8,13.6,13.4,12.5,3.4
|
11
|
+
Prince Edward Island,tCO2e/GWh,5,8.4,4.8,4,5.3,1.6,1.1,9,3.2,3.4,11.3,3.5,6.5,2.1,0.8,0.2,1.4,0.8,0.8,0.8,0.8,0.8,0.8,0.8,0.8,0.8,0.8,0.8,0.7,0.7,0.7,0.7,0.7,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.5,0.5,0.5,0.5,0.5
|
12
|
+
Quebec,tCO2e/GWh,3.2,5.1,8.7,2.5,3.5,2.4,2.7,2.5,1.4,1.5,1.3,1.5,1.4,1.4,1.5,1.8,1.5,1.3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
13
|
+
Saskatchewan,tCO2e/GWh,860.6,813.3,803.3,769.7,872,846.4,797.5,807.8,685.2,700.2,736.8,721.4,703.2,720.6,698.5,615.7,692.9,648.2,542.8,560.6,522.9,515.3,499.4,341.2,330.8,115.3,117.1,108.6,104.3,100.3,48.7,40.4,37,34.9,52.4,58.6,62.6,57.6,53.2,40.8,23.8,23.2,22.9,22.3,21.8,12.6
|
14
|
+
Yukon,tCO2e/GWh,70,53.4,53.2,51.2,44.6,48.6,68.7,42.8,41.4,41.4,44.6,47.1,53.5,76.2,113.1,111.3,79.3,73.3,120,107.6,7,6.9,6.8,7,8.3,10.2,41.9,48,52.1,52.3,58.9,57.4,55.2,53.2,52.3,46.3,29.8,28.7,27.3,25.2,24.5,24.6,28.5,27.2,27.3,27.6
|
@@ -0,0 +1,14 @@
|
|
1
|
+
province,units,2022
|
2
|
+
Alberta,g/m3,1962
|
3
|
+
British Columbia,g/m3,1966
|
4
|
+
Manitoba,g/m3,1915
|
5
|
+
New Brunswick,g/m3,1919
|
6
|
+
Newfoundland and Labrador,g/m3,1919
|
7
|
+
Northwest Territories,g/m3,1966
|
8
|
+
Nova Scotia,g/m3,1919
|
9
|
+
Nunavut,g/m3,1966
|
10
|
+
Ontario,g/m3,1921
|
11
|
+
Prince Edward Island,g/m3,1919
|
12
|
+
Quebec,g/m3,1926
|
13
|
+
Saskatchewan,g/m3,1920
|
14
|
+
Yukon,g/m3,1966
|
File without changes
|
@@ -4,23 +4,27 @@ $OPENSTUDIO_LOG.setLogLevel(OpenStudio::Debug)
|
|
4
4
|
|
5
5
|
# Log the info, warning, and error messages to a runner.
|
6
6
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# @
|
10
|
-
def log_messages_to_runner(runner, debug = false)
|
7
|
+
# @param runner [OpenStudio::Measure::OSRunner] The Measure runner to add the messages to
|
8
|
+
# @param debug [Boolean] If true, include the debug messages in the log
|
9
|
+
# @param custom_exclusions [Array<String>] An array of custom strings to exclude from the log
|
10
|
+
def log_messages_to_runner(runner, debug = false, custom_exclusions: nil)
|
11
|
+
log_message_exclusions = [
|
12
|
+
'UseWeatherFile', # 'UseWeatherFile' is not yet a supported option for YearDescription
|
13
|
+
'Skipping layer', # Annoying/bogus "Skipping layer" warnings
|
14
|
+
'runmanager', # RunManager messages
|
15
|
+
'setFileExtension', # .ddy extension unexpected
|
16
|
+
'Translator', # Forward translator and geometry translator
|
17
|
+
'Successive data points', # Successive data points (2004-Jan-31 to 2001-Feb-01, ending on line 753) are greater than 1 day apart in EPW file
|
18
|
+
'has multiple parents', # Bogus errors about curves having multiple parents
|
19
|
+
'does not have an Output', # Warning from EMS translation
|
20
|
+
'Prior to OpenStudio 2.6.2, this field was returning a double, it now returns an Optional double' # Warning about OS API change
|
21
|
+
] + Array(custom_exclusions)
|
22
|
+
|
11
23
|
$OPENSTUDIO_LOG.logMessages.each do |msg|
|
12
24
|
# DLM: you can filter on log channel here for now
|
13
25
|
if /openstudio.*/ =~ msg.logChannel # /openstudio\.model\..*/
|
14
26
|
# Skip certain messages that are irrelevant/misleading
|
15
|
-
next if msg.logMessage.include?(
|
16
|
-
msg.logMessage.include?('Skipping layer') || # Annoying/bogus "Skipping layer" warnings
|
17
|
-
msg.logChannel.include?('runmanager') || # RunManager messages
|
18
|
-
msg.logChannel.include?('setFileExtension') || # .ddy extension unexpected
|
19
|
-
msg.logChannel.include?('Translator') || # Forward translator and geometry translator
|
20
|
-
msg.logMessage.include?('Successive data points') || # Successive data points (2004-Jan-31 to 2001-Feb-01, ending on line 753) are greater than 1 day apart in EPW file
|
21
|
-
msg.logMessage.include?('has multiple parents') || # Bogus errors about curves having multiple parents
|
22
|
-
msg.logMessage.include?('does not have an Output') || # Warning from EMS translation
|
23
|
-
msg.logMessage.include?('Prior to OpenStudio 2.6.2, this field was returning a double, it now returns an Optional double') # Warning about OS API change
|
27
|
+
next if log_message_exclusions.any? { |ex| msg.logMessage.include?(ex) }
|
24
28
|
|
25
29
|
# Report the message in the correct way
|
26
30
|
if msg.logLevel == OpenStudio::Info
|
@@ -29,7 +33,7 @@ def log_messages_to_runner(runner, debug = false)
|
|
29
33
|
runner.registerWarning("[#{msg.logChannel}] #{msg.logMessage}")
|
30
34
|
elsif msg.logLevel == OpenStudio::Error
|
31
35
|
runner.registerError("[#{msg.logChannel}] #{msg.logMessage}")
|
32
|
-
elsif msg.logLevel == OpenStudio::Debug
|
36
|
+
elsif debug && msg.logLevel == OpenStudio::Debug
|
33
37
|
runner.registerInfo("DEBUG - #{msg.logMessage}")
|
34
38
|
end
|
35
39
|
end
|
@@ -79,7 +79,7 @@ module OpenstudioStandards
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# set ground temperature shallow values based on .stat file
|
82
|
-
ground_temperature_shallow =
|
82
|
+
ground_temperature_shallow = model.getSiteGroundTemperatureShallow
|
83
83
|
ground_temperature_shallow.setJanuarySurfaceGroundTemperature(stat_file.monthly_undis_ground_temps_0p5m[0])
|
84
84
|
ground_temperature_shallow.setFebruarySurfaceGroundTemperature(stat_file.monthly_undis_ground_temps_0p5m[1])
|
85
85
|
ground_temperature_shallow.setMarchSurfaceGroundTemperature(stat_file.monthly_undis_ground_temps_0p5m[2])
|
@@ -113,7 +113,7 @@ module OpenstudioStandards
|
|
113
113
|
end
|
114
114
|
|
115
115
|
# set ground temperature deep values based on .stat file
|
116
|
-
ground_temperature_deep =
|
116
|
+
ground_temperature_deep = model.getSiteGroundTemperatureDeep
|
117
117
|
ground_temperature_deep.setJanuaryDeepGroundTemperature(stat_file.monthly_undis_ground_temps_4p0m[0])
|
118
118
|
ground_temperature_deep.setFebruaryDeepGroundTemperature(stat_file.monthly_undis_ground_temps_4p0m[1])
|
119
119
|
ground_temperature_deep.setMarchDeepGroundTemperature(stat_file.monthly_undis_ground_temps_4p0m[2])
|
data/lib/openstudio-standards.rb
CHANGED
@@ -106,6 +106,17 @@ module OpenstudioStandards
|
|
106
106
|
|
107
107
|
# BTAP (Natural Resources Canada)
|
108
108
|
require_relative 'openstudio-standards/btap/btap'
|
109
|
+
require_relative 'openstudio-standards/btap/costing/btap_costing'
|
110
|
+
require_relative 'openstudio-standards/btap/costing/ventilation_costing'
|
111
|
+
require_relative 'openstudio-standards/btap/costing/envelope_costing'
|
112
|
+
require_relative 'openstudio-standards/btap/costing/lighting_costing'
|
113
|
+
require_relative 'openstudio-standards/btap/costing/heating_cooling_costing'
|
114
|
+
require_relative 'openstudio-standards/btap/costing/shw_costing'
|
115
|
+
require_relative 'openstudio-standards/btap/costing/dcv_costing'
|
116
|
+
require_relative 'openstudio-standards/btap/costing/daylighting_sensor_control_costing'
|
117
|
+
require_relative 'openstudio-standards/btap/costing/led_lighting_costing'
|
118
|
+
require_relative 'openstudio-standards/btap/costing/pv_ground_costing'
|
119
|
+
require_relative 'openstudio-standards/btap/costing/nv_costing'
|
109
120
|
|
110
121
|
# Utilities
|
111
122
|
require_relative 'openstudio-standards/utilities/logging'
|
@@ -137,6 +148,7 @@ module OpenstudioStandards
|
|
137
148
|
require_relative "#{stds}/necb/NECB2011/hvac_system_3_and_8_multi_speed"
|
138
149
|
require_relative "#{stds}/necb/NECB2011/hvac_system_4"
|
139
150
|
require_relative "#{stds}/necb/NECB2011/hvac_system_6"
|
151
|
+
require_relative "#{stds}/necb/NECB2011/hvac_namer"
|
140
152
|
require_relative "#{stds}/necb/NECB2011/service_water_heating"
|
141
153
|
require_relative "#{stds}/necb/NECB2011/electrical_power_systems_and_motors"
|
142
154
|
require_relative "#{stds}/necb/NECB2011/beps_compliance_path"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Adams
|
@@ -39,7 +39,7 @@ authors:
|
|
39
39
|
autorequire:
|
40
40
|
bindir: bin
|
41
41
|
cert_chain: []
|
42
|
-
date: 2025-
|
42
|
+
date: 2025-09-26 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: bundler
|
@@ -829,6 +829,49 @@ files:
|
|
829
829
|
- lib/openstudio-standards/btap/bridging.rb
|
830
830
|
- lib/openstudio-standards/btap/btap.rb
|
831
831
|
- lib/openstudio-standards/btap/btap_result.rb
|
832
|
+
- lib/openstudio-standards/btap/costing/README.md
|
833
|
+
- lib/openstudio-standards/btap/costing/btap_costing.rb
|
834
|
+
- lib/openstudio-standards/btap/costing/btap_measure_helper.rb
|
835
|
+
- lib/openstudio-standards/btap/costing/btap_workflow.rb
|
836
|
+
- lib/openstudio-standards/btap/costing/common_paths.rb
|
837
|
+
- lib/openstudio-standards/btap/costing/common_resources/ConstructionProperties.csv
|
838
|
+
- lib/openstudio-standards/btap/costing/common_resources/Constructions.csv
|
839
|
+
- lib/openstudio-standards/btap/costing/common_resources/construction_sets.csv
|
840
|
+
- lib/openstudio-standards/btap/costing/common_resources/constructions_glazing.csv
|
841
|
+
- lib/openstudio-standards/btap/costing/common_resources/constructions_opaque.csv
|
842
|
+
- lib/openstudio-standards/btap/costing/common_resources/costs.csv
|
843
|
+
- lib/openstudio-standards/btap/costing/common_resources/costs_local_factors.csv
|
844
|
+
- lib/openstudio-standards/btap/costing/common_resources/hvac_vent_ahu.csv
|
845
|
+
- lib/openstudio-standards/btap/costing/common_resources/lighting.csv
|
846
|
+
- lib/openstudio-standards/btap/costing/common_resources/lighting_sets.csv
|
847
|
+
- lib/openstudio-standards/btap/costing/common_resources/locations.csv
|
848
|
+
- lib/openstudio-standards/btap/costing/common_resources/materials_glazing.csv
|
849
|
+
- lib/openstudio-standards/btap/costing/common_resources/materials_hvac.csv
|
850
|
+
- lib/openstudio-standards/btap/costing/common_resources/materials_lighting.csv
|
851
|
+
- lib/openstudio-standards/btap/costing/common_resources/materials_opaque.csv
|
852
|
+
- lib/openstudio-standards/btap/costing/copy_test_results_files_to_expected_results.rb
|
853
|
+
- lib/openstudio-standards/btap/costing/cost_building_from_file.rb
|
854
|
+
- lib/openstudio-standards/btap/costing/costing_database_wrapper.rb
|
855
|
+
- lib/openstudio-standards/btap/costing/daylighting_sensor_control_costing.rb
|
856
|
+
- lib/openstudio-standards/btap/costing/dcv_costing.rb
|
857
|
+
- lib/openstudio-standards/btap/costing/dummy.epw
|
858
|
+
- lib/openstudio-standards/btap/costing/dummy.osm
|
859
|
+
- lib/openstudio-standards/btap/costing/envelope_costing.rb
|
860
|
+
- lib/openstudio-standards/btap/costing/heating_cooling_costing.rb
|
861
|
+
- lib/openstudio-standards/btap/costing/led_lighting_costing.rb
|
862
|
+
- lib/openstudio-standards/btap/costing/lighting_costing.rb
|
863
|
+
- lib/openstudio-standards/btap/costing/mech_sizing.json
|
864
|
+
- lib/openstudio-standards/btap/costing/neb_end_use_prices.csv
|
865
|
+
- lib/openstudio-standards/btap/costing/necb_2011_spacetype_info.csv
|
866
|
+
- lib/openstudio-standards/btap/costing/necb_reference_runs.csv
|
867
|
+
- lib/openstudio-standards/btap/costing/nv_costing.rb
|
868
|
+
- lib/openstudio-standards/btap/costing/parallel_tests.rb
|
869
|
+
- lib/openstudio-standards/btap/costing/pv_ground_costing.rb
|
870
|
+
- lib/openstudio-standards/btap/costing/shw_costing.rb
|
871
|
+
- lib/openstudio-standards/btap/costing/test_list.txt
|
872
|
+
- lib/openstudio-standards/btap/costing/test_run_all_test_locally.rb
|
873
|
+
- lib/openstudio-standards/btap/costing/test_run_costing_tests.rb
|
874
|
+
- lib/openstudio-standards/btap/costing/ventilation_costing.rb
|
832
875
|
- lib/openstudio-standards/btap/envelope.rb
|
833
876
|
- lib/openstudio-standards/btap/fileio.rb
|
834
877
|
- lib/openstudio-standards/btap/geometry.rb
|
@@ -2289,6 +2332,7 @@ files:
|
|
2289
2332
|
- lib/openstudio-standards/standards/necb/NECB2011/data/furnaces.json
|
2290
2333
|
- lib/openstudio-standards/standards/necb/NECB2011/data/geometry/FullServiceRestaurant.osm
|
2291
2334
|
- lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartment.osm
|
2335
|
+
- lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartmentMult.osm
|
2292
2336
|
- lib/openstudio-standards/standards/necb/NECB2011/data/geometry/Hospital.osm
|
2293
2337
|
- lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LEEPMidriseApartment.osm
|
2294
2338
|
- lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LEEPMultiTower.osm
|
@@ -2327,10 +2371,13 @@ files:
|
|
2327
2371
|
- lib/openstudio-standards/standards/necb/NECB2011/data/space_types.json
|
2328
2372
|
- lib/openstudio-standards/standards/necb/NECB2011/data/standards_data.rb
|
2329
2373
|
- lib/openstudio-standards/standards/necb/NECB2011/data/surface_thermal_transmittance.json
|
2374
|
+
- lib/openstudio-standards/standards/necb/NECB2011/data/systems.json
|
2375
|
+
- lib/openstudio-standards/standards/necb/NECB2011/data/systems_including_sys5.json
|
2330
2376
|
- lib/openstudio-standards/standards/necb/NECB2011/data/unitary_acs.json
|
2331
2377
|
- lib/openstudio-standards/standards/necb/NECB2011/daylighting_control.md
|
2332
2378
|
- lib/openstudio-standards/standards/necb/NECB2011/demand_controlled_ventilation.md
|
2333
2379
|
- lib/openstudio-standards/standards/necb/NECB2011/electrical_power_systems_and_motors.rb
|
2380
|
+
- lib/openstudio-standards/standards/necb/NECB2011/hvac_namer.rb
|
2334
2381
|
- lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb
|
2335
2382
|
- lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb
|
2336
2383
|
- lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb
|
@@ -2397,15 +2444,19 @@ files:
|
|
2397
2444
|
- lib/openstudio-standards/standards/necb/NECB2020/data/unitary_acs.json
|
2398
2445
|
- lib/openstudio-standards/standards/necb/NECB2020/necb_2020.rb
|
2399
2446
|
- lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb
|
2447
|
+
- lib/openstudio-standards/standards/necb/README.md
|
2400
2448
|
- lib/openstudio-standards/standards/necb/common/bc_step_code_indicators.md
|
2401
2449
|
- lib/openstudio-standards/standards/necb/common/btap_data.rb
|
2402
2450
|
- lib/openstudio-standards/standards/necb/common/btap_datapoint.rb
|
2403
2451
|
- lib/openstudio-standards/standards/necb/common/construction_defaults.osm
|
2452
|
+
- lib/openstudio-standards/standards/necb/common/eccc_electric_grid_intensity_20250311.csv
|
2404
2453
|
- lib/openstudio-standards/standards/necb/common/national_carbon_price_sched_feb_2025.json
|
2405
2454
|
- lib/openstudio-standards/standards/necb/common/neb_end_use_prices.csv
|
2406
2455
|
- lib/openstudio-standards/standards/necb/common/necb_reference_runs.csv
|
2456
|
+
- lib/openstudio-standards/standards/necb/common/nir_gas_grid_intensity_20250311.csv
|
2407
2457
|
- lib/openstudio-standards/standards/necb/common/phius.md
|
2408
2458
|
- lib/openstudio-standards/standards/necb/common/space_type_upgrade_map.json
|
2459
|
+
- lib/openstudio-standards/standards/necb/common/system_types.yaml
|
2409
2460
|
- lib/openstudio-standards/standards/necb/common/utility_pricing_2025-02-20.csv
|
2410
2461
|
- lib/openstudio-standards/standards/necb/docs/air_system_names_method.md
|
2411
2462
|
- lib/openstudio-standards/standards/oeesc/oeesc.rb
|