-
Notifications
You must be signed in to change notification settings - Fork 393
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
Fix #8670 - Example IDF File not valid per IDD: UnitaryHybridAC_DedicatedOutsideAir.idf #8671
Conversation
@@ -857,6 +857,7 @@ | |||
0.1, !- Mode 9 Minimum Supply Air Mass Flow Rate Ratio | |||
1, !- Mode 9 Maximum Supply Air Mass Flow Rate Ratio | |||
, !- Mode 10 Name | |||
, !- Mode 10 Supply Air Temperature Lookup Table Name |
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.
@jmarrec Energy+.idd is also missing this field.
A110, \field Mode 10 Name
\type alpha
\retaincase
\note Enter a name for Mode 10.
\type alpha
\retaincase
\note Enter the name of the Supply Air Temperature Lookup Table for Mode 10.
\note Units for lookup table values should be in C.
\note If this field is blank, Mode 10 will not be considered for any time step that requires ventilation, heating, cooling, humidification, or dehumidification.
A111, \field Mode 10 Supply Air Humidity Ratio Lookup Table Name
\type object-list
\object-list MultivariateFunctions
\note Enter the name of the Supply Air Humidity Ratio Lookup Table for Mode 10.
\note Units for lookup table values should be in kgWater/kgDryAir.
\note If this field is blank, Mode 10 will not be considered for any time step that requires ventilation, heating, cooling, humidification, or dehumidification.
A112, \field Mode 10 System Electric Power Lookup Table Name
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 would explain it... I'll add it
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.
vim regex `:'<,'>s/A\(\d\+\)/\='A'.(submatch(1)+1)/g`
@mjwitte if you are satisfied with this, you don't need to wait on all of CI to finish. I believe this is the last thing that can go in prior to the wrap up PRs. |
@Myoldmopar I'm a little puzzled why there weren't any diffs from the first change to idf only. Maybe it doesn't use these higher modes? |
I think it's because the Mode 6 is plain empty. On
Numberofoperatingmodes = 6 |
Yup, EnergyPlus/src/EnergyPlus/HybridUnitaryAirConditioners.cc Lines 628 to 634 in a229933
So when it reaches
lAlphaBlanks(i) is true, so break. The rest is never read Really, None of the others are actually filled out. The IDF snippet should be truncated at the end of Mode 5. This looks like a case of IDF Editor filling the default fields out, because this object isn't extensible. |
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.
@jmarrec I was just coming to the same conclusion that it's not using most of that object. It also doesn't even look at A8, \field Method to Choose Controlled Inputs and Part Runtime Fraction
.
Tested the revised file locally. All good.
Pull request overview
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.