-
Notifications
You must be signed in to change notification settings - Fork 461
Fix 11373 - Desuperheater doesn't work with air-cooled refrigeration condenser #11376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mitchute
merged 10 commits into
NatLabRockies:develop
from
bigladder:Fix-11373-Desuperheater-doesnt-work-with-air-cooled-refrigeration-condenser
Jan 21, 2026
+2,064
−151
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
14afff9
Fix 11373 - process all EquipConfiguration objects before processing …
kevin-moos 7147034
Merge branch 'develop' into Fix-11373-Desuperheater-doesnt-work-with-…
kevin-moos 956d5aa
Add DesuperheaterRefrigeration unit test
kevin-moos a5cb1a4
Remove refrigeration reclaim logic for desuperheaters from GetHeating…
kevin-moos 95805d0
Remove unused enum RefrigSystemType
kevin-moos 021d9da
Move CurrentModuleObject setter outside of loop
kevin-moos ffaddc0
Merge branch 'develop' into Fix-11373-Desuperheater-doesnt-work-with-…
mitchute 80f4864
bump ci
mitchute cc132d9
bump ci
mitchute 6300c4f
bump ci
mitchute File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this comment. However, all the coils will be gotten in getInput, but for
thiscoil InitHeatingCoil will also be called. So ifRefrigeration equipment hasn't been loaded yetthen it also won't be loaded yet when InitHeatingCoil is called forthiscoil. If, say, coil 5 is the desuperheating coil, then by the time coil 5 is called then refrigeration equipment will likely be set up. But what if coil 1 is the desuperheating coil? Not sure how to delay this setup in InitHeatingCoils, or even if that section of code executes each iteration (I hope not) but these code execution timing issues pop up now and then and we need to be sure it works regardless of which coil (index) is called first (i.e., refrigeration equipment must be gotten before this setup in InitHeatingCoils can execute correctly). The code I am referencing is new line 1386 in this branch (old line 1482 in develop).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The timing issue I ran into wasn't with the coils, but the ZoneHVAC:EquipmentConnections objects. As long as those were all loaded before refrigeration (and coils) the order of the coils didn't seem to matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, as long as this was thought about again so this doesn't pop up in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a larger, longer-term "fix" but you can use
init_stateto control the order in which objects get read from the IDF file and initialized. A few object types (mostly ones that don't reference other objects likeSchedule,FluidProperties,Material, etc.) are already done this way.