-
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
Add new performance precision tradeoffs modes, functionality, and reports, TeX document updates #8121
Add new performance precision tradeoffs modes, functionality, and reports, TeX document updates #8121
Conversation
…sed temporary mode names to keep other parts intact. Compiles ok.
…rence parameter for new modes. Compiles ok.
…allowed temperature differences. Compiles ok.
… added Mode07. Compiles ok.
…d update the iniput file definition fields (4.1). Compiles ok.
…de02 system steps. Compiles ok.
…n (that could done so far). Compiles ok.
…dvanced mode and also for easier code reading. Compiles ok.
…les ok. Tested ok and the new field shows up as expected in idfeditor.
… global connections. Compiles ok.
… otherwise solution will not converge. Compiles ok.
… too large otherwise solution will not converge. Compiles ok.
…be too large otherwise solution will not converge. Compiles ok.
…be too large otherwise solution will not converge. Compiles ok.
…be too large otherwise solution will not converge. Compiles ok.
…be too large otherwise solution will not converge. Compiles ok.
…iptoins. Compiles ok.
…mode setup requirement. Results shuld be the same though. Compiles ok.
…pace for the PerformancePrecisionTradeoffs object. Compiles ok.
…nflict resolved. Need to compile again to see if it works ok."
…his version seems to be needed to be committed again. Need to compile again to see if it works.
@@ -6554,6 +6557,8 @@ namespace HeatBalanceSurfaceManager { | |||
} | |||
} // ...end of loop to check for convergence | |||
|
|||
MaxAllowedDelTemp = DataConvergParams::MaxAllowedDelTempOverrideValue; |
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.
@jcyuan2020 Let's not reset this every time CalcHeatBalanceInsideSurf2
is called. In my other branch, I'm going to move MaxAllowedDelTemp
up into DataConvergParams
so performance override can act on it directly. This will create a conflict depending on which PR merges first.
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.
@mjwitte Thank you for the comments! We should definitely synchronize on this. I had originally considered a couple of options to make the variable MaxAllowedDelTemp
global. One is to move it up to EnergyPlus::DataConvergParams
as you indicated. Anyway, this called for a need to #include <EnergyPlus/DataConvergParams.hh>
in HeatBalanceSurfaceManager.cc
(as the current addition did in Line 130 in HeatBalanceSurfaceManager):
#include <EnergyPlus/DataConvergParams.hh>
The other neater way is to move MaxAllowedDelTemp
into EnergyPlus::DataHeatBalance
. This way could be much neater because: 1) it does not need the extra #include <EnergyPlus/DataConvergParams.hh>
to be aded into HeatBalanceSurfaceManager.cc
; 2) also, the EnergyPlus/DataHeatBalance.hh
header file is already included in present SimulationManager.cc
, so the Override mode can operate on this variable directly in SimulationManager.cc
if MaxAllowedDelTem
is in the DataHeatBalance
namespace; 3) further, by putting MaxAllowedDelTemp
into EnergyPlus::DataHeatBalance
, it is actually then dealt by the same way as the MaxAllowedDelTempCondFD
variable, which was already in DataHeatBalance
prior to any changes (See the following code in Line 6562-6565 in HeatBalanceSurfaceManager.cc
):
if (!DataHeatBalance::AnyCondFD) {
if (MaxDelTemp <= MaxAllowedDelTemp) Converged = true;
} else {
if (MaxDelTemp <= MaxAllowedDelTempCondFD) Converged = true;
What do you think? If you think the latter way can also work in your branch, we can synchronize this part by trying this option out as well.
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, I'll put it in DataHeatBalance.
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.
@mjwitte The latter method discussed above is now implemented and committed. New commits were pushed, with old test unit fixed as well.
…flog structure brought by output variable columns added. Compiles ok. Tested ok.
…m data convergence parameter namespace global to data heat balance namespace global. Compiles ok.
…s OutputChanges9-3-0-to-9-4-0.md to accommodate the additions and changes in the PerformancePrecisionTradeoffs input objects and _perflog.csv output files reporting items.
… headers and output items. Compiles ok.
… in .eio reporting items update. Minor changes on the _perflog.cvs chagne description as well.
…n Tradeoffs object.
…0-07-01. Conflict in Rules9-3-0-to-9-4-0.md resolved. Taken revised contents from both.
…offs, resolved multiple conflicts. Need one further one-line revision to make both version work together.
… conflicts solved and now the code is revised to be ok for both version of changes.
The few failed tests above are related to the .eio change in the PerformancePrecisionTradeoffs section brought by this pull request. They have nothing with code errors and a new format adoption should be able solve the problem. Here is the related section in the eio.diff:
|
@jcyuan2020 is this ready for final review and merging? |
@JasonGlazer Yes, it is. |
Everything looks ready to merge but I still have to update the Transition program because the field value meanings have changed. |
@jcyuan2020 I just merged the additional PerformancePrecision modes pull request into EnergyPlus. Thanks for your work. |
@JasonGlazer Thank you! |
Added New PerformancePrecisionTradeoffs modes and expanded functionality for the PerformancePrecisionTradeoffs module:
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.