openstudio-calibration 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -1
- data/Jenkinsfile +1 -1
- data/LICENSE.md +1 -1
- data/README.md +2 -0
- data/Rakefile +3 -0
- data/lib/measures/AddMonthlyJSONUtilityData/LICENSE.md +1 -1
- data/lib/measures/AddMonthlyJSONUtilityData/measure.rb +3 -3
- data/lib/measures/AddMonthlyJSONUtilityData/measure.xml +12 -12
- data/lib/measures/AddMonthlyUtilityData/LICENSE.md +1 -1
- data/lib/measures/AddMonthlyUtilityData/measure.xml +29 -29
- data/lib/measures/CalibrationReports/LICENSE.md +1 -1
- data/lib/measures/CalibrationReports/README.md +2 -2
- data/lib/measures/CalibrationReports/measure.rb +1 -3
- data/lib/measures/CalibrationReports/measure.xml +41 -42
- data/lib/measures/CalibrationReportsEnhanced/LICENSE.md +1 -1
- data/lib/measures/CalibrationReportsEnhanced/measure.rb +21 -22
- data/lib/measures/CalibrationReportsEnhanced/measure.xml +41 -41
- data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb +12 -12
- data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml +14 -14
- data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb +12 -12
- data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml +14 -14
- data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb +21 -23
- data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml +14 -14
- data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb +21 -23
- data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml +14 -14
- data/lib/measures/CoilCoolingWaterMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingWaterMultiplier/measure.rb +33 -43
- data/lib/measures/CoilCoolingWaterMultiplier/measure.xml +14 -14
- data/lib/measures/CoilCoolingWaterPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingWaterPercentChange/measure.rb +33 -43
- data/lib/measures/CoilCoolingWaterPercentChange/measure.xml +14 -14
- data/lib/measures/CoilHeatingElectricMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingElectricMultiplier/measure.rb +8 -8
- data/lib/measures/CoilHeatingElectricMultiplier/measure.xml +14 -14
- data/lib/measures/CoilHeatingElectricPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingElectricPercentChange/measure.rb +8 -8
- data/lib/measures/CoilHeatingElectricPercentChange/measure.xml +14 -14
- data/lib/measures/CoilHeatingGasMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingGasMultiplier/measure.rb +8 -8
- data/lib/measures/CoilHeatingGasMultiplier/measure.xml +14 -14
- data/lib/measures/CoilHeatingGasPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingGasPercentChange/measure.rb +8 -8
- data/lib/measures/CoilHeatingGasPercentChange/measure.xml +14 -14
- data/lib/measures/CoilHeatingWaterMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingWaterMultiplier/measure.rb +13 -15
- data/lib/measures/CoilHeatingWaterMultiplier/measure.xml +14 -14
- data/lib/measures/CoilHeatingWaterPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingWaterPercentChange/measure.rb +13 -15
- data/lib/measures/CoilHeatingWaterPercentChange/measure.xml +14 -14
- data/lib/measures/ConstructionLayerZeroMaterialProperties/LICENSE.md +1 -1
- data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb +4 -4
- data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml +12 -12
- data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/LICENSE.md +1 -1
- data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.xml +11 -11
- data/lib/measures/ExteriorWallThermalPropertiesMultiplier/LICENSE.md +1 -1
- data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb +8 -5
- data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml +18 -18
- data/lib/measures/ExteriorWallThermalPropertiesPercentChange/LICENSE.md +1 -1
- data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb +8 -5
- data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml +18 -18
- data/lib/measures/FansMultiplier/LICENSE.md +1 -1
- data/lib/measures/FansMultiplier/measure.rb +8 -8
- data/lib/measures/FansMultiplier/measure.xml +14 -14
- data/lib/measures/FansPercentChange/LICENSE.md +1 -1
- data/lib/measures/FansPercentChange/measure.rb +8 -8
- data/lib/measures/FansPercentChange/measure.xml +14 -14
- data/lib/measures/GeneralCalibrationMeasureMultiplier/LICENSE.md +1 -1
- data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb +2 -2
- data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml +16 -16
- data/lib/measures/GeneralCalibrationMeasurePercentChange/LICENSE.md +1 -1
- data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb +2 -2
- data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml +16 -16
- data/lib/measures/HardSizeHvac/LICENSE.md +1 -1
- data/lib/measures/HardSizeHvac/measure.rb +2 -4
- data/lib/measures/HardSizeHvac/measure.xml +19 -19
- data/lib/measures/RValueOfInsulationForConstructionMultiplier/LICENSE.md +1 -1
- data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb +7 -9
- data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml +12 -12
- data/lib/measures/RValueOfInsulationForConstructionPercentageChange/LICENSE.md +1 -1
- data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb +7 -9
- data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml +12 -12
- data/lib/measures/RoofThermalPropertiesMultiplier/LICENSE.md +1 -1
- data/lib/measures/RoofThermalPropertiesMultiplier/measure.rb +8 -5
- data/lib/measures/RoofThermalPropertiesMultiplier/measure.xml +18 -18
- data/lib/measures/RoofThermalPropertiesPercentChange/LICENSE.md +1 -1
- data/lib/measures/RoofThermalPropertiesPercentChange/measure.rb +8 -5
- data/lib/measures/RoofThermalPropertiesPercentChange/measure.xml +18 -18
- data/lib/measures/TimeseriesObjectiveFunction/LICENSE.md +1 -1
- data/lib/measures/TimeseriesObjectiveFunction/measure.rb +26 -23
- data/lib/measures/TimeseriesObjectiveFunction/measure.xml +11 -16
- data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +3 -0
- data/lib/measures/TimeseriesPlot/LICENSE.md +1 -1
- data/lib/measures/TimeseriesPlot/measure.rb +1 -3
- data/lib/measures/TimeseriesPlot/measure.xml +13 -13
- data/lib/measures/TimeseriesPlot/resources/report.html.erb +3 -0
- data/lib/measures/WaterHeaterMixedMultiplier/LICENSE.md +1 -1
- data/lib/measures/WaterHeaterMixedMultiplier/measure.rb +17 -22
- data/lib/measures/WaterHeaterMixedMultiplier/measure.xml +14 -14
- data/lib/measures/WaterHeaterMixedPercentChange/LICENSE.md +1 -1
- data/lib/measures/WaterHeaterMixedPercentChange/measure.rb +17 -22
- data/lib/measures/WaterHeaterMixedPercentChange/measure.xml +14 -14
- data/lib/measures/inspect_and_edit_parametric_schedules/LICENSE.md +1 -1
- data/lib/measures/inspect_and_edit_parametric_schedules/measure.rb +13 -11
- data/lib/measures/inspect_and_edit_parametric_schedules/measure.xml +29 -29
- data/lib/measures/shift_hours_of_operation/LICENSE.md +1 -1
- data/lib/measures/shift_hours_of_operation/measure.rb +31 -29
- data/lib/measures/shift_hours_of_operation/measure.xml +51 -37
- data/lib/openstudio/calibration/version.rb +1 -1
- data/openstudio-calibration.gemspec +12 -6
- metadata +55 -13
@@ -71,6 +71,7 @@ class CoilCoolingWaterMultiplier < OpenStudio::Measure::ModelMeasure
|
|
71
71
|
components = value.supplyComponents
|
72
72
|
components.each do |component|
|
73
73
|
next if component.to_CoilCoolingWater.empty?
|
74
|
+
|
74
75
|
show_loop = true
|
75
76
|
loop_handles << component.handle.to_s
|
76
77
|
loop_display_names << component.name.to_s
|
@@ -213,69 +214,58 @@ class CoilCoolingWaterMultiplier < OpenStudio::Measure::ModelMeasure
|
|
213
214
|
coils.each do |coil|
|
214
215
|
altered_coil = false
|
215
216
|
# design_air_flow_rate
|
216
|
-
if design_air_flow_rate != 1.0
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
altered_coil = true
|
222
|
-
end
|
217
|
+
if design_air_flow_rate != 1.0 && coil.designAirFlowRate.is_initialized
|
218
|
+
runner.registerInfo("Applying designAirFlowRate #{design_air_flow_rate}x multiplier to #{coil.name.get}.")
|
219
|
+
coil.setDesignAirFlowRate(coil.designAirFlowRate.get * design_air_flow_rate)
|
220
|
+
altered_capacity << coil.handle.to_s
|
221
|
+
altered_coil = true
|
223
222
|
end
|
224
223
|
|
225
224
|
# modify design_water_flow_rate
|
226
|
-
if design_water_flow_rate != 1.0
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
altered_coil = true
|
232
|
-
end
|
225
|
+
if design_water_flow_rate != 1.0 && coil.designWaterFlowRate.is_initialized
|
226
|
+
runner.registerInfo("Applying designWaterFlowRate #{design_water_flow_rate}x multiplier to #{coil.name.get}.")
|
227
|
+
coil.setDesignWaterFlowRate(coil.designWaterFlowRate.get * design_water_flow_rate)
|
228
|
+
altered_coilefficiency << coil.handle.to_s
|
229
|
+
altered_coil = true
|
233
230
|
end
|
234
231
|
|
235
232
|
# design_inlet_air_temperature
|
236
|
-
if design_inlet_air_temperature != 1.0
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
altered_coil = true
|
242
|
-
end
|
233
|
+
if design_inlet_air_temperature != 1.0 && coil.designInletAirTemperature.is_initialized
|
234
|
+
runner.registerInfo("Applying designInletAirTemperature #{design_inlet_air_temperature}x multiplier to #{coil.name.get}.")
|
235
|
+
coil.setDesignInletAirTemperature(coil.designInletAirTemperature.get * design_inlet_air_temperature)
|
236
|
+
altered_capacity << coil.handle.to_s
|
237
|
+
altered_coil = true
|
243
238
|
end
|
244
239
|
|
245
240
|
# modify design_inlet_water_temperature
|
246
|
-
if design_inlet_water_temperature != 1.0
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
altered_coil = true
|
252
|
-
end
|
241
|
+
if design_inlet_water_temperature != 1.0 && coil.designInletWaterTemperature.is_initialized
|
242
|
+
runner.registerInfo("Applying designInletWaterTemperature #{design_inlet_water_temperature}x multiplier to #{coil.name.get}.")
|
243
|
+
coil.setDesignInletWaterTemperature(coil.designInletWaterTemperature.get * design_inlet_water_temperature)
|
244
|
+
altered_coilefficiency << coil.handle.to_s
|
245
|
+
altered_coil = true
|
253
246
|
end
|
254
247
|
|
255
248
|
# design_inlet_air_humidity_ratio
|
256
|
-
if design_inlet_air_humidity_ratio != 1.0
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
altered_coil = true
|
262
|
-
end
|
249
|
+
if design_inlet_air_humidity_ratio != 1.0 && coil.designInletAirHumidityRatio.is_initialized
|
250
|
+
runner.registerInfo("Applying designInletAirHumidityRatio #{design_inlet_air_humidity_ratio}x multiplier to #{coil.name.get}.")
|
251
|
+
coil.setDesignInletAirHumidityRatio(coil.designInletAirHumidityRatio.get * design_inlet_air_humidity_ratio)
|
252
|
+
altered_capacity << coil.handle.to_s
|
253
|
+
altered_coil = true
|
263
254
|
end
|
264
255
|
|
265
256
|
# modify design_outlet_air_temperature
|
266
|
-
if design_outlet_air_temperature != 1.0
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
altered_coil = true
|
272
|
-
end
|
257
|
+
if design_outlet_air_temperature != 1.0 && coil.designOutletAirTemperature.is_initialized
|
258
|
+
runner.registerInfo("Applying designOutletAirTemperature #{design_outlet_air_temperature}x multiplier to #{coil.name.get}.")
|
259
|
+
coil.setDesignOutletAirTemperature(coil.designOutletAirTemperature.get * design_outlet_air_temperature)
|
260
|
+
altered_coilefficiency << coil.handle.to_s
|
261
|
+
altered_coil = true
|
273
262
|
end
|
274
263
|
next unless altered_coil
|
264
|
+
|
275
265
|
altered_coils << coil.handle.to_s
|
276
266
|
change_name(coil, design_water_flow_rate, design_air_flow_rate, design_inlet_water_temperature, design_inlet_air_temperature, design_outlet_air_temperature, design_inlet_air_humidity_ratio)
|
277
267
|
runner.registerInfo("coil name changed to: #{coil.name.get}")
|
278
|
-
end
|
268
|
+
end
|
279
269
|
|
280
270
|
# na if nothing in model to look at
|
281
271
|
if altered_coils.empty?
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<measure>
|
3
|
-
<schema_version>3.
|
3
|
+
<schema_version>3.1</schema_version>
|
4
4
|
<name>coil_cooling_water_multiplier</name>
|
5
5
|
<uid>0fb42580-a644-4291-9a08-05521a6e7940</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>0891c8f9-60bf-42f2-a9de-1dd90224bfb0</version_id>
|
7
|
+
<version_modified>2024-11-16T23:44:49Z</version_modified>
|
8
8
|
<xml_checksum>8CBDDA1B</xml_checksum>
|
9
9
|
<class_name>CoilCoolingWaterMultiplier</class_name>
|
10
10
|
<display_name>Cooling Coils Water Multiplier</display_name>
|
@@ -17,10 +17,10 @@
|
|
17
17
|
<type>Choice</type>
|
18
18
|
<required>true</required>
|
19
19
|
<model_dependent>false</model_dependent>
|
20
|
-
<default_value>{
|
20
|
+
<default_value>{361898b3-4c80-4f20-bff4-296675ed448d}</default_value>
|
21
21
|
<choices>
|
22
22
|
<choice>
|
23
|
-
<value>{
|
23
|
+
<value>{361898b3-4c80-4f20-bff4-296675ed448d}</value>
|
24
24
|
<display_name>*All Water Cooling Coils*</display_name>
|
25
25
|
</choice>
|
26
26
|
<choice>
|
@@ -98,10 +98,10 @@
|
|
98
98
|
</attributes>
|
99
99
|
<files>
|
100
100
|
<file>
|
101
|
-
<filename>
|
102
|
-
<filetype>
|
103
|
-
<usage_type>
|
104
|
-
<checksum>
|
101
|
+
<filename>LICENSE.md</filename>
|
102
|
+
<filetype>md</filetype>
|
103
|
+
<usage_type>license</usage_type>
|
104
|
+
<checksum>8696A072</checksum>
|
105
105
|
</file>
|
106
106
|
<file>
|
107
107
|
<filename>README.md</filename>
|
@@ -110,10 +110,10 @@
|
|
110
110
|
<checksum>3C509F3A</checksum>
|
111
111
|
</file>
|
112
112
|
<file>
|
113
|
-
<filename>
|
114
|
-
<filetype>
|
115
|
-
<usage_type>
|
116
|
-
<checksum>
|
113
|
+
<filename>README.md.erb</filename>
|
114
|
+
<filetype>erb</filetype>
|
115
|
+
<usage_type>readmeerb</usage_type>
|
116
|
+
<checksum>703C9964</checksum>
|
117
117
|
</file>
|
118
118
|
<file>
|
119
119
|
<version>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
<filename>measure.rb</filename>
|
125
125
|
<filetype>rb</filetype>
|
126
126
|
<usage_type>script</usage_type>
|
127
|
-
<checksum>
|
127
|
+
<checksum>D4395EC8</checksum>
|
128
128
|
</file>
|
129
129
|
</files>
|
130
130
|
</measure>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -64,6 +64,7 @@ class CoilCoolingWaterPercentChange < OpenStudio::Measure::ModelMeasure
|
|
64
64
|
components = value.supplyComponents
|
65
65
|
components.each do |component|
|
66
66
|
next if component.to_CoilCoolingWater.empty?
|
67
|
+
|
67
68
|
show_loop = true
|
68
69
|
loop_handles << component.handle.to_s
|
69
70
|
loop_display_names << component.name.to_s
|
@@ -200,69 +201,58 @@ class CoilCoolingWaterPercentChange < OpenStudio::Measure::ModelMeasure
|
|
200
201
|
coils.each do |coil|
|
201
202
|
altered_coil = false
|
202
203
|
# design_air_flow_rate
|
203
|
-
if design_air_flow_rate != 1.0
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
altered_coil = true
|
209
|
-
end
|
204
|
+
if design_air_flow_rate != 1.0 && coil.designAirFlowRate.is_initialized
|
205
|
+
runner.registerInfo("Applying designAirFlowRate #{design_air_flow_rate} PercentChange to #{coil.name.get}.")
|
206
|
+
coil.setDesignAirFlowRate(coil.designAirFlowRate.get + coil.designAirFlowRate.get * design_air_flow_rate * 0.01)
|
207
|
+
altered_capacity << coil.handle.to_s
|
208
|
+
altered_coil = true
|
210
209
|
end
|
211
210
|
|
212
211
|
# modify design_water_flow_rate
|
213
|
-
if design_water_flow_rate != 1.0
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
altered_coil = true
|
219
|
-
end
|
212
|
+
if design_water_flow_rate != 1.0 && coil.designWaterFlowRate.is_initialized
|
213
|
+
runner.registerInfo("Applying designWaterFlowRate #{design_water_flow_rate} PercentChange to #{coil.name.get}.")
|
214
|
+
coil.setDesignWaterFlowRate(coil.designWaterFlowRate.get + coil.designWaterFlowRate.get * design_water_flow_rate * 0.01)
|
215
|
+
altered_coilefficiency << coil.handle.to_s
|
216
|
+
altered_coil = true
|
220
217
|
end
|
221
218
|
|
222
219
|
# design_inlet_air_temperature
|
223
|
-
if design_inlet_air_temperature != 1.0
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
altered_coil = true
|
229
|
-
end
|
220
|
+
if design_inlet_air_temperature != 1.0 && coil.designInletAirTemperature.is_initialized
|
221
|
+
runner.registerInfo("Applying designInletAirTemperature #{design_inlet_air_temperature} PercentChange to #{coil.name.get}.")
|
222
|
+
coil.setDesignInletAirTemperature(coil.designInletAirTemperature.get + coil.designInletAirTemperature.get * design_inlet_air_temperature * 0.01)
|
223
|
+
altered_capacity << coil.handle.to_s
|
224
|
+
altered_coil = true
|
230
225
|
end
|
231
226
|
|
232
227
|
# modify design_inlet_water_temperature
|
233
|
-
if design_inlet_water_temperature != 1.0
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
altered_coil = true
|
239
|
-
end
|
228
|
+
if design_inlet_water_temperature != 1.0 && coil.designInletWaterTemperature.is_initialized
|
229
|
+
runner.registerInfo("Applying designInletWaterTemperature #{design_inlet_water_temperature} PercentChange to #{coil.name.get}.")
|
230
|
+
coil.setDesignInletWaterTemperature(coil.designInletWaterTemperature.get + coil.designInletWaterTemperature.get * design_inlet_water_temperature * 0.01)
|
231
|
+
altered_coilefficiency << coil.handle.to_s
|
232
|
+
altered_coil = true
|
240
233
|
end
|
241
234
|
|
242
235
|
# design_inlet_air_humidity_ratio
|
243
|
-
if design_inlet_air_humidity_ratio != 1.0
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
altered_coil = true
|
249
|
-
end
|
236
|
+
if design_inlet_air_humidity_ratio != 1.0 && coil.designInletAirHumidityRatio.is_initialized
|
237
|
+
runner.registerInfo("Applying designInletAirHumidityRatio #{design_inlet_air_humidity_ratio} PercentChange to #{coil.name.get}.")
|
238
|
+
coil.setDesignInletAirHumidityRatio(coil.designInletAirHumidityRatio.get + coil.designInletAirHumidityRatio.get * design_inlet_air_humidity_ratio * 0.01)
|
239
|
+
altered_capacity << coil.handle.to_s
|
240
|
+
altered_coil = true
|
250
241
|
end
|
251
242
|
|
252
243
|
# modify design_outlet_air_temperature
|
253
|
-
if design_outlet_air_temperature != 1.0
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
altered_coil = true
|
259
|
-
end
|
244
|
+
if design_outlet_air_temperature != 1.0 && coil.designOutletAirTemperature.is_initialized
|
245
|
+
runner.registerInfo("Applying designOutletAirTemperature #{design_outlet_air_temperature} PercentChange to #{coil.name.get}.")
|
246
|
+
coil.setDesignOutletAirTemperature(coil.designOutletAirTemperature.get + coil.designOutletAirTemperature.get * design_outlet_air_temperature * 0.01)
|
247
|
+
altered_coilefficiency << coil.handle.to_s
|
248
|
+
altered_coil = true
|
260
249
|
end
|
261
250
|
next unless altered_coil
|
251
|
+
|
262
252
|
altered_coils << coil.handle.to_s
|
263
253
|
change_name(coil, design_water_flow_rate, design_air_flow_rate, design_inlet_water_temperature, design_inlet_air_temperature, design_outlet_air_temperature, design_inlet_air_humidity_ratio)
|
264
254
|
runner.registerInfo("coil name changed to: #{coil.name.get}")
|
265
|
-
end
|
255
|
+
end
|
266
256
|
|
267
257
|
# na if nothing in model to look at
|
268
258
|
if altered_coils.empty?
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<measure>
|
3
|
-
<schema_version>3.
|
3
|
+
<schema_version>3.1</schema_version>
|
4
4
|
<name>coil_cooling_water_percent_change</name>
|
5
5
|
<uid>51bc1f02-f01b-4c5e-818a-db76ed783665</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>9c856608-c6f6-486d-88e2-563c60f0c3b7</version_id>
|
7
|
+
<version_modified>2024-11-16T23:44:49Z</version_modified>
|
8
8
|
<xml_checksum>8CBDDA1B</xml_checksum>
|
9
9
|
<class_name>CoilCoolingWaterPercentChange</class_name>
|
10
10
|
<display_name>Cooling Coils Water PercentChange</display_name>
|
@@ -17,10 +17,10 @@
|
|
17
17
|
<type>Choice</type>
|
18
18
|
<required>true</required>
|
19
19
|
<model_dependent>false</model_dependent>
|
20
|
-
<default_value>{
|
20
|
+
<default_value>{49c2f66b-6ec8-45fa-956e-06547f6b888c}</default_value>
|
21
21
|
<choices>
|
22
22
|
<choice>
|
23
|
-
<value>{
|
23
|
+
<value>{49c2f66b-6ec8-45fa-956e-06547f6b888c}</value>
|
24
24
|
<display_name>*All Water Cooling Coils*</display_name>
|
25
25
|
</choice>
|
26
26
|
<choice>
|
@@ -98,10 +98,10 @@
|
|
98
98
|
</attributes>
|
99
99
|
<files>
|
100
100
|
<file>
|
101
|
-
<filename>
|
102
|
-
<filetype>
|
103
|
-
<usage_type>
|
104
|
-
<checksum>
|
101
|
+
<filename>LICENSE.md</filename>
|
102
|
+
<filetype>md</filetype>
|
103
|
+
<usage_type>license</usage_type>
|
104
|
+
<checksum>8696A072</checksum>
|
105
105
|
</file>
|
106
106
|
<file>
|
107
107
|
<filename>README.md</filename>
|
@@ -110,10 +110,10 @@
|
|
110
110
|
<checksum>3544B376</checksum>
|
111
111
|
</file>
|
112
112
|
<file>
|
113
|
-
<filename>
|
114
|
-
<filetype>
|
115
|
-
<usage_type>
|
116
|
-
<checksum>
|
113
|
+
<filename>README.md.erb</filename>
|
114
|
+
<filetype>erb</filetype>
|
115
|
+
<usage_type>readmeerb</usage_type>
|
116
|
+
<checksum>703C9964</checksum>
|
117
117
|
</file>
|
118
118
|
<file>
|
119
119
|
<version>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
<filename>measure.rb</filename>
|
125
125
|
<filetype>rb</filetype>
|
126
126
|
<usage_type>script</usage_type>
|
127
|
-
<checksum>
|
127
|
+
<checksum>902E3CC4</checksum>
|
128
128
|
</file>
|
129
129
|
</files>
|
130
130
|
</measure>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -59,6 +59,7 @@ class CoilHeatingElectricMultiplier < OpenStudio::Measure::ModelMeasure
|
|
59
59
|
components = value.supplyComponents
|
60
60
|
components.each do |component|
|
61
61
|
next if component.to_CoilHeatingGas.empty?
|
62
|
+
|
62
63
|
show_loop = true
|
63
64
|
loop_handles << component.handle.to_s
|
64
65
|
loop_display_names << component.name.to_s
|
@@ -165,13 +166,11 @@ class CoilHeatingElectricMultiplier < OpenStudio::Measure::ModelMeasure
|
|
165
166
|
coils.each do |coil|
|
166
167
|
altered_coil = false
|
167
168
|
# coil_capacity_multiplier
|
168
|
-
if coil_capacity_multiplier != 1.0
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
altered_coil = true
|
174
|
-
end
|
169
|
+
if coil_capacity_multiplier != 1.0 && coil.nominalCapacity.is_initialized
|
170
|
+
runner.registerInfo("Applying nominalCapacity #{coil_capacity_multiplier}x multiplier to #{coil.name.get}.")
|
171
|
+
coil.setNominalCapacity(coil.nominalCapacity.get * coil_capacity_multiplier)
|
172
|
+
altered_capacity << coil.handle.to_s
|
173
|
+
altered_coil = true
|
175
174
|
end
|
176
175
|
|
177
176
|
# modify coil_efficiency_multiplier
|
@@ -188,10 +187,11 @@ class CoilHeatingElectricMultiplier < OpenStudio::Measure::ModelMeasure
|
|
188
187
|
end
|
189
188
|
|
190
189
|
next unless altered_coil
|
190
|
+
|
191
191
|
altered_coils << coil.handle.to_s
|
192
192
|
change_name(coil, coil_efficiency_multiplier, coil_capacity_multiplier)
|
193
193
|
runner.registerInfo("coil name changed to: #{coil.name.get}")
|
194
|
-
end
|
194
|
+
end
|
195
195
|
|
196
196
|
# na if nothing in model to look at
|
197
197
|
if altered_coils.empty?
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<measure>
|
3
|
-
<schema_version>3.
|
3
|
+
<schema_version>3.1</schema_version>
|
4
4
|
<name>coil_heating_electric_multiplier</name>
|
5
5
|
<uid>122e854c-d939-4bea-822a-89f2a5584a01</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>a1be9710-f0e9-45a4-b025-3a6d11747cd6</version_id>
|
7
|
+
<version_modified>2024-11-16T23:44:47Z</version_modified>
|
8
8
|
<xml_checksum>1F3D2430</xml_checksum>
|
9
9
|
<class_name>CoilHeatingElectricMultiplier</class_name>
|
10
10
|
<display_name>Heating Coils Electric Multiplier</display_name>
|
@@ -17,10 +17,10 @@
|
|
17
17
|
<type>Choice</type>
|
18
18
|
<required>true</required>
|
19
19
|
<model_dependent>false</model_dependent>
|
20
|
-
<default_value>{
|
20
|
+
<default_value>{d7884f70-8abc-470a-a1aa-ba304d7a3a24}</default_value>
|
21
21
|
<choices>
|
22
22
|
<choice>
|
23
|
-
<value>{
|
23
|
+
<value>{d7884f70-8abc-470a-a1aa-ba304d7a3a24}</value>
|
24
24
|
<display_name>*All Electric Heating Coils*</display_name>
|
25
25
|
</choice>
|
26
26
|
<choice>
|
@@ -62,10 +62,10 @@
|
|
62
62
|
</attributes>
|
63
63
|
<files>
|
64
64
|
<file>
|
65
|
-
<filename>
|
66
|
-
<filetype>
|
67
|
-
<usage_type>
|
68
|
-
<checksum>
|
65
|
+
<filename>LICENSE.md</filename>
|
66
|
+
<filetype>md</filetype>
|
67
|
+
<usage_type>license</usage_type>
|
68
|
+
<checksum>8696A072</checksum>
|
69
69
|
</file>
|
70
70
|
<file>
|
71
71
|
<filename>README.md</filename>
|
@@ -74,10 +74,10 @@
|
|
74
74
|
<checksum>7C069839</checksum>
|
75
75
|
</file>
|
76
76
|
<file>
|
77
|
-
<filename>
|
78
|
-
<filetype>
|
79
|
-
<usage_type>
|
80
|
-
<checksum>
|
77
|
+
<filename>README.md.erb</filename>
|
78
|
+
<filetype>erb</filetype>
|
79
|
+
<usage_type>readmeerb</usage_type>
|
80
|
+
<checksum>703C9964</checksum>
|
81
81
|
</file>
|
82
82
|
<file>
|
83
83
|
<version>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
<filename>measure.rb</filename>
|
89
89
|
<filetype>rb</filetype>
|
90
90
|
<usage_type>script</usage_type>
|
91
|
-
<checksum>
|
91
|
+
<checksum>D0A71B8C</checksum>
|
92
92
|
</file>
|
93
93
|
</files>
|
94
94
|
</measure>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -52,6 +52,7 @@ class CoilHeatingElectricPercentChange < OpenStudio::Measure::ModelMeasure
|
|
52
52
|
components = value.supplyComponents
|
53
53
|
components.each do |component|
|
54
54
|
next if component.to_CoilHeatingElectric.empty?
|
55
|
+
|
55
56
|
show_loop = true
|
56
57
|
loop_handles << component.handle.to_s
|
57
58
|
loop_display_names << component.name.to_s
|
@@ -156,13 +157,11 @@ class CoilHeatingElectricPercentChange < OpenStudio::Measure::ModelMeasure
|
|
156
157
|
coils.each do |coil|
|
157
158
|
altered_coil = false
|
158
159
|
# coil_capacity_perc_change
|
159
|
-
if coil_capacity_perc_change != 0.0
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
altered_coil = true
|
165
|
-
end
|
160
|
+
if coil_capacity_perc_change != 0.0 && coil.nominalCapacity.is_initialized
|
161
|
+
runner.registerInfo("Applying nominalCapacity #{coil_capacity_perc_change} Percent Change to #{coil.name.get}.")
|
162
|
+
coil.setNominalCapacity(coil.nominalCapacity.get + coil.nominalCapacity.get * coil_capacity_perc_change * 0.01)
|
163
|
+
altered_capacity << coil.handle.to_s
|
164
|
+
altered_coil = true
|
166
165
|
end
|
167
166
|
|
168
167
|
# modify coil_efficiency_perc_change
|
@@ -179,10 +178,11 @@ class CoilHeatingElectricPercentChange < OpenStudio::Measure::ModelMeasure
|
|
179
178
|
end
|
180
179
|
|
181
180
|
next unless altered_coil
|
181
|
+
|
182
182
|
altered_coils << coil.handle.to_s
|
183
183
|
change_name(coil, coil_efficiency_perc_change, coil_capacity_perc_change)
|
184
184
|
runner.registerInfo("coil name changed to: #{coil.name.get}")
|
185
|
-
end
|
185
|
+
end
|
186
186
|
|
187
187
|
# na if nothing in model to look at
|
188
188
|
if altered_coils.empty?
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<measure>
|
3
|
-
<schema_version>3.
|
3
|
+
<schema_version>3.1</schema_version>
|
4
4
|
<name>coil_heating_electric_percent_change</name>
|
5
5
|
<uid>7c681481-16d2-4a8e-b0a3-71a86639f53a</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>ad31a8b3-c117-4052-bf96-c9680d99260b</version_id>
|
7
|
+
<version_modified>2024-11-16T23:44:47Z</version_modified>
|
8
8
|
<xml_checksum>1F3D2430</xml_checksum>
|
9
9
|
<class_name>CoilHeatingElectricPercentChange</class_name>
|
10
10
|
<display_name>Heating Coils Electric Percent Change</display_name>
|
@@ -17,10 +17,10 @@
|
|
17
17
|
<type>Choice</type>
|
18
18
|
<required>true</required>
|
19
19
|
<model_dependent>false</model_dependent>
|
20
|
-
<default_value>{
|
20
|
+
<default_value>{c10df945-8e68-4c68-930e-06771c0b7ffd}</default_value>
|
21
21
|
<choices>
|
22
22
|
<choice>
|
23
|
-
<value>{
|
23
|
+
<value>{c10df945-8e68-4c68-930e-06771c0b7ffd}</value>
|
24
24
|
<display_name>*All Electric Heating Coils*</display_name>
|
25
25
|
</choice>
|
26
26
|
<choice>
|
@@ -62,10 +62,10 @@
|
|
62
62
|
</attributes>
|
63
63
|
<files>
|
64
64
|
<file>
|
65
|
-
<filename>
|
66
|
-
<filetype>
|
67
|
-
<usage_type>
|
68
|
-
<checksum>
|
65
|
+
<filename>LICENSE.md</filename>
|
66
|
+
<filetype>md</filetype>
|
67
|
+
<usage_type>license</usage_type>
|
68
|
+
<checksum>8696A072</checksum>
|
69
69
|
</file>
|
70
70
|
<file>
|
71
71
|
<filename>README.md</filename>
|
@@ -74,10 +74,10 @@
|
|
74
74
|
<checksum>25C522C0</checksum>
|
75
75
|
</file>
|
76
76
|
<file>
|
77
|
-
<filename>
|
78
|
-
<filetype>
|
79
|
-
<usage_type>
|
80
|
-
<checksum>
|
77
|
+
<filename>README.md.erb</filename>
|
78
|
+
<filetype>erb</filetype>
|
79
|
+
<usage_type>readmeerb</usage_type>
|
80
|
+
<checksum>703C9964</checksum>
|
81
81
|
</file>
|
82
82
|
<file>
|
83
83
|
<version>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
<filename>measure.rb</filename>
|
89
89
|
<filetype>rb</filetype>
|
90
90
|
<usage_type>script</usage_type>
|
91
|
-
<checksum>
|
91
|
+
<checksum>47B0CA97</checksum>
|
92
92
|
</file>
|
93
93
|
</files>
|
94
94
|
</measure>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -65,6 +65,7 @@ class CoilHeatingGasMultiplier < OpenStudio::Measure::ModelMeasure
|
|
65
65
|
components = value.supplyComponents
|
66
66
|
components.each do |component|
|
67
67
|
next if component.to_CoilHeatingGas.empty?
|
68
|
+
|
68
69
|
show_loop = true
|
69
70
|
loop_handles << component.handle.to_s
|
70
71
|
loop_display_names << component.name.to_s
|
@@ -191,13 +192,11 @@ class CoilHeatingGasMultiplier < OpenStudio::Measure::ModelMeasure
|
|
191
192
|
coils.each do |coil|
|
192
193
|
altered_coil = false
|
193
194
|
# coil_capacity_multiplier
|
194
|
-
if coil_capacity_multiplier != 1.0
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
altered_coil = true
|
200
|
-
end
|
195
|
+
if coil_capacity_multiplier != 1.0 && coil.nominalCapacity.is_initialized
|
196
|
+
runner.registerInfo("Applying nominalCapacity #{coil_capacity_multiplier}x multiplier to #{coil.name.get}.")
|
197
|
+
coil.setNominalCapacity(coil.nominalCapacity.get * coil_capacity_multiplier)
|
198
|
+
altered_capacity << coil.handle.to_s
|
199
|
+
altered_coil = true
|
201
200
|
end
|
202
201
|
|
203
202
|
# modify coil_efficiency_multiplier
|
@@ -230,10 +229,11 @@ class CoilHeatingGasMultiplier < OpenStudio::Measure::ModelMeasure
|
|
230
229
|
end
|
231
230
|
|
232
231
|
next unless altered_coil
|
232
|
+
|
233
233
|
altered_coils << coil.handle.to_s
|
234
234
|
change_name(coil, coil_parasitic_gas_multiplier, coil_efficiency_multiplier, coil_parasitic_electric_multiplier, coil_capacity_multiplier)
|
235
235
|
runner.registerInfo("coil name changed to: #{coil.name.get}")
|
236
|
-
end
|
236
|
+
end
|
237
237
|
|
238
238
|
# na if nothing in model to look at
|
239
239
|
if altered_coils.empty?
|