Fix GHP experimental model rated conditions#2204
Conversation
…o GHP_experimental_rated_conditions
…m/NREL/OpenStudio-HPXML into GHP_experimental_rated_conditions
…o GHP_experimental_rated_conditions
…o GHP_experimental_rated_conditions
…m/NREL/OpenStudio-HPXML into GHP_experimental_rated_conditions
…o GHP_experimental_rated_conditions
…m/NREL/OpenStudio-HPXML into GHP_experimental_rated_conditions
…e unit tests to make sure two models are consistent in rated inputs
| # E+ Capacity and EIR as function of temperature curves(bi-quadratic) generated using E+ HVACCurveFitTool | ||
| # See: https://bigladdersoftware.com/epx/docs/24-2/auxiliary-programs/hvac-performance-curve-fit-tool.html#hvac-performance-curve-fit-tool | ||
| # Catalog data from : https://files.climatemaster.com/Genesis-GS-Series-Product-Catalog.pdf, p180 | ||
| # Catalog data from : https://www.climatemaster.com/download/18.274be999165850ccd5b5b73/1535543867815/lc377-climatemaster-commercial-tranquility-20-single-stage-ts-series-water-source-heat-pump-submittal-set.pdf |
There was a problem hiding this comment.
Update outdated product links
| GroundSourceCoolRatedWET = 85.0 # degF, Rated water entering temperature for ground-source systems, cooling | ||
| GroundSourceCoolRatedIDB = 80.0 # degF, Rated indoor drybulb for ground-source systems, cooling | ||
| GroundSourceCoolRatedIWB = 67.0 # degF, Rated indoor wetbulb for ground-source systems, cooling | ||
| GroundSourceHeatGLHPRatedEWT = 32.0 # degF, Rated water entering temperature for ground-source systems, heating |
There was a problem hiding this comment.
These variables are used to convert E+ rated conditions to GLHP rated conditions
| ) | ||
| speed = OpenStudio::Model::CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.new(model, cap_ft_curve, cap_faf_curve, cap_fwf_curve, eir_ft_curve, eir_faf_curve, eir_fwf_curve, waste_heat_ft) | ||
| # convert GLHP rated COPs/capacities to E+ rated | ||
| rated_capacity_eplus = UnitConversions.convert(heat_pump.cooling_capacity, 'Btu/hr', 'W') / get_experimental_ghp_rated_condition_conversion(:clg, hp_ap.cool_cap_ft_spec[i]) * hp_ap.cool_capacity_ratios[i] |
There was a problem hiding this comment.
Convert HPXML rated inputs (GLHP rated conditions) to E+ rated inputs
| # Need to adjust the capacity to GLHP rated conditions | ||
| total_cap_curve_value_design = MathTools.biquadratic(UnitConversions.convert(mj.cool_indoor_wetbulb, 'F', 'C'), UnitConversions.convert(entering_temp, 'F', 'C'), clg_ap.cool_cap_ft_spec[hvac_cooling_speed]) | ||
| total_cap_curve_value_glhp_rated = MathTools.biquadratic(UnitConversions.convert(HVAC::GroundSourceCoolRatedIWB, 'F', 'C'), UnitConversions.convert(HVAC::GroundSourceCoolGLHPRatedEWT, 'F', 'C'), clg_ap.cool_cap_ft_spec[hvac_cooling_speed]) | ||
| total_cap_curve_value = total_cap_curve_value_design / total_cap_curve_value_glhp_rated |
There was a problem hiding this comment.
Uses E+ performance curves to convert design condition to GLHP rated conditions (not E+ rated condition, so here we need to do curve calculation twice).
This will make the heat pumps sized at GLHP rated conditions, consistent with what user provides. Then the capacities will be converted to E+ rated inputs later when we creates E+ models.
| cool_eir_ft_spec = [1.1828664909, -0.0450835550, 0.0009273315, 0.0056194113, 0.0006683467, -0.0007256237] | ||
| cool_capacity_curve_value = MathTools.biquadratic(UnitConversions.convert(HVAC::GroundSourceCoolRatedIWB, 'F', 'C'), UnitConversions.convert(HVAC::GroundSourceCoolGLHPRatedEWT, 'F', 'C'), cool_cap_ft_spec) | ||
| cool_eir_curve_value = MathTools.biquadratic(UnitConversions.convert(HVAC::GroundSourceCoolRatedIWB, 'F', 'C'), UnitConversions.convert(HVAC::GroundSourceCoolGLHPRatedEWT, 'F', 'C'), cool_eir_ft_spec) | ||
| expected_clg_capacity = standard_clg_capacity / cool_capacity_curve_value |
There was a problem hiding this comment.
Unit test to make sure the rated conditions are converted correctly.
The experimental model should have the consistent rated inputs as standard models before conversion.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…m/NREL/OpenStudio-HPXML into GHP_experimental_rated_conditions
…o GHP_experimental_rated_conditions
… can directly apply at interim speeds
indentation fix by AI Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…m/NREL/OpenStudio-HPXML into GHP_experimental_rated_conditions
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…o GHP_experimental_rated_conditions
|
@jmaguire1 will check experimental model airflow/waterflow curves to make sure they're expected. |
…o GHP_experimental_rated_conditions
…o GHP_experimental_rated_conditions
Pull Request Description
GHP experimental models now directly use user-provided COP/EER in E+ coil objects, however, E+ coil rated conditions are different from GLHP rated conditions. We should convert user-provided GLHP COP/EER/capacities before adding coil inputs.
Checklist
Not all may apply:
EPvalidator.sch) has been updatedopenstudio tasks.rb update_hpxmls)HPXMLtoOpenStudio/tests/test*.rband/orworkflow/tests/test*.rb)openstudio tasks.rb update_measureshas been run