-
Notifications
You must be signed in to change notification settings - Fork 394
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 #10287 - ExpandObjects - Incorrect warning about Boiler:HotWater having too many fields #10288
Conversation
An extra field was added for Boiler:HotWater in #9925 ```shell $ /Applications/EnergyPlus-23-2-0/energyplus -D -d out -x /Applications/EnergyPlus-23-2-0/ExampleFiles/VAVSingleDuctConstFlowBoiler.idf $ cat out/eplusout.experr ExpandObjects: SEVERE: Too many fields were found for the object: Boiler:HotWater, Number expected=[17], Number found=[18] ` ``
@@ -1507,7 +1507,7 @@ PROGRAM epfilter | |||
INTEGER,PARAMETER :: blrhwNameOff = 1 | |||
INTEGER,PARAMETER :: blrhwInletNodeOff = 11 | |||
INTEGER,PARAMETER :: blrhwOutletNodeOff = 12 | |||
INTEGER,PARAMETER :: blrhwLastFieldOff = 17 | |||
INTEGER,PARAMETER :: blrhwLastFieldOff = 18 |
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.
Extra field was added, total number is 18
@@ -2305,7 +2305,7 @@ SUBROUTINE SetUpObjectsToProcess(doGatherSurfaces) | |||
CALL AddObjToProcess('HVACTemplate:Plant:MixedWaterLoop',.TRUE., mwpNameOff, mwpLdDistSchmOff, 17) | |||
CALL AddObjToProcess('HVACTemplate:System:DedicatedOutdoorAir',.TRUE.,doasNameOff, doasHumidSetPtSchedNameOff, 46) | |||
! Detailed Plant Objects | |||
CALL AddObjToProcess('Boiler:HotWater',.FALSE., blrhwOutletNodeOff, blrhwLastFieldOff, 17) | |||
CALL AddObjToProcess('Boiler:HotWater',.FALSE., blrhwOutletNodeOff, blrhwLastFieldOff, 18) |
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'm not sure whether I need to bump 17 to 18 here or not.
Also not sure if I need to do The End Use Subcategory isn't being explicitly written. But the Off Cycle does not have a default (though it defaults to 0.0 W in the C++ code... I wish the E+.idd did have an explicit |
Before: $ $ep_build/Products/energyplus -x -D -d out-ori VAVSingleDuctConstFlowBoiler.idf
ExpandObjects Started.
No expanded file generated.
ExpandObjects Finished with Error(s). Time: 0.023
EnergyPlus Starting
[...]
$ cat out-ori/eplusout.experr
ExpandObjects: SEVERE: Too many fields were found for the object: Boiler:HotWater, Number expected=[17], Number found=[18] After $ $ep_build/Products/energyplus -x -D -d out-new VAVSingleDuctConstFlowBoiler.idf
ExpandObjects Started.
No expanded file generated.
ExpandObjects Finished. Time: 0.014
EnergyPlus Starting
[...]
$ cat out-new/eplusout.experr
cat: out-new/eplusout.experr: No such file or directory |
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.
Looks good. Thanks @jmarrec
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.