Skip to content

GHP standard model improvements - #2208

Merged
shorowit merged 62 commits into
masterfrom
ghp_standard_improvements
Dec 1, 2026
Merged

shorowit merged 62 commits into
masterfrom
ghp_standard_improvements

Conversation

@yzhou601

@yzhou601 yzhou601 commented Apr 30, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request Description

Addresses #1978

  • Updated curve coefficients and updated C_d.
  • Added net -> gross conversion for capacities

Latest curves generated from the spreadsheet tool:

1200cfm-eight-airflows-WaterAir_PE_Cooling_Constrained_SHR0708_Trial.xls

1200cfm-eight-airflows-WaterAir_PE_Heating_Constrained_Catalog_Trial.xls

Raw data:

Tranquility-20-Standard-Performance-Curves.xlsx

lc377-climatemaster-commercial-tranquility-20-single-stage-ts-series-water-source-heat-pump-submittal-set.pdf

Checklist

Not all may apply:

  • Schematron validator (EPvalidator.sch) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

@shorowit shorowit added this to the 1.13.0 milestone May 5, 2026
@shorowit shorowit moved this from Triage to In progress in OpenStudio-HPXML May 12, 2026

@shorowit shorowit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before this merges in, we'll want to attach any spreadsheets and supporting documents to archive things.

Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/defaults.rb Resolved
@yzhou601

Copy link
Copy Markdown
Collaborator Author

There're a few new observations from comparing these two models:

  • Coil water inlet temperature is quite different across these two models:

    • Standard scales both water flow rate and heat transfer with part load ratio(or rtf), so it has a higher water temperature drop
    • Experimental model uses full water flow rate at coil, with scaled heat transfer, which makes temperature drop much smaller. (This seems a bug, for single speed system, it is reasonable to assume on-cycle water flow rate, but the heat transfer rate should also be on-cycle to calculate the water temperatures.)

    We can use EMS to temporarily fix it by actuating pump mass flow rate (committed to experimental branch), water flow curves are set to constant. It does not perfectly resolve the issue, because I saw a discrepancy between node temperatures and coil side inlet temperature, which seems highly related to Coils on a plant loop don't carry the heat they report when the plant changes their inlet temperature after they ran EnergyPlus#11939.

    Case Water flow adjustment Exchanger outlet Coil inlet node Coil’s reported inlet
    Denver Before 19.04°C 19.04°C 19.03°C
    Denver After 16.77°C 16.78°C 17.48°C
    Phoenix Before 29.57°C 29.57°C 29.57°C
    Phoenix After 27.93°C 27.94°C 30.19°C

    The unbalance only appears with the EMS workaround cases, but it is not only a reporting issue because coil is using the coil inlet temperature for coil calculations.

  • Experimental model simulated air flow rates are always at rated. This seems an E+ bug that the experimental coil always reads in the rated air flows from coils as operated air flows, which is not expected. It is confirmed that modifying UnitarySystemPerformance:Multispeed doesn't help resolve this issue. I have a temporary fix locally to set actual air flows as rated, and at the same time scale the curves to result in the desired air flow curve outputs. (not committed because it is not currently compatible with installation quality feature, just for analysis use)

After temporarily fixing these two issues, I reran four cases:

  • With Ducts, Denver, 42,000 Btu/h (3.5 tons)
  • With Ducts, Phoenix, 54,000 Btu/h (4.5 tons)
  • DSE = 1, Denver, 42,000 Btu/h (3.5 tons)
  • DSE = 1, Phoenix, 54,000 Btu/h (4.5 tons)
    Annual Results are:
image

The workarounds bring Denver cooling electricity closer to standard, but move Phoenix cooling further away: +2.8% → +4.6% with ducts, and +3.4% → +5.5% without ducts. Improvement is not uniform across climates, I think the unbalanced node temperature is one possible cause of that (phoenix coil inlet water temperature was higher after the water flow rate fix, while denver coil inlet water temperature was lower after fix).

