Skip to content

AirloopHVAC:UnitarySystem with variable speed coil reports Coil control failed#11231

Merged
mitchute merged 5 commits intodevelopfrom
11214-ExcessiveWarnings
Oct 2, 2025
Merged

AirloopHVAC:UnitarySystem with variable speed coil reports Coil control failed#11231
mitchute merged 5 commits intodevelopfrom
11214-ExcessiveWarnings

Conversation

@rraustad
Copy link
Collaborator

Pull request overview

Description of the purpose of this PR

Issue with full load capacity at one speed does not match lowest capacity at next speed. When SolFlag = -2 make a quick check to see if the error is valid or not. Usually means the load is very near (a few watts or less) the low capacity at speed (e.g., PLR = 0 at speed = 2) and the warning is not valid.

Pull Request Author

  • Title of PR should be user-synopsis style (clearly understandable in a standalone changelog context)
  • Label the PR with at least one of: Defect, Refactoring, NewFeature, Performance, and/or DoNoPublish
  • Pull requests that impact EnergyPlus code must also include unit tests to cover enhancement or defect repair
  • Author should provide a "walkthrough" of relevant code changes using a GitHub code review comment process
  • If any diffs are expected, author must demonstrate they are justified using plots and descriptions
  • If changes fix a defect, the fix should be demonstrated in plots and descriptions
  • If any defect files are updated to a more recent version, upload new versions here or on DevSupport
  • If IDD requires transition, transition source, rules, ExpandObjects, and IDFs must be updated, and add IDDChange label
  • If structural output changes, add to output rules file and add OutputChange label
  • If adding/removing any LaTeX docs or figures, update that document's CMakeLists file dependencies

Reviewer

  • Perform a Code Review on GitHub
  • If branch is behind develop, merge develop and build locally to check for side effects of the merge
  • If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If feature, test running new feature, try creative ways to break it
  • CI status: all green or justified
  • Check that performance is not impacted (CI Linux results include performance check)
  • Run Unit Test(s) locally
  • Check any new function arguments for performance impacts
  • Verify IDF naming conventions and styles, memos and notes and defaults
  • If new idf included, locally check the err file and other outputs

@rraustad rraustad added this to the EnergyPlus 25.2 milestone Sep 24, 2025
@rraustad rraustad added the Defect Includes code to repair a defect in EnergyPlus label Sep 24, 2025
@github-actions
Copy link

⚠️ Regressions detected on ubuntu-24.04 for commit 44602a4

Regression Summary
  • ERR: 4

@github-actions
Copy link

⚠️ Regressions detected on macos-14 for commit 44602a4

Regression Summary
  • ERR: 4

@rraustad
Copy link
Collaborator Author

develop:

** Warning ** Coil control failed for AirLoopHVAC:UnitarySystem:ZONE OUTPATIENT ELEC/MECHROOM B  - STORY GROUND RTU SZ-VAV HIGH-EFFICIENCY
**   ~~~   **   sensible part-load ratio determined to be outside the range of 0-1.
**   ~~~   ** Sensible load to be met = -55.96 (watts), and the simulation continues.
**   ~~~   **  Environment=RUN PERIOD 1, at Simulation time=03/12 12:30 - 12:45

this branch:

warnings eliminated.

@mitchute
Copy link
Collaborator

mitchute commented Sep 25, 2025

@rraustad should we have some sort of test here? I guess maybe just this? #11231 (comment)

@mitchute
Copy link
Collaborator

Merged in develop one final time. Assuming it all passes, we'll just merge this. @rraustad I'll trust you ran the example model and verified it. The code changes look fine.

@rraustad
Copy link
Collaborator Author

@mitchute I tested the defect file with different weather files to see if I could get this to fail in a different manner. The same problem exists where the capacity at speed = 1 @ PLR = 1 is lower than speed = 2 @ PLR = 0. I suspect this is due to the performance curves used at each speed causing a discontinuity in capacity. I have seen this problem for some time. And yes to your test question, I was trying to find the cause/fix for those SolveRoot failures. I look at SolFlag = -2 as a developer error and this is the solution for now. Also, there is really no way for a good unit test since it's performance curve specific. I did, however, think up a way to test this prior to simulation and create a table with capacity data for each speed at PLR = 0 and PLR = 1. That would at least give the user an indication of their choice in performance curves. @mjwitte do you think that would be useful for VS coils? Still thinking that through so it's not included in this fix.

@github-actions
Copy link

⚠️ Regressions detected on ubuntu-24.04 for commit 20cf646

Regression Summary
  • ERR: 4

@github-actions
Copy link

⚠️ Regressions detected on macos-14 for commit 20cf646

Regression Summary
  • ERR: 4

@github-actions
Copy link

⚠️ Regressions detected on ubuntu-24.04 for commit 6f3b524

Regression Summary
  • ERR: 4

@github-actions
Copy link

⚠️ Regressions detected on macos-14 for commit 6f3b524

Regression Summary
  • ERR: 4

@mitchute
Copy link
Collaborator

mitchute commented Oct 2, 2025

Merging in develop one more time to let CI run overnight. I think we're still good to merge this, right @rraustad ?

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

⚠️ Regressions detected on macos-14 for commit 7f01f21

Regression Summary
  • ERR: 4

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

⚠️ Regressions detected on ubuntu-24.04 for commit 7f01f21

Regression Summary
  • ERR: 4

@rraustad
Copy link
Collaborator Author

rraustad commented Oct 2, 2025

Merging in develop one more time to let CI run overnight. I think we're still good to merge this, right @rraustad ?

I believe so.

@mitchute mitchute merged commit a4c9dbe into develop Oct 2, 2025
11 checks passed
@mitchute mitchute deleted the 11214-ExcessiveWarnings branch October 2, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Defect Includes code to repair a defect in EnergyPlus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

repeated warnings slowing down simulation time

4 participants