-
Notifications
You must be signed in to change notification settings - Fork 460
Add More Coil and Tank Choices for Desuperheater #7251
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
Conversation
…gyPlus into GSHP_desuperheater
|
@Myoldmopar I'm having a hard time making heads or tails of the failing CI results here. Are they legitimate or is there something else going on? Maybe we should pull in |
|
Multispeed coil capability added in #7271 Pull Request |
…atified_desuperheater
|
@mjwitte @rraustad @nmerket The multispeed coil already has reclaimed heat calculation within The multispeed desuperheater energy and available reclaimed heat were plotted below, the desuperheater coil only heats when cooling coil is working . The desuperheater setpoint is 60C never achieved in these plotted points so the source mass flow rate and desuperheater energy should be of the same shape as available reclaimed heat. Since this is a DX cooling coil, the impact of reclaiming heat is neglected (no reclaimed heat data return back to coil calculation). I surprisingly found when I tried to use a model with Kiva to install desuperheater, the initial model (without desuperheater) crashed with runperiod starting from 05/01, but worked well with runperiod starting from 01/01. It failed even in latest develop branch with an error shown below. I think this might be a bug in kiva? If you want the model starting 05/01, click here to GoogleDrive |
|
For desuperheaters, I think COIL_DX_MULTISPEED is specific to Coil:Cooling:DX:TwoSpeed so this is (sort of) OK as far as I can tell. If anyone ever adds Coil:Cooling:DX:MultiSpeed as a source for desuperheaters, and does not catch/correct this subtlety (if it needs correction to work properly), then this may be a problem. |
|
In your test file, what is the reclaim efficiency for the desuperheater? It looks to be about 10% in your plot. I ask because I thought 30% was the typical choice. And you are plotting Cooling Coil Electric Energy, not Cooling Coil Total Cooling Energy (and 10% is higher than it would be when comparing to Cooling Energy). |
|
Oh, you are comparing to Electric + Cooling Energy. So why does this look like about 10%? Is reclaim efficiency = 0.1? |
Hi, @rraustad , I set the reclaim efficiency as 0.25 in my test file. I am quite sure it might be caused by this line 9095. There seems to be an internal iteration happens within water thermal tank simulation (which makes the subtraction happens more than once per time step, I estimated it happens four times in this model, see below the calculation for this assumed issue:)
I also ran an existing desuperheater model ( So I would think it's an old bug need to be fixed. I am not sure if it should be done in this PR? If you want to check these two models: And I ran with Tampa 722110 weather. |
I would also think this might be fine with either TwoSpeed or MultiSpeed or together. I searched within the scope of water thermal tanks functions, I am pretty sure they followed exactly the same workflow and called the same functions in all those |
|
@yzhou601, this is not on you (but we like to know what is wrong). You have done more than expected. Just identify what is wrong and make a new issue. We can fix it there. |
|
The reclaim efficiency of 25% is applied to the available coil heat rejection (including impact of PLR) so seeing heat reclaim of 0.1 is OK if PLR = 0.4. So desuperheater heat reclaim divided by coil PLR will always = 25%. |
|
Thanks @rraustad! |
rraustad
left a comment
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 work here appears complete. No further comments on this PR.
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.
Almost there.
I've retested this and the water side source energy balance with desuperheater vs no-desuperheat is very close now.
Just a couple of other minor comments.
testfiles/HeatPumpWaterToAirEquationFit_WaterHeatingDesuperheater_StratifiedTank.idf
Outdated
Show resolved
Hide resolved
…atified_desuperheater
testfiles/HeatPumpWaterToAirEquationFit_WaterHeatingDesuperheater_StratifiedTank.idf
Outdated
Show resolved
Hide resolved
|
@Myoldmopar Have your comments been resolved? OK to merge? |
|
|
||
|
|
||
| 3. Reclaimed heat calculation: The calculation of reclaimed heat is coded in WaterThermalTank namespace, the same approach as other available systems for mixed water heater tank. | ||
|
|
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.
👍
@rraustad @mjwitte Something weird here, I ran the same test file here with released E+ 9.2.0, the coil source side energy is no longer balanced as shown in the table. I revisited the codes where I made those changes, they are, however, kept untouched. The energy balance between coil source side and desuperheater reclaimed heat was verified when tested on July 17 and retested by @mjwitte on July 31, I didn't know if there's any change made later at its top broke things here. test file |
|
@yzhou601 Looking at my test files from then and re-rerunning those now, I get similar results (then and now). I'd suggest building a version with the commit where you added the desuperheater array approach - and reconfirm that it balances. Then use git bisect between that commit and the final v9.2.0 commit to find when the results changed to be imbalanced. |
|
@mjwitte Thanks very much for revisiting these tests, Mike. I followed your suggestion, and just recalled some detail that caused this confusion. When I was testing and summarizing that table in previous comment, I found in So that means this issue is not just for desuperheater coupled with gshp, but all gshp systems with this coil type( not sure if other coil follows the same way). To separate this impact, I did a build with RTF forced to be equal to PLR, that's why the previous table showed perfect energy balance. And I rebuilt the current master branch and tracked a few hours, the energy was balanced excluding the RTF and PLR difference. So, do you think this is a defect of calculating Qsource (should it directly sum those adjusted Winput and QLoadTotal again instead of applying PLR)? Once I talked with @rraustad for this issue, but didn't have any conclusion at that point for Qsource since we only focused on things related to desuperheater. |
|
That makes perfect sense. The thermal energy is typically proportional to PLR while electrical energy is proportional to RTF, or at least that's how E+ has always handled thermal vs electrical for air systems since the compressor energy does not impact the air stream in cooling mode. For water coils E+ currently uses: But this source side energy transfer is missing the additional electrical energy due to startup losses. Since RTF = PLR / PLF, then the actual thermal energy should include the additional electrical energy required for startup. and then Cooling Coil Electric Energy + Cooling Coil Total Cooling Energy will equal Cooling Coil Source Side Heat Transfer Energy. At least that is the idea to correct these differences. I think this same mentality should apply to air systems in heating mode. |
Thanks Richard, if it's fair enough I can open up a new PR to correct this along with the remaining reclaimed heat issue #7407 . |






Pull request overview
EnergyPlus would be modified to add more enumarations in Coil:WaterHeating:Desuperheater object's heating source object type and tank object type fields.
Work Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Review Checklist
This will not be exhaustively relevant to every PR.