openstudio-common-measures 0.6.1 → 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 +29 -1
- data/Gemfile +4 -0
- data/LICENSE.md +7 -21
- data/README.md +3 -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/AddCostPerAreaToConstruction/measure.xml +5 -5
- data/lib/measures/AddCostPerFloorAreaToBuilding/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaToBuilding/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaToBuilding/measure.xml +5 -5
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.xml +5 -5
- data/lib/measures/AddCostPerFloorAreaToLights/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaToLights/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaToLights/measure.xml +5 -5
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/LICENSE.md +7 -21
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.rb +2 -32
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +5 -5
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/LICENSE.md +7 -21
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.rb +2 -32
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +12 -12
- data/lib/measures/AddCostperAreatoUnusedConstruction/LICENSE.md +7 -21
- data/lib/measures/AddCostperAreatoUnusedConstruction/measure.rb +2 -32
- data/lib/measures/AddCostperAreatoUnusedConstruction/measure.xml +5 -5
- data/lib/measures/AddExteriorLights/LICENSE.md +7 -21
- data/lib/measures/AddExteriorLights/measure.rb +2 -32
- data/lib/measures/AddExteriorLights/measure.xml +5 -5
- data/lib/measures/AddMeter/LICENSE.md +7 -21
- data/lib/measures/AddMeter/measure.rb +2 -32
- data/lib/measures/AddMeter/measure.xml +5 -5
- data/lib/measures/AddOutputDiagnostics/LICENSE.md +7 -21
- data/lib/measures/AddOutputDiagnostics/measure.rb +2 -32
- data/lib/measures/AddOutputDiagnostics/measure.xml +5 -5
- data/lib/measures/AddOutputVariable/LICENSE.md +7 -21
- data/lib/measures/AddOutputVariable/measure.rb +2 -32
- data/lib/measures/AddOutputVariable/measure.xml +5 -5
- data/lib/measures/AddSimplePvToShadingSurfacesByType/LICENSE.md +7 -21
- data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.rb +2 -32
- data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +5 -5
- 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 +7 -35
- data/lib/measures/AdjustSystemEfficiencies/measure.xml +4 -4
- data/lib/measures/AdjustThermostatSetpointsByDegrees/LICENSE.md +7 -21
- data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.rb +2 -32
- data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.xml +5 -5
- data/lib/measures/ChangeBuildingLocation/LICENSE.md +7 -21
- data/lib/measures/ChangeBuildingLocation/measure.rb +2 -32
- data/lib/measures/ChangeBuildingLocation/measure.xml +7 -7
- 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/EnableIdealAirLoadsForAllZones/measure.xml +5 -5
- data/lib/measures/ExportScheduleCSV/LICENSE.md +7 -21
- data/lib/measures/ExportScheduleCSV/measure.rb +2 -32
- data/lib/measures/ExportScheduleCSV/measure.xml +5 -5
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/LICENSE.md +7 -21
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.rb +2 -32
- data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +5 -5
- data/lib/measures/MeterFlodPlot/LICENSE.md +7 -21
- data/lib/measures/MeterFlodPlot/measure.rb +2 -32
- data/lib/measures/MeterFlodPlot/measure.xml +5 -5
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/LICENSE.md +7 -21
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.rb +2 -32
- data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.xml +5 -5
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/LICENSE.md +7 -21
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.rb +2 -32
- data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.xml +5 -5
- data/lib/measures/PredictedMeanVote/LICENSE.md +7 -21
- data/lib/measures/PredictedMeanVote/measure.rb +2 -32
- data/lib/measures/PredictedMeanVote/measure.xml +5 -5
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/LICENSE.md +7 -21
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.rb +2 -32
- data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.xml +5 -5
- data/lib/measures/RemoveUnusedDefaultProfiles/LICENSE.md +7 -21
- data/lib/measures/RemoveUnusedDefaultProfiles/measure.rb +2 -32
- data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +5 -5
- data/lib/measures/ReplaceExteriorWindowConstruction/LICENSE.md +7 -21
- data/lib/measures/ReplaceExteriorWindowConstruction/measure.rb +2 -32
- data/lib/measures/ReplaceExteriorWindowConstruction/measure.xml +23 -8
- 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/ReplaceThermostatSchedules/measure.xml +7 -7
- data/lib/measures/ReportModelChanges/LICENSE.md +7 -21
- data/lib/measures/ReportModelChanges/measure.rb +2 -32
- data/lib/measures/ReportModelChanges/measure.xml +5 -5
- data/lib/measures/RunPeriod/LICENSE.md +7 -21
- data/lib/measures/RunPeriod/measure.rb +2 -32
- data/lib/measures/RunPeriod/measure.xml +4 -4
- data/lib/measures/RunPeriodMultiple/LICENSE.md +7 -21
- data/lib/measures/RunPeriodMultiple/measure.rb +2 -32
- data/lib/measures/RunPeriodMultiple/measure.xml +4 -4
- data/lib/measures/ServerDirectoryCleanup/LICENSE.md +7 -21
- data/lib/measures/ServerDirectoryCleanup/measure.rb +2 -32
- data/lib/measures/ServerDirectoryCleanup/measure.xml +5 -5
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/LICENSE.md +7 -21
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.rb +4 -34
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +7 -7
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/LICENSE.md +7 -21
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.rb +5 -34
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +7 -7
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/LICENSE.md +7 -21
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.rb +2 -32
- data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.xml +5 -5
- data/lib/measures/SetEnergyPlusLightObjectsLPD/LICENSE.md +7 -21
- data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.rb +2 -32
- data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.xml +5 -5
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/LICENSE.md +7 -21
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.rb +2 -32
- data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.xml +5 -5
- data/lib/measures/SetGasBurnerEfficiency/LICENSE.md +7 -21
- data/lib/measures/SetGasBurnerEfficiency/measure.rb +2 -32
- data/lib/measures/SetGasBurnerEfficiency/measure.xml +7 -7
- data/lib/measures/SetLifecycleCostParameters/LICENSE.md +7 -21
- data/lib/measures/SetLifecycleCostParameters/measure.rb +2 -32
- data/lib/measures/SetLifecycleCostParameters/measure.xml +5 -5
- data/lib/measures/SetLightingLoadsByLPD/LICENSE.md +7 -21
- data/lib/measures/SetLightingLoadsByLPD/measure.rb +2 -32
- data/lib/measures/SetLightingLoadsByLPD/measure.xml +7 -7
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/LICENSE.md +7 -21
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.rb +2 -32
- data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.xml +77 -17
- data/lib/measures/SetThermostatSchedules/LICENSE.md +7 -21
- data/lib/measures/SetThermostatSchedules/measure.rb +2 -32
- data/lib/measures/SetThermostatSchedules/measure.xml +7 -7
- data/lib/measures/ShiftScheduleProfileTime/LICENSE.md +7 -21
- data/lib/measures/ShiftScheduleProfileTime/measure.rb +2 -32
- data/lib/measures/ShiftScheduleProfileTime/measure.xml +7 -7
- data/lib/measures/SwapLightsDefinition/LICENSE.md +7 -21
- data/lib/measures/SwapLightsDefinition/measure.rb +2 -32
- data/lib/measures/SwapLightsDefinition/measure.xml +5 -5
- data/lib/measures/UnmetLoadHoursTroubleshooting/LICENSE.md +7 -21
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.rb +2 -32
- data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +5 -5
- data/lib/measures/VentilationQAQC/LICENSE.md +7 -21
- data/lib/measures/VentilationQAQC/measure.rb +2 -32
- data/lib/measures/VentilationQAQC/measure.xml +5 -5
- 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/ZoneReport/measure.xml +5 -5
- 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_emissions_reporting/measure.xml +10 -10
- data/lib/measures/add_ems_to_control_ev_charging/LICENSE.MD.txt +1 -1
- 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_ems_to_control_ev_charging/measure.xml +5 -8
- data/lib/measures/add_ev_load/LICENSE.MD.txt +1 -1
- data/lib/measures/add_ev_load/LICENSE.md +7 -21
- data/lib/measures/add_ev_load/measure.rb +2 -32
- data/lib/measures/add_ev_load/measure.xml +10 -10
- data/lib/measures/add_rooftop_pv/LICENSE.md +7 -21
- data/lib/measures/add_rooftop_pv/measure.rb +2 -32
- data/lib/measures/add_rooftop_pv/measure.xml +5 -5
- 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_mixing_object/measure.xml +5 -5
- 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 +6 -33
- data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.xml +5 -5
- 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/air_wall_zone_mixing/measure.xml +5 -5
- 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/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/README.md +31 -0
- data/lib/measures/envelope_and_internal_load_breakdown/README.md.erb +31 -1
- data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_gain_detailed_a.png +0 -0
- data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_gain_detailed_b.png +0 -0
- data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_gain_summary.png +0 -0
- data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_loss_detailed.png +0 -0
- data/lib/measures/envelope_and_internal_load_breakdown/docs/htg_loss_summary.png +0 -0
- data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +2 -32
- data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +39 -9
- 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 +10 -32
- data/lib/measures/example_report/LICENSE.md +7 -21
- data/lib/measures/example_report/measure.rb +2 -32
- data/lib/measures/example_report/measure.xml +7 -7
- data/lib/measures/example_report/resources/os_lib_reporting_example.rb +2 -32
- data/lib/measures/example_report/resources/report.html.erb +10 -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/measure.xml +9 -9
- 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 +110 -108
- 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 +18 -44
- data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +7 -33
- data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +7 -33
- data/lib/measures/generic_qaqc/resources/check_fan_pwr.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +11 -37
- data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +2 -32
- data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +6 -36
- 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 +8 -34
- 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 +15 -36
- 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 +10 -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/get_site_from_building_component_library/measure.xml +6 -6
- 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/measure.xml +6 -6
- data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +10 -32
- data/lib/measures/inject_idf_objects/LICENSE.md +7 -21
- data/lib/measures/inject_idf_objects/measure.rb +2 -32
- data/lib/measures/inject_idf_objects/measure.xml +5 -5
- data/lib/measures/openstudio_results/LICENSE.md +7 -21
- data/lib/measures/openstudio_results/measure.rb +2 -32
- data/lib/measures/openstudio_results/measure.xml +165 -165
- 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 +10 -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 +10 -10
- 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_electric_equipment_loads_by_epd/measure.xml +7 -7
- 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_exterior_walls_and_floors_to_adiabatic/measure.xml +10 -10
- 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 +5 -5
- 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/set_space_infiltration_per_exterior_area/measure.xml +5 -5
- 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_block/measure.xml +5 -5
- 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_flat/measure.xml +5 -5
- 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_generic/measure.xml +23 -23
- 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/tariff_selection_time_and_date_dependant/measure.xml +5 -5
- data/lib/measures/view_data/LICENSE.md +7 -21
- data/lib/measures/view_data/measure.rb +2 -32
- data/lib/measures/view_data/measure.xml +7 -7
- data/lib/measures/view_data/resources/report.html.in +1 -1
- 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/measure.xml +24 -24
- data/lib/measures/view_model/resources/report.html.in +1 -1
- 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 +77 -13
- data/lib/measures/.rubocop.yml +0 -7
- /data/lib/measures/{.gitkeep → create_csv_output/docs/.gitkeep} +0 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
###### (Automatically generated documentation)
|
4
|
+
|
5
|
+
# AddThermalComfortModelTypes
|
6
|
+
|
7
|
+
## Description
|
8
|
+
Adds to the model (A) any of the available thermal comfort model types, and (B) work efficiency, clothing insulation, and air velocity constant schedules.
|
9
|
+
|
10
|
+
## Modeler Description
|
11
|
+
Specify any of the thermal comfort model types to add to People:Definition objects in the model. Specify constant values corresponding to the work efficiency, clothing insulation, and air velocity schedules.
|
12
|
+
|
13
|
+
## Measure Type
|
14
|
+
ModelMeasure
|
15
|
+
|
16
|
+
## Taxonomy
|
17
|
+
|
18
|
+
|
19
|
+
## Arguments
|
20
|
+
|
21
|
+
|
22
|
+
### Thermal Comfort Model Type: Fanger
|
23
|
+
Whether to add the Fanger thermal comfort model type.
|
24
|
+
**Name:** thermal_comfort_model_type_fanger,
|
25
|
+
**Type:** Boolean,
|
26
|
+
**Units:** ,
|
27
|
+
**Required:** true,
|
28
|
+
**Model Dependent:** false
|
29
|
+
|
30
|
+
|
31
|
+
### Thermal Comfort Model Type: Pierce
|
32
|
+
Whether to add the Pierce thermal comfort model type.
|
33
|
+
**Name:** thermal_comfort_model_type_pierce,
|
34
|
+
**Type:** Boolean,
|
35
|
+
**Units:** ,
|
36
|
+
**Required:** true,
|
37
|
+
**Model Dependent:** false
|
38
|
+
|
39
|
+
|
40
|
+
### Thermal Comfort Model Type: KSU
|
41
|
+
Whether to add the KSU thermal comfort model type.
|
42
|
+
**Name:** thermal_comfort_model_type_ksu,
|
43
|
+
**Type:** Boolean,
|
44
|
+
**Units:** ,
|
45
|
+
**Required:** true,
|
46
|
+
**Model Dependent:** false
|
47
|
+
|
48
|
+
|
49
|
+
### Thermal Comfort Model Type: AdaptiveASH55
|
50
|
+
Whether to add the AdaptiveASH55 thermal comfort model type.
|
51
|
+
**Name:** thermal_comfort_model_type_adaptiveash55,
|
52
|
+
**Type:** Boolean,
|
53
|
+
**Units:** ,
|
54
|
+
**Required:** true,
|
55
|
+
**Model Dependent:** false
|
56
|
+
|
57
|
+
|
58
|
+
### Thermal Comfort Model Type: AdaptiveCEN15251
|
59
|
+
Whether to add the AdaptiveCEN15251 thermal comfort model type.
|
60
|
+
**Name:** thermal_comfort_model_type_adaptivecen15251,
|
61
|
+
**Type:** Boolean,
|
62
|
+
**Units:** ,
|
63
|
+
**Required:** true,
|
64
|
+
**Model Dependent:** false
|
65
|
+
|
66
|
+
|
67
|
+
### Thermal Comfort Model Type: CoolingEffectASH55
|
68
|
+
Whether to add the CoolingEffectASH55 thermal comfort model type.
|
69
|
+
**Name:** thermal_comfort_model_type_coolingeffectash55,
|
70
|
+
**Type:** Boolean,
|
71
|
+
**Units:** ,
|
72
|
+
**Required:** true,
|
73
|
+
**Model Dependent:** false
|
74
|
+
|
75
|
+
|
76
|
+
### Thermal Comfort Model Type: AnkleDraftASH55
|
77
|
+
Whether to add the AnkleDraftASH55 thermal comfort model type.
|
78
|
+
**Name:** thermal_comfort_model_type_ankledraftash55,
|
79
|
+
**Type:** Boolean,
|
80
|
+
**Units:** ,
|
81
|
+
**Required:** true,
|
82
|
+
**Model Dependent:** false
|
83
|
+
|
84
|
+
|
85
|
+
### Work Efficiency Schedule Value
|
86
|
+
Specify the constant work efficiency schedule value.
|
87
|
+
**Name:** work_efficiency_schedule_value,
|
88
|
+
**Type:** Double,
|
89
|
+
**Units:** Frac,
|
90
|
+
**Required:** true,
|
91
|
+
**Model Dependent:** false
|
92
|
+
|
93
|
+
|
94
|
+
### Clothing Insulation Schedule Value
|
95
|
+
Specify the constant clothing insulation schedule value.
|
96
|
+
**Name:** clothing_insulation_schedule_value,
|
97
|
+
**Type:** Double,
|
98
|
+
**Units:** Frac,
|
99
|
+
**Required:** true,
|
100
|
+
**Model Dependent:** false
|
101
|
+
|
102
|
+
|
103
|
+
### Air Velocity Schedule Value
|
104
|
+
Specify the constant air velocity schedule value.
|
105
|
+
**Name:** air_velocity_schedule_value,
|
106
|
+
**Type:** Double,
|
107
|
+
**Units:** Frac,
|
108
|
+
**Required:** true,
|
109
|
+
**Model Dependent:** false
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<%#= README.md.erb is used to auto-generate README.md. %>
|
2
|
+
<%#= To manually maintain README.md throw away README.md.erb and manually edit README.md %>
|
3
|
+
###### (Automatically generated documentation)
|
4
|
+
|
5
|
+
# <%= name %>
|
6
|
+
|
7
|
+
## Description
|
8
|
+
<%= description %>
|
9
|
+
|
10
|
+
## Modeler Description
|
11
|
+
<%= modelerDescription %>
|
12
|
+
|
13
|
+
## Measure Type
|
14
|
+
<%= measureType %>
|
15
|
+
|
16
|
+
## Taxonomy
|
17
|
+
<%= taxonomy %>
|
18
|
+
|
19
|
+
## Arguments
|
20
|
+
|
21
|
+
<% arguments.each do |argument| %>
|
22
|
+
### <%= argument[:display_name] %>
|
23
|
+
<%= argument[:description] %>
|
24
|
+
**Name:** <%= argument[:name] %>,
|
25
|
+
**Type:** <%= argument[:type] %>,
|
26
|
+
**Units:** <%= argument[:units] %>,
|
27
|
+
**Required:** <%= argument[:required] %>,
|
28
|
+
**Model Dependent:** <%= argument[:model_dependent] %>
|
29
|
+
<% if argument[:type] == "Choice" && !argument[:model_dependent]%>
|
30
|
+
**Choice Display Names** <%= argument[:choice_display_names] %>
|
31
|
+
<% end %>
|
32
|
+
<% end %>
|
33
|
+
|
34
|
+
<% if arguments.size == 0 %>
|
35
|
+
<%= "This measure does not have any user arguments" %>
|
36
|
+
<% end %>
|
37
|
+
|
38
|
+
<% if outputs.size > 0 %>
|
39
|
+
## Outputs
|
40
|
+
<% output_names = [] %>
|
41
|
+
<% outputs.each do |output| %>
|
42
|
+
<% output_names << output[:display_name] %>
|
43
|
+
<% end %>
|
44
|
+
<%= output_names.join(", ") %>
|
45
|
+
<% end %>
|
@@ -0,0 +1,165 @@
|
|
1
|
+
# *******************************************************************************
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
4
|
+
# *******************************************************************************
|
5
|
+
|
6
|
+
# frozen_string_literal: true
|
7
|
+
|
8
|
+
# see the URL below for information on how to write OpenStudio measures
|
9
|
+
# http://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/
|
10
|
+
|
11
|
+
# start the measure
|
12
|
+
class AddThermalComfortModelTypes < OpenStudio::Measure::ModelMeasure
|
13
|
+
# human readable name
|
14
|
+
def name
|
15
|
+
# Measure name should be the title case of the class name.
|
16
|
+
return 'AddThermalComfortModelTypes'
|
17
|
+
end
|
18
|
+
|
19
|
+
# human readable description
|
20
|
+
def description
|
21
|
+
return 'Adds to the model (A) any of the available thermal comfort model types, and (B) work efficiency, clothing insulation, and air velocity constant schedules.'
|
22
|
+
end
|
23
|
+
|
24
|
+
# human readable description of modeling approach
|
25
|
+
def modeler_description
|
26
|
+
return 'Specify any of the thermal comfort model types to add to People:Definition objects in the model. Specify constant values corresponding to the work efficiency, clothing insulation, and air velocity schedules.'
|
27
|
+
end
|
28
|
+
|
29
|
+
# define the arguments that the user will input
|
30
|
+
def arguments(_model)
|
31
|
+
args = OpenStudio::Measure::OSArgumentVector.new
|
32
|
+
|
33
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_fanger', true)
|
34
|
+
arg.setDisplayName('Thermal Comfort Model Type: Fanger')
|
35
|
+
arg.setDescription('Whether to add the Fanger thermal comfort model type.')
|
36
|
+
arg.setDefaultValue(false)
|
37
|
+
args << arg
|
38
|
+
|
39
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_pierce', true)
|
40
|
+
arg.setDisplayName('Thermal Comfort Model Type: Pierce')
|
41
|
+
arg.setDescription('Whether to add the Pierce thermal comfort model type.')
|
42
|
+
arg.setDefaultValue(false)
|
43
|
+
args << arg
|
44
|
+
|
45
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_ksu', true)
|
46
|
+
arg.setDisplayName('Thermal Comfort Model Type: KSU')
|
47
|
+
arg.setDescription('Whether to add the KSU thermal comfort model type.')
|
48
|
+
arg.setDefaultValue(false)
|
49
|
+
args << arg
|
50
|
+
|
51
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_adaptiveash55', true)
|
52
|
+
arg.setDisplayName('Thermal Comfort Model Type: AdaptiveASH55')
|
53
|
+
arg.setDescription('Whether to add the AdaptiveASH55 thermal comfort model type.')
|
54
|
+
arg.setDefaultValue(false)
|
55
|
+
args << arg
|
56
|
+
|
57
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_adaptivecen15251', true)
|
58
|
+
arg.setDisplayName('Thermal Comfort Model Type: AdaptiveCEN15251')
|
59
|
+
arg.setDescription('Whether to add the AdaptiveCEN15251 thermal comfort model type.')
|
60
|
+
arg.setDefaultValue(false)
|
61
|
+
args << arg
|
62
|
+
|
63
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_coolingeffectash55', true)
|
64
|
+
arg.setDisplayName('Thermal Comfort Model Type: CoolingEffectASH55')
|
65
|
+
arg.setDescription('Whether to add the CoolingEffectASH55 thermal comfort model type.')
|
66
|
+
arg.setDefaultValue(false)
|
67
|
+
args << arg
|
68
|
+
|
69
|
+
arg = OpenStudio::Measure::OSArgument::makeBoolArgument('thermal_comfort_model_type_ankledraftash55', true)
|
70
|
+
arg.setDisplayName('Thermal Comfort Model Type: AnkleDraftASH55')
|
71
|
+
arg.setDescription('Whether to add the AnkleDraftASH55 thermal comfort model type.')
|
72
|
+
arg.setDefaultValue(false)
|
73
|
+
args << arg
|
74
|
+
|
75
|
+
arg = OpenStudio::Measure::OSArgument::makeDoubleArgument('work_efficiency_schedule_value', true)
|
76
|
+
arg.setDisplayName('Work Efficiency Schedule Value')
|
77
|
+
arg.setUnits('Frac')
|
78
|
+
arg.setDescription('Specify the constant work efficiency schedule value.')
|
79
|
+
arg.setDefaultValue(0.0)
|
80
|
+
args << arg
|
81
|
+
|
82
|
+
arg = OpenStudio::Measure::OSArgument::makeDoubleArgument('clothing_insulation_schedule_value', true)
|
83
|
+
arg.setDisplayName('Clothing Insulation Schedule Value')
|
84
|
+
arg.setUnits('Frac')
|
85
|
+
arg.setDescription('Specify the constant clothing insulation schedule value.')
|
86
|
+
arg.setDefaultValue(0.6)
|
87
|
+
args << arg
|
88
|
+
|
89
|
+
arg = OpenStudio::Measure::OSArgument::makeDoubleArgument('air_velocity_schedule_value', true)
|
90
|
+
arg.setDisplayName('Air Velocity Schedule Value')
|
91
|
+
arg.setUnits('Frac')
|
92
|
+
arg.setDescription('Specify the constant air velocity schedule value.')
|
93
|
+
arg.setDefaultValue(0.1)
|
94
|
+
args << arg
|
95
|
+
|
96
|
+
return args
|
97
|
+
end
|
98
|
+
|
99
|
+
# define what happens when the measure is run
|
100
|
+
def run(model, runner, user_arguments)
|
101
|
+
super(model, runner, user_arguments)
|
102
|
+
|
103
|
+
# use the built-in error checking
|
104
|
+
if !runner.validateUserArguments(arguments(model), user_arguments)
|
105
|
+
return false
|
106
|
+
end
|
107
|
+
|
108
|
+
# assign the user inputs to variables
|
109
|
+
thermal_comfort_model_type_fanger = runner.getBoolArgumentValue('thermal_comfort_model_type_fanger', user_arguments)
|
110
|
+
thermal_comfort_model_type_pierce = runner.getBoolArgumentValue('thermal_comfort_model_type_pierce', user_arguments)
|
111
|
+
thermal_comfort_model_type_ksu = runner.getBoolArgumentValue('thermal_comfort_model_type_ksu', user_arguments)
|
112
|
+
thermal_comfort_model_type_adaptiveash55 = runner.getBoolArgumentValue('thermal_comfort_model_type_adaptiveash55', user_arguments)
|
113
|
+
thermal_comfort_model_type_adaptivecen15251 = runner.getBoolArgumentValue('thermal_comfort_model_type_adaptivecen15251', user_arguments)
|
114
|
+
thermal_comfort_model_type_coolingeffectash55 = runner.getBoolArgumentValue('thermal_comfort_model_type_coolingeffectash55', user_arguments)
|
115
|
+
thermal_comfort_model_type_ankledraftash55 = runner.getBoolArgumentValue('thermal_comfort_model_type_ankledraftash55', user_arguments)
|
116
|
+
work_efficiency_schedule_value = runner.getDoubleArgumentValue('work_efficiency_schedule_value', user_arguments)
|
117
|
+
clothing_insulation_schedule_value = runner.getDoubleArgumentValue('clothing_insulation_schedule_value', user_arguments)
|
118
|
+
air_velocity_schedule_value = runner.getDoubleArgumentValue('air_velocity_schedule_value', user_arguments)
|
119
|
+
|
120
|
+
if !thermal_comfort_model_type_fanger && !thermal_comfort_model_type_pierce && !thermal_comfort_model_type_ksu && !thermal_comfort_model_type_adaptiveash55 && !thermal_comfort_model_type_adaptivecen15251 && !thermal_comfort_model_type_coolingeffectash55 && !thermal_comfort_model_type_ankledraftash55
|
121
|
+
runner.registerAsNotApplicable('No thermal comfort model types selected.')
|
122
|
+
return true
|
123
|
+
end
|
124
|
+
|
125
|
+
people_definitions = model.getPeopleDefinitions
|
126
|
+
peoples = model.getPeoples
|
127
|
+
|
128
|
+
if people_definitions.size == 0 || peoples.size == 0
|
129
|
+
runner.registerAsNotApplicable('No PeopleDefinition or People objects found in the model.')
|
130
|
+
return true
|
131
|
+
end
|
132
|
+
|
133
|
+
people_definitions.each do |people_def|
|
134
|
+
people_def.pushThermalComfortModelType('Fanger') if thermal_comfort_model_type_fanger
|
135
|
+
people_def.pushThermalComfortModelType('Pierce') if thermal_comfort_model_type_pierce
|
136
|
+
people_def.pushThermalComfortModelType('KSU') if thermal_comfort_model_type_ksu
|
137
|
+
people_def.pushThermalComfortModelType('AdaptiveASH55') if thermal_comfort_model_type_adaptiveash55
|
138
|
+
people_def.pushThermalComfortModelType('AdaptiveCEN15251') if thermal_comfort_model_type_adaptivecen15251
|
139
|
+
people_def.pushThermalComfortModelType('CoolingEffectASH55') if thermal_comfort_model_type_coolingeffectash55
|
140
|
+
people_def.pushThermalComfortModelType('AnkleDraftASH55') if thermal_comfort_model_type_ankledraftash55
|
141
|
+
end
|
142
|
+
|
143
|
+
peoples.each do |people|
|
144
|
+
work_efficiency_schedule = OpenStudio::Model::ScheduleConstant.new(model)
|
145
|
+
work_efficiency_schedule.setValue(work_efficiency_schedule_value)
|
146
|
+
work_efficiency_schedule.setName('Work Efficiency Schedule')
|
147
|
+
people.setWorkEfficiencySchedule(work_efficiency_schedule)
|
148
|
+
|
149
|
+
clothing_insulation_schedule = OpenStudio::Model::ScheduleConstant.new(model)
|
150
|
+
clothing_insulation_schedule.setValue(clothing_insulation_schedule_value)
|
151
|
+
clothing_insulation_schedule.setName('Clothing Insulation Schedule')
|
152
|
+
people.setClothingInsulationSchedule(clothing_insulation_schedule)
|
153
|
+
|
154
|
+
air_velocity_schedule = OpenStudio::Model::ScheduleConstant.new(model)
|
155
|
+
air_velocity_schedule.setValue(air_velocity_schedule_value)
|
156
|
+
air_velocity_schedule.setName('Air Velocity Schedule')
|
157
|
+
people.setAirVelocitySchedule(air_velocity_schedule)
|
158
|
+
end
|
159
|
+
|
160
|
+
return true
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# register the measure to be used by the application
|
165
|
+
AddThermalComfortModelTypes.new.registerWithApplication
|
@@ -0,0 +1,244 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<measure>
|
3
|
+
<schema_version>3.0</schema_version>
|
4
|
+
<name>add_thermal_comfort_model_types</name>
|
5
|
+
<uid>5ae7b6b3-58d0-40b4-9899-a7cf0e0d36d2</uid>
|
6
|
+
<version_id>65302226-31ae-4c79-8981-43a9fd4b4e74</version_id>
|
7
|
+
<version_modified>20230421T151558Z</version_modified>
|
8
|
+
<xml_checksum>F0C3F749</xml_checksum>
|
9
|
+
<class_name>AddThermalComfortModelTypes</class_name>
|
10
|
+
<display_name>AddThermalComfortModelTypes</display_name>
|
11
|
+
<description>Adds to the model (A) any of the available thermal comfort model types, and (B) work efficiency, clothing insulation, and air velocity constant schedules.</description>
|
12
|
+
<modeler_description>Specify any of the thermal comfort model types to add to People:Definition objects in the model. Specify constant values corresponding to the work efficiency, clothing insulation, and air velocity schedules.</modeler_description>
|
13
|
+
<arguments>
|
14
|
+
<argument>
|
15
|
+
<name>thermal_comfort_model_type_fanger</name>
|
16
|
+
<display_name>Thermal Comfort Model Type: Fanger</display_name>
|
17
|
+
<description>Whether to add the Fanger thermal comfort model type.</description>
|
18
|
+
<type>Boolean</type>
|
19
|
+
<required>true</required>
|
20
|
+
<model_dependent>false</model_dependent>
|
21
|
+
<default_value>false</default_value>
|
22
|
+
<choices>
|
23
|
+
<choice>
|
24
|
+
<value>true</value>
|
25
|
+
<display_name>true</display_name>
|
26
|
+
</choice>
|
27
|
+
<choice>
|
28
|
+
<value>false</value>
|
29
|
+
<display_name>false</display_name>
|
30
|
+
</choice>
|
31
|
+
</choices>
|
32
|
+
</argument>
|
33
|
+
<argument>
|
34
|
+
<name>thermal_comfort_model_type_pierce</name>
|
35
|
+
<display_name>Thermal Comfort Model Type: Pierce</display_name>
|
36
|
+
<description>Whether to add the Pierce thermal comfort model type.</description>
|
37
|
+
<type>Boolean</type>
|
38
|
+
<required>true</required>
|
39
|
+
<model_dependent>false</model_dependent>
|
40
|
+
<default_value>false</default_value>
|
41
|
+
<choices>
|
42
|
+
<choice>
|
43
|
+
<value>true</value>
|
44
|
+
<display_name>true</display_name>
|
45
|
+
</choice>
|
46
|
+
<choice>
|
47
|
+
<value>false</value>
|
48
|
+
<display_name>false</display_name>
|
49
|
+
</choice>
|
50
|
+
</choices>
|
51
|
+
</argument>
|
52
|
+
<argument>
|
53
|
+
<name>thermal_comfort_model_type_ksu</name>
|
54
|
+
<display_name>Thermal Comfort Model Type: KSU</display_name>
|
55
|
+
<description>Whether to add the KSU thermal comfort model type.</description>
|
56
|
+
<type>Boolean</type>
|
57
|
+
<required>true</required>
|
58
|
+
<model_dependent>false</model_dependent>
|
59
|
+
<default_value>false</default_value>
|
60
|
+
<choices>
|
61
|
+
<choice>
|
62
|
+
<value>true</value>
|
63
|
+
<display_name>true</display_name>
|
64
|
+
</choice>
|
65
|
+
<choice>
|
66
|
+
<value>false</value>
|
67
|
+
<display_name>false</display_name>
|
68
|
+
</choice>
|
69
|
+
</choices>
|
70
|
+
</argument>
|
71
|
+
<argument>
|
72
|
+
<name>thermal_comfort_model_type_adaptiveash55</name>
|
73
|
+
<display_name>Thermal Comfort Model Type: AdaptiveASH55</display_name>
|
74
|
+
<description>Whether to add the AdaptiveASH55 thermal comfort model type.</description>
|
75
|
+
<type>Boolean</type>
|
76
|
+
<required>true</required>
|
77
|
+
<model_dependent>false</model_dependent>
|
78
|
+
<default_value>false</default_value>
|
79
|
+
<choices>
|
80
|
+
<choice>
|
81
|
+
<value>true</value>
|
82
|
+
<display_name>true</display_name>
|
83
|
+
</choice>
|
84
|
+
<choice>
|
85
|
+
<value>false</value>
|
86
|
+
<display_name>false</display_name>
|
87
|
+
</choice>
|
88
|
+
</choices>
|
89
|
+
</argument>
|
90
|
+
<argument>
|
91
|
+
<name>thermal_comfort_model_type_adaptivecen15251</name>
|
92
|
+
<display_name>Thermal Comfort Model Type: AdaptiveCEN15251</display_name>
|
93
|
+
<description>Whether to add the AdaptiveCEN15251 thermal comfort model type.</description>
|
94
|
+
<type>Boolean</type>
|
95
|
+
<required>true</required>
|
96
|
+
<model_dependent>false</model_dependent>
|
97
|
+
<default_value>false</default_value>
|
98
|
+
<choices>
|
99
|
+
<choice>
|
100
|
+
<value>true</value>
|
101
|
+
<display_name>true</display_name>
|
102
|
+
</choice>
|
103
|
+
<choice>
|
104
|
+
<value>false</value>
|
105
|
+
<display_name>false</display_name>
|
106
|
+
</choice>
|
107
|
+
</choices>
|
108
|
+
</argument>
|
109
|
+
<argument>
|
110
|
+
<name>thermal_comfort_model_type_coolingeffectash55</name>
|
111
|
+
<display_name>Thermal Comfort Model Type: CoolingEffectASH55</display_name>
|
112
|
+
<description>Whether to add the CoolingEffectASH55 thermal comfort model type.</description>
|
113
|
+
<type>Boolean</type>
|
114
|
+
<required>true</required>
|
115
|
+
<model_dependent>false</model_dependent>
|
116
|
+
<default_value>false</default_value>
|
117
|
+
<choices>
|
118
|
+
<choice>
|
119
|
+
<value>true</value>
|
120
|
+
<display_name>true</display_name>
|
121
|
+
</choice>
|
122
|
+
<choice>
|
123
|
+
<value>false</value>
|
124
|
+
<display_name>false</display_name>
|
125
|
+
</choice>
|
126
|
+
</choices>
|
127
|
+
</argument>
|
128
|
+
<argument>
|
129
|
+
<name>thermal_comfort_model_type_ankledraftash55</name>
|
130
|
+
<display_name>Thermal Comfort Model Type: AnkleDraftASH55</display_name>
|
131
|
+
<description>Whether to add the AnkleDraftASH55 thermal comfort model type.</description>
|
132
|
+
<type>Boolean</type>
|
133
|
+
<required>true</required>
|
134
|
+
<model_dependent>false</model_dependent>
|
135
|
+
<default_value>false</default_value>
|
136
|
+
<choices>
|
137
|
+
<choice>
|
138
|
+
<value>true</value>
|
139
|
+
<display_name>true</display_name>
|
140
|
+
</choice>
|
141
|
+
<choice>
|
142
|
+
<value>false</value>
|
143
|
+
<display_name>false</display_name>
|
144
|
+
</choice>
|
145
|
+
</choices>
|
146
|
+
</argument>
|
147
|
+
<argument>
|
148
|
+
<name>work_efficiency_schedule_value</name>
|
149
|
+
<display_name>Work Efficiency Schedule Value</display_name>
|
150
|
+
<description>Specify the constant work efficiency schedule value.</description>
|
151
|
+
<type>Double</type>
|
152
|
+
<units>Frac</units>
|
153
|
+
<required>true</required>
|
154
|
+
<model_dependent>false</model_dependent>
|
155
|
+
<default_value>0</default_value>
|
156
|
+
</argument>
|
157
|
+
<argument>
|
158
|
+
<name>clothing_insulation_schedule_value</name>
|
159
|
+
<display_name>Clothing Insulation Schedule Value</display_name>
|
160
|
+
<description>Specify the constant clothing insulation schedule value.</description>
|
161
|
+
<type>Double</type>
|
162
|
+
<units>Frac</units>
|
163
|
+
<required>true</required>
|
164
|
+
<model_dependent>false</model_dependent>
|
165
|
+
<default_value>0.6</default_value>
|
166
|
+
</argument>
|
167
|
+
<argument>
|
168
|
+
<name>air_velocity_schedule_value</name>
|
169
|
+
<display_name>Air Velocity Schedule Value</display_name>
|
170
|
+
<description>Specify the constant air velocity schedule value.</description>
|
171
|
+
<type>Double</type>
|
172
|
+
<units>Frac</units>
|
173
|
+
<required>true</required>
|
174
|
+
<model_dependent>false</model_dependent>
|
175
|
+
<default_value>0.1</default_value>
|
176
|
+
</argument>
|
177
|
+
</arguments>
|
178
|
+
<outputs />
|
179
|
+
<provenances />
|
180
|
+
<tags>
|
181
|
+
<tag>People.Characteristics</tag>
|
182
|
+
</tags>
|
183
|
+
<attributes>
|
184
|
+
<attribute>
|
185
|
+
<name>Measure Type</name>
|
186
|
+
<value>ModelMeasure</value>
|
187
|
+
<datatype>string</datatype>
|
188
|
+
</attribute>
|
189
|
+
<attribute>
|
190
|
+
<name>Measure Language</name>
|
191
|
+
<value>Ruby</value>
|
192
|
+
<datatype>string</datatype>
|
193
|
+
</attribute>
|
194
|
+
</attributes>
|
195
|
+
<files>
|
196
|
+
<file>
|
197
|
+
<filename>README.md.erb</filename>
|
198
|
+
<filetype>erb</filetype>
|
199
|
+
<usage_type>readmeerb</usage_type>
|
200
|
+
<checksum>F1C26127</checksum>
|
201
|
+
</file>
|
202
|
+
<file>
|
203
|
+
<filename>LICENSE.md</filename>
|
204
|
+
<filetype>md</filetype>
|
205
|
+
<usage_type>license</usage_type>
|
206
|
+
<checksum>CD7F5672</checksum>
|
207
|
+
</file>
|
208
|
+
<file>
|
209
|
+
<filename>base-schedules-simple-power-outage.osm</filename>
|
210
|
+
<filetype>osm</filetype>
|
211
|
+
<usage_type>test</usage_type>
|
212
|
+
<checksum>86C09826</checksum>
|
213
|
+
</file>
|
214
|
+
<file>
|
215
|
+
<version>
|
216
|
+
<software_program>OpenStudio</software_program>
|
217
|
+
<identifier>3.5.1</identifier>
|
218
|
+
<min_compatible>3.5.1</min_compatible>
|
219
|
+
</version>
|
220
|
+
<filename>measure.rb</filename>
|
221
|
+
<filetype>rb</filetype>
|
222
|
+
<usage_type>script</usage_type>
|
223
|
+
<checksum>69FB822F</checksum>
|
224
|
+
</file>
|
225
|
+
<file>
|
226
|
+
<filename>AddThermalComfortModelTypes_Test.rb</filename>
|
227
|
+
<filetype>rb</filetype>
|
228
|
+
<usage_type>test</usage_type>
|
229
|
+
<checksum>D7A5EAE0</checksum>
|
230
|
+
</file>
|
231
|
+
<file>
|
232
|
+
<filename>README.md</filename>
|
233
|
+
<filetype>md</filetype>
|
234
|
+
<usage_type>readme</usage_type>
|
235
|
+
<checksum>EEFF828A</checksum>
|
236
|
+
</file>
|
237
|
+
<file>
|
238
|
+
<filename>test_AddThermalComfortModelTypes.osm</filename>
|
239
|
+
<filetype>osm</filetype>
|
240
|
+
<usage_type>test</usage_type>
|
241
|
+
<checksum>CA066850</checksum>
|
242
|
+
</file>
|
243
|
+
</files>
|
244
|
+
</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
|
# see the URL below for information on how to write OpenStudio measures
|
@@ -70,7 +40,8 @@ class AdjustSystemEfficiencies < OpenStudio::Ruleset::ModelUserScript
|
|
70
40
|
end
|
71
41
|
|
72
42
|
def modify_coil_cooling_dx_single_speed(component, cooling_cop_multiplier)
|
73
|
-
|
43
|
+
# Prior to 3.5.0 it's Optional, after it's a double
|
44
|
+
rated_cop = OpenStudio::OptionalDouble.new(component.ratedCOP)
|
74
45
|
if rated_cop.empty?
|
75
46
|
return false
|
76
47
|
end
|
@@ -81,8 +52,9 @@ class AdjustSystemEfficiencies < OpenStudio::Ruleset::ModelUserScript
|
|
81
52
|
end
|
82
53
|
|
83
54
|
def modify_coil_cooling_dx_two_speed(component, cooling_cop_multiplier)
|
84
|
-
|
85
|
-
|
55
|
+
# Prior to 3.5.0 it's Optional, after it's a double
|
56
|
+
rated_low_speed_cop = OpenStudio::OptionalDouble.new(component.ratedLowSpeedCOP)
|
57
|
+
rated_high_speed_cop = OpenStudio::OptionalDouble.new(component.ratedHighSpeedCOP)
|
86
58
|
if rated_low_speed_cop.empty? || rated_high_speed_cop.empty?
|
87
59
|
return false
|
88
60
|
end
|