-
Notifications
You must be signed in to change notification settings - Fork 448
Equipment Summary Air Heat Recovery Fixes #10995
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
|
src/EnergyPlus/HeatRecovery.hh
Outdated
int CoolEffectLatentCurveIndex = 0; // cooling latent effectiveness multiplier curve to CoolEffectLatent100 | ||
// 1 = None, 2 = Bypass, 3 = Stop Rotary HX Rotation | ||
HXConfigurationType ExchConfig = HXConfigurationType::Invalid; // parameter equivalent of HX configuration, plate or rotary | ||
HXConfigurationType ExchConfig = HXConfigurationType::Rotary; // parameter equivalent of HX configuration, plate or rotary |
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.
Not standard but I assume this was done for the sake of the desiccant HX (as opposed to leaving this as invalid and setting Rotary in the desiccant HX getInput). If no other changes, which I don't expect since these changes and results look good, leave as is.
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.
It was a punt to fix a unit test (maybe more than one?) that didn't do getInput
and was throwing a vector error when trying to fill the table in size
. I can undo this and set it properly in the unit test and add some asserts
to protect that.
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 change would be good to get into the latest release so I figured it could go as-is. There's still a few days left so it's up to you how you handle clean-up changes.
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.
But there are OutputChanges
(delete duplicate Name column, and change units on two columns), so I'm not sure this will be allowed in for 25.1. @Myoldmopar?
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, then you have plenty of time.
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.
You can also consider whether to change "Outdoor Airflow" to "Supply AirFlow".
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.
You can also consider whether to change "Outdoor Airflow" to "Supply AirFlow".
Hmm, so they're currently called "Exhaust" and "Outdoor", but the three HXs all use different terminology:
HeatExchanger:AirToAir:FlatPlate
: Supply and Secondary
HeatExchanger:AirToAir:SensibleAndLatent
: Supply and Exhaust
HeatExchanger:Desiccant:BalancedFlow
: Process and Regeneration
@JasonGlazer Any preference?
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.
It would be good to use a consistent set of terms. I think AHRI probably has a standard on this, maybe we should see what terms it uses.
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.
It would be good to use a consistent set of terms. I think AHRI probably has a standard on this, maybe we should see what terms it uses.
Supply and Exhaust, based on these two docs:
https://www.airxchange.com/wp-content/uploads/2019/07/AHRI-Guideline-W-2005.pdf
https://www.airxchange.com/wp-content/uploads/2019/07/AHRI-Standard-1060-I-P-2013.pdf
|
That looks very good. Why 0.63 and 0.43 in lower right corner? Never mind, that's the HX with both inputs. |
I just noticed you got rid of the duplicate name column. Put the header column title back as "Name" ? |
And maybe change the title "Input object type" to just "Type" like other tables. |
Looking good! |
Well, most table reports have no heading in the first column. I suppose we could change that. @JasonGlazer is there a way to place a header in the first column with current functions?
|
From #10985 (comment)
@JasonGlazer Is this still something we want here? It would be a simulation result rather than documenting an input. |
I don't think there is a way to do that, but it could be added if it is important. newPreDefSubTable() could have another optional argument that would be the first column heading. I have thought about this before but decided in the past that it probably didn't matter too much. |
Results are welcome! |
|
|
@Myoldmopar @mjwitte @Myoldmopar it has been 29 days since this pull request was last updated. |
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.
All good here. Will run some quick local testing, but expect this to merge shortly.
Invalid = -1, | ||
AirToAir_FlatPlate, | ||
AirToAir_Generic, | ||
AirToAir_SensAndLatent, |
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.
That is a bit nicer naming.
CompName = thisBDDPerf.Name; | ||
CompType = thisBDDPerf.PerfType; | ||
SizingString = thisBDDPerf.NumericFieldNames(FieldNum) + " [m3/s]"; | ||
TempSize = thisBDDPerf.NomSupAirVolFlow; |
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.
Nice and readable here.
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchAirHRSenEffAt100PerCoolAirFlow, this->Name, "N/A"); | ||
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchAirHRLatEffAt100PerHeatAirFlow, this->Name, "N/A"); | ||
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchAirHRLatEffAt100PerCoolAirFlow, this->Name, "N/A"); | ||
} |
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.
Good output report changes here.
OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchAirHRLatEffAt100PerCoolAirFlow, compName)); | ||
|
||
EXPECT_EQ("1.00", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchAirHRSupplyAirflow, compName)); | ||
EXPECT_EQ("1.00", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchAirHRExhaustAirflow, compName)); |
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.
👍
Needed to resolve conflicts just from the output changes file. I'll let CI run, but this is all happy locally and should be good to merge shortly. |
|
Alright, this seems ready to go now. CI is happy, and I just did a sanity check right now. Thanks @mjwitte ! |
Pull request overview
Description of the purpose of this PR
Pull Request Author
Reviewer