Things I did to improve models:

  1. Re-processed the raw data for both standard and experimental models (single speed only, need to do a similar inspection for two/var speed experimental models later). The process exposed mistakes made before, now verified that both model curves are fitted with consistent data.
  2. Modified the standard curve fitting tools to force curve values to be 1.0 at AHRI/ISO rated condition, which caused errors to be larger for overall dataset but acceptable.
  3. Verified that both models are now consistent at the AHRI/ISO ground loop rated conditions.
  4. Added capacity net to gross conversions for both models, current COP net to gross conversion seems reasonable.
  5. PLF curves are consistent.

So I think the known remaining issues are mostly on the experimental models, the comparison does make me feel better about standard model accuracy/consistency. I also have more detailed results if we want to look closer. So far I feel pretty good about merging this PR for the upcoming release.

@shorowit
shorowit marked this pull request as ready for review November 30, 2026 18:38
@shorowit
shorowit requested a max review from Copilot November 30, 2026 18:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved net-versus-gross airflow inconsistencies distort capacity/COP calculations, while the part-load-factor floor understates low-load cycling runtime.

2 open issues
What changed in this PR

Updates the standard ground-source heat-pump model in the HPXML-to-OpenStudio translator with revised performance curves, cycling behavior, and net-to-gross coil ratings.

Changes:

  • Replaces heating and cooling curve coefficients and adds compressor-specific part-load degradation.
  • Centralizes net-to-gross capacity/COP conversion and updates capacity assertions.
  • Adds a heating autosizing floor and refreshes regression baselines and measure metadata.
File Description
workflow/​tests/​base_results/​results_sizing.csv Updates heat-pump capacity and airflow baselines.
workflow/​tests/​base_results/​results_simulations_misc.csv Refreshes affected miscellaneous simulation results.
workflow/​tests/​base_results/​results_simulations_loads.csv Updates affected heating and cooling load baselines.
workflow/​tests/​base_results/​results_simulations_energy.csv Refreshes energy-use baselines.
workflow/​tests/​base_results/​results_simulations_bills.csv Updates utility-bill baselines.
HPXMLtoOpenStudio/​tests/​test_hvac.rb Adjusts coil-capacity expectations for gross ratings.
HPXMLtoOpenStudio/​resources/​hvac.rb Adds rating conversion and standard-model part-load curves.
HPXMLtoOpenStudio/​resources/​hvac_sizing.rb Floors rated heating capacity at the design heating load.
HPXMLtoOpenStudio/​resources/​defaults.rb Revises performance coefficients, COP handling, and cycling assumptions.
HPXMLtoOpenStudio/​measure.xml Refreshes measure version metadata and file checksums.

Review effort: Max

Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved
…HPXML into ghp_standard_improvements

# Conflicts:
#	HPXMLtoOpenStudio/measure.xml
#	workflow/tests/base_results/results_simulations_bills.csv
#	workflow/tests/base_results/results_simulations_energy.csv
#	workflow/tests/base_results/results_simulations_loads.csv
#	workflow/tests/base_results/results_simulations_misc.csv

@shorowit shorowit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please go through the PR checklist and also make sure that the PR description and spreadsheet attachments are up to date. And a few questions/comments below.

Comment thread HPXMLtoOpenStudio/resources/defaults.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/defaults.rb Resolved
@jmaguire1
jmaguire1 self-requested a review December 1, 2026 16:05
Comment thread HPXMLtoOpenStudio/resources/defaults.rb Resolved

@jmaguire1 jmaguire1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See individual (very minor) comments, overall looks good.

Comment thread HPXMLtoOpenStudio/resources/defaults.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/defaults.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved
Comment thread HPXMLtoOpenStudio/resources/hvac.rb Resolved

@shorowit shorowit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All evidence suggests that this is a big improvement. Looks good to me. Thank you, @yzhou601 and @jmaguire1!

@shorowit
shorowit merged commit 7ff7ccb into master Dec 1, 2026
@shorowit
shorowit deleted the ghp_standard_improvements branch December 1, 2026 22:30
@github-project-automation github-project-automation Bot moved this from In progress to Done in OpenStudio-HPXML Dec 1, 2026
@shorowit shorowit mentioned this pull request Dec 1, 2026
4 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants