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
@@ -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>add_exterior_lights</name>
|
5
5
|
<uid>34f9050c-5f8f-4d10-8e46-30ca8333114d</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>5424f31c-13ac-438e-a802-98c69979c130</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:02Z</version_modified>
|
8
8
|
<xml_checksum>293730A7</xml_checksum>
|
9
9
|
<class_name>AddExteriorLights</class_name>
|
10
10
|
<display_name>Add Exterior Lights</display_name>
|
@@ -148,16 +148,10 @@
|
|
148
148
|
</attributes>
|
149
149
|
<files>
|
150
150
|
<file>
|
151
|
-
<filename>
|
152
|
-
<filetype>
|
153
|
-
<usage_type>
|
154
|
-
<checksum>
|
155
|
-
</file>
|
156
|
-
<file>
|
157
|
-
<filename>README.md.erb</filename>
|
158
|
-
<filetype>erb</filetype>
|
159
|
-
<usage_type>readmeerb</usage_type>
|
160
|
-
<checksum>703C9964</checksum>
|
151
|
+
<filename>LICENSE.md</filename>
|
152
|
+
<filetype>md</filetype>
|
153
|
+
<usage_type>license</usage_type>
|
154
|
+
<checksum>BFFB1AA6</checksum>
|
161
155
|
</file>
|
162
156
|
<file>
|
163
157
|
<filename>README.md</filename>
|
@@ -165,6 +159,12 @@
|
|
165
159
|
<usage_type>readme</usage_type>
|
166
160
|
<checksum>FE656A0B</checksum>
|
167
161
|
</file>
|
162
|
+
<file>
|
163
|
+
<filename>README.md.erb</filename>
|
164
|
+
<filetype>erb</filetype>
|
165
|
+
<usage_type>readmeerb</usage_type>
|
166
|
+
<checksum>703C9964</checksum>
|
167
|
+
</file>
|
168
168
|
<file>
|
169
169
|
<version>
|
170
170
|
<software_program>OpenStudio</software_program>
|
@@ -174,19 +174,19 @@
|
|
174
174
|
<filename>measure.rb</filename>
|
175
175
|
<filetype>rb</filetype>
|
176
176
|
<usage_type>script</usage_type>
|
177
|
-
<checksum>
|
177
|
+
<checksum>7D47CAD4</checksum>
|
178
178
|
</file>
|
179
179
|
<file>
|
180
180
|
<filename>AddExteriorLights_Test.rb</filename>
|
181
181
|
<filetype>rb</filetype>
|
182
182
|
<usage_type>test</usage_type>
|
183
|
-
<checksum>
|
183
|
+
<checksum>31C74E80</checksum>
|
184
184
|
</file>
|
185
185
|
<file>
|
186
|
-
<filename>
|
187
|
-
<filetype>
|
188
|
-
<usage_type>
|
189
|
-
<checksum>
|
186
|
+
<filename>RefBldgMediumOfficeNew2004_Chicago_a.osm</filename>
|
187
|
+
<filetype>osm</filetype>
|
188
|
+
<usage_type>test</usage_type>
|
189
|
+
<checksum>9621988A</checksum>
|
190
190
|
</file>
|
191
191
|
</files>
|
192
192
|
</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>add_meter</name>
|
5
5
|
<uid>ad4015f2-6d1d-4bb2-84b1-db47bc67a5b2</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>288e248e-aedf-4c6b-ac7b-1077444b6a59</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:07Z</version_modified>
|
8
8
|
<xml_checksum>0CA4D54C</xml_checksum>
|
9
9
|
<class_name>AddMeter</class_name>
|
10
10
|
<display_name>Add Meter</display_name>
|
@@ -79,10 +79,10 @@
|
|
79
79
|
</attributes>
|
80
80
|
<files>
|
81
81
|
<file>
|
82
|
-
<filename>
|
83
|
-
<filetype>
|
84
|
-
<usage_type>
|
85
|
-
<checksum>
|
82
|
+
<filename>LICENSE.md</filename>
|
83
|
+
<filetype>md</filetype>
|
84
|
+
<usage_type>license</usage_type>
|
85
|
+
<checksum>BFFB1AA6</checksum>
|
86
86
|
</file>
|
87
87
|
<file>
|
88
88
|
<filename>README.md</filename>
|
@@ -90,6 +90,12 @@
|
|
90
90
|
<usage_type>readme</usage_type>
|
91
91
|
<checksum>29718290</checksum>
|
92
92
|
</file>
|
93
|
+
<file>
|
94
|
+
<filename>README.md.erb</filename>
|
95
|
+
<filetype>erb</filetype>
|
96
|
+
<usage_type>readmeerb</usage_type>
|
97
|
+
<checksum>703C9964</checksum>
|
98
|
+
</file>
|
93
99
|
<file>
|
94
100
|
<version>
|
95
101
|
<software_program>OpenStudio</software_program>
|
@@ -99,19 +105,13 @@
|
|
99
105
|
<filename>measure.rb</filename>
|
100
106
|
<filetype>rb</filetype>
|
101
107
|
<usage_type>script</usage_type>
|
102
|
-
<checksum>
|
108
|
+
<checksum>FE6DA82F</checksum>
|
103
109
|
</file>
|
104
110
|
<file>
|
105
111
|
<filename>AddMeter_Test.rb</filename>
|
106
112
|
<filetype>rb</filetype>
|
107
113
|
<usage_type>test</usage_type>
|
108
|
-
<checksum>
|
109
|
-
</file>
|
110
|
-
<file>
|
111
|
-
<filename>LICENSE.md</filename>
|
112
|
-
<filetype>md</filetype>
|
113
|
-
<usage_type>license</usage_type>
|
114
|
-
<checksum>64FFEBDE</checksum>
|
114
|
+
<checksum>99BD0176</checksum>
|
115
115
|
</file>
|
116
116
|
</files>
|
117
117
|
</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>add_output_diagnostics</name>
|
5
5
|
<uid>cb957503-4a01-42c4-a918-a44df4ea759c</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>28c00b8a-091e-4792-9eeb-65e6e64482d2</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:00Z</version_modified>
|
8
8
|
<xml_checksum>AA6ADD14</xml_checksum>
|
9
9
|
<class_name>AddOutputDiagnostics</class_name>
|
10
10
|
<display_name>Add Output Diagnostics</display_name>
|
@@ -81,10 +81,10 @@
|
|
81
81
|
</attributes>
|
82
82
|
<files>
|
83
83
|
<file>
|
84
|
-
<filename>
|
85
|
-
<filetype>
|
86
|
-
<usage_type>
|
87
|
-
<checksum>
|
84
|
+
<filename>LICENSE.md</filename>
|
85
|
+
<filetype>md</filetype>
|
86
|
+
<usage_type>license</usage_type>
|
87
|
+
<checksum>BFFB1AA6</checksum>
|
88
88
|
</file>
|
89
89
|
<file>
|
90
90
|
<filename>README.md</filename>
|
@@ -93,16 +93,10 @@
|
|
93
93
|
<checksum>FC2D21D7</checksum>
|
94
94
|
</file>
|
95
95
|
<file>
|
96
|
-
<filename>
|
97
|
-
<filetype>
|
98
|
-
<usage_type>
|
99
|
-
<checksum>
|
100
|
-
</file>
|
101
|
-
<file>
|
102
|
-
<filename>LICENSE.md</filename>
|
103
|
-
<filetype>md</filetype>
|
104
|
-
<usage_type>license</usage_type>
|
105
|
-
<checksum>64FFEBDE</checksum>
|
96
|
+
<filename>README.md.erb</filename>
|
97
|
+
<filetype>erb</filetype>
|
98
|
+
<usage_type>readmeerb</usage_type>
|
99
|
+
<checksum>703C9964</checksum>
|
106
100
|
</file>
|
107
101
|
<file>
|
108
102
|
<version>
|
@@ -113,7 +107,13 @@
|
|
113
107
|
<filename>measure.rb</filename>
|
114
108
|
<filetype>rb</filetype>
|
115
109
|
<usage_type>script</usage_type>
|
116
|
-
<checksum>
|
110
|
+
<checksum>94FC90D2</checksum>
|
111
|
+
</file>
|
112
|
+
<file>
|
113
|
+
<filename>AddOutputDiagnostics_Test.rb</filename>
|
114
|
+
<filetype>rb</filetype>
|
115
|
+
<usage_type>test</usage_type>
|
116
|
+
<checksum>43E8CA0D</checksum>
|
117
117
|
</file>
|
118
118
|
</files>
|
119
119
|
</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>add_output_variable</name>
|
5
5
|
<uid>2a058afb-e349-49ae-a4bf-2c56a42b4352</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>72ed5e71-ec1d-4f48-b3f9-844048dde9ae</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:11Z</version_modified>
|
8
8
|
<xml_checksum>0CA4D54C</xml_checksum>
|
9
9
|
<class_name>AddOutputVariable</class_name>
|
10
10
|
<display_name>Add Output Variable</display_name>
|
@@ -91,10 +91,10 @@
|
|
91
91
|
</attributes>
|
92
92
|
<files>
|
93
93
|
<file>
|
94
|
-
<filename>
|
95
|
-
<filetype>
|
96
|
-
<usage_type>
|
97
|
-
<checksum>
|
94
|
+
<filename>LICENSE.md</filename>
|
95
|
+
<filetype>md</filetype>
|
96
|
+
<usage_type>license</usage_type>
|
97
|
+
<checksum>BFFB1AA6</checksum>
|
98
98
|
</file>
|
99
99
|
<file>
|
100
100
|
<filename>README.md</filename>
|
@@ -102,6 +102,12 @@
|
|
102
102
|
<usage_type>readme</usage_type>
|
103
103
|
<checksum>D866D79B</checksum>
|
104
104
|
</file>
|
105
|
+
<file>
|
106
|
+
<filename>README.md.erb</filename>
|
107
|
+
<filetype>erb</filetype>
|
108
|
+
<usage_type>readmeerb</usage_type>
|
109
|
+
<checksum>703C9964</checksum>
|
110
|
+
</file>
|
105
111
|
<file>
|
106
112
|
<version>
|
107
113
|
<software_program>OpenStudio</software_program>
|
@@ -111,19 +117,13 @@
|
|
111
117
|
<filename>measure.rb</filename>
|
112
118
|
<filetype>rb</filetype>
|
113
119
|
<usage_type>script</usage_type>
|
114
|
-
<checksum>
|
120
|
+
<checksum>1AC65C90</checksum>
|
115
121
|
</file>
|
116
122
|
<file>
|
117
123
|
<filename>AddOutputVariable_Test.rb</filename>
|
118
124
|
<filetype>rb</filetype>
|
119
125
|
<usage_type>test</usage_type>
|
120
|
-
<checksum>
|
121
|
-
</file>
|
122
|
-
<file>
|
123
|
-
<filename>LICENSE.md</filename>
|
124
|
-
<filetype>md</filetype>
|
125
|
-
<usage_type>license</usage_type>
|
126
|
-
<checksum>64FFEBDE</checksum>
|
126
|
+
<checksum>416E70B7</checksum>
|
127
127
|
</file>
|
128
128
|
</files>
|
129
129
|
</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>add_simple_pv_to_shading_surfaces_by_type</name>
|
5
5
|
<uid>27627c16-75d4-4fc3-add9-2d7d538c0130</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>a6476df6-8fac-48df-9065-6d2dc7f1c382</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:08Z</version_modified>
|
8
8
|
<xml_checksum>92C8C204</xml_checksum>
|
9
9
|
<class_name>AddSimplePvToShadingSurfacesByType</class_name>
|
10
10
|
<display_name>Add Simple PV to Specified Shading Surfaces</display_name>
|
@@ -115,16 +115,10 @@
|
|
115
115
|
</attributes>
|
116
116
|
<files>
|
117
117
|
<file>
|
118
|
-
<filename>
|
119
|
-
<filetype>
|
120
|
-
<usage_type>
|
121
|
-
<checksum>
|
122
|
-
</file>
|
123
|
-
<file>
|
124
|
-
<filename>README.md.erb</filename>
|
125
|
-
<filetype>erb</filetype>
|
126
|
-
<usage_type>readmeerb</usage_type>
|
127
|
-
<checksum>703C9964</checksum>
|
118
|
+
<filename>LICENSE.md</filename>
|
119
|
+
<filetype>md</filetype>
|
120
|
+
<usage_type>license</usage_type>
|
121
|
+
<checksum>BFFB1AA6</checksum>
|
128
122
|
</file>
|
129
123
|
<file>
|
130
124
|
<filename>README.md</filename>
|
@@ -133,16 +127,10 @@
|
|
133
127
|
<checksum>0A15907B</checksum>
|
134
128
|
</file>
|
135
129
|
<file>
|
136
|
-
<filename>
|
137
|
-
<filetype>
|
138
|
-
<usage_type>
|
139
|
-
<checksum>
|
140
|
-
</file>
|
141
|
-
<file>
|
142
|
-
<filename>LICENSE.md</filename>
|
143
|
-
<filetype>md</filetype>
|
144
|
-
<usage_type>license</usage_type>
|
145
|
-
<checksum>64FFEBDE</checksum>
|
130
|
+
<filename>README.md.erb</filename>
|
131
|
+
<filetype>erb</filetype>
|
132
|
+
<usage_type>readmeerb</usage_type>
|
133
|
+
<checksum>703C9964</checksum>
|
146
134
|
</file>
|
147
135
|
<file>
|
148
136
|
<version>
|
@@ -153,7 +141,19 @@
|
|
153
141
|
<filename>measure.rb</filename>
|
154
142
|
<filetype>rb</filetype>
|
155
143
|
<usage_type>script</usage_type>
|
156
|
-
<checksum>
|
144
|
+
<checksum>83450B00</checksum>
|
145
|
+
</file>
|
146
|
+
<file>
|
147
|
+
<filename>AddSimplePvToShadingSurfacesByType_Test.rb</filename>
|
148
|
+
<filetype>rb</filetype>
|
149
|
+
<usage_type>test</usage_type>
|
150
|
+
<checksum>D86CF5F6</checksum>
|
151
|
+
</file>
|
152
|
+
<file>
|
153
|
+
<filename>PV_test_model.osm</filename>
|
154
|
+
<filetype>osm</filetype>
|
155
|
+
<usage_type>test</usage_type>
|
156
|
+
<checksum>DA2775F4</checksum>
|
157
157
|
</file>
|
158
158
|
</files>
|
159
159
|
</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>add_thermal_comfort_model_types</name>
|
5
5
|
<uid>5ae7b6b3-58d0-40b4-9899-a7cf0e0d36d2</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>4df1a3ab-2368-464d-8ade-28a0b26601fd</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:12Z</version_modified>
|
8
8
|
<xml_checksum>F0C3F749</xml_checksum>
|
9
9
|
<class_name>AddThermalComfortModelTypes</class_name>
|
10
10
|
<display_name>AddThermalComfortModelTypes</display_name>
|
@@ -193,23 +193,23 @@
|
|
193
193
|
</attribute>
|
194
194
|
</attributes>
|
195
195
|
<files>
|
196
|
-
<file>
|
197
|
-
<filename>README.md.erb</filename>
|
198
|
-
<filetype>erb</filetype>
|
199
|
-
<usage_type>readmeerb</usage_type>
|
200
|
-
<checksum>F1C26127</checksum>
|
201
|
-
</file>
|
202
196
|
<file>
|
203
197
|
<filename>LICENSE.md</filename>
|
204
198
|
<filetype>md</filetype>
|
205
199
|
<usage_type>license</usage_type>
|
206
|
-
<checksum>
|
200
|
+
<checksum>BFFB1AA6</checksum>
|
207
201
|
</file>
|
208
202
|
<file>
|
209
|
-
<filename>
|
210
|
-
<filetype>
|
211
|
-
<usage_type>
|
212
|
-
<checksum>
|
203
|
+
<filename>README.md</filename>
|
204
|
+
<filetype>md</filetype>
|
205
|
+
<usage_type>readme</usage_type>
|
206
|
+
<checksum>EEFF828A</checksum>
|
207
|
+
</file>
|
208
|
+
<file>
|
209
|
+
<filename>README.md.erb</filename>
|
210
|
+
<filetype>erb</filetype>
|
211
|
+
<usage_type>readmeerb</usage_type>
|
212
|
+
<checksum>F1C26127</checksum>
|
213
213
|
</file>
|
214
214
|
<file>
|
215
215
|
<version>
|
@@ -220,25 +220,25 @@
|
|
220
220
|
<filename>measure.rb</filename>
|
221
221
|
<filetype>rb</filetype>
|
222
222
|
<usage_type>script</usage_type>
|
223
|
-
<checksum>
|
223
|
+
<checksum>F8B1D234</checksum>
|
224
224
|
</file>
|
225
225
|
<file>
|
226
226
|
<filename>AddThermalComfortModelTypes_Test.rb</filename>
|
227
227
|
<filetype>rb</filetype>
|
228
228
|
<usage_type>test</usage_type>
|
229
|
-
<checksum>
|
229
|
+
<checksum>5EC888D3</checksum>
|
230
230
|
</file>
|
231
231
|
<file>
|
232
|
-
<filename>
|
233
|
-
<filetype>
|
234
|
-
<usage_type>
|
235
|
-
<checksum>
|
232
|
+
<filename>base-schedules-simple-power-outage.osm</filename>
|
233
|
+
<filetype>osm</filetype>
|
234
|
+
<usage_type>test</usage_type>
|
235
|
+
<checksum>86C09826</checksum>
|
236
236
|
</file>
|
237
237
|
<file>
|
238
238
|
<filename>test_AddThermalComfortModelTypes.osm</filename>
|
239
239
|
<filetype>osm</filetype>
|
240
240
|
<usage_type>test</usage_type>
|
241
|
-
<checksum>
|
241
|
+
<checksum>0C6F65B1</checksum>
|
242
242
|
</file>
|
243
243
|
</files>
|
244
244
|
</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>adjust_system_efficiencies</name>
|
5
5
|
<uid>edeaff3d-3ae4-4487-b4a4-5cf08ea14510</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>c1b9b6df-bd86-4d3b-b545-7c5e6577bc46</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:02Z</version_modified>
|
8
8
|
<xml_checksum>4435983D</xml_checksum>
|
9
9
|
<class_name>AdjustSystemEfficiencies</class_name>
|
10
10
|
<display_name>AdjustSystemEfficiencies</display_name>
|
@@ -47,10 +47,10 @@
|
|
47
47
|
</attributes>
|
48
48
|
<files>
|
49
49
|
<file>
|
50
|
-
<filename>
|
51
|
-
<filetype>
|
52
|
-
<usage_type>
|
53
|
-
<checksum>
|
50
|
+
<filename>LICENSE.md</filename>
|
51
|
+
<filetype>md</filetype>
|
52
|
+
<usage_type>license</usage_type>
|
53
|
+
<checksum>BFFB1AA6</checksum>
|
54
54
|
</file>
|
55
55
|
<file>
|
56
56
|
<filename>README.md</filename>
|
@@ -59,10 +59,10 @@
|
|
59
59
|
<checksum>FA0C0477</checksum>
|
60
60
|
</file>
|
61
61
|
<file>
|
62
|
-
<filename>
|
63
|
-
<filetype>
|
64
|
-
<usage_type>
|
65
|
-
<checksum>
|
62
|
+
<filename>README.md.erb</filename>
|
63
|
+
<filetype>erb</filetype>
|
64
|
+
<usage_type>readmeerb</usage_type>
|
65
|
+
<checksum>703C9964</checksum>
|
66
66
|
</file>
|
67
67
|
<file>
|
68
68
|
<version>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<filename>measure.rb</filename>
|
74
74
|
<filetype>rb</filetype>
|
75
75
|
<usage_type>script</usage_type>
|
76
|
-
<checksum>
|
76
|
+
<checksum>69995AED</checksum>
|
77
77
|
</file>
|
78
78
|
</files>
|
79
79
|
</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>adjust_thermostat_setpoints_by_degrees</name>
|
5
5
|
<uid>6e1f34f9-92e1-44ea-9279-de0b9b64f6a1</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>d53c0249-4b17-4979-8f31-ad4f80bcced0</version_id>
|
7
|
+
<version_modified>2024-07-11T14:32:04Z</version_modified>
|
8
8
|
<xml_checksum>4F7846F2</xml_checksum>
|
9
9
|
<class_name>AdjustThermostatSetpointsByDegrees</class_name>
|
10
10
|
<display_name>Adjust Thermostat Setpoints by Degrees</display_name>
|
@@ -75,16 +75,16 @@
|
|
75
75
|
</attributes>
|
76
76
|
<files>
|
77
77
|
<file>
|
78
|
-
<filename>
|
79
|
-
<filetype>
|
80
|
-
<usage_type>
|
81
|
-
<checksum>
|
78
|
+
<filename>LICENSE.md</filename>
|
79
|
+
<filetype>md</filetype>
|
80
|
+
<usage_type>license</usage_type>
|
81
|
+
<checksum>BFFB1AA6</checksum>
|
82
82
|
</file>
|
83
83
|
<file>
|
84
|
-
<filename>
|
85
|
-
<filetype>
|
86
|
-
<usage_type>
|
87
|
-
<checksum>
|
84
|
+
<filename>README.md</filename>
|
85
|
+
<filetype>md</filetype>
|
86
|
+
<usage_type>readme</usage_type>
|
87
|
+
<checksum>DDCB3166</checksum>
|
88
88
|
</file>
|
89
89
|
<file>
|
90
90
|
<filename>README.md.erb</filename>
|
@@ -92,12 +92,6 @@
|
|
92
92
|
<usage_type>readmeerb</usage_type>
|
93
93
|
<checksum>703C9964</checksum>
|
94
94
|
</file>
|
95
|
-
<file>
|
96
|
-
<filename>README.md</filename>
|
97
|
-
<filetype>md</filetype>
|
98
|
-
<usage_type>readme</usage_type>
|
99
|
-
<checksum>DDCB3166</checksum>
|
100
|
-
</file>
|
101
95
|
<file>
|
102
96
|
<version>
|
103
97
|
<software_program>OpenStudio</software_program>
|
@@ -107,19 +101,25 @@
|
|
107
101
|
<filename>measure.rb</filename>
|
108
102
|
<filetype>rb</filetype>
|
109
103
|
<usage_type>script</usage_type>
|
110
|
-
<checksum>
|
104
|
+
<checksum>14C584F1</checksum>
|
111
105
|
</file>
|
112
106
|
<file>
|
113
107
|
<filename>AdjustThermostatSetpointsByDegrees_Test.rb</filename>
|
114
108
|
<filetype>rb</filetype>
|
115
109
|
<usage_type>test</usage_type>
|
116
|
-
<checksum>
|
110
|
+
<checksum>05E313CE</checksum>
|
117
111
|
</file>
|
118
112
|
<file>
|
119
|
-
<filename>
|
120
|
-
<filetype>
|
121
|
-
<usage_type>
|
122
|
-
<checksum>
|
113
|
+
<filename>ThermostatTestModel.osm</filename>
|
114
|
+
<filetype>osm</filetype>
|
115
|
+
<usage_type>test</usage_type>
|
116
|
+
<checksum>508ECE85</checksum>
|
117
|
+
</file>
|
118
|
+
<file>
|
119
|
+
<filename>seed_model.osm</filename>
|
120
|
+
<filetype>osm</filetype>
|
121
|
+
<usage_type>test</usage_type>
|
122
|
+
<checksum>01DC9D8F</checksum>
|
123
123
|
</file>
|
124
124
|
</files>
|
125
125
|
</measure>
|
@@ -39,7 +39,7 @@ Name of the weather file to change to. This is the filename with the extension (
|
|
39
39
|
**Model Dependent:** false
|
40
40
|
|
41
41
|
|
42
|
-
**Choice Display Names** ["
|
42
|
+
**Choice Display Names** ["ASHRAE 169-2013-1A", "ASHRAE 169-2013-1B", "ASHRAE 169-2013-2A", "ASHRAE 169-2013-2B", "ASHRAE 169-2013-3A", "ASHRAE 169-2013-3B", "ASHRAE 169-2013-3C", "ASHRAE 169-2013-4A", "ASHRAE 169-2013-4B", "ASHRAE 169-2013-4C", "ASHRAE 169-2013-5A", "ASHRAE 169-2013-5B", "ASHRAE 169-2013-5C", "ASHRAE 169-2013-6A", "ASHRAE 169-2013-6B", "ASHRAE 169-2013-7A", "ASHRAE 169-2013-8A", "CEC T24-CEC1", "CEC T24-CEC2", "CEC T24-CEC3", "CEC T24-CEC4", "CEC T24-CEC5", "CEC T24-CEC6", "CEC T24-CEC7", "CEC T24-CEC8", "CEC T24-CEC9", "CEC T24-CEC10", "CEC T24-CEC11", "CEC T24-CEC12", "CEC T24-CEC13", "CEC T24-CEC14", "CEC T24-CEC15", "CEC T24-CEC16", "Lookup From Stat File"]
|
43
43
|
|
44
44
|
|
45
45
|
|
@@ -6,17 +6,9 @@
|
|
6
6
|
# Authors : Nicholas Long, David Goldwasser
|
7
7
|
# Simple measure to load the EPW file and DDY file
|
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
|
-
require 'openstudio/extension/core/os_lib_model_generation.rb'
|
13
|
-
|
14
9
|
class ChangeBuildingLocation < OpenStudio::Measure::ModelMeasure
|
15
10
|
Dir[File.dirname(__FILE__) + '/resources/*.rb'].each { |file| require file }
|
16
|
-
|
17
|
-
# resource file modules
|
18
|
-
include OsLib_HelperMethods
|
19
|
-
include OsLib_ModelGeneration
|
11
|
+
require 'openstudio-standards'
|
20
12
|
|
21
13
|
# define the name that a user will see, this method may be deprecated as
|
22
14
|
# the display name in PAT comes from the name field in measure.xml
|
@@ -34,10 +26,11 @@ class ChangeBuildingLocation < OpenStudio::Measure::ModelMeasure
|
|
34
26
|
args << weather_file_name
|
35
27
|
|
36
28
|
# make choice argument for climate zone
|
37
|
-
choices = OpenStudio::StringVector.new
|
29
|
+
#choices = OpenStudio::StringVector.new
|
30
|
+
choices = OpenstudioStandards::CreateTypical.get_climate_zones
|
38
31
|
choices << 'Lookup From Stat File'
|
39
32
|
|
40
|
-
climate_zone = OpenStudio::Measure::OSArgument.makeChoiceArgument('climate_zone',
|
33
|
+
climate_zone = OpenStudio::Measure::OSArgument.makeChoiceArgument('climate_zone', choices, true)
|
41
34
|
climate_zone.setDisplayName('Climate Zone.')
|
42
35
|
climate_zone.setDefaultValue('Lookup From Stat File')
|
43
36
|
args << climate_zone
|
@@ -74,14 +67,16 @@ class ChangeBuildingLocation < OpenStudio::Measure::ModelMeasure
|
|
74
67
|
super(model, runner, user_arguments)
|
75
68
|
|
76
69
|
# assign the user inputs to variables
|
77
|
-
args =
|
70
|
+
args = runner.getArgumentValues(arguments(model), user_arguments)
|
71
|
+
args = Hash[args.collect{ |k, v| [k.to_s, v] }]
|
78
72
|
if !args then return false end
|
79
73
|
|
80
74
|
# lookup and replace argument values from upstream measures
|
81
75
|
if args['use_upstream_args'] == true
|
82
76
|
args.each do |arg, value|
|
83
77
|
next if arg == 'use_upstream_args' # this argument should not be changed
|
84
|
-
value_from_osw =
|
78
|
+
value_from_osw = runner.getPastStepValuesForName(arg)
|
79
|
+
value_from_osw = value_from_osw.collect{ |k, v| Hash[:measure_name => k, :value => v] }.first if !value_from_osw.empty?
|
85
80
|
if !value_from_osw.empty?
|
86
81
|
runner.registerInfo("Replacing argument named #{arg} from current measure with a value of #{value_from_osw[:value]} from #{value_from_osw[:measure_name]}.")
|
87
82
|
new_val = value_from_osw[:value]
|