-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Obtain same results with and without EMS Construction:ComplexFenestrationState #7981
Conversation
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 fact that you are able to see agreeing results now is promising. I'm going to build locally with develop pulled in and verify.
@@ -64,6 +64,7 @@ | |||
#include <EnergyPlus/CommandLineInterface.hh> | |||
#include <EnergyPlus/ConvectionCoefficients.hh> | |||
#include <EnergyPlus/DElightManagerF.hh> | |||
#include <EnergyPlus/Data/EnergyPlusData.hh> |
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.
Reorder, no problem.
if (Construct(Surface(SurfNum).EMSConstructionOverrideValue).TypeIsWindow) { // okay, allways allow windows | ||
EMSConstructActuatorChecked(Surface(SurfNum).EMSConstructionOverrideValue, SurfNum) = true; | ||
EMSConstructActuatorIsOkay(Surface(SurfNum).EMSConstructionOverrideValue, SurfNum) = true; | ||
} |
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, so this just catches all windows ahead of time and sets the checked/OK flags to true prior to the block under it. In the original case, I guess the windows would sometimes get to this point with these flags set to false. Fine with me.
Pulled develop back in locally and rebuilt and retested. Still passed and looked good. I'm going to merge this. Thanks @lgu1234. |
Pull request overview
Same results are obtained from two input files. One file has a specific window construction, and the other file uses EMS construction to switch it to the same window construction. Two changes are made:
EMS calling point should be BeginZoneTimestepBeforeInitHeatBalance, instead of BeginZoneTimestepBeforePredictor, because construction state change occurs in InitHeatBalance.
Activate construction state change after the calling point immediately.
Upload 4 set of test files.
The user provided 3 set of test file. I converted them into Version 9.3
inS.idf (same results)
inCFS11 (same results)
inCFS1.idf (calling point of BeginZoneTimestepBeforePredictor with differences)
CFS2.idf (same results)
Tiny differences were found by running EMSThermochromicWindow.idf.
NOTE: ENHANCEMENTS MUST FOLLOW A SUBMISSION PROCESS INCLUDING A FEATURE PROPOSAL AND DESIGN DOCUMENT PRIOR TO SUBMITTING CODE
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.