openstudio-common-measures 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test_with_openstudio.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +10 -5
- data/Jenkinsfile +1 -1
- data/README.md +1 -0
- data/lib/measures/.rubocop.yml +6 -0
- data/lib/measures/AddCostPerAreaToConstruction/measure.xml +21 -21
- data/lib/measures/AddCostPerFloorAreaToBuilding/measure.xml +25 -25
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.xml +21 -21
- data/lib/measures/AddCostPerFloorAreaToLights/measure.xml +21 -21
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +21 -21
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +24 -24
- data/lib/measures/AddCostperAreatoUnusedConstruction/measure.xml +21 -21
- data/lib/measures/AddExteriorLights/measure.xml +19 -19
- data/lib/measures/AddMeter/measure.xml +15 -15
- data/lib/measures/AddOutputDiagnostics/measure.xml +18 -18
- data/lib/measures/AddOutputVariable/measure.xml +15 -15
- data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +24 -24
- data/lib/measures/AddThermalComfortModelTypes/measure.xml +21 -21
- data/lib/measures/AdjustSystemEfficiencies/measure.xml +12 -12
- data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.xml +23 -23
- data/lib/measures/ChangeBuildingLocation/README.md +1 -1
- data/lib/measures/ChangeBuildingLocation/measure.rb +8 -13
- data/lib/measures/ChangeBuildingLocation/measure.xml +89 -89
- data/lib/measures/EnableIdealAirLoadsForAllZones/measure.xml +22 -22
- data/lib/measures/ExportScheduleCSV/measure.xml +29 -29
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +29 -29
- data/lib/measures/MeterFlodPlot/measure.xml +35 -35
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.xml +24 -24
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.xml +24 -24
- data/lib/measures/PredictedMeanVote/measure.xml +23 -23
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.xml +21 -21
- data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +19 -19
- data/lib/measures/ReplaceExteriorWindowConstruction/measure.xml +29 -29
- data/lib/measures/ReplaceModel/README.md +1 -3
- data/lib/measures/ReplaceModel/measure.xml +32 -14
- data/lib/measures/ReplaceThermostatSchedules/measure.xml +17 -17
- data/lib/measures/ReportModelChanges/measure.xml +23 -23
- data/lib/measures/RunPeriod/measure.xml +14 -14
- data/lib/measures/RunPeriodMultiple/measure.xml +12 -12
- data/lib/measures/ServerDirectoryCleanup/measure.xml +30 -30
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +23 -23
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +23 -23
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.xml +24 -24
- data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.xml +24 -24
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.xml +24 -24
- data/lib/measures/SetGasBurnerEfficiency/measure.xml +23 -23
- data/lib/measures/SetLifecycleCostParameters/measure.xml +15 -15
- data/lib/measures/SetLightingLoadsByLPD/measure.xml +35 -35
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.xml +25 -25
- data/lib/measures/SetThermostatSchedules/measure.xml +17 -17
- data/lib/measures/ShiftScheduleProfileTime/measure.xml +23 -23
- data/lib/measures/SwapLightsDefinition/measure.xml +25 -25
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +43 -43
- data/lib/measures/VentilationQAQC/measure.xml +31 -31
- data/lib/measures/XcelEDAReportingandQAQC/measure.xml +3 -3
- data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.xml +73 -73
- data/lib/measures/ZoneReport/measure.xml +35 -35
- data/lib/measures/add_ems_emissions_reporting/measure.rb +0 -2
- data/lib/measures/add_ems_emissions_reporting/measure.xml +23 -23
- data/lib/measures/add_ems_to_control_ev_charging/measure.rb +0 -2
- data/lib/measures/add_ems_to_control_ev_charging/measure.xml +21 -21
- data/lib/measures/add_ev_load/measure.xml +35 -35
- data/lib/measures/add_rooftop_pv/measure.rb +5 -7
- data/lib/measures/add_rooftop_pv/measure.xml +25 -25
- data/lib/measures/add_zone_mixing_object/measure.xml +19 -19
- data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.xml +21 -21
- data/lib/measures/air_wall_zone_mixing/measure.rb +4 -6
- data/lib/measures/air_wall_zone_mixing/measure.xml +27 -27
- data/lib/measures/create_csv_output/measure.xml +28 -28
- data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +0 -4
- data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +52 -52
- data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +1 -0
- data/lib/measures/example_report/measure.rb +2 -5
- data/lib/measures/example_report/measure.xml +41 -41
- data/lib/measures/example_report/resources/report.html.erb +1 -0
- data/lib/measures/gem_env_report/measure.xml +32 -32
- data/lib/measures/generic_qaqc/measure.rb +8 -15
- data/lib/measures/generic_qaqc/measure.xml +13 -13
- data/lib/measures/generic_qaqc/resources/check_air_sys_temps.rb +2 -2
- data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +4 -4
- data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +7 -5
- data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +2 -2
- data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +1 -1
- data/lib/measures/generic_qaqc/resources/check_plant_temps.rb +6 -6
- data/lib/measures/generic_qaqc/resources/check_schedules.rb +7 -7
- data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +5 -2
- data/lib/measures/generic_qaqc/resources/report.html.erb +1 -0
- data/lib/measures/get_site_from_building_component_library/measure.rb +4 -8
- data/lib/measures/get_site_from_building_component_library/measure.xml +28 -28
- data/lib/measures/hvac_psychrometric_chart/measure.xml +29 -29
- data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +1 -0
- data/lib/measures/inject_idf_objects/measure.xml +31 -31
- data/lib/measures/openstudio_results/measure.rb +2 -6
- data/lib/measures/openstudio_results/measure.xml +348 -360
- data/lib/measures/openstudio_results/resources/os_lib_reporting.rb +8 -8
- data/lib/measures/openstudio_results/resources/report.html.erb +1 -0
- data/lib/measures/remove_orphan_objects_and_unused_resources/measure.xml +24 -24
- data/lib/measures/set_electric_equipment_loads_by_epd/measure.xml +33 -33
- data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.xml +19 -19
- data/lib/measures/set_run_period/measure.xml +19 -19
- data/lib/measures/set_space_infiltration_per_exterior_area/measure.xml +22 -22
- data/lib/measures/shadow_calculation/measure.xml +18 -18
- data/lib/measures/tariff_selection_block/measure.rb +2 -5
- data/lib/measures/tariff_selection_block/measure.xml +25 -25
- data/lib/measures/tariff_selection_flat/measure.rb +3 -5
- data/lib/measures/tariff_selection_flat/measure.xml +25 -25
- data/lib/measures/tariff_selection_generic/measure.rb +2 -5
- data/lib/measures/tariff_selection_generic/measure.xml +39 -39
- data/lib/measures/tariff_selection_time_and_date_dependant/measure.rb +19 -15
- data/lib/measures/tariff_selection_time_and_date_dependant/measure.xml +37 -25
- data/lib/measures/view_data/measure.xml +41 -41
- data/lib/measures/view_model/measure.xml +35 -35
- data/lib/openstudio/common_measures/version.rb +1 -1
- data/openstudio-common-measures.gemspec +11 -4
- metadata +72 -15
@@ -719,7 +719,6 @@ module OsLib_Reporting
|
|
719
719
|
target_units = source_units
|
720
720
|
end
|
721
721
|
|
722
|
-
target_units = 'kBtu'
|
723
722
|
value = OpenStudio.convert(results.get, 'GJ', target_units).get
|
724
723
|
value_neat = OpenStudio.toNeatString(value, 0, true)
|
725
724
|
output_data_energy_use[:data] << [fuel_type, value_neat]
|
@@ -982,7 +981,7 @@ module OsLib_Reporting
|
|
982
981
|
# Constrol type and temperature range
|
983
982
|
setpoint = component.to_SetpointManagerScheduled.get
|
984
983
|
supply_air_temp_schedule = setpoint.schedule
|
985
|
-
schedule_values =
|
984
|
+
schedule_values = OpenstudioStandards::Schedules.schedule_get_min_max(supply_air_temp_schedule)
|
986
985
|
if schedule_values.nil?
|
987
986
|
schedule_values_pretty = "can't inspect schedule"
|
988
987
|
target_units = ''
|
@@ -1230,14 +1229,14 @@ module OsLib_Reporting
|
|
1230
1229
|
if thermal_zone.thermostatSetpointDualSetpoint.is_initialized
|
1231
1230
|
thermostat = thermal_zone.thermostatSetpointDualSetpoint.get
|
1232
1231
|
if thermostat.coolingSetpointTemperatureSchedule.is_initialized
|
1233
|
-
schedule_values =
|
1232
|
+
schedule_values = OpenstudioStandards::Schedules.schedule_get_min_max(thermostat.coolingSetpointTemperatureSchedule.get)
|
1234
1233
|
unless schedule_values.nil?
|
1235
1234
|
cooling_temp_ranges << schedule_values['min']
|
1236
1235
|
cooling_temp_ranges << schedule_values['max']
|
1237
1236
|
end
|
1238
1237
|
end
|
1239
1238
|
if thermostat.heatingSetpointTemperatureSchedule.is_initialized
|
1240
|
-
schedule_values =
|
1239
|
+
schedule_values = OpenstudioStandards::Schedules.schedule_get_min_max(thermostat.heatingSetpointTemperatureSchedule.get)
|
1241
1240
|
unless schedule_values.nil?
|
1242
1241
|
heating_temps_ranges << schedule_values['min']
|
1243
1242
|
heating_temps_ranges << schedule_values['max']
|
@@ -1717,19 +1716,20 @@ module OsLib_Reporting
|
|
1717
1716
|
if use_old_gem_code
|
1718
1717
|
shgc = construction_root.calculated_solar_heat_gain_coefficient
|
1719
1718
|
else
|
1720
|
-
shgc =
|
1719
|
+
shgc = OpenstudioStandards::Constructions.construction_get_solar_transmittance(construction_root)
|
1721
1720
|
end
|
1722
1721
|
shgc_neat = OpenStudio.toNeatString(shgc, n_decimals_rvalue, false)
|
1723
1722
|
if use_old_gem_code
|
1724
1723
|
vlt = construction_root.calculated_visible_transmittance
|
1725
1724
|
else
|
1726
|
-
vlt =
|
1725
|
+
vlt = OpenstudioStandards::Constructions.construction_get_visible_transmittance(construction_root)
|
1727
1726
|
end
|
1728
1727
|
vlt_neat = OpenStudio.toNeatString(vlt, n_decimals_rvalue, false)
|
1729
1728
|
if use_old_gem_code
|
1730
1729
|
u_factor = construction_root.calculated_u_factor
|
1731
1730
|
else
|
1732
|
-
|
1731
|
+
surface_construction = construction_root.to_LayeredConstruction.get
|
1732
|
+
u_factor = OpenstudioStandards::Constructions.construction_get_conductance(surface_construction)
|
1733
1733
|
end
|
1734
1734
|
ufactor_conv = OpenStudio.convert(u_factor, source_ufactor_units, target_ufactor_units).get
|
1735
1735
|
ufactor_neat = OpenStudio.toNeatString(ufactor_conv, n_decimals_rvalue, false)
|
@@ -1870,7 +1870,7 @@ module OsLib_Reporting
|
|
1870
1870
|
peak_flow_rate_neat = OpenStudio.toNeatString(peak_flow_rate_conv, n_decimals, true)
|
1871
1871
|
if water_use_equipment_def.targetTemperatureSchedule.is_initialized
|
1872
1872
|
target_temp_sch = water_use_equipment_def.targetTemperatureSchedule.get
|
1873
|
-
schedule_values =
|
1873
|
+
schedule_values = OpenstudioStandards::Schedules.schedule_get_min_max(target_temp_sch)
|
1874
1874
|
if !schedule_values.nil?
|
1875
1875
|
min_conv = OpenStudio.convert(schedule_values['min'], source_units_temp, target_units_temp).get
|
1876
1876
|
max_conv = OpenStudio.convert(schedule_values['max'], source_units_temp, target_units_temp).get
|
@@ -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>remove_orphan_objects_and_unused_resources</name>
|
5
5
|
<uid>c618f299-a245-49ce-a119-82eb54007ede</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>65cd4e9a-d035-423a-8a58-853a318d2cab</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:07Z</version_modified>
|
8
8
|
<xml_checksum>28AD5222</xml_checksum>
|
9
9
|
<class_name>RemoveOrphanObjectsAndUnusedResources</class_name>
|
10
10
|
<display_name>Remove Orphan Objects and Unused Resources</display_name>
|
@@ -143,16 +143,10 @@ A second functionality is to remove unused resources. This will include things l
|
|
143
143
|
</attributes>
|
144
144
|
<files>
|
145
145
|
<file>
|
146
|
-
<filename>
|
147
|
-
<filetype>
|
148
|
-
<usage_type>
|
149
|
-
<checksum>
|
150
|
-
</file>
|
151
|
-
<file>
|
152
|
-
<filename>1125_infil_test_a.osm</filename>
|
153
|
-
<filetype>osm</filetype>
|
154
|
-
<usage_type>test</usage_type>
|
155
|
-
<checksum>E8A821F1</checksum>
|
146
|
+
<filename>LICENSE.md</filename>
|
147
|
+
<filetype>md</filetype>
|
148
|
+
<usage_type>license</usage_type>
|
149
|
+
<checksum>BFFB1AA6</checksum>
|
156
150
|
</file>
|
157
151
|
<file>
|
158
152
|
<filename>README.md</filename>
|
@@ -161,16 +155,10 @@ A second functionality is to remove unused resources. This will include things l
|
|
161
155
|
<checksum>3D163369</checksum>
|
162
156
|
</file>
|
163
157
|
<file>
|
164
|
-
<filename>
|
165
|
-
<filetype>
|
166
|
-
<usage_type>
|
167
|
-
<checksum>
|
168
|
-
</file>
|
169
|
-
<file>
|
170
|
-
<filename>remove_orphan_objects_and_unused_resources_test.rb</filename>
|
171
|
-
<filetype>rb</filetype>
|
172
|
-
<usage_type>test</usage_type>
|
173
|
-
<checksum>A54B8567</checksum>
|
158
|
+
<filename>README.md.erb</filename>
|
159
|
+
<filetype>erb</filetype>
|
160
|
+
<usage_type>readmeerb</usage_type>
|
161
|
+
<checksum>703C9964</checksum>
|
174
162
|
</file>
|
175
163
|
<file>
|
176
164
|
<version>
|
@@ -181,7 +169,19 @@ A second functionality is to remove unused resources. This will include things l
|
|
181
169
|
<filename>measure.rb</filename>
|
182
170
|
<filetype>rb</filetype>
|
183
171
|
<usage_type>script</usage_type>
|
184
|
-
<checksum>
|
172
|
+
<checksum>F3D52604</checksum>
|
173
|
+
</file>
|
174
|
+
<file>
|
175
|
+
<filename>1125_infil_test_a.osm</filename>
|
176
|
+
<filetype>osm</filetype>
|
177
|
+
<usage_type>test</usage_type>
|
178
|
+
<checksum>E8A821F1</checksum>
|
179
|
+
</file>
|
180
|
+
<file>
|
181
|
+
<filename>remove_orphan_objects_and_unused_resources_test.rb</filename>
|
182
|
+
<filetype>rb</filetype>
|
183
|
+
<usage_type>test</usage_type>
|
184
|
+
<checksum>931450B4</checksum>
|
185
185
|
</file>
|
186
186
|
</files>
|
187
187
|
</measure>
|
@@ -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>set_electric_equipment_loads_by_epd</name>
|
5
5
|
<uid>b1d87b95-a6d1-4999-bd0d-16da879f4340</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>fbf62617-296b-4029-a917-c02257c9aab9</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:05Z</version_modified>
|
8
8
|
<xml_checksum>5C8B3381</xml_checksum>
|
9
9
|
<class_name>SetElectricEquipmentLoadsByEPD</class_name>
|
10
10
|
<display_name>Set Electric Equipment loads by EPD</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>{f4294201-a0fb-4eb7-b0f7-3fc09b56f7af}</default_value>
|
21
21
|
<choices>
|
22
22
|
<choice>
|
23
|
-
<value>{
|
23
|
+
<value>{f4294201-a0fb-4eb7-b0f7-3fc09b56f7af}</value>
|
24
24
|
<display_name>*Entire Building*</display_name>
|
25
25
|
</choice>
|
26
26
|
</choices>
|
@@ -147,28 +147,10 @@
|
|
147
147
|
</attributes>
|
148
148
|
<files>
|
149
149
|
<file>
|
150
|
-
<filename>
|
151
|
-
<filetype>
|
152
|
-
<usage_type>
|
153
|
-
<checksum>
|
154
|
-
</file>
|
155
|
-
<file>
|
156
|
-
<filename>EnvelopeAndLoadTestModel_01_Costed.osm</filename>
|
157
|
-
<filetype>osm</filetype>
|
158
|
-
<usage_type>test</usage_type>
|
159
|
-
<checksum>E025B7B3</checksum>
|
160
|
-
</file>
|
161
|
-
<file>
|
162
|
-
<filename>HasSpaceWithNoLightsOrElec.osm</filename>
|
163
|
-
<filetype>osm</filetype>
|
164
|
-
<usage_type>test</usage_type>
|
165
|
-
<checksum>ECE1D347</checksum>
|
166
|
-
</file>
|
167
|
-
<file>
|
168
|
-
<filename>README.md.erb</filename>
|
169
|
-
<filetype>erb</filetype>
|
170
|
-
<usage_type>readmeerb</usage_type>
|
171
|
-
<checksum>232D0477</checksum>
|
150
|
+
<filename>LICENSE.md</filename>
|
151
|
+
<filetype>md</filetype>
|
152
|
+
<usage_type>license</usage_type>
|
153
|
+
<checksum>BFFB1AA6</checksum>
|
172
154
|
</file>
|
173
155
|
<file>
|
174
156
|
<filename>README.md</filename>
|
@@ -177,10 +159,10 @@
|
|
177
159
|
<checksum>14295EFE</checksum>
|
178
160
|
</file>
|
179
161
|
<file>
|
180
|
-
<filename>
|
181
|
-
<filetype>
|
182
|
-
<usage_type>
|
183
|
-
<checksum>
|
162
|
+
<filename>README.md.erb</filename>
|
163
|
+
<filetype>erb</filetype>
|
164
|
+
<usage_type>readmeerb</usage_type>
|
165
|
+
<checksum>232D0477</checksum>
|
184
166
|
</file>
|
185
167
|
<file>
|
186
168
|
<version>
|
@@ -191,13 +173,31 @@
|
|
191
173
|
<filename>measure.rb</filename>
|
192
174
|
<filetype>rb</filetype>
|
193
175
|
<usage_type>script</usage_type>
|
194
|
-
<checksum>
|
176
|
+
<checksum>788F4CF4</checksum>
|
177
|
+
</file>
|
178
|
+
<file>
|
179
|
+
<filename>EnvelopeAndLoadTestModel_01.osm</filename>
|
180
|
+
<filetype>osm</filetype>
|
181
|
+
<usage_type>test</usage_type>
|
182
|
+
<checksum>10AA8866</checksum>
|
183
|
+
</file>
|
184
|
+
<file>
|
185
|
+
<filename>EnvelopeAndLoadTestModel_01_Costed.osm</filename>
|
186
|
+
<filetype>osm</filetype>
|
187
|
+
<usage_type>test</usage_type>
|
188
|
+
<checksum>E025B7B3</checksum>
|
189
|
+
</file>
|
190
|
+
<file>
|
191
|
+
<filename>HasSpaceWithNoLightsOrElec.osm</filename>
|
192
|
+
<filetype>osm</filetype>
|
193
|
+
<usage_type>test</usage_type>
|
194
|
+
<checksum>ECE1D347</checksum>
|
195
195
|
</file>
|
196
196
|
<file>
|
197
197
|
<filename>ReplaceElectricEquipmentWithEPD_Test.rb</filename>
|
198
198
|
<filetype>rb</filetype>
|
199
199
|
<usage_type>test</usage_type>
|
200
|
-
<checksum>
|
200
|
+
<checksum>C46B576F</checksum>
|
201
201
|
</file>
|
202
202
|
</files>
|
203
203
|
</measure>
|
@@ -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>set_exterior_walls_and_floors_to_adiabatic</name>
|
5
5
|
<uid>63c7f9ba-8c85-4545-bbc0-d25babefb2c3</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>96e176fc-804c-4b94-adf4-ed9025bf5006</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:13Z</version_modified>
|
8
8
|
<xml_checksum>5091078B</xml_checksum>
|
9
9
|
<class_name>SetExteriorWallsAndFloorsToAdiabatic</class_name>
|
10
10
|
<display_name>Set Exterior Walls and Floors to Adiabatic</display_name>
|
@@ -175,16 +175,10 @@
|
|
175
175
|
</attributes>
|
176
176
|
<files>
|
177
177
|
<file>
|
178
|
-
<filename>
|
179
|
-
<filetype>
|
180
|
-
<usage_type>
|
181
|
-
<checksum>
|
182
|
-
</file>
|
183
|
-
<file>
|
184
|
-
<filename>README.md.erb</filename>
|
185
|
-
<filetype>erb</filetype>
|
186
|
-
<usage_type>readmeerb</usage_type>
|
187
|
-
<checksum>703C9964</checksum>
|
178
|
+
<filename>LICENSE.md</filename>
|
179
|
+
<filetype>md</filetype>
|
180
|
+
<usage_type>license</usage_type>
|
181
|
+
<checksum>BFFB1AA6</checksum>
|
188
182
|
</file>
|
189
183
|
<file>
|
190
184
|
<filename>README.md</filename>
|
@@ -199,10 +193,10 @@
|
|
199
193
|
<checksum>610E0A71</checksum>
|
200
194
|
</file>
|
201
195
|
<file>
|
202
|
-
<filename>
|
203
|
-
<filetype>
|
204
|
-
<usage_type>
|
205
|
-
<checksum>
|
196
|
+
<filename>README.md.erb</filename>
|
197
|
+
<filetype>erb</filetype>
|
198
|
+
<usage_type>readmeerb</usage_type>
|
199
|
+
<checksum>703C9964</checksum>
|
206
200
|
</file>
|
207
201
|
<file>
|
208
202
|
<version>
|
@@ -213,13 +207,19 @@
|
|
213
207
|
<filename>measure.rb</filename>
|
214
208
|
<filetype>rb</filetype>
|
215
209
|
<usage_type>script</usage_type>
|
216
|
-
<checksum>
|
210
|
+
<checksum>A19F261F</checksum>
|
211
|
+
</file>
|
212
|
+
<file>
|
213
|
+
<filename>EnvelopeAndLoadTestModel_01.osm</filename>
|
214
|
+
<filetype>osm</filetype>
|
215
|
+
<usage_type>test</usage_type>
|
216
|
+
<checksum>10AA8866</checksum>
|
217
217
|
</file>
|
218
218
|
<file>
|
219
219
|
<filename>set_exterior_walls_and_floors_to_adiabatic_Test.rb</filename>
|
220
220
|
<filetype>rb</filetype>
|
221
221
|
<usage_type>test</usage_type>
|
222
|
-
<checksum>
|
222
|
+
<checksum>04DFF2A7</checksum>
|
223
223
|
</file>
|
224
224
|
</files>
|
225
225
|
</measure>
|
@@ -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>set_run_period</name>
|
5
5
|
<uid>7a84292a-3975-4ab3-9284-6edabcbe750b</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>82d0104a-be54-4950-a422-91974bd47ca2</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:02Z</version_modified>
|
8
8
|
<xml_checksum>2AF3A68E</xml_checksum>
|
9
9
|
<class_name>SetRunPeriod</class_name>
|
10
10
|
<display_name>SetRunPeriod</display_name>
|
@@ -65,16 +65,10 @@
|
|
65
65
|
</attributes>
|
66
66
|
<files>
|
67
67
|
<file>
|
68
|
-
<filename>
|
69
|
-
<filetype>
|
70
|
-
<usage_type>
|
71
|
-
<checksum>
|
72
|
-
</file>
|
73
|
-
<file>
|
74
|
-
<filename>README.md.erb</filename>
|
75
|
-
<filetype>erb</filetype>
|
76
|
-
<usage_type>readmeerb</usage_type>
|
77
|
-
<checksum>703C9964</checksum>
|
68
|
+
<filename>LICENSE.md</filename>
|
69
|
+
<filetype>md</filetype>
|
70
|
+
<usage_type>license</usage_type>
|
71
|
+
<checksum>BFFB1AA6</checksum>
|
78
72
|
</file>
|
79
73
|
<file>
|
80
74
|
<filename>README.md</filename>
|
@@ -83,10 +77,10 @@
|
|
83
77
|
<checksum>78FEB295</checksum>
|
84
78
|
</file>
|
85
79
|
<file>
|
86
|
-
<filename>
|
87
|
-
<filetype>
|
88
|
-
<usage_type>
|
89
|
-
<checksum>
|
80
|
+
<filename>README.md.erb</filename>
|
81
|
+
<filetype>erb</filetype>
|
82
|
+
<usage_type>readmeerb</usage_type>
|
83
|
+
<checksum>703C9964</checksum>
|
90
84
|
</file>
|
91
85
|
<file>
|
92
86
|
<version>
|
@@ -97,13 +91,19 @@
|
|
97
91
|
<filename>measure.rb</filename>
|
98
92
|
<filetype>rb</filetype>
|
99
93
|
<usage_type>script</usage_type>
|
100
|
-
<checksum>
|
94
|
+
<checksum>17444A8B</checksum>
|
95
|
+
</file>
|
96
|
+
<file>
|
97
|
+
<filename>example_model.osm</filename>
|
98
|
+
<filetype>osm</filetype>
|
99
|
+
<usage_type>test</usage_type>
|
100
|
+
<checksum>53D14E69</checksum>
|
101
101
|
</file>
|
102
102
|
<file>
|
103
103
|
<filename>set_run_period_test.rb</filename>
|
104
104
|
<filetype>rb</filetype>
|
105
105
|
<usage_type>test</usage_type>
|
106
|
-
<checksum>
|
106
|
+
<checksum>2D1F3E78</checksum>
|
107
107
|
</file>
|
108
108
|
</files>
|
109
109
|
</measure>
|
@@ -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>set_space_infiltration_per_exterior_area</name>
|
5
5
|
<uid>9d796dd3-c5cf-475a-81aa-607d3ba9d143</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>aaca8731-4a5e-451c-aadf-63f6812959b9</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:01Z</version_modified>
|
8
8
|
<xml_checksum>19EEDBBB</xml_checksum>
|
9
9
|
<class_name>SetSpaceInfiltrationPerExteriorArea</class_name>
|
10
10
|
<display_name>SetSpaceInfiltrationPerExteriorArea</display_name>
|
@@ -68,16 +68,10 @@
|
|
68
68
|
</attributes>
|
69
69
|
<files>
|
70
70
|
<file>
|
71
|
-
<filename>
|
72
|
-
<filetype>
|
73
|
-
<usage_type>
|
74
|
-
<checksum>
|
75
|
-
</file>
|
76
|
-
<file>
|
77
|
-
<filename>README.md.erb</filename>
|
78
|
-
<filetype>erb</filetype>
|
79
|
-
<usage_type>readmeerb</usage_type>
|
80
|
-
<checksum>232D0477</checksum>
|
71
|
+
<filename>LICENSE.md</filename>
|
72
|
+
<filetype>md</filetype>
|
73
|
+
<usage_type>license</usage_type>
|
74
|
+
<checksum>BFFB1AA6</checksum>
|
81
75
|
</file>
|
82
76
|
<file>
|
83
77
|
<filename>README.md</filename>
|
@@ -86,10 +80,10 @@
|
|
86
80
|
<checksum>03150193</checksum>
|
87
81
|
</file>
|
88
82
|
<file>
|
89
|
-
<filename>
|
90
|
-
<filetype>
|
91
|
-
<usage_type>
|
92
|
-
<checksum>
|
83
|
+
<filename>README.md.erb</filename>
|
84
|
+
<filetype>erb</filetype>
|
85
|
+
<usage_type>readmeerb</usage_type>
|
86
|
+
<checksum>232D0477</checksum>
|
93
87
|
</file>
|
94
88
|
<file>
|
95
89
|
<version>
|
@@ -100,13 +94,19 @@
|
|
100
94
|
<filename>measure.rb</filename>
|
101
95
|
<filetype>rb</filetype>
|
102
96
|
<usage_type>script</usage_type>
|
103
|
-
<checksum>
|
97
|
+
<checksum>B2A906CB</checksum>
|
104
98
|
</file>
|
105
99
|
<file>
|
106
|
-
<filename>
|
107
|
-
<filetype>
|
108
|
-
<usage_type>
|
109
|
-
<checksum>
|
100
|
+
<filename>example_model.osm</filename>
|
101
|
+
<filetype>osm</filetype>
|
102
|
+
<usage_type>test</usage_type>
|
103
|
+
<checksum>66DC88A9</checksum>
|
104
|
+
</file>
|
105
|
+
<file>
|
106
|
+
<filename>set_space_infiltration_per_exterior_area_test.rb</filename>
|
107
|
+
<filetype>rb</filetype>
|
108
|
+
<usage_type>test</usage_type>
|
109
|
+
<checksum>43EB4027</checksum>
|
110
110
|
</file>
|
111
111
|
</files>
|
112
112
|
</measure>
|
@@ -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>shadow_calculation</name>
|
5
5
|
<uid>d0699b19-862f-4b68-9ff0-58483c45e0e8</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>97464874-7a15-4367-aee6-48b0f14cc6d5</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:00Z</version_modified>
|
8
8
|
<xml_checksum>D8922A73</xml_checksum>
|
9
9
|
<class_name>ShadowCalculation</class_name>
|
10
10
|
<display_name>Shadow Calculation</display_name>
|
@@ -142,10 +142,10 @@
|
|
142
142
|
</attributes>
|
143
143
|
<files>
|
144
144
|
<file>
|
145
|
-
<filename>
|
146
|
-
<filetype>
|
147
|
-
<usage_type>
|
148
|
-
<checksum>
|
145
|
+
<filename>LICENSE.md</filename>
|
146
|
+
<filetype>md</filetype>
|
147
|
+
<usage_type>license</usage_type>
|
148
|
+
<checksum>BFFB1AA6</checksum>
|
149
149
|
</file>
|
150
150
|
<file>
|
151
151
|
<filename>README.md</filename>
|
@@ -154,16 +154,10 @@
|
|
154
154
|
<checksum>FD971AB1</checksum>
|
155
155
|
</file>
|
156
156
|
<file>
|
157
|
-
<filename>
|
158
|
-
<filetype>
|
159
|
-
<usage_type>
|
160
|
-
<checksum>
|
161
|
-
</file>
|
162
|
-
<file>
|
163
|
-
<filename>shadow_calculation_test.rb</filename>
|
164
|
-
<filetype>rb</filetype>
|
165
|
-
<usage_type>test</usage_type>
|
166
|
-
<checksum>80599822</checksum>
|
157
|
+
<filename>README.md.erb</filename>
|
158
|
+
<filetype>erb</filetype>
|
159
|
+
<usage_type>readmeerb</usage_type>
|
160
|
+
<checksum>703C9964</checksum>
|
167
161
|
</file>
|
168
162
|
<file>
|
169
163
|
<version>
|
@@ -174,7 +168,13 @@
|
|
174
168
|
<filename>measure.rb</filename>
|
175
169
|
<filetype>rb</filetype>
|
176
170
|
<usage_type>script</usage_type>
|
177
|
-
<checksum>
|
171
|
+
<checksum>E581782E</checksum>
|
172
|
+
</file>
|
173
|
+
<file>
|
174
|
+
<filename>shadow_calculation_test.rb</filename>
|
175
|
+
<filetype>rb</filetype>
|
176
|
+
<usage_type>test</usage_type>
|
177
|
+
<checksum>0869DA34</checksum>
|
178
178
|
</file>
|
179
179
|
</files>
|
180
180
|
</measure>
|
@@ -6,10 +6,6 @@
|
|
6
6
|
# see the URL below for information on how to write OpenStudio measures
|
7
7
|
# http://nrel.github.io/OpenStudio-user-documentation/measures/measure_writing_guide/
|
8
8
|
|
9
|
-
# load OpenStudio measure libraries from openstudio-extension gem
|
10
|
-
require 'openstudio-extension'
|
11
|
-
require 'openstudio/extension/core/os_lib_helper_methods'
|
12
|
-
|
13
9
|
# start the measure
|
14
10
|
class TariffSelectionBlock < OpenStudio::Measure::EnergyPlusMeasure
|
15
11
|
# human readable name
|
@@ -104,7 +100,8 @@ class TariffSelectionBlock < OpenStudio::Measure::EnergyPlusMeasure
|
|
104
100
|
super(workspace, runner, user_arguments)
|
105
101
|
|
106
102
|
# assign the user inputs to variables
|
107
|
-
args =
|
103
|
+
args = runner.getArgumentValues(arguments(workspace), user_arguments)
|
104
|
+
args = Hash[args.collect{ |k, v| [k.to_s, v] }]
|
108
105
|
if !args then return false end
|
109
106
|
|
110
107
|
# make arrays out of comma separated string inputs
|
@@ -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>tariff_selection_block</name>
|
5
5
|
<uid>42e9f831-f39a-4709-a79b-41db49c94f8c</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>a32acde2-5c0b-4530-9c82-30042fc3e128</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:08Z</version_modified>
|
8
8
|
<xml_checksum>92578CE8</xml_checksum>
|
9
9
|
<class_name>TariffSelectionBlock</class_name>
|
10
10
|
<display_name> Tariff Selection-Block</display_name>
|
@@ -234,16 +234,10 @@
|
|
234
234
|
</attributes>
|
235
235
|
<files>
|
236
236
|
<file>
|
237
|
-
<filename>
|
238
|
-
<filetype>
|
239
|
-
<usage_type>
|
240
|
-
<checksum>
|
241
|
-
</file>
|
242
|
-
<file>
|
243
|
-
<filename>README.md.erb</filename>
|
244
|
-
<filetype>erb</filetype>
|
245
|
-
<usage_type>readmeerb</usage_type>
|
246
|
-
<checksum>703C9964</checksum>
|
237
|
+
<filename>LICENSE.md</filename>
|
238
|
+
<filetype>md</filetype>
|
239
|
+
<usage_type>license</usage_type>
|
240
|
+
<checksum>BFFB1AA6</checksum>
|
247
241
|
</file>
|
248
242
|
<file>
|
249
243
|
<filename>README.md</filename>
|
@@ -252,27 +246,33 @@
|
|
252
246
|
<checksum>F00D5166</checksum>
|
253
247
|
</file>
|
254
248
|
<file>
|
255
|
-
<filename>
|
256
|
-
<filetype>
|
257
|
-
<usage_type>
|
258
|
-
<checksum>
|
259
|
-
</file>
|
260
|
-
<file>
|
261
|
-
<filename>tariff_selection_block_test.rb</filename>
|
262
|
-
<filetype>rb</filetype>
|
263
|
-
<usage_type>test</usage_type>
|
264
|
-
<checksum>F2389F5F</checksum>
|
249
|
+
<filename>README.md.erb</filename>
|
250
|
+
<filetype>erb</filetype>
|
251
|
+
<usage_type>readmeerb</usage_type>
|
252
|
+
<checksum>703C9964</checksum>
|
265
253
|
</file>
|
266
254
|
<file>
|
267
255
|
<version>
|
268
256
|
<software_program>OpenStudio</software_program>
|
269
257
|
<identifier>2.0.0</identifier>
|
270
|
-
<min_compatible>
|
258
|
+
<min_compatible>3.8.0</min_compatible>
|
271
259
|
</version>
|
272
260
|
<filename>measure.rb</filename>
|
273
261
|
<filetype>rb</filetype>
|
274
262
|
<usage_type>script</usage_type>
|
275
|
-
<checksum>
|
263
|
+
<checksum>5685B81E</checksum>
|
264
|
+
</file>
|
265
|
+
<file>
|
266
|
+
<filename>EnvelopeAndLoadTestModel_01.osm</filename>
|
267
|
+
<filetype>osm</filetype>
|
268
|
+
<usage_type>test</usage_type>
|
269
|
+
<checksum>E11F67BD</checksum>
|
270
|
+
</file>
|
271
|
+
<file>
|
272
|
+
<filename>tariff_selection_block_test.rb</filename>
|
273
|
+
<filetype>rb</filetype>
|
274
|
+
<usage_type>test</usage_type>
|
275
|
+
<checksum>E9AF4144</checksum>
|
276
276
|
</file>
|
277
277
|
</files>
|
278
278
|
</measure>
|