openstudio-common-measures 0.10.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/.github/workflows/test_with_openstudio.yml +1 -1
- data/CHANGELOG.md +13 -0
- data/LICENSE.md +1 -1
- data/README.md +1 -0
- data/doc_templates/LICENSE.md +1 -1
- data/lib/measures/AddCostPerAreaToConstruction/LICENSE.md +1 -1
- data/lib/measures/AddCostPerAreaToConstruction/measure.xml +3 -3
- data/lib/measures/AddCostPerFloorAreaToBuilding/LICENSE.md +1 -1
- data/lib/measures/AddCostPerFloorAreaToBuilding/measure.xml +3 -3
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/LICENSE.md +1 -1
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.xml +3 -3
- data/lib/measures/AddCostPerFloorAreaToLights/LICENSE.md +1 -1
- data/lib/measures/AddCostPerFloorAreaToLights/measure.xml +3 -3
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/LICENSE.md +1 -1
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +3 -3
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/LICENSE.md +1 -1
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +4 -4
- data/lib/measures/AddCostperAreatoUnusedConstruction/LICENSE.md +1 -1
- data/lib/measures/AddCostperAreatoUnusedConstruction/measure.xml +3 -3
- data/lib/measures/AddExteriorLights/LICENSE.md +1 -1
- data/lib/measures/AddExteriorLights/measure.xml +3 -3
- data/lib/measures/AddMeter/LICENSE.md +1 -1
- data/lib/measures/AddMeter/measure.xml +3 -3
- data/lib/measures/AddOutputDiagnostics/LICENSE.md +1 -1
- data/lib/measures/AddOutputDiagnostics/measure.rb +1 -1
- data/lib/measures/AddOutputDiagnostics/measure.xml +5 -5
- data/lib/measures/AddOutputVariable/LICENSE.md +1 -1
- data/lib/measures/AddOutputVariable/measure.xml +3 -3
- data/lib/measures/AddSimplePvToShadingSurfacesByType/LICENSE.md +1 -1
- data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +3 -3
- data/lib/measures/AddThermalComfortModelTypes/LICENSE.md +1 -1
- data/lib/measures/AddThermalComfortModelTypes/measure.xml +3 -3
- data/lib/measures/AdjustSystemEfficiencies/LICENSE.md +1 -1
- data/lib/measures/AdjustSystemEfficiencies/measure.xml +3 -3
- data/lib/measures/AdjustThermostatSetpointsByDegrees/LICENSE.md +1 -1
- data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.xml +3 -3
- data/lib/measures/ChangeBuildingLocation/LICENSE.md +1 -1
- data/lib/measures/ChangeBuildingLocation/measure.xml +23 -5
- data/lib/measures/ChangeBuildingLocation/resources/epw.rb +7 -2
- data/lib/measures/EnableIdealAirLoadsForAllZones/LICENSE.md +1 -1
- data/lib/measures/EnableIdealAirLoadsForAllZones/measure.xml +3 -3
- data/lib/measures/ExportScheduleCSV/LICENSE.md +1 -1
- data/lib/measures/ExportScheduleCSV/measure.xml +3 -3
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/LICENSE.md +1 -1
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +3 -3
- data/lib/measures/MeterFlodPlot/LICENSE.md +1 -1
- data/lib/measures/MeterFlodPlot/measure.xml +3 -3
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/LICENSE.md +1 -1
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.xml +3 -3
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/LICENSE.md +1 -1
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.xml +3 -3
- data/lib/measures/PredictedMeanVote/LICENSE.md +1 -1
- data/lib/measures/PredictedMeanVote/measure.xml +3 -3
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/LICENSE.md +1 -1
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.xml +3 -3
- data/lib/measures/RemoveUnusedDefaultProfiles/LICENSE.md +1 -1
- data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +3 -3
- data/lib/measures/ReplaceExteriorWindowConstruction/LICENSE.md +1 -1
- data/lib/measures/ReplaceExteriorWindowConstruction/measure.xml +3 -3
- data/lib/measures/ReplaceModel/LICENSE.md +1 -1
- data/lib/measures/ReplaceModel/measure.xml +3 -3
- data/lib/measures/ReplaceThermostatSchedules/LICENSE.md +1 -1
- data/lib/measures/ReplaceThermostatSchedules/measure.xml +5 -5
- data/lib/measures/ReportModelChanges/LICENSE.md +1 -1
- data/lib/measures/ReportModelChanges/measure.xml +3 -3
- data/lib/measures/RunPeriod/LICENSE.md +1 -1
- data/lib/measures/RunPeriod/measure.xml +3 -3
- data/lib/measures/RunPeriodMultiple/LICENSE.md +1 -1
- data/lib/measures/RunPeriodMultiple/measure.xml +3 -3
- data/lib/measures/ServerDirectoryCleanup/LICENSE.md +1 -1
- data/lib/measures/ServerDirectoryCleanup/README.md +14 -14
- data/lib/measures/ServerDirectoryCleanup/measure.rb +22 -18
- data/lib/measures/ServerDirectoryCleanup/measure.xml +25 -25
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/LICENSE.md +1 -1
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +5 -5
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/LICENSE.md +1 -1
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +5 -5
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/LICENSE.md +1 -1
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.xml +3 -3
- data/lib/measures/SetEnergyPlusLightObjectsLPD/LICENSE.md +1 -1
- data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.xml +3 -3
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/LICENSE.md +1 -1
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.xml +3 -3
- data/lib/measures/SetGasBurnerEfficiency/LICENSE.md +1 -1
- data/lib/measures/SetGasBurnerEfficiency/measure.xml +5 -5
- data/lib/measures/SetLifecycleCostParameters/LICENSE.md +1 -1
- data/lib/measures/SetLifecycleCostParameters/measure.xml +3 -3
- data/lib/measures/SetLightingLoadsByLPD/LICENSE.md +1 -1
- data/lib/measures/SetLightingLoadsByLPD/measure.xml +5 -5
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/LICENSE.md +1 -1
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.xml +3 -3
- data/lib/measures/SetThermostatSchedules/LICENSE.md +1 -1
- data/lib/measures/SetThermostatSchedules/measure.xml +5 -5
- data/lib/measures/ShiftScheduleProfileTime/LICENSE.md +1 -1
- data/lib/measures/ShiftScheduleProfileTime/measure.xml +5 -5
- data/lib/measures/SwapLightsDefinition/LICENSE.md +1 -1
- data/lib/measures/SwapLightsDefinition/measure.xml +3 -3
- data/lib/measures/UnmetLoadHoursTroubleshooting/LICENSE.md +1 -1
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +3 -3
- data/lib/measures/VentilationQAQC/LICENSE.md +1 -1
- data/lib/measures/VentilationQAQC/measure.xml +3 -3
- data/lib/measures/XcelEDAReportingandQAQC/LICENSE.md +1 -1
- data/lib/measures/XcelEDAReportingandQAQC/measure.xml +3 -3
- data/lib/measures/XcelEDATariffSelectionandModelSetup/LICENSE.md +1 -1
- data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.xml +3 -3
- data/lib/measures/ZoneReport/LICENSE.md +1 -1
- data/lib/measures/ZoneReport/measure.xml +3 -3
- data/lib/measures/add_ems_emissions_reporting/LICENSE.md +1 -1
- data/lib/measures/add_ems_emissions_reporting/measure.xml +3 -3
- data/lib/measures/add_ems_to_control_ev_charging/LICENSE.md +1 -1
- data/lib/measures/add_ems_to_control_ev_charging/measure.xml +3 -3
- data/lib/measures/add_ev_load/LICENSE.md +1 -1
- data/lib/measures/add_ev_load/measure.xml +3 -3
- data/lib/measures/add_rooftop_pv/LICENSE.md +1 -1
- data/lib/measures/add_rooftop_pv/measure.xml +3 -3
- data/lib/measures/add_zone_mixing_object/LICENSE.md +1 -1
- data/lib/measures/add_zone_mixing_object/measure.xml +3 -3
- data/lib/measures/add_zone_ventilation_design_flow_rate_object/LICENSE.md +1 -1
- data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.xml +3 -3
- data/lib/measures/air_wall_zone_mixing/LICENSE.md +1 -1
- data/lib/measures/air_wall_zone_mixing/measure.xml +3 -3
- data/lib/measures/create_csv_output/LICENSE.md +1 -1
- data/lib/measures/create_csv_output/measure.xml +3 -3
- data/lib/measures/envelope_and_internal_load_breakdown/LICENSE.md +1 -1
- data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +3 -3
- data/lib/measures/example_report/LICENSE.md +1 -1
- data/lib/measures/example_report/measure.xml +3 -3
- data/lib/measures/gem_env_report/LICENSE.md +1 -1
- data/lib/measures/gem_env_report/measure.xml +3 -3
- data/lib/measures/generic_qaqc/LICENSE.md +1 -1
- data/lib/measures/generic_qaqc/README.md +0 -32
- data/lib/measures/generic_qaqc/measure.rb +5 -2
- data/lib/measures/generic_qaqc/measure.xml +5 -61
- data/lib/measures/get_site_from_building_component_library/LICENSE.md +1 -1
- data/lib/measures/get_site_from_building_component_library/measure.xml +3 -3
- data/lib/measures/hvac_psychrometric_chart/LICENSE.md +1 -1
- data/lib/measures/hvac_psychrometric_chart/measure.xml +3 -3
- data/lib/measures/inject_idf_objects/LICENSE.md +1 -1
- data/lib/measures/inject_idf_objects/measure.xml +3 -3
- data/lib/measures/openstudio_results/LICENSE.md +1 -1
- data/lib/measures/openstudio_results/README.md +10 -2
- data/lib/measures/openstudio_results/measure.rb +19 -7
- data/lib/measures/openstudio_results/measure.xml +80 -21
- data/lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb +1 -1
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeed.rb +10 -0
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeedStageData.rb +3 -1
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXSingleSpeed.rb +2 -2
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoSpeed.rb +4 -3
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +6 -0
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit.rb +10 -0
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeed.rb +10 -0
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXSingleSpeed.rb +1 -1
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +6 -0
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb +10 -0
- data/lib/measures/openstudio_results/resources/Siz.CoilPerformanceDXCooling.rb +1 -1
- data/lib/measures/openstudio_results/resources/Siz.FanSystemModel.rb +31 -0
- data/lib/measures/openstudio_results/resources/Siz.Model.rb +1 -0
- data/lib/measures/openstudio_results/resources/bootstrap.min.css +5 -0
- data/lib/measures/openstudio_results/resources/bootstrap.min.js +6 -0
- data/lib/measures/openstudio_results/resources/d3.min.js +5 -0
- data/lib/measures/openstudio_results/resources/dimple.v2.1.2.min.js +3 -0
- data/lib/measures/openstudio_results/resources/jquery.min.js +6 -0
- data/lib/measures/openstudio_results/resources/os_lib_reporting.rb +12 -0
- data/lib/measures/openstudio_results/resources/report.html.erb +5 -5
- data/lib/measures/remove_orphan_objects_and_unused_resources/LICENSE.md +1 -1
- data/lib/measures/remove_orphan_objects_and_unused_resources/measure.xml +3 -3
- data/lib/measures/set_electric_equipment_loads_by_epd/LICENSE.md +1 -1
- data/lib/measures/set_electric_equipment_loads_by_epd/measure.xml +5 -5
- data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/LICENSE.md +1 -1
- data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.xml +3 -3
- data/lib/measures/set_run_period/LICENSE.md +1 -1
- data/lib/measures/set_run_period/measure.xml +3 -3
- data/lib/measures/set_space_infiltration_per_exterior_area/LICENSE.md +1 -1
- data/lib/measures/set_space_infiltration_per_exterior_area/README.md +11 -0
- data/lib/measures/set_space_infiltration_per_exterior_area/measure.rb +13 -0
- data/lib/measures/set_space_infiltration_per_exterior_area/measure.xml +24 -5
- data/lib/measures/shadow_calculation/LICENSE.md +1 -1
- data/lib/measures/shadow_calculation/measure.xml +3 -3
- data/lib/measures/simulation_control/README.md +120 -0
- data/lib/measures/simulation_control/README.md.erb +42 -0
- data/lib/measures/simulation_control/measure.rb +169 -0
- data/lib/measures/simulation_control/measure.xml +246 -0
- data/lib/measures/tariff_selection_block/LICENSE.md +1 -1
- data/lib/measures/tariff_selection_block/measure.xml +3 -3
- data/lib/measures/tariff_selection_flat/LICENSE.md +1 -1
- data/lib/measures/tariff_selection_flat/measure.xml +3 -3
- data/lib/measures/tariff_selection_generic/LICENSE.md +1 -1
- data/lib/measures/tariff_selection_generic/measure.xml +3 -3
- data/lib/measures/tariff_selection_time_and_date_dependant/LICENSE.md +1 -1
- data/lib/measures/tariff_selection_time_and_date_dependant/measure.xml +3 -3
- data/lib/measures/view_data/LICENSE.md +1 -1
- data/lib/measures/view_data/README.md +8 -0
- data/lib/measures/view_data/measure.rb +32 -7
- data/lib/measures/view_data/measure.xml +50 -7
- data/lib/measures/view_data/resources/js/TweenLite.2.1.3.min.js +12 -0
- data/lib/measures/view_data/resources/js/dat.gui.0.7.9.min.js +13 -0
- data/lib/measures/view_data/resources/js/three.orbitcontrols.js +706 -0
- data/lib/measures/view_data/resources/js/three.r98.min.js +964 -0
- data/lib/measures/view_data/resources/report.html.in +170 -1837
- data/lib/measures/view_model/LICENSE.md +1 -1
- data/lib/measures/view_model/README.md +7 -1
- data/lib/measures/view_model/measure.rb +28 -2
- data/lib/measures/view_model/measure.xml +52 -8
- data/lib/measures/view_model/resources/js/TweenLite.2.1.3.min.js +12 -0
- data/lib/measures/view_model/resources/js/dat.gui.0.7.9.min.js +13 -0
- data/lib/measures/view_model/resources/js/three.orbitcontrols.js +706 -0
- data/lib/measures/view_model/resources/js/three.r98.min.js +964 -0
- data/lib/measures/view_model/resources/report.html.in +168 -1835
- data/lib/openstudio/common_measures/version.rb +1 -1
- data/openstudio-common-measures.gemspec +2 -3
- metadata +25 -21
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>enable_ideal_air_loads_for_all_zones</name>
|
5
5
|
<uid>f70d4a3d-8b93-4fef-b679-858fe1e05acc</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>b161f3f6-af0d-4101-b836-12c38f316555</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:15Z</version_modified>
|
8
8
|
<xml_checksum>4435983D</xml_checksum>
|
9
9
|
<class_name>EnableIdealAirLoadsForAllZones</class_name>
|
10
10
|
<display_name>EnableIdealAirLoadsForAllZones</display_name>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<filename>LICENSE.md</filename>
|
34
34
|
<filetype>md</filetype>
|
35
35
|
<usage_type>license</usage_type>
|
36
|
-
<checksum>
|
36
|
+
<checksum>8696A072</checksum>
|
37
37
|
</file>
|
38
38
|
<file>
|
39
39
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>export_schedule_csv</name>
|
5
5
|
<uid>6fc1a46d-4912-47af-8ace-a7c453fbe363</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>8271cbe0-ba45-45c8-b437-1ff0e322b645</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:16Z</version_modified>
|
8
8
|
<xml_checksum>2C8A3EEF</xml_checksum>
|
9
9
|
<class_name>ExportScheduleCSV</class_name>
|
10
10
|
<display_name>ExportScheduleCSV</display_name>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<filename>LICENSE.md</filename>
|
43
43
|
<filetype>md</filetype>
|
44
44
|
<usage_type>license</usage_type>
|
45
|
-
<checksum>
|
45
|
+
<checksum>8696A072</checksum>
|
46
46
|
</file>
|
47
47
|
<file>
|
48
48
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>import_envelope_and_internal_loads_from_idf</name>
|
5
5
|
<uid>10a3ffb4-de25-4cb3-87ff-5922219716f9</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>8d86240c-94a2-484e-a779-328453d67e73</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:10Z</version_modified>
|
8
8
|
<xml_checksum>45097B60</xml_checksum>
|
9
9
|
<class_name>ImportEnvelopeAndInternalLoadsFromIdf</class_name>
|
10
10
|
<display_name>ImportEnvelopeAndInternalLoadsFromIdf</display_name>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<filename>LICENSE.md</filename>
|
61
61
|
<filetype>md</filetype>
|
62
62
|
<usage_type>license</usage_type>
|
63
|
-
<checksum>
|
63
|
+
<checksum>8696A072</checksum>
|
64
64
|
</file>
|
65
65
|
<file>
|
66
66
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>meter_flood_plot</name>
|
5
5
|
<uid>62940b95-409c-46a7-9328-d3d162b9ee50</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>cfed60be-941d-4240-b2a5-f62a51aed437</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:18Z</version_modified>
|
8
8
|
<xml_checksum>2C8A3EEF</xml_checksum>
|
9
9
|
<class_name>MeterFloodPlot</class_name>
|
10
10
|
<display_name>MeterFloodPlot</display_name>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<filename>LICENSE.md</filename>
|
43
43
|
<filetype>md</filetype>
|
44
44
|
<usage_type>license</usage_type>
|
45
|
-
<checksum>
|
45
|
+
<checksum>8696A072</checksum>
|
46
46
|
</file>
|
47
47
|
<file>
|
48
48
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>modify_energyplus_coil_cooling_dx_single_speed_objects</name>
|
5
5
|
<uid>b224bd36-213e-4b0e-b3fe-70371e04533d</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>e8b2b867-91df-4a86-99d0-75510808828a</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:12Z</version_modified>
|
8
8
|
<xml_checksum>C7ED76C0</xml_checksum>
|
9
9
|
<class_name>ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects</class_name>
|
10
10
|
<display_name>ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects</display_name>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
<filename>LICENSE.md</filename>
|
77
77
|
<filetype>md</filetype>
|
78
78
|
<usage_type>license</usage_type>
|
79
|
-
<checksum>
|
79
|
+
<checksum>8696A072</checksum>
|
80
80
|
</file>
|
81
81
|
<file>
|
82
82
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>modify_energyplus_fan_variable_volume_objects</name>
|
5
5
|
<uid>009fe4eb-be72-4803-ac84-471ebe2c4c21</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>587f3f10-3611-4e74-869c-5f611db19963</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:15Z</version_modified>
|
8
8
|
<xml_checksum>D8794EFE</xml_checksum>
|
9
9
|
<class_name>ModifyEnergyPlusFanVariableVolumeObjects</class_name>
|
10
10
|
<display_name>ModifyEnergyPlusFanVariableVolumeObjects</display_name>
|
@@ -48,7 +48,7 @@
|
|
48
48
|
<filename>LICENSE.md</filename>
|
49
49
|
<filetype>md</filetype>
|
50
50
|
<usage_type>license</usage_type>
|
51
|
-
<checksum>
|
51
|
+
<checksum>8696A072</checksum>
|
52
52
|
</file>
|
53
53
|
<file>
|
54
54
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>predicted_mean_vote</name>
|
5
5
|
<uid>11cd3144-dac6-4f64-90e4-b8804c6bfc5e</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>0426fad2-5158-4523-8da5-4b4b1b62ecde</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:18Z</version_modified>
|
8
8
|
<xml_checksum>0CA4D54C</xml_checksum>
|
9
9
|
<class_name>PredictedMeanVote</class_name>
|
10
10
|
<display_name>Predicted Mean Vote</display_name>
|
@@ -136,7 +136,7 @@
|
|
136
136
|
<filename>LICENSE.md</filename>
|
137
137
|
<filetype>md</filetype>
|
138
138
|
<usage_type>license</usage_type>
|
139
|
-
<checksum>
|
139
|
+
<checksum>8696A072</checksum>
|
140
140
|
</file>
|
141
141
|
<file>
|
142
142
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>remove_internal_loads_directly_assigned_to_spaces</name>
|
5
5
|
<uid>019999e0-3e0c-4a77-abbf-a3352de12384</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>4512f509-8834-4404-b4a6-68a31b638d31</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:12Z</version_modified>
|
8
8
|
<xml_checksum>057E8D9D</xml_checksum>
|
9
9
|
<class_name>RemoveInternalLoadsDirectlyAssignedToSpaces</class_name>
|
10
10
|
<display_name>RemoveInternalLoadsDirectlyAssignedToSpaces</display_name>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<filename>LICENSE.md</filename>
|
34
34
|
<filetype>md</filetype>
|
35
35
|
<usage_type>license</usage_type>
|
36
|
-
<checksum>
|
36
|
+
<checksum>8696A072</checksum>
|
37
37
|
</file>
|
38
38
|
<file>
|
39
39
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>remove_unused_default_profiles</name>
|
5
5
|
<uid>8abcdf38-c391-465a-8fb8-b243aa4f0b06</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>042703a5-9280-4f87-8a1a-2ff750468b06</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:12Z</version_modified>
|
8
8
|
<xml_checksum>B6CD1F98</xml_checksum>
|
9
9
|
<class_name>RemoveUnusedDefaultProfiles</class_name>
|
10
10
|
<display_name>RemoveUnusedDefaultProfiles</display_name>
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<filename>LICENSE.md</filename>
|
44
44
|
<filetype>md</filetype>
|
45
45
|
<usage_type>license</usage_type>
|
46
|
-
<checksum>
|
46
|
+
<checksum>8696A072</checksum>
|
47
47
|
</file>
|
48
48
|
<file>
|
49
49
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>replace_exterior_window_construction</name>
|
5
5
|
<uid>95116deb-0716-4cdc-af27-09c463befc7c</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>8179147f-e9e7-4580-b10e-51a102d4c454</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:18Z</version_modified>
|
8
8
|
<xml_checksum>6DE831F7</xml_checksum>
|
9
9
|
<class_name>ReplaceExteriorWindowConstruction</class_name>
|
10
10
|
<display_name>Replace Exterior Window Constructions with a Different Construction from the Model.</display_name>
|
@@ -189,7 +189,7 @@ For costs added as part of a design alternatives "Years Until Costs Start? is ty
|
|
189
189
|
<filename>LICENSE.md</filename>
|
190
190
|
<filetype>md</filetype>
|
191
191
|
<usage_type>license</usage_type>
|
192
|
-
<checksum>
|
192
|
+
<checksum>8696A072</checksum>
|
193
193
|
</file>
|
194
194
|
<file>
|
195
195
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>replace_model</name>
|
5
5
|
<uid>54f03343-5b5c-42f4-818c-5e6de6ded489</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>3b2ff61b-e581-467a-bcd5-97d9712932f7</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:17Z</version_modified>
|
8
8
|
<xml_checksum>057E8D9D</xml_checksum>
|
9
9
|
<class_name>ReplaceModel</class_name>
|
10
10
|
<display_name>Replace OpenStudio Model</display_name>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<filename>LICENSE.md</filename>
|
43
43
|
<filetype>md</filetype>
|
44
44
|
<usage_type>license</usage_type>
|
45
|
-
<checksum>
|
45
|
+
<checksum>8696A072</checksum>
|
46
46
|
</file>
|
47
47
|
<file>
|
48
48
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>replace_thermostat_schedules</name>
|
5
5
|
<uid>7e6da001-30f2-419c-bfc0-2f96ba2115cb</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>d6298f6d-b37b-482c-b5bb-8361e8b0f569</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:19Z</version_modified>
|
8
8
|
<xml_checksum>4F7846F2</xml_checksum>
|
9
9
|
<class_name>ReplaceThermostatSchedules</class_name>
|
10
10
|
<display_name>Replace Thermostat Schedules</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>{9965fe13-816f-43f3-85eb-cee065fc4ece}</default_value>
|
21
21
|
<choices>
|
22
22
|
<choice>
|
23
|
-
<value>{
|
23
|
+
<value>{9965fe13-816f-43f3-85eb-cee065fc4ece}</value>
|
24
24
|
<display_name>*All Thermal Zones*</display_name>
|
25
25
|
</choice>
|
26
26
|
</choices>
|
@@ -94,7 +94,7 @@
|
|
94
94
|
<filename>LICENSE.md</filename>
|
95
95
|
<filetype>md</filetype>
|
96
96
|
<usage_type>license</usage_type>
|
97
|
-
<checksum>
|
97
|
+
<checksum>8696A072</checksum>
|
98
98
|
</file>
|
99
99
|
<file>
|
100
100
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>report_model_changes</name>
|
5
5
|
<uid>6d66b426-908f-4528-9fe5-523b9d2f49c5</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>b9a3f2d9-0bf2-4b2e-ae54-4bb8b7e52bd7</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:13Z</version_modified>
|
8
8
|
<xml_checksum>1E1F8B97</xml_checksum>
|
9
9
|
<class_name>ReportModelChanges</class_name>
|
10
10
|
<display_name>ReportModelChanges</display_name>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<filename>LICENSE.md</filename>
|
42
42
|
<filetype>md</filetype>
|
43
43
|
<usage_type>license</usage_type>
|
44
|
-
<checksum>
|
44
|
+
<checksum>8696A072</checksum>
|
45
45
|
</file>
|
46
46
|
<file>
|
47
47
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>run_period</name>
|
5
5
|
<uid>6da969e0-4256-49bf-9607-26504cc3d321</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>43217118-ff37-4815-94fa-23074ab2c85e</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:18Z</version_modified>
|
8
8
|
<xml_checksum>057E8D9D</xml_checksum>
|
9
9
|
<class_name>RunPeriod</class_name>
|
10
10
|
<display_name>Set Run Period Object</display_name>
|
@@ -96,7 +96,7 @@
|
|
96
96
|
<filename>LICENSE.md</filename>
|
97
97
|
<filetype>md</filetype>
|
98
98
|
<usage_type>license</usage_type>
|
99
|
-
<checksum>
|
99
|
+
<checksum>8696A072</checksum>
|
100
100
|
</file>
|
101
101
|
<file>
|
102
102
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>run_period_multiple</name>
|
5
5
|
<uid>100a5eba-0442-42cb-bdf1-9cf75e102f71</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>9faf30be-fb91-4089-980a-e725b905ee96</version_id>
|
7
|
+
<version_modified>2024-11-16T23:54:17Z</version_modified>
|
8
8
|
<xml_checksum>87C4F8A7</xml_checksum>
|
9
9
|
<class_name>RunPeriodMultiple</class_name>
|
10
10
|
<display_name>Set Multiple Run Period Object</display_name>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<filename>LICENSE.md</filename>
|
75
75
|
<filetype>md</filetype>
|
76
76
|
<usage_type>license</usage_type>
|
77
|
-
<checksum>
|
77
|
+
<checksum>8696A072</checksum>
|
78
78
|
</file>
|
79
79
|
<file>
|
80
80
|
<filename>README.md</filename>
|
@@ -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
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# Server Directory Cleanup
|
6
6
|
|
7
7
|
## Description
|
8
|
-
|
8
|
+
Clean up files in the run directory
|
9
9
|
|
10
10
|
## Modeler Description
|
11
|
-
|
11
|
+
You can select which files to remove by the file types (eg: sql) as well as the sizing run directories
|
12
12
|
|
13
13
|
## Measure Type
|
14
14
|
ReportingMeasure
|
@@ -19,7 +19,7 @@ ReportingMeasure
|
|
19
19
|
## Arguments
|
20
20
|
|
21
21
|
|
22
|
-
### Remove sql files from run directory
|
22
|
+
### Remove 'sql' files from run directory
|
23
23
|
|
24
24
|
**Name:** sql,
|
25
25
|
**Type:** Boolean,
|
@@ -27,7 +27,7 @@ ReportingMeasure
|
|
27
27
|
**Required:** true,
|
28
28
|
**Model Dependent:** false
|
29
29
|
|
30
|
-
### Remove eso files from run directory
|
30
|
+
### Remove 'eso' files from run directory
|
31
31
|
|
32
32
|
**Name:** eso,
|
33
33
|
**Type:** Boolean,
|
@@ -35,7 +35,7 @@ ReportingMeasure
|
|
35
35
|
**Required:** true,
|
36
36
|
**Model Dependent:** false
|
37
37
|
|
38
|
-
### Remove audit files from run directory
|
38
|
+
### Remove 'audit' files from run directory
|
39
39
|
|
40
40
|
**Name:** audit,
|
41
41
|
**Type:** Boolean,
|
@@ -43,7 +43,7 @@ ReportingMeasure
|
|
43
43
|
**Required:** true,
|
44
44
|
**Model Dependent:** false
|
45
45
|
|
46
|
-
### Remove osm files from run directory
|
46
|
+
### Remove 'osm' files from run directory
|
47
47
|
|
48
48
|
**Name:** osm,
|
49
49
|
**Type:** Boolean,
|
@@ -51,7 +51,7 @@ ReportingMeasure
|
|
51
51
|
**Required:** true,
|
52
52
|
**Model Dependent:** false
|
53
53
|
|
54
|
-
### Remove idf files from run directory
|
54
|
+
### Remove 'idf' files from run directory
|
55
55
|
|
56
56
|
**Name:** idf,
|
57
57
|
**Type:** Boolean,
|
@@ -59,7 +59,7 @@ ReportingMeasure
|
|
59
59
|
**Required:** true,
|
60
60
|
**Model Dependent:** false
|
61
61
|
|
62
|
-
### Remove bnd files from run directory
|
62
|
+
### Remove 'bnd' files from run directory
|
63
63
|
|
64
64
|
**Name:** bnd,
|
65
65
|
**Type:** Boolean,
|
@@ -67,7 +67,7 @@ ReportingMeasure
|
|
67
67
|
**Required:** true,
|
68
68
|
**Model Dependent:** false
|
69
69
|
|
70
|
-
### Remove eio files from run directory
|
70
|
+
### Remove 'eio' files from run directory
|
71
71
|
|
72
72
|
**Name:** eio,
|
73
73
|
**Type:** Boolean,
|
@@ -75,7 +75,7 @@ ReportingMeasure
|
|
75
75
|
**Required:** true,
|
76
76
|
**Model Dependent:** false
|
77
77
|
|
78
|
-
### Remove shd files from run directory
|
78
|
+
### Remove 'shd' files from run directory
|
79
79
|
|
80
80
|
**Name:** shd,
|
81
81
|
**Type:** Boolean,
|
@@ -83,7 +83,7 @@ ReportingMeasure
|
|
83
83
|
**Required:** true,
|
84
84
|
**Model Dependent:** false
|
85
85
|
|
86
|
-
### Remove mdd files from run directory
|
86
|
+
### Remove 'mdd' files from run directory
|
87
87
|
|
88
88
|
**Name:** mdd,
|
89
89
|
**Type:** Boolean,
|
@@ -91,7 +91,7 @@ ReportingMeasure
|
|
91
91
|
**Required:** true,
|
92
92
|
**Model Dependent:** false
|
93
93
|
|
94
|
-
### Remove rdd files from run directory
|
94
|
+
### Remove 'rdd' files from run directory
|
95
95
|
|
96
96
|
**Name:** rdd,
|
97
97
|
**Type:** Boolean,
|
@@ -99,7 +99,7 @@ ReportingMeasure
|
|
99
99
|
**Required:** true,
|
100
100
|
**Model Dependent:** false
|
101
101
|
|
102
|
-
### Remove csv files from run directory
|
102
|
+
### Remove 'csv' files from run directory
|
103
103
|
|
104
104
|
**Name:** csv,
|
105
105
|
**Type:** Boolean,
|
@@ -107,7 +107,7 @@ ReportingMeasure
|
|
107
107
|
**Required:** true,
|
108
108
|
**Model Dependent:** false
|
109
109
|
|
110
|
-
### Remove Sizing Run Directories files from run directory
|
110
|
+
### Remove 'Sizing Run Directories' files from run directory
|
111
111
|
|
112
112
|
**Name:** Sizing Run Directories,
|
113
113
|
**Type:** Boolean,
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
# *******************************************************************************
|
3
2
|
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
4
3
|
# See also https://openstudio.net/license
|
@@ -12,8 +11,16 @@ class ServerDirectoryCleanup < OpenStudio::Measure::ReportingMeasure
|
|
12
11
|
'Server Directory Cleanup'
|
13
12
|
end
|
14
13
|
|
14
|
+
def description
|
15
|
+
'Clean up files in the run directory'
|
16
|
+
end
|
17
|
+
|
18
|
+
def modeler_description
|
19
|
+
'You can select which files to remove by the file types (eg: sql) as well as the sizing run directories'
|
20
|
+
end
|
21
|
+
|
15
22
|
# file types that can be removed
|
16
|
-
def file_types
|
23
|
+
def self.file_types
|
17
24
|
# key is arg name value is string for run method
|
18
25
|
file_types = {}
|
19
26
|
file_types['sql'] = '*.sql'
|
@@ -33,15 +40,15 @@ class ServerDirectoryCleanup < OpenStudio::Measure::ReportingMeasure
|
|
33
40
|
end
|
34
41
|
|
35
42
|
# define the arguments that the user will input
|
36
|
-
def arguments(
|
43
|
+
def arguments(_model = nil)
|
37
44
|
args = OpenStudio::Measure::OSArgumentVector.new
|
38
45
|
|
39
46
|
# loop through file types and make arguments
|
40
|
-
file_types.each do |
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
args <<
|
47
|
+
ServerDirectoryCleanup.file_types.each do |file_type, _|
|
48
|
+
arg = OpenStudio::Measure::OSArgument.makeBoolArgument(file_type, true)
|
49
|
+
arg.setDisplayName("Remove '#{file_type}' files from run directory")
|
50
|
+
arg.setDefaultValue(true)
|
51
|
+
args << arg
|
45
52
|
end
|
46
53
|
|
47
54
|
args
|
@@ -57,22 +64,19 @@ class ServerDirectoryCleanup < OpenStudio::Measure::ReportingMeasure
|
|
57
64
|
end
|
58
65
|
|
59
66
|
# assign the user inputs to variables
|
60
|
-
args = {}
|
61
|
-
file_types.each do |k, v|
|
62
|
-
args[k] = runner.getBoolArgumentValue(k, user_arguments)
|
63
|
-
end
|
64
|
-
|
67
|
+
args = ServerDirectoryCleanup.file_types.map { |k, _| [k, runner.getBoolArgumentValue(k, user_arguments)] }.to_h
|
65
68
|
initial_string = 'The following files were in the local run directory prior to the execution of this measure: '
|
66
69
|
Dir.entries('./../').each do |f|
|
67
70
|
initial_string << "#{f}, "
|
68
71
|
end
|
69
|
-
initial_string = initial_string[0..(initial_string.length - 3)]
|
72
|
+
initial_string = "#{initial_string[0..(initial_string.length - 3)]}."
|
70
73
|
runner.registerInitialCondition(initial_string)
|
71
74
|
|
72
75
|
# TODO: - code to remove sizing runs is not functional yet
|
73
76
|
# delete run directories
|
74
|
-
file_types.each do |k, v|
|
77
|
+
ServerDirectoryCleanup.file_types.each do |k, v|
|
75
78
|
next if !args[k]
|
79
|
+
|
76
80
|
if v == 'Sizing Run Directories'
|
77
81
|
|
78
82
|
Dir.glob('./../**/output').select { |e| File.directory? e }.each do |f|
|
@@ -99,12 +103,12 @@ class ServerDirectoryCleanup < OpenStudio::Measure::ReportingMeasure
|
|
99
103
|
Dir.entries('./..').each do |f|
|
100
104
|
final_string << "#{f}, "
|
101
105
|
end
|
102
|
-
final_string = final_string[0..(final_string.length - 3)]
|
106
|
+
final_string = "#{final_string[0..(final_string.length - 3)]}."
|
103
107
|
runner.registerFinalCondition(final_string)
|
104
108
|
|
105
109
|
true
|
106
|
-
end
|
107
|
-
end
|
110
|
+
end
|
111
|
+
end
|
108
112
|
|
109
113
|
# this allows the measure to be use by the application
|
110
114
|
ServerDirectoryCleanup.new.registerWithApplication
|