Support CoilSystem:Cooling:Water#218
Merged
joseph-robertson merged 9 commits intodevelopfrom May 7, 2025
Merged
Conversation
19 tasks
…on 1f4d455848) [x86_64-linux], Rubocop 0.81.0)
jmarrec
reviewed
May 5, 2025
Contributor
jmarrec
left a comment
There was a problem hiding this comment.
I'm getting some concerning warnings, we need to fix these
** Warning ** In calculating the design coil UA for Coil:Cooling:Water AIRLOOPHVAC COILSYSTEMCOOLINGWATER PRIMARY HR COIL
** ~~~ ** no apparatus dew-point can be found for the initial entering and leaving conditions;
** ~~~ ** the coil outlet design conditions will be changed to correct the problem.
** ~~~ ** The initial design conditions are: Tair,in = 33.3000
** ~~~ ** Wair,in = 1.498555E-002
** ~~~ ** Twater,in = 7.0000
** ~~~ ** Tair,out = 12.8000
** ~~~ ** Wair,out = 8.000000E-003
** ~~~ ** The revised design conditions are: Tair,out = 12.3006
** ~~~ ** Wair,out = 8.201796E-003
** Warning ** In calculating the design coil UA for Coil:Cooling:Water AIRLOOPHVAC COILSYSTEMCOOLINGWATER COMPANION HR COIL
** ~~~ ** no apparatus dew-point can be found for the initial entering and leaving conditions;
** ~~~ ** the coil outlet design conditions will be changed to correct the problem.
** ~~~ ** The initial design conditions are: Tair,in = 33.3000
** ~~~ ** Wair,in = 1.498555E-002
** ~~~ ** Twater,in = 7.0000
** ~~~ ** Tair,out = 12.8000
** ~~~ ** Wair,out = 8.000000E-003
** ~~~ ** The revised design conditions are: Tair,out = 12.3006
** ~~~ ** Wair,out = 8.201796E-003
** Warning ** SetpointManager:MixedAir="{E9F49731-67A1-4132-8747-EFB37A5244E7}"
** ~~~ ** ...setpoint node conflicts with another setpoint manager.
** ~~~ ** ...conflicting setpoint manager = SetpointManager:MixedAir:"NODE 31 OS DEFAULT SPM"
** ~~~ ** ...conflicting node name = NODE 31
** ~~~ ** ...control type variable = Temperature
** Warning ** SetpointManager:MixedAir="{29247B9E-66FB-4F17-8CF3-EB008AFA8E8C}"
** ~~~ ** ...setpoint node conflicts with another setpoint manager.
** ~~~ ** ...conflicting setpoint manager = SetpointManager:MixedAir:"AIRLOOPHVAC COILSYSTEMCOOLINGWATER OUTLET TO HEATING COIL INLET NODE OS DEFAULT SPM"
** ~~~ ** ...conflicting node name = AIRLOOPHVAC COILSYSTEMCOOLINGWATER OUTLET TO HEATING COIL INLET NODE
** ~~~ ** ...control type variable = Temperature
| # we sort the zones by names (only one here anyways...) | ||
| zones = m.getThermalZones.sort_by { |z| z.name.to_s } | ||
|
|
||
| ### Water Size Economizer Model ### |
Comment on lines
51
to
54
| # Replace the default CoilCoolingWater with CoilSystem, then remove the default one | ||
| # Note: it's probably going to end up badly controlled when you place the | ||
| # CoilSystem directly on the AirLoopHVAC path and not inside another component | ||
| # (such as UnitarySys, cf: https://github.com/NREL/EnergyPlus/issues/7222) |
Comment on lines
57
to
64
|
|
||
| coil = airloop.supplyComponents(OpenStudio::Model::CoilCoolingWater.iddObjectType).first.to_CoilCoolingWater.get | ||
| # Note that we connect the CoilSystem, NOT the underlying CoilCoolingWater | ||
| coil_system.addToNode(coil.airOutletModelObject.get.to_Node.get) | ||
| plant = coil.plantLoop.get | ||
| # But we have to connect the water_coil itself... | ||
| plant.addDemandBranchForComponent(water_coil) | ||
| coil.remove |
Contributor
There was a problem hiding this comment.
TODO: We need a packaged DX system or coil cooling water downstream of the CoilSystem here on the AirLoopHVAC, but you're removing it.
The coil should we connected to a CondenserLoop on the demand side I think ideally, here it's a chilled water loop
As a water-side economizer the CoilSystem:Cooling:Water object is placed upstream of packaged DX systems or chilled water main cooling coil
…e Central CHW Coil, and connect it to the Condenser Loop
d45435b to
4fd7769
Compare
Refactors node naming for clarity and consistency in the coil system cooling water test.
Contributor
|
@joseph-robertson I made some changes |
ea7b36f to
aceb273
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull request overview
Companion PR:
Link to relevant GitHub Issue(s) if appropriate:
Link to the Ubuntu 22.04 .deb installer to use for CI Testing. If not set, it will default to latest official release.
[OpenStudio Installer]: http://openstudio-ci-builds.s3-website-us-west-2.amazonaws.com/PR-5350/OpenStudio-3.10.0-alpha%2Bbe13f9f3fe-Ubuntu-22.04-x86_64.deb
This Pull Request is concerning:
NewTest: a new test for a new model API class,TestFix: a fix for an existing test. The GitHub issue should be referenced in the PR descriptionNewTestForExisting: a new test for an already-existing model API classOther: Something else, like maintenance of the repo, or just committing test results with a new OpenStudio version.Depending on your answer, please fill out the required section below, and delete the three others.
Leave the review checklist in place.
Case 1: New test for a new model API class
Please include which class(es) you are adding a test to specifically test for.
Include a link to the OpenStudio Pull Request in which you are adding the new classes, or the class itself if already on develop.
Work Checklist
The following has been checked to ensure compliance with the guidelines:
Tests pass either:
with official OpenStudio release (include version):
AddedOSMhas been added to this PRout.oswhave been committedwith current develop (incude SHA):
PendingOSMhas been added to this PRmodel_tests.rbhas a TODO.out.oswhave been committed as they need to be run with an official OpenStudio versionRuby test is stable: when run multiple times on the same machine, it produces the same total site kBTU.
Please paste the heatmap png generated after running the following commands:
model.getThermalZones.sort_by{|z| z.name.to_s}.each do ...so I am sure I put the same ZoneHVAC systems to the same zones regardless of their order)process_results.py(seepython process_results.py --helpfor usage).Please paste the text output or heatmap png generated after running the following commands:
Object has been added to
autosize_hvac.rbto ensure the autosizedXXX values methods do workReview Checklist
# TODOadded tomodel_tests.rbout.oswhave been committedautosize_hvacas appropriateNewTest,TestFix,NewTestForExisting,OtherNewTest: addPendingOSMorAddedOSM