openstudio-common-measures 0.7.0 → 0.8.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 +62 -0
- data/CHANGELOG.md +25 -0
- data/LICENSE.md +7 -21
- data/README.md +2 -1
- data/Rakefile +4 -27
- data/doc_templates/LICENSE.md +7 -21
- data/doc_templates/copyright_erb.txt +2 -32
- data/doc_templates/copyright_js.txt +2 -2
- data/doc_templates/copyright_ruby.txt +3 -33
- data/lib/measures/AddCostPerAreaToConstruction/LICENSE.md +7 -21
- data/lib/measures/AddCostPerAreaToConstruction/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaToBuilding/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaToBuilding/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaToLights/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaToLights/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.rb +2 -32
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/LICENSE.md +7 -21
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.rb +2 -32
- data/lib/measures/AddCostperAreatoUnusedConstruction/LICENSE.md +7 -21
- data/lib/measures/AddCostperAreatoUnusedConstruction/measure.rb +2 -32
- data/lib/measures/AddExteriorLights/LICENSE.md +7 -21
- data/lib/measures/AddExteriorLights/measure.rb +2 -32
- data/lib/measures/AddMeter/LICENSE.md +7 -21
- data/lib/measures/AddMeter/measure.rb +2 -32
- data/lib/measures/AddOutputDiagnostics/LICENSE.md +7 -21
- data/lib/measures/AddOutputDiagnostics/measure.rb +2 -32
- data/lib/measures/AddOutputVariable/LICENSE.md +7 -21
- data/lib/measures/AddOutputVariable/measure.rb +2 -32
- data/lib/measures/AddSimplePvToShadingSurfacesByType/LICENSE.md +7 -21
- data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.rb +2 -32
- data/lib/measures/AddThermalComfortModelTypes/LICENSE.md +13 -0
- data/lib/measures/AddThermalComfortModelTypes/README.md +115 -0
- data/lib/measures/AddThermalComfortModelTypes/README.md.erb +45 -0
- data/lib/measures/AddThermalComfortModelTypes/measure.rb +165 -0
- data/lib/measures/AddThermalComfortModelTypes/measure.xml +244 -0
- data/lib/measures/AdjustSystemEfficiencies/LICENSE.md +7 -21
- data/lib/measures/AdjustSystemEfficiencies/measure.rb +2 -32
- data/lib/measures/AdjustThermostatSetpointsByDegrees/LICENSE.md +7 -21
- data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.rb +2 -32
- data/lib/measures/ChangeBuildingLocation/LICENSE.md +7 -21
- data/lib/measures/ChangeBuildingLocation/measure.rb +2 -32
- data/lib/measures/ChangeBuildingLocation/resources/epw.rb +2 -32
- data/lib/measures/ChangeBuildingLocation/resources/stat_file.rb +2 -32
- data/lib/measures/EnableIdealAirLoadsForAllZones/LICENSE.md +7 -21
- data/lib/measures/EnableIdealAirLoadsForAllZones/measure.rb +2 -32
- data/lib/measures/ExportScheduleCSV/LICENSE.md +7 -21
- data/lib/measures/ExportScheduleCSV/measure.rb +2 -32
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/LICENSE.md +7 -21
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.rb +2 -32
- data/lib/measures/MeterFlodPlot/LICENSE.md +7 -21
- data/lib/measures/MeterFlodPlot/measure.rb +2 -32
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/LICENSE.md +7 -21
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.rb +2 -32
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/LICENSE.md +7 -21
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.rb +2 -32
- data/lib/measures/PredictedMeanVote/LICENSE.md +7 -21
- data/lib/measures/PredictedMeanVote/measure.rb +2 -32
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/LICENSE.md +7 -21
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.rb +2 -32
- data/lib/measures/RemoveUnusedDefaultProfiles/LICENSE.md +7 -21
- data/lib/measures/RemoveUnusedDefaultProfiles/measure.rb +2 -32
- data/lib/measures/ReplaceExteriorWindowConstruction/LICENSE.md +7 -21
- data/lib/measures/ReplaceExteriorWindowConstruction/measure.rb +2 -32
- data/lib/measures/ReplaceModel/LICENSE.md +13 -0
- data/lib/measures/ReplaceModel/README.md +34 -0
- data/lib/measures/ReplaceModel/README.md.erb +42 -0
- data/lib/measures/ReplaceModel/measure.rb +113 -0
- data/lib/measures/ReplaceModel/measure.xml +71 -0
- data/lib/measures/ReplaceThermostatSchedules/LICENSE.md +7 -21
- data/lib/measures/ReplaceThermostatSchedules/measure.rb +2 -32
- data/lib/measures/ReportModelChanges/LICENSE.md +7 -21
- data/lib/measures/ReportModelChanges/measure.rb +2 -32
- data/lib/measures/ReportModelChanges/measure.xml +2 -2
- data/lib/measures/RunPeriod/LICENSE.md +7 -21
- data/lib/measures/RunPeriod/measure.rb +2 -32
- data/lib/measures/RunPeriodMultiple/LICENSE.md +7 -21
- data/lib/measures/RunPeriodMultiple/measure.rb +2 -32
- data/lib/measures/ServerDirectoryCleanup/LICENSE.md +7 -21
- data/lib/measures/ServerDirectoryCleanup/measure.rb +2 -32
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/LICENSE.md +7 -21
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.rb +2 -32
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/LICENSE.md +7 -21
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.rb +2 -32
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/LICENSE.md +7 -21
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.rb +2 -32
- data/lib/measures/SetEnergyPlusLightObjectsLPD/LICENSE.md +7 -21
- data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.rb +2 -32
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/LICENSE.md +7 -21
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.rb +2 -32
- data/lib/measures/SetGasBurnerEfficiency/LICENSE.md +7 -21
- data/lib/measures/SetGasBurnerEfficiency/measure.rb +2 -32
- data/lib/measures/SetLifecycleCostParameters/LICENSE.md +7 -21
- data/lib/measures/SetLifecycleCostParameters/measure.rb +2 -32
- data/lib/measures/SetLightingLoadsByLPD/LICENSE.md +7 -21
- data/lib/measures/SetLightingLoadsByLPD/measure.rb +2 -32
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/LICENSE.md +7 -21
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.rb +2 -32
- data/lib/measures/SetThermostatSchedules/LICENSE.md +7 -21
- data/lib/measures/SetThermostatSchedules/measure.rb +2 -32
- data/lib/measures/ShiftScheduleProfileTime/LICENSE.md +7 -21
- data/lib/measures/ShiftScheduleProfileTime/measure.rb +2 -32
- data/lib/measures/SwapLightsDefinition/LICENSE.md +7 -21
- data/lib/measures/SwapLightsDefinition/measure.rb +2 -32
- data/lib/measures/UnmetLoadHoursTroubleshooting/LICENSE.md +7 -21
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.rb +2 -32
- data/lib/measures/VentilationQAQC/LICENSE.md +7 -21
- data/lib/measures/VentilationQAQC/measure.rb +2 -32
- data/lib/measures/XcelEDAReportingandQAQC/LICENSE.md +13 -0
- data/lib/measures/XcelEDAReportingandQAQC/README.md +26 -0
- data/lib/measures/XcelEDAReportingandQAQC/README.md.erb +42 -0
- data/lib/measures/XcelEDAReportingandQAQC/measure.rb +201 -0
- data/lib/measures/XcelEDAReportingandQAQC/measure.xml +116 -0
- data/lib/measures/{generic_qaqc → XcelEDAReportingandQAQC}/resources/CreateResults.rb +51 -50
- data/lib/measures/XcelEDAReportingandQAQC/resources/EUI.rb +53 -0
- data/lib/measures/XcelEDAReportingandQAQC/resources/EndUseBreakdown.rb +88 -0
- data/lib/measures/XcelEDAReportingandQAQC/resources/FuelSwap.rb +275 -0
- data/lib/measures/XcelEDAReportingandQAQC/resources/PeakHeatCoolMonth.rb +191 -0
- data/lib/measures/XcelEDAReportingandQAQC/resources/UnmetHrs.rb +45 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/LICENSE.md +13 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/README.md +40 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/README.md.erb +42 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.rb +367 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.xml +309 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Commercial.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Interruptible Industrial G.idf +32 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Large CG.idf +32 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Commercial.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Gas Firm.idf +32 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Gas Interruptible.idf +32 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Primary General.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Secondary General Low Load Factor.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Secondary General.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Non-Xcel Transmission General.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Primary General.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Residential Gas.idf +32 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Residential General.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Secondary General Low Load Factor.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Secondary General.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Secondary Photovoltaic Time-of-Use.idf +95 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Small CG.idf +32 -0
- data/lib/measures/XcelEDATariffSelectionandModelSetup/resources/Transmission General.idf +95 -0
- data/lib/measures/ZoneReport/LICENSE.md +7 -21
- data/lib/measures/ZoneReport/measure.rb +2 -32
- data/lib/measures/add_ems_emissions_reporting/LICENSE.md +7 -21
- data/lib/measures/add_ems_emissions_reporting/measure.rb +2 -32
- data/lib/measures/add_ems_to_control_ev_charging/LICENSE.md +7 -21
- data/lib/measures/add_ems_to_control_ev_charging/measure.rb +2 -32
- data/lib/measures/add_ev_load/LICENSE.md +7 -21
- data/lib/measures/add_ev_load/measure.rb +2 -32
- data/lib/measures/add_rooftop_pv/LICENSE.md +7 -21
- data/lib/measures/add_rooftop_pv/measure.rb +2 -32
- data/lib/measures/add_zone_mixing_object/LICENSE.md +7 -21
- data/lib/measures/add_zone_mixing_object/measure.rb +2 -32
- data/lib/measures/add_zone_ventilation_design_flow_rate_object/LICENSE.md +7 -21
- data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.rb +2 -32
- data/lib/measures/air_wall_zone_mixing/LICENSE.md +7 -21
- data/lib/measures/air_wall_zone_mixing/measure.rb +2 -32
- data/lib/measures/create_csv_output/LICENSE.md +13 -0
- data/lib/measures/create_csv_output/README.md +36 -0
- data/lib/measures/create_csv_output/README.md.erb +45 -0
- data/lib/measures/create_csv_output/docs/.gitkeep +0 -0
- data/lib/measures/create_csv_output/measure.rb +235 -0
- data/lib/measures/create_csv_output/measure.xml +124 -0
- data/lib/measures/create_csv_output/resources/report.html.in +13 -0
- data/lib/measures/envelope_and_internal_load_breakdown/LICENSE.md +7 -21
- data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +2 -32
- data/lib/measures/envelope_and_internal_load_breakdown/resources/os_lib_reporting_envelope_and_internal_loads_breakdown.rb +2 -32
- data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +6 -32
- data/lib/measures/example_report/LICENSE.md +7 -21
- data/lib/measures/example_report/measure.rb +2 -32
- data/lib/measures/example_report/resources/os_lib_reporting_example.rb +2 -32
- data/lib/measures/example_report/resources/report.html.erb +6 -32
- data/lib/measures/gem_env_report/LICENSE.md +7 -21
- data/lib/measures/gem_env_report/measure.rb +2 -32
- data/lib/measures/gem_env_report/resources/gem_env_info.rb +2 -32
- data/lib/measures/gem_env_report/resources/openstudio_info.rb +2 -32
- data/lib/measures/gem_env_report/resources/run_gem_env_info.rb +2 -32
- data/lib/measures/gem_env_report/resources/run_openstudio_info.rb +2 -32
- data/lib/measures/generic_qaqc/LICENSE.md +7 -21
- data/lib/measures/generic_qaqc/measure.rb +2 -32
- data/lib/measures/generic_qaqc/measure.xml +8 -14
- data/lib/measures/generic_qaqc/resources/check_air_sys_temps.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_calibration.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_cond_zns.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_fan_pwr.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_mech_sys_part_load_eff.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_part_loads.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_placeholder.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_plant_cap.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_plant_temps.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_plenum_loads.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_pump_pwr.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_sch_coord.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_schedules.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_simultaneous_heating_and_cooling.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_weather_files.rb +2 -32
- data/lib/measures/generic_qaqc/resources/os_lib_reporting_qaqc.rb +2 -32
- data/lib/measures/generic_qaqc/resources/report.html.erb +6 -32
- data/lib/measures/get_site_from_building_component_library/LICENSE.md +7 -21
- data/lib/measures/get_site_from_building_component_library/measure.rb +2 -32
- data/lib/measures/hvac_psychrometric_chart/LICENSE.md +7 -21
- data/lib/measures/hvac_psychrometric_chart/measure.rb +2 -32
- data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +6 -32
- data/lib/measures/inject_idf_objects/LICENSE.md +7 -21
- data/lib/measures/inject_idf_objects/measure.rb +2 -32
- data/lib/measures/openstudio_results/LICENSE.md +7 -21
- data/lib/measures/openstudio_results/measure.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirLoopHVAC.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitarySystem.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalDualDuctVAV.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeCooledBeam.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctParallelPIUReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctSeriesPIUReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctUncontrolled.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVHeatAndCoolNoReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVHeatAndCoolReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVNoReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctVAVReheat.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.BoilerHotWater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.BoilerSteam.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ChillerAbsorption.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ChillerAbsorptionIndirect.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ChillerElectricEIR.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ChillerHeaterPerformanceElectricEIR.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeedStageData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXSingleSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingDXVariableSpeedSpeedData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingLowTempRadiantVarFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXMultiSpeedStageData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXSingleSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDXVariableSpeedSpeedData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingDesuperheater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingElectric.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGas.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGasMultiStage.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingGasMultiStageStageData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingLowTempRadiantVarFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterBaseboard.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterBaseboardRadiant.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilPerformanceDXCooling.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilSystemCoolingDXHeatExchangerAssisted.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilSystemCoolingWaterHeatExchangerAssisted.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingAirToWaterHeatPump.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingAirToWaterHeatPumpWrapped.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoilWaterHeatingDesuperheater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ControllerOutdoorAir.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoolingTowerSingleSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoolingTowerTwoSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.CoolingTowerVariableSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.DistrictCooling.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.DistrictHeating.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterInverterLookUpTable.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterInverterSimple.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterStorageConverter.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ElectricLoadCenterStorageSimple.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.EvaporativeCoolerDirectResearchSpecial.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.EvaporativeFluidCoolerSingleSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.EvaporativeFluidCoolerTwoSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.FanConstantVolume.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.FanOnOff.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.FanVariableVolume.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.FanZoneExhaust.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.FluidCoolerSingleSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.FluidCoolerTwoSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellElectricalStorage.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellInverter.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.GeneratorFuelCellPowerModule.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.GeneratorMicroTurbine.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.GeneratorMicroTurbineHeatRecovery.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HVACComponent.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HeaderedPumpsConstantSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HeaderedPumpsVariableSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HeatExchangerFluidToFluid.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HeatPumpWaterToWaterEquationFitCooling.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HeatPumpWaterToWaterEquationFitHeating.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.HumidifierSteamElectric.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.Model.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ModelObject.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.PhotovoltaicPerformanceSimple.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.PlantComponentTemperatureSource.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.PlantLoop.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.PumpConstantSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.PumpVariableSpeed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.RefrigerationSecondarySystem.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.RefrigerationSystem.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.RefrigerationTranscriticalSystem.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.SizingSystem.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.SolarCollectorPerformancePhotovoltaicThermalSimple.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ThermalStorageChilledWaterStratified.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.WaterHeaterHeatPump.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.WaterHeaterHeatPumpWrappedCondenser.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.WaterHeaterMixed.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardConvectiveElectric.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardConvectiveWater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardRadiantConvectiveElectric.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACBaseboardRadiantConvectiveWater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACEnergyRecoveryVentilator.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACHighTemperatureRadiant.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACIdealLoadsAirSystem.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACLowTempRadiantConstFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACLowTempRadiantVarFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitHeater.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneHVACWaterToAirHeatPump.rb +2 -32
- data/lib/measures/openstudio_results/resources/Siz.ZoneVentilationDesignFlowRate.rb +2 -32
- data/lib/measures/openstudio_results/resources/os_lib_reporting.rb +2 -32
- data/lib/measures/openstudio_results/resources/report.html.erb +6 -32
- data/lib/measures/remove_orphan_objects_and_unused_resources/LICENSE.md +7 -21
- data/lib/measures/remove_orphan_objects_and_unused_resources/measure.rb +12 -50
- data/lib/measures/remove_orphan_objects_and_unused_resources/measure.xml +9 -9
- data/lib/measures/set_electric_equipment_loads_by_epd/LICENSE.md +7 -21
- data/lib/measures/set_electric_equipment_loads_by_epd/measure.rb +2 -32
- data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/LICENSE.md +7 -21
- data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.rb +2 -32
- data/lib/measures/set_run_period/LICENSE.md +7 -21
- data/lib/measures/set_run_period/measure.rb +2 -32
- data/lib/measures/set_run_period/measure.xml +2 -2
- data/lib/measures/set_space_infiltration_per_exterior_area/LICENSE.md +7 -21
- data/lib/measures/set_space_infiltration_per_exterior_area/measure.rb +2 -32
- data/lib/measures/shadow_calculation/LICENSE.md +13 -0
- data/lib/measures/shadow_calculation/README.md +80 -0
- data/lib/measures/shadow_calculation/README.md.erb +42 -0
- data/lib/measures/shadow_calculation/measure.rb +188 -0
- data/lib/measures/shadow_calculation/measure.xml +180 -0
- data/lib/measures/tariff_selection_block/LICENSE.md +7 -21
- data/lib/measures/tariff_selection_block/measure.rb +2 -32
- data/lib/measures/tariff_selection_flat/LICENSE.md +7 -21
- data/lib/measures/tariff_selection_flat/measure.rb +2 -32
- data/lib/measures/tariff_selection_generic/LICENSE.md +7 -21
- data/lib/measures/tariff_selection_generic/measure.rb +2 -32
- data/lib/measures/tariff_selection_time_and_date_dependant/LICENSE.md +7 -21
- data/lib/measures/tariff_selection_time_and_date_dependant/measure.rb +2 -32
- data/lib/measures/view_data/LICENSE.md +7 -21
- data/lib/measures/view_data/measure.rb +2 -32
- data/lib/measures/view_data/resources/va3c.rb +2 -32
- data/lib/measures/view_model/LICENSE.md +7 -21
- data/lib/measures/view_model/measure.rb +2 -32
- data/lib/measures/view_model/resources/va3c.rb +2 -32
- data/lib/openstudio/common_measures/extension.rb +2 -32
- data/lib/openstudio/common_measures/version.rb +3 -33
- data/lib/openstudio/common_measures.rb +2 -32
- data/lib/openstudio-common-measures.rb +2 -32
- data/openstudio-common-measures.gemspec +2 -2
- metadata +69 -8
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
class OpenStudio::Model::ZoneHVACPackagedTerminalHeatPump
|
data/lib/measures/openstudio_results/resources/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb
CHANGED
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
class OpenStudio::Model::ZoneHVACTerminalUnitVariableRefrigerantFlow
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
class OpenStudio::Model::ZoneHVACUnitHeater
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
class OpenStudio::Model::ZoneHVACUnitVentilator
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
class OpenStudio::Model::ZoneHVACWaterToAirHeatPump
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
class OpenStudio::Model::ZoneVentilationDesignFlowRate
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
require 'json'
|
@@ -1,37 +1,7 @@
|
|
1
1
|
<%
|
2
2
|
# *******************************************************************************
|
3
|
-
# OpenStudio(R), Copyright (c)
|
4
|
-
#
|
5
|
-
# Redistribution and use in source and binary forms, with or without
|
6
|
-
# modification, are permitted provided that the following conditions are met:
|
7
|
-
#
|
8
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
9
|
-
# this list of conditions and the following disclaimer.
|
10
|
-
#
|
11
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
12
|
-
# this list of conditions and the following disclaimer in the documentation
|
13
|
-
# and/or other materials provided with the distribution.
|
14
|
-
#
|
15
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
16
|
-
# may be used to endorse or promote products derived from this software without
|
17
|
-
# specific prior written permission from the respective party.
|
18
|
-
#
|
19
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
20
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
21
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
22
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
23
|
-
#
|
24
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
25
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
26
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
27
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
28
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
29
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
30
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
31
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
32
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
33
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
34
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
3
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
4
|
+
# See also https://openstudio.net/license
|
35
5
|
# *******************************************************************************
|
36
6
|
%>
|
37
7
|
|
@@ -50,6 +20,10 @@
|
|
50
20
|
|
51
21
|
|
52
22
|
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
53
27
|
|
54
28
|
<!DOCTYPE html>
|
55
29
|
<html lang="en">
|
@@ -1,27 +1,13 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
|
-
provided that the following conditions are met:
|
3
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
5
4
|
|
6
|
-
|
7
|
-
and the following disclaimer.
|
5
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
8
6
|
|
9
|
-
|
10
|
-
and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
7
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
11
8
|
|
12
|
-
|
13
|
-
or promote products derived from this software without specific prior written permission from the
|
14
|
-
respective party.
|
9
|
+
3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
|
15
10
|
|
16
|
-
|
17
|
-
derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
|
18
|
-
designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
|
11
|
+
4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
|
19
12
|
|
20
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
|
21
|
-
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
22
|
-
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
|
23
|
-
OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
24
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
25
|
-
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
26
|
-
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
27
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
# see the URL below for information on how to write OpenStudio measures
|
@@ -129,7 +99,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
129
99
|
# remove orphan design spec oa objects
|
130
100
|
orphan_flag = false
|
131
101
|
model.getDesignSpecificationOutdoorAirs.sort.each do |instance|
|
132
|
-
if instance.directUseCount == 0
|
102
|
+
if instance.directUseCount(excludeChildren=true) == 0
|
133
103
|
runner.registerInfo("Removing orphan design specification outdoor air object named #{instance.name}")
|
134
104
|
instance.remove
|
135
105
|
orphan_flag = true
|
@@ -248,7 +218,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
248
218
|
if remove_unused_load_defs
|
249
219
|
unused_flag_counter = 0
|
250
220
|
model.getSpaceLoadDefinitions.sort.each do |resource|
|
251
|
-
if resource.directUseCount == 0
|
221
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
252
222
|
unused_flag_counter += 1
|
253
223
|
resource.remove
|
254
224
|
end
|
@@ -260,7 +230,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
260
230
|
if remove_unused_schedules
|
261
231
|
unused_flag_counter = 0
|
262
232
|
model.getDefaultScheduleSets.sort.each do |resource|
|
263
|
-
if resource.directUseCount == 0
|
233
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
264
234
|
unused_flag_counter += 1
|
265
235
|
resource.remove
|
266
236
|
end
|
@@ -272,7 +242,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
272
242
|
if remove_unused_schedules
|
273
243
|
unused_flag_counter = 0
|
274
244
|
model.getSchedules.sort.each do |resource|
|
275
|
-
if resource.directUseCount == 0
|
245
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
276
246
|
unused_flag_counter += 1
|
277
247
|
resource.remove
|
278
248
|
end
|
@@ -284,7 +254,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
284
254
|
if remove_unused_curves
|
285
255
|
unused_flag_counter = 0
|
286
256
|
model.getCurves.sort.each do |resource|
|
287
|
-
if resource.directUseCount == 0
|
257
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
288
258
|
unused_flag_counter += 1
|
289
259
|
# work-around logic since <OpenStudio::Model::Curve>.remove doesn't work
|
290
260
|
model.removeObject(resource.handle)
|
@@ -298,7 +268,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
298
268
|
|
299
269
|
unused_flag_counter = 0
|
300
270
|
model.getDefaultConstructionSets.sort.each do |resource|
|
301
|
-
if resource.directUseCount == 0
|
271
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
302
272
|
unused_flag_counter += 1
|
303
273
|
resource.remove
|
304
274
|
end
|
@@ -309,7 +279,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
309
279
|
# these are typically hidden from users and reporting it may be more confusing that helpful
|
310
280
|
unused_flag_counter = 0
|
311
281
|
model.getDefaultSurfaceConstructionss.sort.each do |resource|
|
312
|
-
if resource.directUseCount == 0
|
282
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
313
283
|
unused_flag_counter += 1
|
314
284
|
resource.remove
|
315
285
|
end
|
@@ -318,7 +288,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
318
288
|
|
319
289
|
unused_flag_counter = 0
|
320
290
|
model.getDefaultSubSurfaceConstructionss.sort.each do |resource|
|
321
|
-
if resource.directUseCount == 0
|
291
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
322
292
|
unused_flag_counter += 1
|
323
293
|
resource.remove
|
324
294
|
end
|
@@ -328,17 +298,9 @@ A second functionality is to remove unused resources. This will include things l
|
|
328
298
|
# remove default constructions
|
329
299
|
unused_flag_counter = 0
|
330
300
|
model.getConstructions.sort.each do |resource|
|
331
|
-
if resource.directUseCount ==
|
301
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
332
302
|
unused_flag_counter += 1
|
333
303
|
resource.remove
|
334
|
-
else # this was just put in for testing ot understand why directUseCount isn't 0
|
335
|
-
# puts ""
|
336
|
-
# puts "Name #{resource.name}"
|
337
|
-
# puts "directUseCount = #{resource.nonResourceObjectUseCount}"
|
338
|
-
# puts "nonResourceObjectUseCount = #{resource.nonResourceObjectUseCount}"
|
339
|
-
# puts "targets.size = #{resource.targets.size}"
|
340
|
-
# puts "sources.size = #{resource.sources.size}"
|
341
|
-
|
342
304
|
end
|
343
305
|
end
|
344
306
|
runner.registerInfo("Removed #{unused_flag_counter} unused constructions")
|
@@ -346,7 +308,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
346
308
|
# remove unused materials
|
347
309
|
unused_flag_counter = 0
|
348
310
|
model.getMaterials.sort.each do |resource|
|
349
|
-
if resource.directUseCount == 0
|
311
|
+
if resource.directUseCount(excludeChildren=true) == 0
|
350
312
|
unused_flag_counter += 1
|
351
313
|
resource.remove
|
352
314
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</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>cbd91dc6-4e6b-4db6-96e4-25f290510e41</version_id>
|
7
|
+
<version_modified>20230607T052232Z</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>
|
@@ -166,6 +166,12 @@ A second functionality is to remove unused resources. This will include things l
|
|
166
166
|
<usage_type>license</usage_type>
|
167
167
|
<checksum>64FFEBDE</checksum>
|
168
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>
|
174
|
+
</file>
|
169
175
|
<file>
|
170
176
|
<version>
|
171
177
|
<software_program>OpenStudio</software_program>
|
@@ -175,13 +181,7 @@ A second functionality is to remove unused resources. This will include things l
|
|
175
181
|
<filename>measure.rb</filename>
|
176
182
|
<filetype>rb</filetype>
|
177
183
|
<usage_type>script</usage_type>
|
178
|
-
<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>A54B8567</checksum>
|
184
|
+
<checksum>0B14129B</checksum>
|
185
185
|
</file>
|
186
186
|
</files>
|
187
187
|
</measure>
|
@@ -1,27 +1,13 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
|
-
provided that the following conditions are met:
|
3
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
5
4
|
|
6
|
-
|
7
|
-
and the following disclaimer.
|
5
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
8
6
|
|
9
|
-
|
10
|
-
and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
7
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
11
8
|
|
12
|
-
|
13
|
-
or promote products derived from this software without specific prior written permission from the
|
14
|
-
respective party.
|
9
|
+
3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
|
15
10
|
|
16
|
-
|
17
|
-
derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
|
18
|
-
designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
|
11
|
+
4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
|
19
12
|
|
20
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
|
21
|
-
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
22
|
-
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
|
23
|
-
OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
24
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
25
|
-
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
26
|
-
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
27
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
# start the measure
|